作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (12): 82-83. doi: 10.3969/j.issn.1000-3428.2009.12.028

• 网络与通信 • 上一篇    下一篇

VxWorks环境下的双网卡智能冗余设计

刘锡祥,徐晓苏   

  1. (东南大学仪器科学与工程学院,南京 210096)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-06-20 发布日期:2009-06-20

Design of Intelligent Dual-Redundance NIC in VxWorks

LIU Xi-xiang, XU Xiao-su   

  1. (School of Instrument Science & Engineering, Southeast University, Nanjing 210096)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-06-20 Published:2009-06-20

摘要: 分析双网卡冗余的功能需求,设计基于VxWorks环境的双网卡智能冗余方案。通过对网卡连接状态、通信可靠性以及稳定性监控分析,决定是否进行网卡的主动切换。针对基于UDP无连接通信的特点,指出在双网卡冗余设计中,应根据目标网络通信节点变化情况,决定是否进行网卡的随动切换,以增强通信的可靠性。测试结果表明了该方案的可靠性与正确性,其切换时间可提高至ms级。

关键词: VxWorks操作系统, 双网卡冗余, UDP协议

Abstract: The function requirement of double redundant Network Interface Card(NIC) is analyzed and an intelligent dual-redundance NIC is designed. Whether the NIC should be active shift is decided by the link state of NIC and the reliability and stability of network. And based on the characteristics of UDP protocol and in order to improve the stability of communication, the NIC should be passive shift according to the changes of target communication node. Test result shows that the method is reliable and the shift time is shortened to millisecond grade.

Key words: VxWorks, Dual-Redundance NIC, UDP protocol

中图分类号: