计算机应用 ›› 2010, Vol. 30 ›› Issue (12): 3284-3287.

• 虚拟现实与模式识别 • 上一篇    下一篇

基于NS-2的网络半实物仿真平台实现

许文强1,张国霞2,王新红2,刘富强2   

  1. 1. 同济大学
    2.
  • 收稿日期:2010-06-09 修回日期:2010-07-22 发布日期:2010-12-22 出版日期:2010-12-01
  • 通讯作者: 许文强
  • 基金资助:
    国家重大科技专项项目

Implementation of hardware-in-loop network simulation platform based on NS-2

  • Received:2010-06-09 Revised:2010-07-22 Online:2010-12-22 Published:2010-12-01

摘要: NS-2是一款广泛使用的网络仿真软件,但针对它的半实物仿真方法研究较少。针对这一问题,通过实际实时业务流与虚拟仿真网络的映射,提出并实现一种新的基于NS-2的网络半实物仿真HIL-NS平台。在详细描述HIL-NS平台构成基础上,讨论并解决了其实现的关键技术。在车载通信网络(VANET)实例下对802.11b无线MAC协议性能进行仿真,结果表明HIL-NS平台不但能与NS-2纯仿真的结果趋势保持高度一致性,并且在支持传统数据分析的同时,能有更直观的仿真性能实时输出。

关键词: 半实物仿真, NS-2, 网络仿真, 实时, 性能评估

Abstract: NS-2 is one of the most widely used network simulation softwares. But there are few researches on hardware-in-loop simulation based on NS-2. A new Hardware-In-Loop simulation platform based on NS-2 (HIL-NS) was proposed, by mapping real data flows to the simulation networks. Based on the description of HIL-NS platforms architecture in detail, key technologies to implement this platform were discussed. The simulation results of wireless MAC protocol 802.11b in Vehicle Ad-hoc NETwork (VANET) show that the results of HIL-NS platform highly coincide with those of NS-2. And the proposed platform can get more direct real-time output of the performance while supporting traditional data analysis.

Key words: hardware-in-loop simulation, NS-2, network simulation, real-time, performance evaluation