期刊文献+

RTI中乐观推进机制的实现 被引量:3

Implementation of Optimistic Advancing Mechanism in RTI
下载PDF
导出
摘要 正确理解乐观推进机制的基本原理,并按照高层体系结构HLA(highlevelarchitecture)规范实现RTI(runtimeinfrastructure)中的乐观推进服务一直是分布式仿真领域关注的难点问题.介绍了并行离散事件仿真PDES(paralleldiscreteeventsimulation)和HLA中的乐观推进机制,并指出了它们之间的重要差异,例如PDES中的虚拟时间(virtualtime)可以回卷(rollback),回卷发生在进程中;而HLA中的逻辑时间不能够回卷,但乐观盟员在不影响保守盟员推进的情况下可以回卷自己调度事件的时间,回卷发生在盟员内而不是RTI内.另外,提出了在实现乐观推进服务时,不需要RTI作任何保存操作的零保存技术,并成功地将该技术应用到RTI软件StarLink中.零保存技术通过在消息句柄类型RTI::MessageRetractionHandle定义中增加两个变量,一个表示TSO(timestamporder)消息的时标,另一个表示所有接收该消息的盟员(RTI::MessageRetractionHandle为IEEE1516.1定义的数据类型),RTI将具有此类型的消息句柄返回给发送TSO消息的盟员保存,当发送盟员再次使用消息句柄撤消(retract)消息时,RTI从消息句柄中就可以知道并通知接收盟员撤消消息.对于理解和开发RTI中的乐观推进服务具有重要的现实意义. 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. An implementation mechanism called Zero-Saving is proposed. 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: Message Retraction 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 are useful for RTI developers.
出处 《软件学报》 EI CSCD 北大核心 2004年第3期338-347,共10页 Journal of Software
基金 国家高技术研究发展计划(863) 国家重点基础研究发展规划(973)~~
关键词 并行离散事件仿真 高层体系结构 时间管理 乐观推进机制 零保存 RTI Algorithms Data communication systems Distributed computer systems Parallel algorithms
  • 相关文献

参考文献7

二级参考文献14

  • 1Riley GF Fujimoto R Ammar MH.Network aware time management and event distribution.http://www.cc.gatech.edu/computing/pads/papers.html,2000.
  • 2Simulation Interoperability Standards Committee (SISC) of the IEEE Computer Society. IEEE Standard for Modeling and Simulation (M&S) High Level Architecture (HLA)-IEEE Std 1516-2000, 1516.1-2000, 1516.2-2000. New York: Institute of Electrical and Electronics Engineers, Inc., 2000.
  • 3Fujimoto RM. Lookahead in parallel discrete event simulation. In: Briggs FA, ed. Proceedings of the 1988 International Conference on Parallel Processing. 1988.34~41.
  • 4Ouyang LL, Song X, Qing DZ, Hao JB, Wang J. Research of time management in HLA and simulation algorithms of PDES.Journal of System Simulation, 2000,12(3):237~240 (in Chinese with English abstract).
  • 5Carothers CD, Weatherly RM, Fujimoto RM, Wilson AL. Design and implementation of HLA time management in the RTI version F 0 In: Andradottir S, Healy KJ, Withers DH, Nelson BL, eds. Proceedings of the 1997 Winter Simulation Conference. Piscataway:IEEE, 1997. 373~380.
  • 6邱晓刚,博士学位论文,1998年
  • 7欧阳伶俐,学位论文,1999年
  • 8柴旭东,学位论文,1999年
  • 9邱晓刚,博士学位论文,1998年
  • 10姚益平 卢锡城 刘步权 卢刚 韩林.层次式RTI中数据结构的设计[J].计算机研究与发展,2002,39:274-278.

共引文献95

同被引文献21

  • 1Frederic K, Joseph V, Kevyn J. Development and validation of a new TRNSYS type for the simulation of external building walls containing PCM[J].Energy and Buildings, 2010, 42(7): 1004-1009.
  • 2Servet S,Mehmet K, Hasan A.Design and simulation of self-tuning PID-type fuzzy adaptive control for an expert HV AC next term system [J]. Expert Systems with Applications, 2009 36(3):4566 -4573.
  • 3Clarke J A, Cockroft J,Conner S.Simulation-assisted control in bui -lding energy management system[J].Energy and Buildings, 2007 34(9): 933-940.
  • 4Alireza HKamarn S.Experimental study on the effect of heat trans -fer enhancement devices inflat-plate solar collectors [J]. International Journal of Heat and Mass Transfer,2009,52(19)4650-4658.
  • 5Athienitis A K. Thermal analysis of buildings in a mathematical programming environment and applications[J].Building and Envi -ronment, 1999, 34(4): 401-415.
  • 6Dale R.Inside COM [M].Microsoft Press, 1997.
  • 7William MB,Michel P, Lars V W. An overview of the interopera -bility road, map for COM/.NET-Based CAPE-OPEN[J]Computer. Aided Chemical Engineering,2007,244); 165-170.
  • 8Nader M, Jameela A. Self-configured multiple-network-interface socket[J]. Journal of Network and Computer Applications 2010, 33(1): 35-42.
  • 9Mohamed N,AI-Jaroodi J, Jiang H.Dependable user-level socket over dual networks [J]. The Journal of Parallel and Distributed Computing, 2005, 65(10): 1261-1270.
  • 10Bhattacharya S,Chatterjee A,Munshi SA new self-tuned PID-type fuzzy controller as a combination of two-term controllers [J].ISA Transactions, 2004, 43(3): 413-426.

引证文献3

二级引证文献14

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部