计算机工程与科学2011,Vol.33Issue(2):12-16,5.DOI:10.3969/j.issn.1007-130X.2011.02.003
基于NS2的网络仿真可视化系统的设计与实现
Design and Implementation of a Visual Network Simulation System Based on NS2
摘要
Abstract
NS(Network Simulator) has always been widely used in network simulation. However,some of its shortcomings such as difficulty in use, lack of long-range simulation support have limited its development. This paper proposes a remote visualization simulation system based on NS2 and gives the implementing method. We use Flex and the ActionScript programming language to develop the client program. In addition, we use component technology to develop the library of scenarios and a distributed component autonomy model to realize the automatic generation of the script. Then the system conveys the script to the server and the NS2 child process executes this script by remote calling. Meanwhile, the third-party software library Gawk and Pnuplot are integrated to analyze the simulation results and realize the curves description and the animation show of the results, which ensures that protocol researchers can have an intuitive and in-depth understanding of the complex network behavior. It provides a good platform for the users who are learning computer network remotely.关键词
NS2/网络模拟/可视化系统/Flex/远程调用Key words
NS2/ network simulation/ visualization system/ Flex / remote call分类
信息技术与安全科学引用本文复制引用
任炬,邓晓衡,陈志刚..基于NS2的网络仿真可视化系统的设计与实现[J].计算机工程与科学,2011,33(2):12-16,5.基金项目
国家自然科学基金(60903058) (60903058)
教育部博士点基金新教师基金(200805331109) (200805331109)
大学生创新性实验计划项目(LA08050) (LA08050)
湖南省普通高校教改研究项目湘教通(2009)140号24 (2009)