| With the rapid development of urban construction in our country,the shortage and uneven distribution of water resources have become an urgent problem to be solved.In the water supply industry,the non-revenue water remain high,wasting a lot of water resources,increasing the risk of water pollution,and exacerbating the economic losses of water supply companies.In the case of increasingly scarce water resources,it is of far-reaching significance to reduce the waster of water resources through the information management and control of the non-revenue water.Under the above background,the paper designs and implements a management system for non-revenue water based on the micro-service architecture.The main research content and results of the thesis are as follows.(1)A management system is designed and implemented for non-revenue water.The system calculates the difference between production and sales and the rate of the difference between production and sales in each district through the difference between the water volume of the total water meter and the remaining water meters,and visualizes the results in a visual chart.The system infers the leakage of each district through night-time flow management,and discovers the abnormal water consumption of each user in the district in time,reduces the loss of water resources,and effectively controls the non-revenue water.(2)The thesis studies the correlation between monthly non-revenue water and monthly water consumption,and realizes the prediction of the non-revenue water based on linear regression model.The thesis calculates the relative deviation between the estimated nonrevenue water and the actual non-revenue water.(3)The non-revenue water management system uses the Spring Cloud framework and its common components to implement a micro-service architecture.The system realizes the service registration and discovery function,the micro-service gateway function,and the service fault-tolerant protection function.The introduction of micro-service architecture further strengthened the scalability and maintainability of the system.The non-revenue water management system uses Redis cache to store some frequently accessed data to improve data query efficiency.(4)The thesis conducts functional module testing,micro-service related functional testing,performance testing,and analysis of the results of the non-revenue water management system.The tests show that the system has perfect functions,fast response speed and simple interface.The non-revenue water management system designed and implemented in the thesis provides functions such as equipment management,non-revenue water management,night flow management,exception handling,and system management.The system can meet the management needs of different water supply companies for the management of the nonrevenue water,and has a certain promotion value. |