中国空间科学技术 ›› 2012, Vol. 32 ›› Issue (1): 36-42.doi: 10.3780/j.issn.1000-758X.2012.01.006

• 研究探讨 • 上一篇    下一篇

基于CAN总线的虚拟化以太网接口设计和实现

董绍进1,2, 刘波1, 虞万荣1, 赵宝康1   

  1. (1 国防科学技术大学计算机学院,长沙410000)(2 西安通信学院,西安710106)
  • 收稿日期:2010-11-30 修回日期:2012-02-25 出版日期:2012-02-25 发布日期:2012-02-25
  • 作者简介:董绍进 1984年生,2006年毕业于哈尔滨工业大学计算机科学与技术专业,现在国防科学技术大学计算机科学与技术专业攻读硕士学位。主要研究方向为计算机网络通信、无线网络通信。
  • 基金资助:

    国家自然科学基金(61070199),国家自然科学基金(61103182)资助项目

Design and Implement of CAN bus Based Virtual Ethernet Interface

DONG  Shao-Jin1,2, LIU  Bo1, YU  Wan-Rong1, ZHAO  Bao-Kang1   

  1. (1 CollegeofComputer,NationalUniversityofDefenseTechnology,Changsha410000)
    (2 Xi′anTeleCommunicationCollege,Xi′an710106)
  • Received:2010-11-30 Revised:2012-02-25 Published:2012-02-25 Online:2012-02-25

摘要: 针对卫星载荷间基于控制器局域网(CAN)总线的IP通信,提出了一种CAN接口虚拟化机制,称为IPoverCAN。通过IP地址和CAN地址映射、IP报文分片/重组和多路缓冲队列管理等机制,将CAN接口抽象为虚拟的标准以太网接口。试验结果表明,IPoverCAN机制实现了CAN数据帧和IP报文之间的实时高效转换,可用于卫星载荷间通信等对设备质量和体积敏感的领域。

关键词: 控制器局域网总线, 虚拟以太网接口, 卫星通信

Abstract: In order to transfer IP packets between various satellite payloads through CAN bus, the IPoverCAN mechanism was proposed to virtualize the CAN bus.Through the mapping of IP address and CAN address, IP fragmentation and reassembly, management of multi-buffer queue, the mechanism abstractsthe CAN device as virtual standard Ethernet interface. The experiments results on real embedded platform show that the mechanism can transfer the CANpackets and IP packets efficiently and timely, which can be used for the satellites payloads whose size and weight are limited strictly.

Key words: Controller area network bus, Virtual Ethernet interface, Satellite communication