Implementation of Optimistic Advancing Mechanism in RTI
DOI:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    In distributed modeling and simulation area, it is intractable to comprehend the fundamental principles of optimistic advancing mechanism and implement the optimistic advancing services in RTI (runtime infrastructure) according to HLA (high level architecture) specifications. This paper introduces two different optimistic advancing mechanisms in PDES (parallel discrete event simulation) and HLA, and reveals some important differences between them. For example, the virtual time can be rolled back in PDES, the logical time can not be rolled back in HLA, and an optimistic federate can only roll back its message-scheduling time and must ensure that its rollback won’t influence the advancing of conservative federates. Rollback occurs in a logical process in PDES, but it can only occur in a federate rather than RTI in HLA. In addition, a new implementation mechanism called Zero-Saving is proposed in this paper. With this mechanism, a RTI does not need to save any execution states when optimistic advancing services are implemented. This mechanism has successfully been applied to a RTI named StarLink. The Zero-Saving mechanism adds two new variables into the message retraction handle type RTI::MessageRetraction Handle which is a data type defined by IEEE 1516.1. One variable represents the time stamp of the sent TSO (time stamp order) message, and the other is used to save all federates which receive the message. When a TSO message is sent to RTI, RTI returns the sending federate a message retraction handle with all message-received federates. So RTI knows which federates should be notified to retract the received messages whenever the sending federate uses a message retraction handle to ask RTI to retract a TSO message. The fundamental principles and implementation of optimistic advancing services introduced in this paper are useful for RTI developers.

    Reference
    Related
    Cited by
Get Citation

刘步权,王怀民,姚益平. RTI中乐观推进机制的实现.软件学报,2004,15(3):338-347

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:November 07,2003
  • Revised:November 07,2003
  • Adopted:
  • Online:
  • Published:
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-4
Address:4# South Fourth Street, Zhong Guan Cun, Beijing 100190,Postal Code:100190
Phone:010-62562563 Fax:010-62562533 Email:jos@iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063