J4

• • 上一篇    下一篇

高效类HDLC异步串行通信协议的实现

黄永平1, 金玉善1, 邢忠宝2, 李文辉1   

  1. 1. 吉林大学计算机科学与技术学院, 长春 130012; 2. 中国科学院长春光学精密机械与物理研究所, 长春 130022
  • 收稿日期:2002-12-06 修回日期:1900-01-01 出版日期:2003-07-26 发布日期:2003-07-26
  • 通讯作者: 黄永平

Implementation of HDLC-like Asynchronous Serial Communication Protocol

HUANG Yong-ping1, JIN Yu-shan1, XING Zhong-bao2 , LI Wen-hui1   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China;2. Changchun Optics Precision Instrument Machine and Physics Research Institute , Changchun 130022, China
  • Received:2002-12-06 Revised:1900-01-01 Online:2003-07-26 Published:2003-07-26
  • Contact: HUANG Yong-ping

摘要: 提出一种高效、 面向字节传送的类似HDLC通信协议的异步串行通信协议AHDLC及其算法的实现, 分析了AHDLC协议的变换效率. 该协议算法简单、 变换效率高, 比用ASCⅡ码方式传送效率提高48.7%, 该协议适用于维护终端及监控终端等需要自己定义通信协议的场合.

关键词: 通信, 协议, 算法

Abstract: An HDLC(high level data link control)-like communication protocol asynchronous serial communication protocol with a high efficiency and byte transformation is presented, and the implementation of the algorithm of A HDLC protocol is presented also. The transform efficiency of AHDLC protocol is a nalyzed. The algorithm of this protocol is simple and the transform efficiency is 487% higher than that of ASCⅡ code transformation. The protocol can serve as a reference for the field of self defining communication protocol like servicing terminal and monitor and control terminaletc.

Key words: communications, protocol, algorithm

中图分类号: 

  • TN919