检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[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[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.221.158.72