一种实时控制的EXata 移动模型设计与实现

2016-03-04 11:48:07刘鹏飞张磊王海董超李智敏
电脑知识与技术 2015年36期

刘鹏飞 张磊 王海 董超 李智敏

摘要:近年来,EXata仿真软件在无线网络仿真领域得到了越来越多的重视,除了独立进行网络仿真之外,它还可以与其他软件配合进行大系统的仿真实验。节点移动是影响无线网络性能的重要因素,EXata支持多种移动模型,但这些模型都是在仿真开始前依据预定的规则产生节点移动轨迹,无法对节点的移动进行实时控制,影响了其在大系统仿真实验中的应用。该文设计并实现了一种EXata实时控制移动的模型,可以利用UDP通信实时接收移动指令并控制仿真节点的移动,同时提出原地踏步策略解决了EXata软件位置管理模块未开放所导致的节点必须连续运动的问题。仿真结果表明,所提移动模型可以实时控制中大规模无线网络中仿真节点的准确移动。

关键词:EXata;网络仿真;外部指令;实时

中图分类号:TN929 文献标识码:A 文章编号:1009-3044(2015)36-0013-04

Abstract: In recent years,increasingly importance has been attached to EXata simulation software in the field of wireless network simulation. In addition to conducting network simulation independently, it also can cooperate with other softwares to conduct the stimulation experiment of the larger systems. Movement pattern is an important element that affecting the performance of wireless network. EXata supports multiple mobility models which can only produce trajectorys of nodes moving according to predetermined rules before the simulation beginning. This induces that the node movement can not be controlled in real time and the application of EXata in the large system simulation is limited. This paper designed and implemented an Extra mobility model that can control node movement in real time. With UDP communication, it can receive the movement instruction which can be used to control node movement. Meanwhile, due to the position management module is not opened in Exata, the simulation nodes must continuously move. To address this issue, we proposed the strategy of marching on the spot The simulation results show that the proposed mobility model can control accurate nodes movement in real-time in the median and large scale wireless network stimulation.

Key words: EXata; network simulation; mobility model;real time

1 概述

在进行产品开发或者新技术推广时,仿真是降低难度和成本的重要手段,由于可以兼顾成本与仿真的真实性,半实物仿真近些年得到了越来越多的重视。EXata是基于Qualnet仿真内核的一种半实物仿真软件,其创建的“虚拟网络”完全可以与真实物理网络中的所有组件互相通信和交换数据。另外,由于EXata的协议层次较为简单,层间耦合较松,其产品开发和测试周期短。同时,EXata协议实体对平台资源需求较少,后期的移植较为简单,产品实用化速度较快。由于以上优点,EXata已经成为无线网络半实物仿真的主流软件。……

登录APP查看全文