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

计算机工程 ›› 2006, Vol. 32 ›› Issue (11): 265-267,270.

• 开发研究与设计技术 • 上一篇    下一篇

嵌入式实时系统中 RUDP 通信的设计与实现

周 宏 1,柳长安1,卢东昕2   

  1. 1. 华北电力大学计算机学院,北京 102206;2. 中兴通讯股份有限公司,深圳 518057
  • 出版日期:2006-06-05 发布日期:2006-06-05

Design and Implementation of RUDP Communication for Embedded Real-time System

ZHOU Hong1, LIU Changan1, LU Dongxin2   

  1. 1. School of Computer, North China Electric Power University, Beijing 102206; 2. ZTE Corporation, Shenzhen 518057
  • Online:2006-06-05 Published:2006-06-05

摘要: 为提高嵌入式实时系统中处理器间通信效率,针对通常传输层协议的不足,设计并实现了嵌入式系统中RUDP 通信模块,以实现嵌入式分布系统中各进程间可靠、高效的通信。首先给出了RUDP 通信模块的基本功能、任务划分和控制机制;其次阐述了RUDP 通信模块的实现过程,包括滑动窗口、消息和应答的识别与处理、主要定时器的处理和定时器管理;最后给出了结论。

关键词: 嵌入式实时系统;可靠UDP;RUDP 通信

Abstract: In order to enhance the communication efficiency of embedded real-time systems, in allusion to the insufficiency of the general transport layer protocol, the RUDP communication module for embedded systems is designed and implemented, aiming at the implementation of reliable and efficiency communication between processes. Firstly, the base function, the task division and the control mechanism of RUDP communication module are given. Secondly, the implementation process of RUDP communication process is illustrated, including the slide window mechanism, the recognition and transaction of messages and responding, transaction of the main timer and the management of timers. The conclusion is given at last.

Key words: Embedded real-time system; Reliable UDP; RUDP communication