系统仿真学报 ›› 2020, Vol. 32 ›› Issue (11): 2199-2207.doi: 10.16182/j.issn1004731x.joss.20-FZ0423

• 物理效应/模拟器仿真技术 • 上一篇    下一篇

基于容器的复杂系统仿真应用自动封装技术

王帅, 朱峰*, 姚益平, 唐文杰, 肖雨豪   

  1. 国防科技大学系统工程学院,湖南长沙 410073
  • 收稿日期:2020-06-29 修回日期:2020-07-20 出版日期:2020-11-18 发布日期:2020-11-17
  • 作者简介:王帅(1997-),男,湖北天门,硕士生,研究方向为系统仿真;朱峰(1985-),男,湖北随州,博士,讲师,研究方向为高性能仿真;姚益平(1963-),男,湖南邵阳,博士,研究员,研究方向为高性能仿真。
  • 基金资助:
    国家自然科学基金(61903368)

Container-based Automatic Packaging Technology for Complex System Simulation Application

Wang Shuai, Zhu Feng*, Yao Yiping, Tang Wenjie, Xiao Yuhao   

  1. College of Systems Engineering,National University of Defense Technology,Changsha 410073,China
  • Received:2020-06-29 Revised:2020-07-20 Online:2020-11-18 Published:2020-11-17

摘要: 容器技术为复杂系统仿真应用的快速灵活部署提供了一种全新的解决方案。容器支持对仿真应用的服务化封装,可以大大降低仿真应用在不同运行环境上部署的难度。目前主流的容器镜像封装技术主要依赖手动编写Dockerfile文件,导致封装效率低且容易引入人为错误。因此,提出了一种基于容器的复杂系统仿真应用自动封装技术,定义了支持重用的库组件模板,并将仿真应用与库组件模板融合生成组合镜像模板,组合镜像模板在通过语法优化与错误检测后自动生成Dockerfile。基于SUPE仿真引擎的复杂系统仿真应用封装实验证明了该自动封装技术的有效性。

关键词: 容器, 复杂系统仿真, 封装, Dockerfile

Abstract: Container-based technology provides a new solution for the rapid and flexible deployment of complex system simulation applications. Container supports service-based packaging of simulation applications, which greatly reduces the difficulty of deploying simulation applications. Current packaging technology mainly relies on manually writing Dockerfile, which results in low packaging efficiency and human errors. A container-based automatic packaging technology for complex system simulation application is proposed, and the reusable library component template is defined. Combined image template is generated by combining simulation application and library component templates. Dockerfile is generated by the combined template after syntax optimization and error detection. The experiments for complex system simulation application based on SUPE simulation engine show the effectiveness of the proposed packaging technology.

Key words: container, complex system simulation, package, Dockerfile

中图分类号: