CN111290326A - Intelligent water affair acquisition terminal based on web - Google Patents

Intelligent water affair acquisition terminal based on web Download PDF

Info

Publication number
CN111290326A
CN111290326A CN202010074758.5A CN202010074758A CN111290326A CN 111290326 A CN111290326 A CN 111290326A CN 202010074758 A CN202010074758 A CN 202010074758A CN 111290326 A CN111290326 A CN 111290326A
Authority
CN
China
Prior art keywords
data
web
module
intelligent water
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010074758.5A
Other languages
Chinese (zh)
Inventor
贺兴伟
陈沛中
蒲茂清
熊代鹏
张晓川
罗祖阳
张渝
陈雄浩
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Chengfeng Water Engineering Co ltd
Original Assignee
Chongqing Chengfeng Water Engineering Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Chengfeng Water Engineering Co ltd filed Critical Chongqing Chengfeng Water Engineering Co ltd
Priority to CN202010074758.5A priority Critical patent/CN111290326A/en
Publication of CN111290326A publication Critical patent/CN111290326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13141Derive sequence program from design, cad data of machine

Abstract

The invention relates to a web-based intelligent water affair acquisition terminal, which comprises an inner core layer, a system layer and an application layer, wherein the inner core layer runs a lightweight Linux microinner core; the system layer runs a web server and exchanges data with external equipment through a hardware I/O interface; the application layer comprises a data abstraction module, a parameter module, a communication module, an equipment data acquisition module and a user database; the equipment data acquisition module acquires the data of the water supply equipment, transmits the data to the data abstraction module to extract the common characteristics of the data, and finally stores the data to the user database through the data writing module. The invention aims to establish a universal interface translation system between a server and a PLC (programmable logic controller), a setting interface can be displayed through a web interface, and maintenance personnel can be wirelessly connected to the web through a web browser of a handheld terminal, so that the operations of parameter modification, data acquisition increase and the like are realized.

Description

