Font Size: a A A

Research And Implementation Of High Performance Internet Of Things Server Based On Message Middleware

Posted on:2022-07-22Degree:MasterType:Thesis
Country:ChinaCandidate:N WangFull Text:PDF
GTID:2518306548461084Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Recently,with the mobile Internet,Internet of things and related technologies developed rapidly,the quantity of terminal equipments of IOT is growing,and the quantity of terminal access of Internet of things service is also rising rapidly.The era of big data of Internet of things applications has come.The traditional Internet of things server is facing more and more terminal equipment access requests,which is difficult to support gradually.Therefore,improving the load capacity of IOT server to cope with the current high throughput and low latency IOT application demand is one of the important goals of IOT application service research.As an important solution to the problem of high concurrency and high load,message middleware technology can quickly store and forward massive and complex message data.Therefore,this paper studies the technology of message middleware,designs and implements a message middleware based on netty according to the characteristics of IOT applications,optimizes the traditional IOT server framework,and designs and implements a high-performance IOT server framework to meet the needs of today's more throughput and less delay IOT applications.The major contributions of this article include:(1)This paper introduces the technology of message middleware,including the structure of message middleware and the message transmission model,and analyzes how to solve the problem of high concurrency and high load from the bottom implementation.Then the network I/O model is introduced,and the application of I/O multiplexing model,reactor model and netty thread model are analyzed in detail.(2)Combined with the characteristics of Internet of things applications,a message middleware based on netty is designed and implemented from protocol formulation,message receiving module,message consumption model and persistence.According to the design characteristics of the Internet of things terminal equipment,the Protocol Part formulates a simple and easy to parse custom protocol;the message receiving module is based on the netty high-performance network framework,which effectively improves the concurrent processing ability of the message middleware;the message consumption model realizes the dynamic expansion of the consumer cluster,which can be more flexible to deal with consumption scenarios;the persistence module adopts file storage The middle layer index file is introduced to record the location of messages in the file,which reduces the cost of the system.(3)Based on the message middleware designed in this paper,a design scheme of high performance Internet of things server framework based on message middleware is proposed.This scheme mainly includes the optimization design of message middleware module,data access module,business core module and log module: by introducing message middleware module,the processing pressure of server is relieved;the data access module is developed based on netty framework to improve the reading and writing efficiency of the system;the business core module uses thread pool technology to make full use of system resources;The log module is realized by section programming technology to make sure the the system to stable operate.(4)The server-side framework designed in this paper is applied to an example of smart dormitory management platform service end.Firstly,This paper does the demand analysis for this system,then the overall structure of this system is designed,and the design of message interaction mode of the management platform is introduced.Lastly,the the specific business requirements of the management platform server is introduced explicitly,and the functional test and quality test of the smart dormitory management platform are carried out.The test experiment results show that the functions of the smart dormitory management platform are stable,and after applying the server-side framework designed in this article,the performance test results show that the platform still meets the low latency response when carrying a high amount of concurrent requests Demand and data accuracy is also higher.The design of server-side framework in the paper has great meaning application research in high-concurrency scenarios.
Keywords/Search Tags:Internet of Things, Message Middleware, Netty, High Load, Server Framework
PDF Full Text Request
Related items