首页 | 官方网站   微博 | 高级检索  
     

改进NS2对局域网分布式系统在线仿真的实现
引用本文:李映川,童晓阳,丁力.改进NS2对局域网分布式系统在线仿真的实现[J].计算机仿真,2009,26(9):227-231.
作者姓名:李映川  童晓阳  丁力
作者单位:1. 江西省电力设计院,江西,南昌,330006
2. 西南交通大学电气工程学院,四川,成都,610031
3. 浙江省宁波电业局,浙江,宁波,315010
基金项目:江西省电网科技项目(200750502)
摘    要:目前大多数仿真系统采用流量发生器等模拟l离散事件的发生,为了充分模拟网络环境中分布式系统各子系统的并发运行和彼此之间依据算法的实时交互,设有虚拟局域网VLAN的IEEE802.1Q协议。提出一种改进NS2模拟局域网分布式系统实际运行的在线仿真的集成方法,将各分布式应用对象移植为NS2的C++扩展对象,执行实际算法,构造一个模拟中心调度对象,管理各分布式对象的并发运行、转发各分布式对象之间的消息交给NS2以模拟其网络延迟,与领域仿真软件交换数据等。对NS2中共享式以太网协议模块改造,添加VLAN802.1Q协议模块,分别实现对交换式局域网和多播报文的模拟。变电站自动化系统的通信网络仿真实验结果,验证了在线仿真方法是有效的、所扩展的NS2模块是正确的。

关 键 词:分布式系统  在线仿真  通信模拟  局域网  虚拟局域网  

Implementation of Online Emulation for Distributed System in Local-area Network by Improving NS2
LI Ying-chuan,TONG Xiao-yang,DING Li.Implementation of Online Emulation for Distributed System in Local-area Network by Improving NS2[J].Computer Simulation,2009,26(9):227-231.
Authors:LI Ying-chuan  TONG Xiao-yang  DING Li
Affiliation:1. Jiangxi Electric Power Design Institute;Nanchang Jiangxi 330006;China;2. School of Electrical Eng.;Southwestern Jiaotong University;Chengdu Sichuan 610031;3. Ningbo Electric Power Bureau;Ningbo Zhejiang 315010;China
Abstract:Traditional NS2 generates the event with traffic generator,which can't well simulate actual parallel running and interactions of the distributed system in the network environment. In order to solve the problem,an integrated method of online-emulation is proposed for the distributed system in the local area network to simulate its real running procedure and delay of network. The distributed objects are migrated to NS2 as extended C++ objects to execute the algorithms. A simulation centre scheduling object is...
Keywords:Distributed system  Online-emulation  Communication simulation  Local area network  VLAN  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号