Journal of System Simulation ›› 2021, Vol. 33 ›› Issue (9): 2202-2214.doi: 10.16182/j.issn1004731x.joss.20-0364

Previous Articles     Next Articles

Research on Simulation Object Interfaces Oriented to Plug-in-play Pattern

Lin Zhongwei1, Li Xiuhe1, Yao Yiping2, Shen Yang1, Dai Shaoqi1, Shi Qianqian1   

  1. 1. College of Electronic Engineering, National University of Defense Technology, Hefei 230031, China;
    2. College of System Engineering, National University of Defense Technology, Changsha 410073, China
  • Received:2020-06-16 Revised:2020-08-31 Online:2021-09-18 Published:2021-09-17

Abstract: Models and simulation engines provide services mainly in the format of executable files in cloud environment, thus plug-in-play pattern becomes the first choice of simulation, which needs necessitating interfaces to connect the model processing logics and the simulation engine control logics. A set of simulation object interfaces that covers the simulation full life cycle of initialization, event scheduling, processing and cancel, publish and processing of subscription, roll-back and termination is proposed, and then defined in C++ language. Two examples show the process of the interfaces and the effectiveness of constructing the simulation objects. With the instantiation and disposal methods, the simulation engines take over all instances and calls the corresponding interfaces to execute the simulation, which supports simulation development in plug-in-play pattern.

Key words: simulation object interface, plug-in-play, cloud simulation, parallel simulation

CLC Number: