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

J4 ›› 2014, Vol. 36 ›› Issue (01): 34-38.

• 论文 • 上一篇    下一篇

基于HLA的分布式仿真框架自动生成技术

梁彦刚,高晓升,张翼,唐国金   

  1. (国防科学技术大学航天与材料工程学院,湖南 长沙 410073)
  • 收稿日期:2012-05-23 修回日期:2012-08-13 出版日期:2014-01-25 发布日期:2014-01-25
  • 基金资助:

    国家863计划资助项目;国家自然科学基金资助项目(11272346)

The automatic generation technology for distributed simulation framework based on HLA    

LIANG Yangang,GAO Xiaosheng,ZHANG Yi,TANG Guojin   

  1. (College of Aerospace and Engineering,National University of Defense Technology,Changsha 410073,China)
  • Received:2012-05-23 Revised:2012-08-13 Online:2014-01-25 Published:2014-01-25

摘要:

针对基于HLA仿真应用系统开发中存在的计算模型程序与RTI服务程序的耦合问题,研究了基于共享内存和中断回调技术的解耦方法,进一步采用HLA仿真适配器对RTI服务程序进行封装,从而实现了计算模型程序与RTI底层服务程序的有效隔离。为提高仿真应用程序开发效率,分析了联邦成员中RTI服务程序功能需求,研究实现了仿真适配器自动生成软件。该软件可快速生成基于HLA的联邦成员适配器代码和执行程序,从而构建仿真应用系统分布式仿真框架。

关键词: HLA, 仿真框架, 自动生成, 仿真适配器, 共享内存

Abstract:

The computation model codes are strongly coupled with RTI services codes commonly in HLAbased simulation application programs, which makes the simulation system development more difficult. To solve the above problem, an uncoupling method base on shared memory and interruptcallback is studied, and a HLAbased simulation adapter is proposed to pack RTI services program. The technology for automatically generating simulation adapter is studied according to the functional requirements of RTI services program in federate members. To improve the program development efficiency, a software is developed to generate code and executable file of each federate adapter automatically. And then the distributed simulation framework can be established after the federate adapters is combined with RTI.

Key words: HLA;simulation framework;automatic generation;simulation adapter;shared memory