• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊
论文

Design and Implementation of a Visual Network Simulation System Based on NS2

Expand
  • (School of Information Science and Engineering,Central South University,Changsha  410083,China)

Received date: 2010-01-28

  Revised date: 2010-04-30

  Online published: 2011-02-25

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.

Cite this article

REN Ju,DENG Xiaoheng,CHEN Zhigang . 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.1007130X.2011.

References

[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 WebBased Learning,2002:169177.
[5]Cao Jiannong,Chan Alvin,Cao Weidong,et al.Virtual Programming Lab for Online Distance Learning[C]∥Proc of  ICWL’02,2002:216227.
[6]Benetazzo L,Bertocco M,Ferraris F,et al.A WebBased Distributed Virtual Educational Laboratory[J].IEEE Trans on Instrumentation and Measurement,2000,49(2):34935.

Outlines

/