Intelligent water affair acquisition terminal based on web
Technical Field
The invention relates to the field of secondary water supply or water transmission and distribution, in particular to a remote monitoring data acquisition and transmission system of a booster pump station, namely an intelligent water affair acquisition terminal based on web.
Background
Many water supply equipment at present all adopt equipment such as PLC controlled water pump and valve, pressure flow sensor, will realize its remote monitoring, generally all are configuration software such as server end operation configuration king, carry out RS485 communication initiative inquiry data collection to the PLC of pump house equipment through wireless DTU's the mode of passing through, its advantage is simple in configuration, and the interface standard, but the shortcoming is also very obvious:
1. the monitoring of a plurality of water supply devices under one server is difficult to realize, and when the number of the water supply devices reaches thousands or more, the real-time monitoring cannot be realized;
2. if the data interfaces of the water supply equipment of each manufacturer are not uniform, the configuration software on the server must be configured or programmed individually for each set of equipment, the workload is huge, and one equipment is difficult to maintain when in fault;
3. each pump room needs to have an independent network IP address or a wireless communication card (GPRS and the like), so the cost is high.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide the intelligent water affair acquisition terminal based on the web, namely, a universal interface translation system is established between a server and a PLC (programmable logic controller), so that water supply equipment of different manufacturers and water supply equipment of the same manufacturer, which are different in model and configuration, are subjected to data abstraction, and then data in a uniform format is transmitted to the server.
In order to achieve the purpose, the invention adopts the following technical scheme:
a web-based intelligent water affair acquisition terminal comprises a kernel layer, a system layer and an application layer, wherein the kernel layer runs a lightweight Linux microkernel; the system layer runs a web server and exchanges data with external equipment through a hardware I/O interface; the application layer comprises a data abstraction module, a parameter module, a communication module, an equipment data acquisition module and a user database; the data abstraction module is used for extracting common characteristics among different data acquired by different devices, the parameter module is used for setting relevant parameters of the devices, and the communication module is used for carrying out communication interaction with the dispatching center; the device data acquisition module acquires data of the water supply device, transmits the data to the data abstraction module, and finally stores the data to the user database through the data writing module.
Preferably, the data writing module adopts a data write-back mode.
Furthermore, the application layer further comprises a web Service, and the device data acquisition module directly acquires different data of different devices through the web Service.
Furthermore, the data output by the web Service is in a JSON format.
Furthermore, the communication module is provided with a serial communication interface for data exchange.
Further, the system layer further comprises a system database, and the system database is a SQLITE database.
Further, the intelligent water affair collection terminal based on WEB sets up including not limiting to RJ45 network interface, WIFI module.
Compared with the prior art, the invention has the following beneficial effects:
the invention aims to establish a universal interface translation system between a server and a PLC (programmable logic controller), the acquisition terminal is designed based on a web, a setting interface can be displayed through the web interface, and maintenance personnel are wirelessly connected to the web through a web browser of a handheld terminal to realize the operations of parameter modification, data acquisition increase and the like. The data abstraction is adopted, the common characteristics of the acquired data can be extracted, and the data conversion efficiency is improved; a data write-back mode is adopted to accelerate the data write-in speed; the web Service is adopted to directly exchange or integrate data, so that the cost of an application interface is reduced, and data in a JSON format is output, wherein the JSON format data is simple, easy to read and write, high in transmission speed, easy to analyze and maintain; the SQLITE database is installed inside, when the acquisition terminal loses contact with the server, data are stored in the local database, and when the acquisition terminal is successfully connected with the server again, the local database and the server are synchronized, and new acquisition data are sent to the server from the local; this collection terminal outside hardware is provided with RJ45 network interface, WIFI module etc. and this collection terminal of external network equipment accessible network interface connection realizes carrying out the function of communication and receiving control with the server.
Drawings
Fig. 1 is an architectural diagram of the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the functions of the invention clearer and easier to understand, the invention is further explained by combining the drawings and the detailed implementation mode:
referring to fig. 1, the invention discloses a web-based intelligent water affair acquisition terminal, which comprises a kernel layer, a system layer and an application layer, wherein the kernel layer runs a lightweight Linux microkernel; the system layer runs a web server and exchanges data with external equipment through a hardware I/O interface; the application layer comprises a data abstraction module, a parameter module, a communication module, an equipment data acquisition module and a user database; the data abstraction module is used for extracting common characteristics among different data acquired by different devices, the parameter module is used for setting relevant parameters of the devices, and the communication module is used for carrying out communication interaction with the dispatching center; the device data acquisition module acquires data of the water supply device, transmits the data to the data abstraction module, and finally stores the data to the user database through the data writing module.
The acquisition terminal is designed based on the web, a setting interface can be displayed through the web interface, and maintenance personnel can be wirelessly connected to the web through a web browser of the handheld terminal, so that the operations of parameter modification, data acquisition increase and the like can be realized. Such as setting or modifying parameters: the system comprises a server address, a port, a local number and other parameters, and a collection terminal port corresponding to a PLC address (operation state of each pump, water inlet and outlet pressure, fault signals and the like), room temperature and humidity, noise and vibration data are set according to parameters of water supply equipment.
Preferably, the data writing module adopts a data write-back mode. The data writing has two types of direct writing and write-back, which refer to the working mode of a buffer memory, when the written data is more, the direct writing speed is slower, in the write-back rule, a cache serves as a buffer area, the cache receives the data and stops circulation, and when a system bus is available, the cache writes the data back to a main memory; in the write-through specification, the processor directly writes the data in the cache into the main memory until the data is stored in the main memory, and the write cycle cannot be completed. Write-back can maintain performance because the write is always in a "burst" of data and the time required to run is greatly reduced.
Preferably, the device data collection module collects data through a web Service. Web Service is a platform-independent, low-coupling, self-contained, programmable Web-based application for developing distributed, interoperating applications. The method has the advantages of openness and cross-platform performance, and can ensure that different applications running on different machines can exchange data or be integrated without other hardware or software, thereby reducing the design of an acquisition terminal interface and saving the cost. In addition, in the embodiment, the web Service is applied to the JSON technology, JSON is a lightweight data exchange format, has the characteristics of good readability and convenience in fast writing, can exchange data between different platforms, has high compatibility, is completely independent of a language text format, and enables JSON to become an ideal data exchange language due to the characteristics. In the embodiment, JSON is simpler than XML data, easy to read and write, small in data volume, high in transmission speed and easy to analyze, and the JSON format can be directly used for server-side codes, so that the code development amount of a server side and a client side is greatly simplified, the task is unchanged, and the web server is easy to maintain.
Preferably, the SQLITE database, i.e. the lightweight database, is installed inside, when the acquisition terminal loses contact with the server, the data is stored in the local database, and when the connection with the server is successful again, the local database and the server are synchronized, and new acquisition data are transmitted to the server from the local.
Preferably, the communication module is provided with a serial communication interface for data exchange, and a transmission line connected with the interface has the advantages of less wires and low cost, and can be used for the remote monitoring function in the embodiment.
Preferably, external hardware of the acquisition terminal is provided with an RJ45 network interface, a WIFI module and the like, and external network equipment can be connected with the acquisition terminal through the network interface to realize the functions of communicating with the server and receiving control. The RJ45 network interface comprises LAN, WLAN and other interfaces, the camera remote transmission network interface in the pump room can be accessed to the LAN interface of the acquisition terminal and transmits images to the server through network connection, and other devices (such as entrance guard and IP interphone) are accessed to the LAN interface of the acquisition terminal to realize communication and parallel control with the server.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (7)

