针对空中交通管制系统构建于局域网网络环境的特点以及对通信可靠性、实时性和高吞吐量的需求,设计并实现基于主题的发布订阅系统。该系统具有软硬件平台无关性、高效可靠、多对多通信等特点,为空中交通管制系统中子系统间提供松散耦合的、灵活的通信机制。通过采用基于事件驱动线程模型的多线程系统架构,为每个线程保存独立主题订阅表,定期进行负载均衡等优化措施,满足空中交通管理系统对发布订阅系统的需求。
Aiming at the characteristic that air traffic control system is built in the LAN network environment,and the reliability,real-time and high throughput requirements of communication,topic-based publish/subscribe system was designed and implemented.The system was hardware and software platform independent,efficient and reliable,many-to-many communicated etc. Loosely coupled and flexible communication mechanism was provided for different subsystems in air traffic control system.By adopting multi-threaded architecture based on event-driven threading model,keeping an independent topic subscribing table for each thread,doing load balance regularly and taking other measures,the demand for publish/subscribe system of air traffic controlsystem was met.