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

ns-2中交换结构的仿真设计和实现
引用本文:郑宏云,赵永祥,陈常嘉. ns-2中交换结构的仿真设计和实现[J]. 计算机仿真, 2007, 24(5): 122-126
作者姓名:郑宏云  赵永祥  陈常嘉
作者单位:北京交通大学电子信息工程学院,北京,100044;北京交通大学电子信息工程学院,北京,100044;北京交通大学电子信息工程学院,北京,100044
基金项目:国家自然科学基金 , 北京交通大学研究生创新课程建设基金
摘    要:交换结构是高速路由器不可缺少的重要组件,在ns-2中仿真实现交换结构,目标是提供一个具有通用结构和基本功能的交换结构模型.通过队列父类的派生,修改原有的数据结构和分组处理流程,作为标准构件添加到ns-2的构件库中,用户只需在相应的功能函数中添加源代码,就可以开展与交换结构相关的研究工作.仿真结果与理论分析一致,动态跟踪表明开发的交换结构在网络环境中能够准确地转发分组,扩展了ns-2功能进行交换结构网络性能分析.

关 键 词:交换结构  仿真  网络性能分析
文章编号:1006-9348(2007)05-0122-03
修稿时间:2006-04-272006-04-30

Design and Implementation of Switches Simulated in ns-2
ZHENG Hong-yun,ZHAO Yong-xiang,CHEN Chang-jia. Design and Implementation of Switches Simulated in ns-2[J]. Computer Simulation, 2007, 24(5): 122-126
Authors:ZHENG Hong-yun  ZHAO Yong-xiang  CHEN Chang-jia
Affiliation:School of Electronics and Information Engineering, Beijing Jiaotong University, Beijing 100044, China
Abstract:Switches are necessary components of high-speed routers.In this paper,the design and implementation of switches in ns-2 are presented.The goal is to implement a model with common structure and functionality of switch.By deriving from a basic class,and modifying the process procedure of packets,switch is implemented as a standard module in ns-2 library.Users can study switch in all kinds of researching areas by coding in relevant functions of the developed switch module.Simulation results are consistent with theoretical conclusions,and dynamic traces show that the developed switch can successfully forward the packets in network environment.
Keywords:Switches  Simulation  Network performance analysis
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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