计算机应用 ›› 2011, Vol. 31 ›› Issue (05): 1413-1416.DOI: 10.3724/SP.J.1087.2011.01413

• 典型应用 • 上一篇    下一篇

基于远程过程调用和壁垒同步的分布式离散事件仿真模型

陈优子,陈俊延,王彤   

  1. 北京航空航天大学 电子信息工程学院,北京 100191
  • 收稿日期:2010-10-27 修回日期:2010-12-21 发布日期:2011-05-01 出版日期:2011-05-01
  • 通讯作者: 陈优子
  • 作者简介:陈优子(1986-),女,河北衡水人,硕士研究生,主要研究方向:无线网络、航空电子网络;陈俊延(1983-),男,河南南阳人,博士研究生,主要研究方向:无线网络、航空电子综合;王彤(1962-),女,山西太原人,研究员,主要研究方向:航空电子综合系统、总线通信网络、电子设备智能测试。

Distributed discrete event simulation model based on RPC and barrier synchronization mechanism

CHEN You-zi, CHEN Jun-yan, WANG Tong   

  • Received:2010-10-27 Revised:2010-12-21 Online:2011-05-01 Published:2011-05-01
  • Contact: CHEN YouZi

摘要: 针对多处理器高数据量情况的并行离散事件仿真提出了一种高效的仿真模型。仿真采用时间步进的推进方式,运用远程过程调用(RPC)分布调用机制实现仿真成员之间的互操作。仿真中采用壁垒同步机制保证仿真推进时的时间同步,以确保因果关系正确。实践证明,在保证了仿真准确性的前提下,该模型可对传输层和网络层协议进行仿真测试,能够对大数据量进行准确实时的处理,并在一定程度上提高了仿真效率。

关键词: 并行离散事件仿真, 远程过程调用机制, 保守策略, 时间单位推进, 壁垒同步

Abstract: A distributed simulation approach was proposed for discrete-events simulation with considerable amounts of events between logical processes. The proposed approach employed a time-driven method to simulate occurrence of discrete-events, using Remote Procedure Call (RPC) to describe the interaction between simulation members. In this approach, barrier synchronization objects were deployed for time synchronization in simulation advancement, in order to ensure the correctness of the causal ordering. Results obtained from the experiments show that the proposed approach can correctly and promptly handle large number of events, providing accuracy guarantee and efficiency improvement of the simulation model.

Key words: Parallel Discrete Event Simulation (PDES), Remote Procedure Call (RPC), conservative strategy, time-unit advance, barrier synchronization