Font Size: a A A

The Design And Implementation Of Fresh Air Equipment Control System Based On Netty

Posted on:2020-12-08Degree:MasterType:Thesis
Country:ChinaCandidate:W Z XiaFull Text:PDF
GTID:2382330575452522Subject:Engineering
Abstract/Summary:PDF Full Text Request
In recent years,environmental problems related to air pollution have emerged,and keywords such as PM2.5 and smog have often become the focus of attention.In this context,a variety of fresh air equipment has emerged and gradually entered the ordinary family.With the continuous expansion of the functions of fresh air equipment,how to make users better control and use of fresh air equipment has become an urgent problem to be solved.The main problem with current fresh air equipment is the difficulty of remote real-time control,the need to establish remote communication of equipment and control systems,and the handling of highly concurrent communication requests.The emergence of fresh air equipment is the epitome of the popularity of smart homes.With the development of Internet technology,the remote control of fresh air equipment has become an inevitable trend.According to the company's business needs,combined with the development trend of smart home control system,this paper proposes the design and implementation of the fresh air equipment control system.This paper analyzes the technical framework adopted by the system implementation.In the architecture design,the front-end separation and micro-service architecture are adopted,and the Spring Cloud is used to build the micro-service cluster.Introduced the popular Netty communication framework,and analyzed the advantages of Netty compared with traditional I/O.Based on the analysis of business needs,this paper proposes a set of solutions for the fresh air equipment control system.Using Spring Cloud to build a back-end microservice cluster,the system function modules are vertically divided.Each module is a microservice,using Spring Boot to build a single microservice instance.In order to efficiently process data of different business logics,data storage is performed using Mysql,MongoDB and Redis for business characteristics.Among them,Mysql is the most widely used,and the system integrates the Mybatis framework to manage Mysql,which improves the development efficiency.Redis is used as a cache to improve the system's responsiveness and better user experience.The system is mainly divided into the bottom communication module,the address resolution module,the machine control module,the timing task module and the log management module.The bottom communication module implements communication between the device and the server,providing support for the machine control module.The address resolution module is a basic service that provides address resolution interfaces for other modules.The machine control module maintains the relationship between the user and the device,enabling remote control of the device by the user.The log management module stores and queries system critical logs to provide data sources for data analysis.After the system is put into production,it solves the problem that the new wind equipment is difficult to remotely control.It realizes the remote real-time control of the fresh air equipment by using the webpage or WeChat applet,and effectively handles the communication problem of the system under high concurrent request.It provides users with convenient and fast machine control and improves the market competitiveness of the company's products.
Keywords/Search Tags:Fresh Air Equipment, Netty, Spring Cloud, Remote Control
PDF Full Text Request
Related items