计算机科学 ›› 2011, Vol. 38 ›› Issue (8): 117-120.
• 计算机网络与信息安全 • 上一篇 下一篇
张小庆,李春林,张恒喜
出版日期:
发布日期:
基金资助:
ZHANG Xiao-qing,LI Chun-lin,ZHANG Heng-xi
Online:
Published:
摘要: 分析了NS2的工作原理和仿真机制,重点介绍了分裂对象模型和离散事件调度模型。以无线传感器网络作为重点,阐明了NS2对无线传感器网络的扩展机制,包括节点能耗模型扩展、移动节点扩展以及相应路由协议扩展。在此基础上,介绍了NS2仿真传感器网络路由协议的代码调用过程及仿真模型,并以分簇路由协议LEACH为实例 进行了仿真实验,从而为解决NS2下无线传感器网络协议仿真的代码扩展问题提供了参考。
关键词: NS2,无线传感器网络,协议扩展,仿真,LEACH
Abstract: In this paper, the principle and mechanism of NS2 were analyzed. The split object model and discrete-event dispatch were emphasized, taking sensor network as a key, the extension mechanism of sensor network for NS2 was discussed,including energy consumption model,mobile node extension and routing protocol. Based on these works,the code transferring process and simulation model of wireless sensor networks routing protocol in NS2 were introduced. Then taking LEACH as an example, some simulation experiments were carried out. The network simulation and codes extension in NS2 become easily by the help of such works.
Key words: NS2 , Wireless sensor networks, Protocol extension, Simulation, LEACH
张小庆,李春林,张恒喜. 无线传感器网络的NS2扩展与仿真机制研究[J]. 计算机科学, 2011, 38(8): 117-120. https://doi.org/
ZHANG Xiao-qing,LI Chun-lin,ZHANG Heng-xi. Extension and Simulation in NS2 for Wireless Sensor Networks[J]. Computer Science, 2011, 38(8): 117-120. https://doi.org/
0 / / 推荐
导出引用管理器 EndNote|Reference Manager|ProCite|BibTeX|RefWorks
链接本文: https://www.jsjkx.com/CN/
https://www.jsjkx.com/CN/Y2011/V38/I8/117
Cited