首页 | 官方网站   微博 | 高级检索  
     

多任务TDCS车站分机通信协议的设计
引用本文:陈雁冰,郑文宇,张春雨. 多任务TDCS车站分机通信协议的设计[J]. 现代电子技术, 2011, 34(11): 66-68
作者姓名:陈雁冰  郑文宇  张春雨
作者单位:1. 中铁第五勘察设计院集团有限公司,北京,100055
2. 中铁工程设计咨询集团有限公司,北京,100055
3. 浙大网新众合轨道交通工程有限公司,浙江杭州,310007
摘    要:为了处理TDCS车站分机从铁路局调度中心、车务终端和计算机联锁设备接收的各种信息,在此基于Windows操作系统设计了实时多任务程序。在多任务程序中,使用消息机制和消息缓冲区实现多线程之间的通信,使用信号量和互斥量实现多线程之间的同步;针对以太网通信任务和串口通信任务,建立了相应的数据结构,并设计了一个数据包分析算法来解析自定义协议。实践证明,该设计具有响应速度快、适应性强的特点。

关 键 词:TDCS  车站分机  多任务  通信协议

Design of Station Computer Communication Protocol for TDCS-based Multi-task Procedure
CHEN Yan-bing,ZHENG Wen-yu,ZHANG Chun-yu. Design of Station Computer Communication Protocol for TDCS-based Multi-task Procedure[J]. Modern Electronic Technique, 2011, 34(11): 66-68
Authors:CHEN Yan-bing  ZHENG Wen-yu  ZHANG Chun-yu
Affiliation:CHEN Yan-bing1,ZHENG Wen-yu2,ZHANG Chun-yu3(1.China Railway Fifth Survey and Design Institute Group Co.Ltd.,Beijing 100055,China,2.China Railway Engi.Consulting Group Co.Ltd.,3.Insigma Zhonghe Rail Transportation Engi.Co.Ltd.,Hangzhou 310007,China)
Abstract:A real-time multi-task procedure based Windows operating system is designed to deal with the various information received from dispatch center,train operation terimals and computer interlocking equipments.In this procedure,the message mechanism and message buffer are used to realize the multithreading communication,and the semaphore and mutexes are adopted to realize the multithreading synchronization.Corresponding to Ethernet and serial communications tasks,the corresponding data structure was established,...
Keywords:TDCS  station computer  multi-task  communication protocol  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号