论文部分内容阅读
基于航管训练系统建于局域网的特点,本文实现了基于非可靠数据传输的发布订阅:订阅者订阅主题,发布者向订阅了该主题的所有进程发送主题的内容。同时,通过以下设计对系统进行了优化:使用检测锁机制减少加锁,设计小报文组成大报文发送减少发送频率,对接收的报文设置时间字段实现节点的动态管理。
Based on the characteristics of air traffic control training system built in LAN, this paper realizes the publish subscribe based on unreliable data transmission: subscribers subscribe to the topic, and the publisher sends the thematic content to all the processes that subscribe to the topic. At the same time, the system is optimized through the following design: Locking is used to reduce locking, the small packets are designed to send large packets to reduce the sending frequency, and the time field is set for the received packets to dynamically manage the nodes.