Font Size: a A A

Design And Implementation Of Water Quality Monitoring System Based On Netty

Posted on:2020-07-07Degree:MasterType:Thesis
Country:ChinaCandidate:W W YouFull Text:PDF
GTID:2381330599961792Subject:Hydraulic engineering
Abstract/Summary:PDF Full Text Request
With the process of urbanization in recent decades,people’s damage to the water resources environment has become increasingly serious,the content of harmful substances in the water has been rising,the relationship between people and nature has deteriorated,and efficient water quality monitoring systems have been used to control water pollution and improve water resources.The environment plays an important role.In recent years,with the continuous development of technologies such as Internet of Things,communication,and smart sensors,the types of water quality collection equipment have been increasing,and the types of water pollutants that can be detected have become more and more complex,and the volume of water quality data has increased exponentially.At the same time,people’s real-time requirements for water quality data analysis are also increasing.For the traditional BIO-based and NIO communication model-based water quality monitoring system,there are some shortcomings in the stability of the data processing module,the integrity of the background management module,and the intuitiveness of the data visualization interface.Therefore,it is urgent to improve it.Taking Netty’s multiplexed threading model as a breakthrough point,this paper developed a water quality monitoring system with high-performance data processing module,optimized the data receiving module and background management module of the water quality monitoring system,and solved the reception of massive water quality data.The problem of analysis improves the reliability and stability of the existing water quality monitoring system.Based on the above scheme,the main research contents of the thesis are as follows: Netty’s multiplexed thread model is used as a breakthrough point.A water quality monitoring system with high-performance data processing module is developed,and the data receiving module and background management of the water quality monitoring system are optimized.The module solves the problem of receiving and parsing massive water quality data,thereby improving the reliability and stability of the existing water quality monitoring system.Based on the above scheme,the main research contents of the paper are as follows:(1)Aiming at the receiving and processing of massive water quality data,a data processing module based on Netty high-performance data receiving framework construction system is established.According to the characteristics of the water quality data,the data message protocol is customized and the message verification method is designed.Based on the Netty framework,the data receiving module server and the custom decoder are developed,which solves the problem of data packet binding and packetization during the water quality data transmission process,and improves the data between the water quality collecting device and the server.Communication efficiency and security.(2)Based on the Netty framework of the heartbeat package design,the IdleStateHandler decoder is used to solve the problem of online communication anomaly and disconnection reconnection between the water quality collection device and the server,ensuring the effectiveness of the connection between the water quality collection device and the server.System availability.(3)The background management module of the water quality monitoring system is constructed based on the front and rear separation frames.Fusion Redis cache technology reduces request access to relational database Mysql,relieves server pressure and improves system access speed;applies Websocket push technology to realize real-time push of warning messages,improves server push efficiency;uses Echart technology to achieve water quality data Visualize and improve user browsing convenience;use server cluster deployment service and Nginx reverse proxy technology to manage requests and improve system availability and stability.
Keywords/Search Tags:Water quality monitoring system, data communication, Netty, SpringBoot, Redis, WebSocket, Nginx
PDF Full Text Request
Related items