• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2012, Vol. 34 ›› Issue (3): 80-85.

• 论文 • 上一篇    下一篇

一种DVE中通用的因果消息序时间管理分布式中间件

周航军1,张红雷2   

  1. (1.并行与分布处理国防科技重点实验室, 湖南 长沙 410073;
    2.中国人民解放军61741部队,北京 100081)
  • 收稿日期:2010-07-20 修回日期:2010-12-17 出版日期:2012-03-26 发布日期:2012-03-25

A Common Distributed Middleware for Causal Order Time Management in DVE

ZHOU Hangjun1,ZHANG Honglei2   

  1. (1.National Laboratory for Parallel and Distributed Processing,Changsha 410073;
    2.61741 Corps of PLA,Beijing 100081,China)
  • Received:2010-07-20 Revised:2010-12-17 Online:2012-03-26 Published:2012-03-25

摘要:

对于遵循高层体系结构(HLA)标准构建的分布式虚拟环境(DVE),时间管理服务的性能将直接影响分布式仿真的效率和正确性。目前的时间管理服务实现了两种消息排序机制:接收序和时戳序。接收序对消息按其接收顺序进行处理,实时性高,但无法正确处理接收顺序与产生顺序相违背的消息;时戳序通常指保守时戳序机制,能对消息按其产生的时间顺序进行处理,但时间开销较大,难以到达DVE的实时性要求。因此,本文以分布式中间件的方式为DVE设计实现了一种因果消息序时间管理服务,提供符合HLA标准的程序接口,使分布式仿真应用在不改变原有调用接口的情况下,能够通过中间件对消息实现因果序时间管理。实验表明,使用该中间件可以有效维护消息的处理顺序,同时时间开销小,能够较好地满足DVE的实时性要求。

关键词: 高层体系结构, 分布式虚拟环境, 时间管理, 因果序, 分布式中间件

Abstract:

The performance of time management services is directly related to the effectiveness and correctness of DVE established according to the HLA standards. Generally, the realized time management services include two message ordering mechanisms: the receiving order and the time stamping order. The receiving order has a good realtime property but cannot correctly deliver messages that the receiving order is violated to their generating order. The time stamping order can maintain the message delivery in the generating order, while it is hard to meet the realtime property of DVE for its significant overhead. In this article, we propose a common distributed middleware to offer causal order time management services for DVE, which provides standard program interfaces of HLA. The experimental results demonstrate that by utilizing this middleware the delivery order of messages can be preserved correctly and effectively, in the meantime, the small overhead is suitable for the requirement of the realtime property of DVE.

Key words: HLA;DVE;time management;causal order;distributed middleware