一种基于串口通信的高可靠性应用协议设计  被引量:6

Design of High-Reliable Application Protocol Based on Serial Communication

在线阅读下载全文

作  者:王建敏[1] 崔俊锋[1] 牛道恒[1] 

机构地区:[1]北京全路通信信号研究设计院有限公司,北京100073

出  处:《铁路通信信号工程技术》2015年第1期1-4,共4页Railway Signalling & Communication Engineering

基  金:铁路总公司重点项目(2013X001-C);铁路总公司重大课题(2003B001-A-1)

摘  要:为解决串口通信中的数据传输容易出错、可靠性差且容错能力低等问题,设计并实现一种串口通信高可靠性应用协议,并将此协议应用在列控产品中。首先介绍串口通信协议的数据包格式,通过在数据包格式定义中设置起始标志、数据长度、校验、结束标志等字段,保证数据传输的正确性与可靠性。同时对数据包的组包、接收以及解析方法进行阐述,提出对数据丢失的判断与处理方法,并对该协议的实时性、正确性和可靠性进行分析。实践证明,该协议有效提高了串口通信过程的正确性、可靠性以及数据传输的容错能力。In order to solve the problems of the data transmission easily going wrong, poor reliability and fault-tolerance in serial communication, this paper presents the design of a high-reliable serial communication application protocol used for train control products. The paper presents the design of the serial communication protocol data packet format for ensuring the correctness and reliability of the data transmission through setting the start flag, data length, calibration and end fag in the format definition. At the same time, it sets forth the data packet package, receiving and analyzing methods, puts forward the judgment and processing methods of data loss, and analyzes the real-time feature, accuracy and reliability of the protocol. The practice shows that this protocol can effectively improve the correctness, reliability and the fault tolerance ability of the data transmission in serial communication process.

关 键 词:串口通信 高可靠性 列控产品 

分 类 号:TP368.5[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象