首页 | 本学科首页   官方微博 | 高级检索  
     

基于NS2的计算机网络远程虚拟实验室的设计与实现
引用本文:王建新,凌亮,王伟平.基于NS2的计算机网络远程虚拟实验室的设计与实现[J].计算机工程与应用,2004,40(24):104-107,144.
作者姓名:王建新  凌亮  王伟平
作者单位:中南大学信息科学与工程学院,长沙,410083
基金项目:国家自然科学基金资助(编号:90304010)
摘    要:文章提出了基于NS2模拟器的计算机网络虚拟实验室系统的设计模型和实现方法。该实验室以JavaApplet实现客户端,使用NS2多协议模拟器作为服务器的后台计算平台,Nam作为客户端的可视化工具,通过JavaRMI远程调用机制实现了客户端的远程调用。该系统客户端以JavaApplet实现,具有Java语言的平台独立性和安全性,以JavaBean实现虚拟实验设备(如节点,链路等);以组件的形式开发实验库,易于扩充实验库,提高了开发效率,实现了软件重用。服务器端以NS2作为后台计算平台,提供了强大的模拟仿真能力。该系统基于Web环境在用户和NS2网络模拟器之间提供了实验室平台,既使用户省去难以学习NS2的困难,又可以让用户利用NS2模拟器强大的系统仿真能力进行网络模拟试验,让用户可以更加深入理解网络中的复杂行为。

关 键 词:虚拟实验室  RMINS2Nam  JavaApplet  JavaBean
文章编号:1002-8331-(2004)24-0104-04

Design and Implementation of Computer Network
Wang Jianxin Ling Liang Wang Weiping.Design and Implementation of Computer Network[J].Computer Engineering and Applications,2004,40(24):104-107,144.
Authors:Wang Jianxin Ling Liang Wang Weiping
Abstract:This paper proposes the design model and implementing method of computer network virtual lab system based on NS2simulator.In computer network virtual lab,the client part is implemented with Java Applet,the multi-pro-tocol simulator NS2is used as computing platform,Nam is used as the tool for displaying in the client ,and Java RMI is used for the remote calling of client.The client that implements by Java Applet has the platform independence and security of Java language.The virtual experiment equipments are implemented with Java Bean.The equipment library that uses component method is easy to extend,which improves the developing efficiency and achieves the software reuse.The server that uses NS2as computing platform has powerful simulating capability.This system that bases on web environ-ment provides experiment platform between users and NS2,which makes users leave out the trouble of studying NS2,use the powerful system simulate capability of NS2simulator to do network simulate experiment and deeply understand the complex behaved in computer network.
Keywords:virtual lab  RMI  NS2  Nam  Java Applet  Java Bean
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号