系统仿真学报 ›› 2015, Vol. 27 ›› Issue (11): 2695-2700.

• 仿真器与仿真系统及半实物仿真 • 上一篇    下一篇

基于共享库集成的半实物网络仿真方法研究

张明清1, 孙磊刚1, 孔红山1, 齐先庆2   

  1. 1.信息工程大学密码工程学院,郑州 450000;
    2.72850部队 济南 250000
  • 收稿日期:2014-07-17 修回日期:2014-11-28 出版日期:2015-11-08 发布日期:2020-08-05
  • 作者简介:张明清(1961-),男,湖北孝感,副教授,研究方向为系统建模与仿真;孙磊刚(1990-),男,陕西咸阳,硕士生,研究方向为半实物网络仿真; 孔红山(1981-),男,河南濮阳,博士生,讲师,研究方向为系统建模与仿真。

Research on Network Emulation Method Based on Shared Library Integration

Zhang Mingqing1, Sun Leigang1, Kong Hongshan1, Qi Xianqing2   

  1. 1. Institute of Cryptographic Engineering, Information Engineering University, Zhengzhou 450000, China;
    2. Unit 72850, Jinan 250000, China
  • Received:2014-07-17 Revised:2014-11-28 Online:2015-11-08 Published:2020-08-05

摘要: 针对真实网络中设备测试存在高成本高风险而单纯的软件仿真又缺乏准确性的不足,引入半实物网络仿真方法,真实应用程序与仿真系统集成是其关键技术。根据虚实节点映射原理,提出一种半实物网络仿真模型;对OMNeT++仿真器进行源代码级二次开发,提出基于共享库集成的半实物网络仿真方法,探讨集成过程中出现的线程错误、实时性、符号空间等问题,并给出相应解决方案;结合C/S型HTTP仿真实例对方法有效性进行分析和验证,结果表明:共享库集成方法实现了真实应用程序和虚拟网络的有效集成,且具有较好的实时仿真性能;给出该方法5个方面的潜在应用

关键词: 半实物网络仿真, 共享库集成, 接口开发, 仿真模型, 实时性

Abstract: For the high-risk, high-cost to test equipments in real network and the poor accuracy of software simulation, network emulation method was introduced; the integration between real application and simulation system is the key technology. According to the mapping principle between real device and virtual network, a network emulation model framework was proposed; the OMNeT++ simulator on the source code lever was designed; the network emulation method based on shared library integration was proposed; the problems of thread error, time distortion and symbolic space in the process of integration were discussed, and corresponding solutions were given; the correctness of the method with an example of HTTP simulation model was verified. The results show that the method combined virtual network and the real application effectively, and has good real-time simulation performance. Potential applications were given in five areas.

Key words: network emulation, shared library integration, interface design, simulation model, real-time

中图分类号: