作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (23): 33-36. doi: 10.3969/j.issn.1000-3428.2012.23.008

• 软件技术与数据库 • 上一篇    下一篇

基于发布/订阅模型的中间件实时拓展

汪银海,宁 洪,李 暾   

  1. (国防科学技术大学计算机学院,长沙 410073)
  • 收稿日期:2012-03-21 出版日期:2012-12-05 发布日期:2012-12-03
  • 作者简介:汪银海(1986-),男,硕士研究生,主研方向:中间件技术,实时系统,软件容错;宁 洪,教授;李 暾,副教授

Real-time Expansion of Middleware Based on Publish/Subscribe Model

WANG Yin-hai, NING Hong, LI Tun   

  1. (Department of Computer Science, National University of Defense Technology, Changsha 410073, China)
  • Received:2012-03-21 Online:2012-12-05 Published:2012-12-03

摘要: 基于发布/订阅模型的卫星数据模型中间件不具备实时性。为此,给出一种对其进行实时拓展的服务软件总体框架。提出将任务的中间件优先级映射到本地节点优先级的线性均匀分布动态映射算法。引入超周期思想,在静态优先级可抢占调度算法下,对优先级任意的硬实时周期和非周期混合任务进行可调度性分析。采用恢复块技术对其进行冗余备份以解决服务软件单点故障。分析结果表明,该框架基本可以满足实时系统的要求。

关键词: 实时中间件, 优先级映射, 可调度性判定, 负载均衡, 选举算法, 容错

Abstract: An overall framework is put forward to expand the real-time ability of the middleware Satellite Data Model(SDM) based on publish/ subscribe model. A linear and dynamic method is presented to map middleware priority to native operating system. It analyzes the schedulability test of scheduling hard real-time period and sporadic tasks under static priority preemptive scheduling algorithm whose priority is assigned freely. To improve its fault-tolerance capability, the software by Recovery Block(RB) technique is done back up so that it can avoid the breakdown of any part one. Compared with the preceding system, this service framework possibly meets the needs of distributed real-time applications.

Key words: real-time middleware, priority mapping, schedulability judgment, load balance, voting algorithm, fault tolerance

中图分类号: