CN103581338A - On-line pollution source monitoring data monitoring system - Google Patents

On-line pollution source monitoring data monitoring system Download PDF

Info

Publication number
CN103581338A
CN103581338A CN201310592307.0A CN201310592307A CN103581338A CN 103581338 A CN103581338 A CN 103581338A CN 201310592307 A CN201310592307 A CN 201310592307A CN 103581338 A CN103581338 A CN 103581338A
Authority
CN
China
Prior art keywords
data
server
monitoring
control command
decryptor
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
CN201310592307.0A
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.)
Nantong University
Original Assignee
Nantong University
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 Nantong University filed Critical Nantong University
Priority to CN201310592307.0A priority Critical patent/CN103581338A/en
Publication of CN103581338A publication Critical patent/CN103581338A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an on-line pollution source monitoring data monitoring system. The system comprises a pollution source monitoring data monitoring module responsible for monitoring server data of an on-line pollution source monitoring system, and the pollution source monitoring data monitoring module is not only used for monitoring data uploaded from remote monitoring equipment through a data acquisition instrument, and also is responsible for monitoring a remote-control equipment control command sent by a Web browser.

Description

A kind of pollutant sources on-line monitoring data decryptor system
Technical field
The present invention relates to a kind of pollutant sources on-line monitoring data decryptor system, be mainly used in the data decryptor module of pollutant sources online monitoring system central server, be specially adapted to the real-time control of browser end to long-range pollutant emission watch-dog.
Background technology
Along with China's rapid development of economy, exceed standard blowdown, eco-environmental quality deterioration problem of enterprise starts to highlight, and environmental administrations at different levels start to try to explore effective method environmental enhancement and manage.From Eleventh Five-Year Plan, country has built major polluting sources automatic monitored control system in environmental administrations at different levels, within 24 hours, obtain continuously the data message accurately such as enterprise wastewater emissions data, pollutant control facility operation situation, finding in time and investigate and prosecute all kinds of illegal activities of enterprise, is the important means that can the every pollution control of monitoring complete pollution reduction index.
Pollutant sources automatic monitored control system comprises Data Collection subsystem and informix subsystem.Data Collection subsystem is the part of pollution reducing facility, be included in the field erected pollutant emission purpose monitoring of pollutant sources instrument, flow (speed) meter, meter for recording operation of facilities of pollution abatement and data acquisition transmission instrument (for storage, the encryption of data, package forward, reception and warning, countercharge) etc. automatic monitoring instrument, be called for short on-the-spot machine.Informix subsystem comprises computerized information terminal equipment, monitoring center system (pollutant sources automatic monitoring central information management software and database), is called for short host computer.Between host computer and on-the-spot machine system; according to the host-host protocol of the information such as data communication, control and warning of regulation in < < pollutant sources automatic monitoring on lines (monitoring) the system data transmission standard > > (HJ/T212-2005) of State Environmental Protection Administration's issue, carry out transfer of data, guarantee the connection between various environmental monitoring detecting instrument equipment, transmission network and environmental administration's application software system.
Existing pollution source monitoring system has substantially all been realized the function of data monitoring, and comprise and obtain the real time data uploaded from field apparatus, historical data, alert data etc., and the function such as inquiry of supporting on server platform, statistics, form.Long-distance Control field apparatus, as long-range, read real time data, long-range sampling, the long-range current running status of analyzer, the long-range functions such as sewage draining exit valve of closing of reading, can only realize at central server, or in client, corresponding software is installed and be realized, in actual use, have certain limitation.In the pollutant sources long distance control system of B/S framework, there is one section of communication to be erected between browser and Web server, how to cross over this section of Web communication, and how the information on server is sent to remote scene equipment rapidly, realizing real-time, efficient two-way communication between browser and remote supervisory and control(ling) equipment is problem demanding prompt solution.
Summary of the invention
[0005] the object of the invention is, in order to overcome above deficiency, to provide a kind of data decryptor system of pollutant sources online monitoring system central server.
Object of the present invention is achieved through the following technical solutions: a kind of pollutant sources on-line monitoring data decryptor system, comprise pollutant sources on-line monitoring data decryptor module, be responsible for the monitoring of servers' data in pollutant sources online monitoring system, pollutant sources on-line monitoring data decryptor module is not only monitored the data that remote supervisory and control(ling) equipment is uploaded by data collecting instrument, is also responsible for monitoring the Remote Device Control order sending over from Web browser end.
Further improvement of the present invention is: between Web browser and data decryptor server, adopt Flash XMLSocket technology as the key technology of bidirectional real-time, the control command of Web browser end encapsulates by JavaScript, pass to the Flash program of browser end, then by XMLSocket, control command is passed to data decryptor server by Flash program; Data decryptor module receives after the control command that Web browser end sends over, and the timestamp using time of reception as order forms new bag and sends to remote equipment together with the Command encapsulate of receiving; On data decryptor server, according to the timestamp of each control command, build the XMLSocket interface channel routing table between corresponding browser and data decryptor server; When data decryptor server listens to the response data of remote equipment, according to the timestamp in returning results, in interface channel routing table, search corresponding link information, feedback result is returned to corresponding browser.
Further improvement of the present invention is: on data decryptor server, set up the Socket interface channel routing table between data decryptor module and data collecting instrument, when the equipment control command that data decryptor module need to be received is transferred to data collecting instrument, according to the device number of data collecting instrument, inquire about corresponding Socket interface channel, utilize this passage that packaged control command is sent to remote data acquisition instrument.
Further improvement of the present invention is: in data decryptor module, set up and data collecting instrument between Socket interface channel routing table, can carry out real-time update according to the connection status between them, guarantee that in connection route table be up-to-date link information.
The present invention compared with prior art has the following advantages: the present invention has realized the Long-distance Control of pollution source monitoring system browser end, and browser end, without any attached software is installed, can be controlled field apparatus as long as can network real time remote; The interface channel routing table of the present invention by setting up between remote equipment and server at server end, between browser and server, and real-time servicing upgrades, reduce the communication delay between browser end and remote equipment, made this platform there is stronger real-time.
Accompanying drawing explanation
Fig. 1 is data communication technology route map of the present invention;
Fig. 2 is pollutant sources online monitoring system system assumption diagram;
Fig. 3 is the real-time control structure figure of the present invention;
Fig. 4 is the communicating route figure of the present invention centered by data decryptor module.
Embodiment
In order to deepen the understanding of the present invention, below in conjunction with embodiment and accompanying drawing, the invention will be further described, and this embodiment only, for explaining the present invention, does not form limiting the scope of the present invention.
As Fig. 1 shows a kind of pollutant sources on-line monitoring of the present invention data decryptor system, comprise pollutant sources on-line monitoring data decryptor module, be responsible for the monitoring of servers' data in pollutant sources online monitoring system, pollutant sources on-line monitoring data decryptor module is not only monitored the data that remote supervisory and control(ling) equipment is uploaded by data collecting instrument, is also responsible for monitoring the Remote Device Control order sending over from Web browser end.On data decryptor server, set up the Socket interface channel routing table between data decryptor module and data collecting instrument, when the equipment control command that data decryptor module need to be received is transferred to data collecting instrument, according to the device number of data collecting instrument, inquire about corresponding Socket interface channel, utilize this passage that packaged control command is sent to remote data acquisition instrument.Socket interface channel routing table between that set up in data decryptor module and data collecting instrument, can carry out real-time update according to the connection status between them, guarantees that in connection route table be up-to-date link information.
Between Web browser and data decryptor server, adopt Flash XMLSocket technology as the key technology of bidirectional real-time, the control command of Web browser end encapsulates by JavaScript, pass to the Flash program of browser end, then by XMLSocket, control command is passed to data decryptor server by Flash program; Data decryptor module receives after the control command that Web browser end sends over, and the timestamp using time of reception as order forms new bag and sends to remote equipment together with the Command encapsulate of receiving; On data decryptor server, according to the timestamp of each control command, build the XMLSocket interface channel routing table between corresponding browser and data decryptor server; When data decryptor server listens to the response data of remote equipment, according to the timestamp in returning results, in interface channel routing table, search corresponding link information, feedback result is returned to corresponding browser.
Because data collecting instrument can only communicate with predefined server, browser end also just can not be skipped server and data collecting instrument direct communication, and control command must forward through server.So the control command of browser end will arrive data collecting instrument or field monitoring instrument in real time, must cross over Web framework.By the analysis to existing various Web Real-time Communication Technologies, ActiveX, SilverLight and FlashXMLSocket can directly realize, and without Web server, WebSocket needs indirectly to realize.And the execution result of control command can only be sent to Socket monitoring service device from data collecting instrument in real time, Socket monitoring service device arrives browser in real time needs " striding into " Web framework equally.We select more real-time, efficient Flash XMLSocket mode as the key technology of bidirectional real-time, adopt directly Socket Flash XMLSocket communication, that popularity is high, directly by browser, communicated by letter with Socket monitoring service device.The control command of Web browser end encapsulates by JavaScript, passes to the Flash program of browser end, then by XMLSocket, control command is passed to data decryptor server by Flash program.
Data decryptor module receives after the control command that Web browser end sends over, and using time of reception as timestamp, forms new bag send to remote equipment using timestamp as the QN field in data transmission standard GB together with the Command encapsulate of receiving.And according to the timestamp of each control command, build the XMLSocket interface channel routing table between corresponding browser and data decryptor server.When data decryptor server listens to the response data of remote equipment, according to transfer of data GB agreement, return results meeting and comprise the QN field in sending request, according to original this timestamp, in XMLSocket interface channel routing table, search corresponding link information, response results is returned to corresponding browser.
Data collecting instrument generally adopts GPRS, gsm wireless mode to send data, and IP is unfixing, can only communicate with certain or certain several predefined servers, and data collecting instrument is not accepted the connection of initiatively being initiated by server.Therefore, make the real-time control command of server send to immediately data collecting instrument, the Socket interface channel of all data collecting instruments must be preserved, set up Socket interface channel routing table, when the data of data collecting instrument are sent to, all want this routing table of real-time update.When needs pass through the real-time control command of data decryptor module forwards remote equipment, from this routing table, take out corresponding Socket interface channel, order is sent to corresponding data Acquisition Instrument immediately.
Pollutant sources on-line monitoring platform is mainly comprised of equipment control layer, communication Ceng He Surveillance center.Our platform is realized based on B/S framework, and monitoring function both can be realized on server, also can realize at browser end, was referred to as Information management and service layer, and its architecture as shown in Figure 2.
Equipment control layer comprises data acquisition transmission instrument and various monitoring, sample devices, the function of the aspects such as data acquisition, storage, transmission and order reception.Communication layer refers to for realizing the network entity of transfer of data, comprises that the data transmission standard of wired and wireless two kinds of mode ,An State Bureau of Environmental Protection issue transmits.Information management and service layer comprises data decryptor, processing and the monitoring of server end, also comprises information display and the monitoring of browser end, by with communication layer and equipment control layer both-way communication, to realize the monitoring of remote equipment and management.
In pollutant sources on-line monitoring platform, not only want to realize the functions such as real time data monitoring, the inquiry of historical data, data statistic analysis, the communication interaction function that also needs realization and remote equipment, as remote switch valve, Long-distance Control exceed standard, keep sample, Remote Acquisitioning device status data etc., remote real_time control structure is as shown in Figure 3.On-the-spot all kinds of monitoring equipments are connected with data collecting instrument by serial ports, and data collecting instrument sends to server by all kinds of Monitoring Data that gather, store by wireless or cable network, and server is responsible for management, analysis and the statistics of data.During Long-distance Control, can send real-time control command from browser end or server end, via data collecting instrument, send to field apparatus, field apparatus provides feedback information.
By the comparison to various Web Real-time Communication Technologies, select Flash XMLSocket as the key technology of browser end and server end two-way communication, solved the problem that cannot directly realize real time bidirectional communication in http protocol, the communicating route centered by data decryptor module as shown in Figure 4.Solid line is partly communicating route and the mode of normal data decryptor, processing and browser display data, and dotted portion is communicating route and the mode that control command sends and result is returned.In the route of controlling in real time, the control command that browser sends is directly sent to monitoring service device through Flash XMLSocket, skips Web server, has also just broken through the limitation of http protocol, has realized real-time two-way communication.
The control command that the packet that data decryptor module receives may be the data automatically uploaded of data collecting instrument, browser sends or the feedback result of remote equipment, therefore the present invention has designed a set of agreement and has been used for distinguishing fast these dissimilar packets, according to the type of difference bag, carries out different processing.From the data of data collecting instrument active reporting, put processing in storage, from the control command of browser end, to remote data acquisition instrument, forward, from the feedback data of data collecting instrument, to browser end, forward.
When the data of data decryptor module are sent to data collecting instrument, because data collecting instrument is not accepted the connection of initiatively being initiated by server, when data decryptor module receives the control command of browser end, the active that can only wait for target data Acquisition Instrument connects while coming, could control command be sent to remote equipment by this connection, can cause certain time delay.Therefore the present invention has set up the Socket interface channel routing table between server and data collecting instrument in data decryptor module, when the equipment control command that data decryptor module need to be received is transferred to data collecting instrument, according to the device number of data collecting instrument, inquire about corresponding Socket interface channel, utilize this passage that packaged control command is sent to remote data acquisition instrument, then send to relevant pollutant emission watch-dog by it.When each data collecting instrument is initiated new connection to server, all can carry out real-time update to this Socket interface channel routing table, guarantee that in Socket interface channel routing table be up-to-date link information.
At Web browser end, the Javascript script in webpage passes to by the parameters such as device numbering of the numbering of selected order and current data Acquisition Instrument the Flash being embedded in webpage; In Flash, define XMLSocket object, initiate Socket and connect, to server 843 ports, seek strategy file; Obtain after strategy file, Flash is according to parameters such as the command code obtaining and device numberings, generation meets the data segments such as the control command character string, packet length, check code of GB agreement, according to GB agreement, packet header, packet length, data and check code are assembled, again the bag of assembling is packaged into again to self-defining control command data bag, is sent to server particular port; First server carries out verification, according to self-defining protocol format, slough packet header, bag tail again, using the timestamp field of packet receiving time as order, obtain meeting the control command of GB agreement, using the packet receiving time as practice stamp, set up the XMLSocket interface channel routing table between browser and server simultaneously; According to device numbering in order, the interface channel information to searching this equipment in Socket channel information routing table, is sent to corresponding data Acquisition Instrument by order by this Socket passage; When server listens to the packet of data collecting instrument transmission, filter out the feedback data for control command, from XMLSocket channel information routing table, search the channel information of corresponding browser, feedback data is sent to browser end through this passage; The data that server is sended over are decoded according to GB agreement, and the Javascript script in invoking web page, and data are passed to the page; The data that webpage Javascript script parses Flash upgrade in time to webpage.
On server, data decryptor module is the core of whole pollutant sources on-line monitoring platform, be responsible for monitoring the connection of all data collecting instruments, service data Acquisition Instrument and monitor the Socket interface channel routing table between module, receive data collecting instrument packet and decode, verification and warehouse-in; Monitor the connection of all browser ends simultaneously, routing forwarding control command, and according to the browser end that returns the result to of XMLSocket interface channel routing table forwarding data Acquisition Instrument.Data decryptor module adopts the Socket communication mode of " completing port ", make every effort to accomplish that concurrency is high, and designed a set of agreement and be used for distinguishing fast browser control command, data collecting instrument routine data, data collecting instrument and return results the dissimilar packets such as data for control command.
The present invention has realized the Long-distance Control of pollution source monitoring system browser end, and browser end, without any attached software is installed, can be controlled field apparatus as long as can network real time remote; The interface channel routing table of the present invention by setting up between remote equipment and server at server end, between browser and server, and real-time servicing upgrades, reduce the communication delay between browser end and remote equipment, made this platform there is stronger real-time.

