• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

网口容错在嵌入式设备中的设计与实现

樊皓1,2,邓浩江1,陈君1,李明哲1,2   

  1. (1.中国科学院声学研究所国家网络新媒体工程技术研究中心,北京 100190;
    2.中国科学院大学,北京 100190)
  • 收稿日期:2015-05-05 修回日期:2015-10-26 出版日期:2016-12-25 发布日期:2016-12-25
  • 基金资助:

    中国科学院战略性先导科技专项课题(XDA06010302);中国科学院声学研究所知识创新工程项目(Y154191601)

Design and implementation of network
fault tolerance on embedded devices

FAN Hao1,2,DENG Haojiang1,CHEN Jun1,LI Mingzhe1,2   

  1. (1.National Network New Media Engineering Research Center,
    Institute of Acoustics,Chinese Academy of Sciences,Beijing 100190;
    2.University of Chinese Academy of Sciences,Beijing 100190,China)
  • Received:2015-05-05 Revised:2015-10-26 Online:2016-12-25 Published:2016-12-25

摘要:

针对嵌入式网络设备的服务可靠性问题,现有的网口容错主要采用双网卡冗余设计,研究针对单网卡多网口的情况,提出了一种网口容错方法,该方法能有效利用系统带宽资源。提出的网口容错方法包括一种网口状态检测机制和故障网口服务数据迁移方法,并设计了相应的功能模块。故障检测模块实现基于Loopback的检测方法,容错处理模块则实现在检测到故障后,可将故障网口的服务负载数据根据迁移策略迁移到其余正常网口。所提出的方法实现了对网口工作状态的快速检测和负载数据的有效容错。该方法具有应用无关性、资源占用率低的特点,通过测试验证了该方法的可行性。
 

关键词: 嵌入式, 网络设备, 网口容错, 故障检测, 容错处理

Abstract:

To deal with the service reliability of embedded network devices, the redundancy design of dual network cards is widely used in the existing network fault tolerance. We propose a method for network fault tolerance for the situation of single network card and multi network ports, which can effectively utilize the bandwidth resources of the system. It includes a network port state inspection mechanism and a fault network service data migration method, based on which we develop several functional modules. Fault detection module realizes the detection method based on Loopback. Fault tolerant processing module realizes the migration of fault network service loads when it detects any network fault. The proposed method can effectively detect network port state and hold the fault tolerance of load data. It features application independence and low resources occupancy rate, and the feasibility is verified through several tests.

Key words: embedded, network devices, network fault tolerance, fault detection, fault tolerant processing