1. The utility model provides a terminal is gathered to wisdom water affairs based on web which characterized in that: the system comprises a kernel layer, a system layer and an application layer, wherein the kernel layer runs a lightweight Linux microkernel; the system layer runs a web server and exchanges data with external equipment through a hardware I/O interface;
the application layer comprises a data abstraction module, a parameter module, a communication module, an equipment data acquisition module and a user database; the data abstraction module is used for extracting common characteristics among different data acquired by different devices, the parameter module is used for setting relevant parameters of the devices, and the communication module is used for carrying out communication interaction with the dispatching center; the device data acquisition module acquires data of the water supply device, transmits the data to the data abstraction module, and finally stores the data to the user database through the data writing module.
2. The web-based intelligent water affair collecting terminal of claim 1, wherein: the data writing module adopts a data write-back mode.
3. The web-based intelligent water affair collecting terminal of claim 1, wherein: the application layer also comprises a web Service, and the equipment data acquisition module directly acquires different data of different equipment through the web Service.
4. The web-based intelligent water affair collecting terminal of claim 3, wherein: and the data output by the webService is in a JSON format.
5. The web-based intelligent water affair collecting terminal of claim 3, wherein: the communication module is provided with a serial communication interface for data exchange.
6. The web-based intelligent water affair collecting terminal of claim 1, wherein: the system layer further comprises a system database, and the system database is an SQLITE database.
7. A web-based intelligent water collection terminal as claimed in any one of claims 1 to 6, wherein: the intelligent water affair acquisition terminal based on WEB sets up including not limiting to RJ45 network interface, WIFI module.
CN202010074758.5A 2020-01-22 2020-01-22 Intelligent water affair acquisition terminal based on web Pending CN111290326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010074758.5A CN111290326A (en) 2020-01-22 2020-01-22 Intelligent water affair acquisition terminal based on web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010074758.5A CN111290326A (en) 2020-01-22 2020-01-22 Intelligent water affair acquisition terminal based on web

Publications (1)

Publication Number Publication Date
CN111290326A true CN111290326A (en) 2020-06-16

Family

ID=71017721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010074758.5A Pending CN111290326A (en) 2020-01-22 2020-01-22 Intelligent water affair acquisition terminal based on web

Country Status (1)