Claims (4)

1. a pollutant sources on-line monitoring data decryptor system, comprise pollutant sources on-line monitoring data decryptor module, be responsible for the monitoring of servers' data in pollutant sources online monitoring system, it is characterized in that: described pollutant sources on-line monitoring data decryptor module is not only monitored the data that remote supervisory and control(ling) equipment is uploaded by data collecting instrument, be also responsible for monitoring the Remote Device Control order sending over from Web browser end.
2. a kind of pollutant sources on-line monitoring data decryptor system according to claim 1, it is characterized in that: between Web browser and data decryptor server, adopt Flash XMLSocket technology as the key technology of bidirectional real-time, the control command of Web browser end encapsulates by JavaScript, pass to the Flash program of browser end, then by XMLSocket, control command is passed to data decryptor server by Flash program; Data decryptor module receives after the control command that Web browser end sends over, and the timestamp using time of reception as order forms new bag and sends to remote equipment together with the Command encapsulate of receiving; On data decryptor server, according to the timestamp of each control command, build the XMLSocket interface channel routing table between corresponding browser and data decryptor server; When data decryptor server listens to the response data of remote equipment, according to the timestamp in returning results, in interface channel routing table, search corresponding link information, feedback result is returned to corresponding browser.
3. a kind of pollutant sources on-line monitoring data decryptor system according to claim 1, it is characterized in that: on data decryptor server, set up the Socket interface channel routing table between data decryptor module and data collecting instrument, when the equipment control command that data decryptor module need to be received is transferred to data collecting instrument, according to the device number of data collecting instrument, inquire about corresponding Socket interface channel, utilize this passage that packaged control command is sent to remote data acquisition instrument.
4. a kind of pollutant sources on-line monitoring data decryptor system according to claim 3, it is characterized in that: in data decryptor module, set up and data collecting instrument between Socket interface channel routing table, can carry out real-time update according to the connection status between them, guarantee that in connection route table be up-to-date link information.
CN201310592307.0A 2013-11-22 2013-11-22 On-line pollution source monitoring data monitoring system Pending CN103581338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310592307.0A CN103581338A (en) 2013-11-22 2013-11-22 On-line pollution source monitoring data monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310592307.0A CN103581338A (en) 2013-11-22 2013-11-22 On-line pollution source monitoring data monitoring system

