计算机应用 ›› 2015, Vol. 35 ›› Issue (3): 878-881.DOI: 10.11772/j.issn.1001-9081.2015.03.878

• 行业与领域应用 • 上一篇    下一篇

发布/订阅模式测控消息中间件系统设计

王重楠, 王宗陶, 鲍忠贵, 邢宏伟   

  1. 北京跟踪与通信技术研究所, 北京 100094
  • 收稿日期:2014-10-11 修回日期:2014-11-18 出版日期:2015-03-10 发布日期:2015-03-13
  • 通讯作者: 王重楠
  • 作者简介:王重楠(1989-),男,江苏扬州人,硕士研究生,主要研究方向:航天测控消息中间件;王宗陶(1963-),男,山东冠县人,研究员,硕士,主要研究方向:软件可靠性建模/测控软件体系结构与形式化;鲍忠贵(1971-),男,安徽合肥人,硕士,主要研究方向:航天测控软件设计
  • 基金资助:

    国家863计划项目

Design of telemetry and command message-oriented middleware system with publish/subscribe model

WANG Chongnan, WANG Zongtao, BAO Zhonggui, XING Hongwei   

  1. Beijing Institute of Tracking and Telecommunications Technology, Beijing 100094, China
  • Received:2014-10-11 Revised:2014-11-18 Online:2015-03-10 Published:2015-03-13

摘要:

针对传统基于消息队列或共享内存模式的测控(TT&C)消息中间件(MOM)紧耦合、可扩展能力有限的问题,结合目前测控计算机系统信息交换特点,提出了功能分布式结构的发布/订阅(Pub/Sub)模式测控消息中间件系统。取消了集中的发布/订阅服务器,将其功能嵌入到功能分布的处理机单元中,设计了主题全局注册、订阅全局广播和事件本地过滤的工作模式;并通过可靠多播协议实现其传输可靠性,通过软双工模式下的虚拟IP机制和加速推拉心跳检测机制实现其节点可靠性。实验表明此测控消息中间件系统的发布/订阅平均响应时间控制在100 ms之内,多播协议丢包率控制在0.86×10-7左右,双工切换延时达到56 ms,满足测控应用的强实时性和高可靠性要求。

关键词: 发布/订阅, 消息中间件, 功能分布, 可靠多播, 心跳检测, 虚拟IP

Abstract:

Aiming at the problem that TelemeTry and Command (TT&C) Message-Oriented Middleware (MOM) with traditional model like message queue and shared memory has the disadvantage of tightly coupling and limited extensible ability. Combining with the current characteristics of TT&C computer system, a function distributed TT&C MOM system with Publish/Subscribe (Pub/Sub) model was put forward. Centralized publish/subscribe server was canceled with its function embedded into the distributed processing unit. The working process of themes global registration, subscriptions global broadcasting and event local matching were designed. And its transmission reliability was achieved through the reliable multicast protocol, its nodes reliability was achieved by soft duplex with virtual IP mechanism and accelerated push-pull heartbeat detection. Experiments show that the average response time of Pub/Sub message is controlled within 100 ms, the packet loss rate of multicast protocol is around 0.86×10-7, duplex switch delay is up to 56 ms. This TT&C MOM system with Pub/Sub model satisfies the requirement of highly real-time performance and reliability of TT&C applications.

Key words: Publish/Subscribe (Pub/Sub), Message-Oriented Middleware (MOM), function distribution, reliable multicast, heartbeat detection, virtual IP

中图分类号: