- 1、本文档共57页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
毕业论文--线传感器网络
无线传感器网络
摘 要
本文系统介绍了Flooding协议和Gossiping协议的仿真过程。Flooding协议和Gossiping协议是两个传统的网络路由协议,网络中的节点把收到的数据包发送给它的所有邻居节点或者随机选择一个进行转发,这个过程一直重复直到该分组到达sink 节点或者该分组的生命到期。本文从如何设计模块开始,进而详细讲述了模块功能的实现,以及配置文件的编写。最后比较了这两个协议的通信流量,性能,时间效率。该仿真采用C++语言编程实现。
关键词:C++ ;OMNeT++ ;Gossiping;仿真
.Abstract
With the wide use of protocol in the communications, research for protocol becomes more and more important. People need the help of some platforms to simulate the communication protocol. OMNeT + + is an excellent network simulation platform which is popular in scientific and industrial field in recent years. As a discrete event simulator, it has a complete and powerful graphical interface and has an embedded simulation kernel. It can also run on multiple operating system platforms and can define the network topology easily with programming, debugging and tracing support functions. OMNeT + + is mainly used for communication networks and distributed systems simulation. Gossiping protocol develops from Flooding protocol. The node will forward messages randomly which are generated or received .It can avoid the implosion, but will increase the delay.
This paper introduces the simulation of Flooding protocol and Gossiping protocol . Flooding and gossiping protocol are the traditional network routing protocols.The network node will send received packets to all of its neighbors or randomly select a node to forward . The process is repeated until the packet reaches the sink node or TTL expires. This article starts from the design of the module, and then introduces the realization of the module function in detail and the way of writing the configuration file. Finally, we compare the two protocols in communication flows, performance and time efficiency. The simulation was programmed with c++ language.
Keywords: C + +; OMNeT + +; Gossiping; simulation
目 录
1 绪 论 1
2 开发工具的介绍--OMNeT++和VC6.0 3
2.1 OMNeT++框架 3
2.1.1 OMNeT++组成 3
2.1.2 OMNeT++结构 4
2.2 OMNet++的安装 4
2.3 NED语言 6
2.3.1 NED总概述 6
2.3.2
您可能关注的文档
- 某标准件厂变电所电系统的设计.doc
- 某校园网络安全方案计-毕业设计.docx
- 某某铁路指导施工组织设计.doc
- 某污水处理厂二期工项目可行性研究报告.docx
- 某某办公楼工程建筑施组织设计-土木工程毕业论文.docx
- 某污水处厂工艺设计.docx
- 某某工程D、E区(四期工程岩土工程勘察报告.doc
- 某框架结构高校办公楼设计-毕业计计算书.doc
- 某生态农业观光园区设项目可行性研究报告.docx
- 某砂石料场建设项目可性研究报告.docx
- 福莱特玻璃集团股份有限公司海外监管公告 - 福莱特玻璃集团股份有限公司2024年度环境、社会及管治报告.pdf
- 广哈通信:2024年度环境、社会及治理(ESG)报告.pdf
- 招商证券股份有限公司招商证券2024年度环境、社会及管治报告.pdf
- 宏信建设发展有限公司2024 可持续发展暨环境、社会及管治(ESG)报告.pdf
- 品创控股有限公司环境、社会及管治报告 2024.pdf
- 中信建投证券股份有限公司2024可持续发展暨环境、社会及管治报告.pdf
- 洛阳栾川钼业集团股份有限公司环境、社会及管治报告.pdf
- 361度国际有限公司二零二四年环境、社会及管治报告.pdf
- 中国神华能源股份有限公司2024年度环境、社会及管治报告.pdf
- 广西能源:2024年环境、社会及治理(ESG)报告.pdf
文档评论(0)