微处理器的多核化及众核化发展趋势为推广并行仿真提供了机遇。依照仿真模型可移植性标准开发的组件化仿真模型之间通过接口、事件和数据流三种模式进行交互,但其立即响应的特点无法满足并行仿真的需求。研究了三种交互模式的并行化改造方法,在组件交互的对外表现层作适当调整,但基本保持原有风格;在组件交互的实现层,三种交互模式都被转化为并行离散事件仿真的经典事件交互范式,通过时间同步协议保证仿真逻辑的正确性及并行仿真的运行效率。组件化并行仿真模型的三种交互模式各有适用场合,丰富了并行仿真的模型交互方法。
The multi-core many-core trends of microprocessors provide an opportunity for popularizing the parallel simulation.Simulation model components that are developed according to the simulation model portability standard interact with each other via interfaces,events and dataflow.The common characteristic of these three interaction modes is immediate response,which is unsuitable for the parallel simulation.The modification method of these interaction modes for parallelization is studied.The API level of model interactions for a modeler is adjusted partly,while the interaction style remains.In the implementation level of model interactions,these three interaction modes are transformed into the classical event interaction formalism of the parallel discrete event simulation.The logical correctness and the running efficiency can be promised by synchronization protocols.These three interaction modes of component-based parallel simulation models have their own applicable situations and enrich the interaction method of parallel simulation models.