一种高可靠性串口通信协议的设计
DOI:
CSTR:
作者:
作者单位:

作者简介:

李林(1984.6—),陕西渭南人,硕士研究生,工程师,主要研究方向为软件设计与开发

通讯作者:

中图分类号:

TP273

基金项目:


Design of High Reliability Serial Communication Protocol
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    通常,在串口通信中协议数据帧在线路上的传输会受各种干扰而出错,其可靠性比较差,而且容错纠错能力低,而该串口通信协议却能够在基于串口的通信线路上保证了协议数据帧的高可靠性传输,并已经将此串口通信协议运用在一些装备中,实践中也进行了充分的验证。 本文讲述了该串口通信协议的协议数据帧格式,其协议数据帧格式中包含起始标志字段、长度字段、序列号字段、地址字段、应用数据字段、CRC16 校验字段、结束标志字段,这种协议数据帧格式设计保证了应用数据能够在线路中进行高可靠性地传输。本文还对该协议数据帧的组帧、收发和解析做了描述,并且还对该协议数据帧的丢失进行了判断与处理,大大提高了该串口通信协议的可靠性、实时性和容错性。

    Abstract:

    Generally, in serial communication, the transmission of protocol data frames on the line will be interfered by various kinds of errors. Its reliability is poor, and its Error-tolerant and error-correcting ability is low. However, the serial communication protocol can ensure the high reliable transmission of protocol data frames on the serial communication lines. It has been used in some equipment and has been fully implemented in practice. This paper describes the protocol data frame format of the serial communication protocol. The protocol data frame format includes the start flag field, the length field, the sequence number field, the address field, the application data field, the CRC16 check field and the end flag field. This protocol data frame format design ensures that the application data can be transmitted reliably in the line. This paper also describes the framing, receive, send and analysis of the protocol data frame, and judges and processes the loss of the protocol data frame, which greatly improves the reliability, real-time and fault-tolerance of the serial communication protocol.

    参考文献
    相似文献
    引证文献
引用本文

李林.一种高可靠性串口通信协议的设计[J].现代导航,2019,10(4):308-312

复制
分享
相关视频

文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2022-05-17
  • 出版日期:
文章二维码