Computer Engineering & Science >
Design and Implementation of a Visual Network Simulation System Based on NS2
Received date: 2010-01-28
Revised date: 2010-04-30
Online published: 2011-02-25
NS(Network Simulator) has always been widely used in network simulation. However, some of its shortcomings such as difficulty in use, lack of longrange 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 thirdparty 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 indepth understanding of the complex network behavior. It provides a good platform for the users who are learning computer network remotely.
REN Ju,DENG Xiaoheng,CHEN Zhigang . Design and Implementation of a Visual Network Simulation System Based on NS2[J]. Computer Engineering & Science, 2011 , 33(2) : 12 -16 . DOI: 10.3969/j.issn.1007130X.2011.
[1]谢希仁. 计算机网络[M]. 第4版. 北京:电子工业出版社,2005.
[2]方路平,刘世华,陈盼,等. NS2网络模拟基础与应用[M].北京:国防工业出版社, 2008.
[3]于斌,孙斌,温暖,等.NS2与网络模拟[M].北京:人民邮电出版社,2005.
[4]Wang Jianxin,Chen Songqiao,Jia Weijia,et al.The Design and Implementation of Virtual Laboratory Platform in Internet[C]∥Proc of the First Int’l Conf on WebBased Learning,2002:169177.
[5]Cao Jiannong,Chan Alvin,Cao Weidong,et al.Virtual Programming Lab for Online Distance Learning[C]∥Proc of ICWL’02,2002:216227.
[6]Benetazzo L,Bertocco M,Ferraris F,et al.A WebBased Distributed Virtual Educational Laboratory[J].IEEE Trans on Instrumentation and Measurement,2000,49(2):34935.
/
| 〈 |
|
〉 |