Font Size: a A A

Design Of Local And Remote Server Software For Automatic Dosing Device

Posted on:2022-01-23Degree:MasterType:Thesis
Country:ChinaCandidate:S K ZhangFull Text:PDF
GTID:2481306350990529Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In the middle and late period of natural gas well exploitation,it is often accompanied by the production of gas well fluid,which will seriously affect the production of gas well.Many kinds of supporting technology have been studied to solve the problem of fluid accumulation in gas Wells at home and abroad,among which the foam drainage technology has been widely used in gas Wells because of its low cost,simple construction and quick effect.At present,with the increase of low pressure and low production gas Wells,the traditional manual injection of foam discharge agent has been unable to meet the demand,the market of automatic gas well dosing device has a single control mode,complex operation,low degree of automation and the field acquisition of sensor data practicability is not strong.To solve the above problems,based on the existing hardware of automatic dosing device,this thesis designs a local control software based on Android and a remote control software based on cloud server.The mobile terminal control software realizes the main functions of three aspects: wireless control,status query,parameter setting.First of all,the mobile terminal control software communicates wirelessly with the dosing device through BLE low-power Bluetooth module,which can realize friendly man-machine interaction in the safe operation area of the gas well and enrich the control mode of the dosing device.Secondly,the mobile terminal control software also realizes the functions of checking the running state of the device,the state of the motor,the filling parameters,the specification parameters,the protection and early warning parameters,and the field sensor data.In addition,the mobile software also realizes the device parameter configuration function,including cloud server information setting,main control board RS485 port information setting,sensor information setting,etc.The cloud server software is jointly developed on the basis of B/S architecture and SSH framework,and each function module is analyzed and designed in detail in the top-down way of time sequence diagram.Its main functional modules include: login module,device management module,configuration information management module,sensor data management module and remote control module.In terms of communication framework design,TCP protocol is used for communication between the server and the main control board of the device.Mybatis framework is used for relational data mapping on the server side,and the monitored data packet is stored in the My SQL database.In addition,the server-side software realizes the visualization of data through Hibernate,uses JSP technology to complete the display of dynamic pages,and finally deploys the project to run on Tomcat server.The server side can not only view the temperature value,humidity value,pressure value,liquid level value,gas concentration value and other gas well state parameters in real time,but also view the change trend of sensor data of selected gas Wells through the way of broken line chart.In order to better monitor the working state of the gas well,the server software adds the alarm and early warning function of the device.Once the collected sensor data is abnormal,the staff can send commands to control the running state of the dosing device at any time.At the end of this thesis,each functional module of Android software and server software is demonstrated and tested to verify the stability and feasibility of the software.
Keywords/Search Tags:Android, BLE, SSH, MySQL, B/S
PDF Full Text Request
Related items