Font Size: a A A

Design And Implementation Of Wireless Sensor Network Middleware Based On IOCP

Posted on:2017-02-04Degree:MasterType:Thesis
Country:ChinaCandidate:J W LiuFull Text:PDF
GTID:2308330503460541Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Middleware for wireless sensor networks is a software architecture between the network layer and the application layer, then it not only can shield the underlying network complexity and heterogeneity, but also can provide a unified development interface for the upper level application. Concurrency is an essential property of the underlying networks reported data. Concurrent processing capability is the basic indicators of a middleware performance. Good concurrent processing capability can improve the data processing ability of the whole platform, so as to improve the performance of the system. This thesis is involved in the project of science and technology project of Jiangxi province(Internet of things middleware based on virtual access and services-oriented, No.KJLD14054). It focuses on the concurrent processing of the middleware for wireless sensor network.In this thesis, a brief view is presented on wireless sensor networks middleware. It introduces five kinds of middleware architectures and analyzes the characteristics of each middleware architecture from the perspective of programming support. Meanwhile, the present research situation of the concurrent processing is introduced. Considering the current methods, the design and implementation of the concurrent processing system based on Completion Port. This system uses asynchronous methods to deal with concurrent data packets of the platform by overlapping I/O techniques. Taking the module function of middleware access in this thesis into consideration, the single handle data and I/O data of this model are extended to manage client information and data packets information. Finally, the worker thread of IOCP is used to complete the processing of asynchronous I/O data packet.Many concurrent connections and concurrent data are simulated to test the performance of concurrent processing system of middleware access based on IOCP. The experiment shows that the concurrent processing system based on IOCP has good performance, and the CPU utilization is low. Besides, there is no leakage of memory. Compared with the existing middleware access based on multi threading model, The I/O completion port model can receive concurrent connections timely, and also can deal with the reported data timely. Meanwhile, the number of concurrent data processed per second is also very stable in the completion port model, and the data volume in the same time is more than the platform based on the multi-thread model. Finally, it verifies that the performance of the concurrent processing system based on I/O is more superior.
Keywords/Search Tags:wireless sensor networks middleware, concurrent processing, completion port
PDF Full Text Request
Related items