Font Size: a A A

Design And Implementation Of High Concurrent Data Processing Platform For NB-IoT Gas Meter

Posted on:2022-12-17Degree:MasterType:Thesis
Country:ChinaCandidate:L F LiuFull Text:PDF
GTID:2492306764975749Subject:Automation Technology
Abstract/Summary:PDF Full Text Request
Natural gas has the advantages of safety,cleanliness and affordable price.Now more families begin to use natural gas for power generation.Gas meters are usually used to collect natural gas data.With the rapid development of Internet of things technology,the traditional manual meter reading can not meet the needs of society.NB-IoT,as a new Internet of things technology,has been widely used in wireless remote meter reading.With the continuous development of China’s gas meter industry,the number of gas meters is increasing exponentially and the data communication is frequent.The ordinary server system can not meet the up and down communication of high concurrent gas meter data,and the performance of the server has become the bottleneck of the meter reading system.In view of the above situation,this paper designs a set of high concurrent data processing platform of NB-IoT gas meter to reduce the power consumption and cost of gas meter and improve the data processing capacity of background server.The system uploads the data of the gas meter to the server through the NB-IoT communication module.After the server parses the data,it is displayed on the browser.The main research contents of this paper are as follows:(1)The hardware part of the system is to add an NB-IoT communication module on the basis of the existing gas meter.The module uses STM32L071 KBTx as the main control chip,HT7333 as the power module and WH-NB73 as the NB module.Through UART and gas meter,NB module uploads the data of gas meter to server.(2)In the selection of server I/O model,firstly,the characteristics of traditional I/O technology in Linux system and the working principle of Java NIO are analyzed.Through the efficiency simulation and comparison of different I/O technologies and Netty network framework,the Netty network communication framework using reactor model is selected as the communication module of the service end to ensure the high concurrency performance of the service end.(3)The development of the meter reading system is completed by using the Springboot + Mybatisplus framework.The My SQL database is used to store the data of the gas meter.The server of the meter reading system is implemented in Java language,and the front-end page is implemented in javscript.The functions of the whole system include user login and registration,data query,meter reading failure,user display,user management,etc.The server needs to successfully accept and correctly analyze the gas meter data uploaded by NB-IoT module,save it in the database and display it on the front page.(4)The whole system is tested,including the hardware part NB-IoT communication module test and the function test in the meter reading system.Finally,the JMeter pressure test tool is used to test the server performance,and the system performance is analyzed from the two performance indexes of average corresponding time and TPS.The test results show that the server designed based on netty can reach 2500 in TPS at most,the average response time is stable at 300 ms,and the exception rate remains 0.
Keywords/Search Tags:NB-IoT, Low power consumption, High concurrency, Remote meter reading system, Netty
PDF Full Text Request
Related items