计算机应用 ›› 2010, Vol. 30 ›› Issue (4): 1110-1113.

• 典型应用 • 上一篇    下一篇

发布订阅模式数据交换中间件设计与实现

高德宏1,张新家2,陈春雷2,刘维宇2   

  1. 1. 西北工业大学
    2.
  • 收稿日期:2009-10-09 修回日期:2009-11-29 发布日期:2010-04-15 出版日期:2010-04-01
  • 通讯作者: 高德宏

Design and implementation of data exchanging middleware with publish/subscribe model

  • Received:2009-10-09 Revised:2009-11-29 Online:2010-04-15 Published:2010-04-01

摘要: 为了满足当前数据交换中发布订阅需求,以及实时性和复杂性要求,设计了一种基于优先级任务的数据交换模型,并利用该模型开发TTS数据交换平台的核心模块。给出数据交换平台的整体框架以及数据集交换流程,并详细介绍任务泵、线程池等模块的实现。实际的应用测试表明,该平台能够实现复杂数据发布订阅应用,满足系统对实时性要求。

关键词: 中间件, 交换数据集, 任务泵, 线程池

Abstract: In order to satisfy the demands of data subscribe/publish, real-time and complexity in present data exchanging, a data exchanging model based on task-priority model was designed. Using this model the core modules of TopTang Software (TTS) exchanging platform were developed. This paper proposed the framework of TTS platform, discussed all the processes of dataset exchanging, and then, illustrated the implementation of the core modules, including task-pumper and thread-pool. The practical application test demonstrates TTS can satisfy the requirements of publish/subscribe and real-time.

Key words: middleware, exchanging dataset, task-pumper, thread-pool