Country Link
CN (1) CN111290326A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741146A (en) * 2010-02-11 2010-06-16 江苏方天电力技术有限公司 Intelligent auxiliary monitoring terminal of transformer substation
CN202694119U (en) * 2012-07-05 2013-01-23 哈尔滨理工大学 Remote data acquisition monitoring terminal based on embedded network server
CN103226545A (en) * 2013-04-19 2013-07-31 中国建设银行股份有限公司 Data format conversion system, and method and system for batch loans information import
CN104795899A (en) * 2015-05-04 2015-07-22 深圳市科陆电子科技股份有限公司 Electric energy data acquiring and processing system based on IEC62056
CN105610904A (en) * 2015-12-17 2016-05-25 四川物联亿达科技有限公司 Access service system for unified access equipment
CN107942972A (en) * 2017-11-15 2018-04-20 云南昆钢电子信息科技有限公司 A kind of factory's Integrated Intelligent System and method
CN109356834A (en) * 2018-10-15 2019-02-19 上海凯泉泵业(集团)有限公司 A kind of water pump remote real-time monitoring system of low cost
CN209468815U (en) * 2019-01-11 2019-10-08 重庆成峰水务工程有限责任公司 One frequency one pumps constant pressure water supply system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741146A (en) * 2010-02-11 2010-06-16 江苏方天电力技术有限公司 Intelligent auxiliary monitoring terminal of transformer substation
CN202694119U (en) * 2012-07-05 2013-01-23 哈尔滨理工大学 Remote data acquisition monitoring terminal based on embedded network server
CN103226545A (en) * 2013-04-19 2013-07-31 中国建设银行股份有限公司 Data format conversion system, and method and system for batch loans information import
CN104795899A (en) * 2015-05-04 2015-07-22 深圳市科陆电子科技股份有限公司 Electric energy data acquiring and processing system based on IEC62056
CN105610904A (en) * 2015-12-17 2016-05-25 四川物联亿达科技有限公司 Access service system for unified access equipment
CN107942972A (en) * 2017-11-15 2018-04-20 云南昆钢电子信息科技有限公司 A kind of factory's Integrated Intelligent System and method
CN109356834A (en) * 2018-10-15 2019-02-19 上海凯泉泵业(集团)有限公司 A kind of water pump remote real-time monitoring system of low cost
CN209468815U (en) * 2019-01-11 2019-10-08 重庆成峰水务工程有限责任公司 One frequency one pumps constant pressure water supply system

Similar Documents

Publication Publication Date Title
CN103792928B (en) A kind of industrial field data acquisition analysis system based on Modbus
CN103123485B (en) Intelligent data acquisition and control terminal and Internet of Things system with same
CN108234614A (en) A kind of exchange method based on custom protocol and Netty frames
CN110085233A (en) Sound control method and its device, electronic equipment and computer readable storage medium
CN109525474A (en) A kind of multiplex roles protocol-intelligent converter and conversion method based on Linux platform
CN104077909A (en) Wireless intelligent terminal based remote wireless monitoring method for oxygen stations
CN103944982A (en) Data collecting and controlling device and method for heterogeneous sensor network
CN105335316A (en) Motor assembling line serial port server based on cloud computation
CN105721295A (en) Cloud server and PLC PPI communication gateway
CN103676866A (en) Embedded networked multivariate input and output system
CN103984240A (en) Distributed real-time simulation method based on reflective memory network
CN208862854U (en) It is a kind of docking modbus equipment can Remote Dynamic configure cloud communication device
CN108469961A (en) One kind is based on micromation embedded platform remote update system and method
CN113028603A (en) Equipment monitoring system applied to central air-conditioning system
CN205986958U (en) Air -source heat bump water heater based on thing networking and cloud calculate
CN110658752A (en) Data acquisition system applied to remote cloud monitoring
CN111290326A (en) Intelligent water affair acquisition terminal based on web
CN102752409B (en) Control system and control method of wireless cluster
CN209105202U (en) A kind of multiplex roles protocol-intelligent converter based on Linux platform
CN201230327Y (en) DeviceNet field bus I/O communication apparatus based on multiple data triggering modes
CN100388590C (en) Controlling system and method for long-range remote-controlled high-voltage switch
CN111083047A (en) Gateway based on internet of things multi-protocol communication
CN108491221A (en) Update, fault detection system and the method for embedded system
CN106097681A (en) The device and method of Fructus Rubi group, system, sensor network is remotely controlled based on XBee
CN111047469A (en) Energy online monitoring system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200616

RJ01 Rejection of invention patent application after publication