Publications (1)

Publication Number Publication Date
CN103581338A true CN103581338A (en) 2014-02-12

Family

ID=50052246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310592307.0A Pending CN103581338A (en) 2013-11-22 2013-11-22 On-line pollution source monitoring data monitoring system

Country Status (1)

Country Link
CN (1) CN103581338A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079658A (en) * 2014-07-14 2014-10-01 南通大学 Environment-friendly internet of things real-time control method under Web environment and based on pool technology
CN107911390A (en) * 2017-12-14 2018-04-13 浪潮软件股份有限公司 Handle method, proxy server, application server and the system of service request
CN108173896A (en) * 2016-12-07 2018-06-15 董青云 A kind of Internet connection method of ambient air particulate matter sampler
CN109618006A (en) * 2019-01-22 2019-04-12 深圳市蒂蒙技术有限公司 A kind of RTU remote monitoring method
CN110365696A (en) * 2019-07-25 2019-10-22 海南昊霖环保科技有限公司 A kind of browser and number adopt instrument realtime communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257621A (en) * 2012-12-24 2013-08-21 北京万维盈创科技发展有限公司 Pollution source discharging working condition monitoring device
CN203259527U (en) * 2013-05-18 2013-10-30 淮阴师范学院 Remote wastewater monitoring system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103257621A (en) * 2012-12-24 2013-08-21 北京万维盈创科技发展有限公司 Pollution source discharging working condition monitoring device
CN203259527U (en) * 2013-05-18 2013-10-30 淮阴师范学院 Remote wastewater monitoring system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭海波 等: ""Flash在基于Web的远程实时监控系统中的应用研究"", 《工业控制计算机 》 *
梁高永 等: ""Web Socket的远程实时监控系统设计"", 《吉首大学学报(自然科学版)》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104079658A (en) * 2014-07-14 2014-10-01 南通大学 Environment-friendly internet of things real-time control method under Web environment and based on pool technology
CN104079658B (en) * 2014-07-14 2018-08-14 南通大学 Environmentally friendly Internet of Things real-time control method based on pool technology under Web environment
CN108173896A (en) * 2016-12-07 2018-06-15 董青云 A kind of Internet connection method of ambient air particulate matter sampler
CN107911390A (en) * 2017-12-14 2018-04-13 浪潮软件股份有限公司 Handle method, proxy server, application server and the system of service request
CN109618006A (en) * 2019-01-22 2019-04-12 深圳市蒂蒙技术有限公司 A kind of RTU remote monitoring method
CN109618006B (en) * 2019-01-22 2022-02-01 深圳市蒂蒙技术有限公司 RTU remote monitoring method
CN110365696A (en) * 2019-07-25 2019-10-22 海南昊霖环保科技有限公司 A kind of browser and number adopt instrument realtime communication system

