当前位置:主页 > 科技论文 > 自动化论文 >

基于IOCP的无线传感器网络中间件的设计与实现

发布时间:2018-08-31 12:22
【摘要】:无线传感器网络中间件是介于底层无线传感器网络和上层应用程序之间的软件体系结构,它不仅屏蔽了底层网络的复杂性和异构性,而且也为上层应用提供统一的开发接口。并发是底层网络上报数据的基本属性,并发处理能力是衡量一个中间件平台性能的基本指标。良好的并发处理能力可以提高整个平台的数据处理能力,从而提高平台的系统性能。本课题参与江西省高等学校科技落地计划项目(基于虚拟接入面向服务的物联网中间件,No.KJLD14054),主要研究无线传感器网络中间件的并发处理问题。本文简单概述无线传感器网络中间件的分类。从编程支持角度,介绍五类无线传感器网络中间件体系结构,并分析每种中间件体系结构的特性;同时阐述现有并发处理的研究现状。在此基础上,设计并实现基于完成端口机制(I/O Completion Port,IOCP)的并发处理系统。该系统使用重叠I/O技术对平台出现的问题进行异步处理。考虑到本文中物联网中间件平台入口模块的功能,将模型中的单句柄数据和单I/O数据进行扩展,实现对客户端信息和I/O数据包信息的管理,然后利用完成端口模型维护的工作者线程完成对异步I/O数据包的处理,完成并发处理。通过模拟多个并发连接和并发数据对基于I/O完成端口的中间件平台入口并发处理系统进行性能测试,探究并发连接和并发数据的处理情况。实验表明,基于I/O完成端口的并发处理系统并发处理性能良好,同时CPU利用率较低,也无内存泄露情况。与现有基于多线程模型的平台入口相比,I/O完成端口能够及时接受并发连接,也能够及时处理上报的并发数据,并且每秒处理的并发数据数量也很稳定,在相同时间内处理并发数据量比基于多线程模型的平台入口更多,验证出基于I/O完成端口的并发处理系统性能更加优越。
[Abstract]:Wireless sensor network middleware is a software architecture between the bottom wireless sensor network and the upper application program. It not only shields the complexity and heterogeneity of the underlying network, but also provides a unified development interface for the upper application. Concurrency is the basic attribute of the underlying network to report data. Concurrency processing ability is the basic index to measure the performance of a middleware platform. Good concurrency processing ability can improve the data processing ability of the whole platform and improve the system performance of the platform. This paper is involved in the Project of Science and Technology landing in Jiangxi Province (based on virtual access service-oriented middleware of the Internet of things No. KJLD14054). It mainly studies the concurrent processing of wireless sensor network middleware. This paper briefly summarizes the classification of wireless sensor network middleware. From the point of view of programming support, this paper introduces five kinds of middleware architecture of wireless sensor networks, analyzes the characteristics of each middleware architecture, and expounds the current research status of concurrent processing. On this basis, a concurrent processing system based on I / O Completion Port,IOCP is designed and implemented. The system uses overlapping I / O technology to deal with the problems of the platform asynchronously. Considering the function of the entry module of the Internet of things middleware platform in this paper, the single handle data and the single I / O data in the model are extended to realize the management of the client information and the I / O packet information. Then the worker thread which completes the maintenance of the port model completes the processing of asynchronous I / O packets and accomplishes concurrent processing. By simulating multiple concurrent connections and concurrent data, the performance of the concurrent processing system at the entrance of the middleware platform based on the I / O completion port is tested, and the concurrency connection and the processing of the concurrent data are explored. The experiments show that the parallel processing system based on the I / O port has good concurrency processing performance, and the CPU utilization is low, and there is no memory leakage. Compared with the existing platform portal based on multithreading model, the I / O completion port can accept concurrent connections in time and process the reported concurrent data in time, and the amount of concurrent data processed per second is also very stable. In the same time, the concurrent data processing is more than the platform entry based on multi-thread model, which verifies that the performance of the concurrent processing system based on the I / O completion port is better than that of the platform based on the multi-thread model.
【学位授予单位】:南昌航空大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP212.9;TN929.5

【相似文献】

相关期刊论文 前10条

1 何剑;;嵌入式中间件技术研究综述[J];大众科技;2008年11期

2 刘海娟;苏召;鲍建光;;数据访问中间件研究[J];无线电工程;2009年06期

3 赵鹏;;中间件的隐喻[J];中国数字电视;2009年07期

4 王晓东,彭兵,张际平;基于中间件的开发研究[J];计算机应用研究;2001年08期

5 杨思忠,刘锦德,骆志刚;反射中间件的研究[J];小型微型计算机系统;2002年05期

6 杨思忠,郭乐深,刘锦德;基于反射中间件的服务定制[J];计算机工程与应用;2002年08期

7 彭舰,杨思忠,刘锦德;反射中间件[J];计算机应用;2002年12期

8 秦t,

本文编号:2214971


资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/zidonghuakongzhilunwen/2214971.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户a431e***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com