首页 | 本学科首页   官方微博 | 高级检索  
     

一种双网实时串口通信的设计与实现
引用本文:王华,刘冰,刘焕敏,段慧芬,马东艳.一种双网实时串口通信的设计与实现[J].计算机系统应用,2017,26(3):234-238.
作者姓名:王华  刘冰  刘焕敏  段慧芬  马东艳
作者单位:中国卫星海上测控部, 江阴 214431,中国卫星海上测控部, 江阴 214431,中国卫星海上测控部, 江阴 214431,中国卫星海上测控部, 江阴 214431,中国卫星海上测控部, 江阴 214431
摘    要:设计了一种跨网传输的串口通信软件,该软件采用数据收发双线程机制和数据队列线程间数据共享机制,设计了数据通信的数据帧类型校验、数据帧CRC校验和数据帧帧长校验等方法,保证数据高效性、安全性和完整性,通过速率测试和误码测试,证明该模型实现了可靠、安全和高效的串口通信,满足了在试验网和信息网之间实时数据通信的需要.

关 键 词:串口通信  帧长校验  实时数据通信  CRC校验
收稿时间:2016/6/13 0:00:00
修稿时间:2016/7/25 0:00:00

Design and Implementation of Real-Time Serial Communication on Networks
WANG Hu,LIU Bing,LIU Huan-Ming,DUAN Hui-Fen and MA Dong-Yan.Design and Implementation of Real-Time Serial Communication on Networks[J].Computer Systems& Applications,2017,26(3):234-238.
Authors:WANG Hu  LIU Bing  LIU Huan-Ming  DUAN Hui-Fen and MA Dong-Yan
Affiliation:China Satellite Maritime Tracking and Control Department, Jiangyin 214431, China,China Satellite Maritime Tracking and Control Department, Jiangyin 214431, China,China Satellite Maritime Tracking and Control Department, Jiangyin 214431, China,China Satellite Maritime Tracking and Control Department, Jiangyin 214431, China and China Satellite Maritime Tracking and Control Department, Jiangyin 214431, China
Abstract:This paper presents the design of a serial communication software cross network transmission, the software uses the data transceiver double thread mechanism and data queue data sharing mechanism between the threads, in order to ensure the data security efficiency and integrity, those methods are designed on the data communication, such as data frame type check, data frame CRC check and data frame length check. Through the test, the rate and bit error test, it proves that this model to realize serial communication is reliable, safe and efficient, to meet the future real-time data communication between the mission network and the information networks needs to be.
Keywords:serial communication  data frame length check  real-time data communication  CRC check
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号