Similar Documents

Publication Publication Date Title
US8789182B2 (en) Security event logging in process control
CN103581338A (en) On-line pollution source monitoring data monitoring system
CN105207853B (en) A kind of LAN method for managing and monitoring
CN101640612B (en) Method and device for flow path discovery and fault fast positioning
CN109510759A (en) A kind of Universal-purpose quick multi-protocol gateway realization system and method
RU2571568C2 (en) Method and apparatus for remote fault location in wireless network
CN107018001B (en) Application fault positioning method and device
CN104243021A (en) Electric power communication optical cable patrol inspection management system
CN103716198B (en) Data network quality auto-dial testing method and system
CN105184887A (en) Inspection system and method for fire-fighting equipment
CN102857381A (en) Medical device intelligent cloud management and maintenance system and method
CN108023787B (en) Ethernet service testing device and method based on FPGA
CN106452566A (en) Electric power communication optical cable monitoring management system
CN106535240A (en) Mobile APP centralized performance analysis method based on cloud platform
CN102143070B (en) Remote traffic acquisition method, device and system
CN103581144A (en) Network safety access control method based on ICAP
CN104079658B (en) Environmentally friendly Internet of Things real-time control method based on pool technology under Web environment
CN104483564B (en) Automatic power-measuring terminal fault data recording equipment and recording method
CN110730163B (en) Substation main and auxiliary control linkage method and substation auxiliary control equipment
CN115835275A (en) Method and device for diagnosing faults of 5G CPE (customer premises equipment)
CN102123305A (en) Method and system for realizing network transmission troubleshooting
CN104580507A (en) Field station data transmission and integration method
WO2016184025A1 (en) Device management method and apparatus
CN112995203A (en) Detection center network structure for recording safety tool information
CN106843148A (en) A kind of control system of rail welding machine

Legal Events

Date Code Title Description
C06 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: 20140212