CN106850717A - A kind of method of the monitoring industrial data collection gateway real time data based on webpage - Google Patents

A kind of method of the monitoring industrial data collection gateway real time data based on webpage Download PDF

Info

Publication number
CN106850717A
CN106850717A CN201510887567.XA CN201510887567A CN106850717A CN 106850717 A CN106850717 A CN 106850717A CN 201510887567 A CN201510887567 A CN 201510887567A CN 106850717 A CN106850717 A CN 106850717A
Authority
CN
China
Prior art keywords
real time
data collection
webpage
embedded web
web server
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
CN201510887567.XA
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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR 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 NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201510887567.XA priority Critical patent/CN106850717A/en
Publication of CN106850717A publication Critical patent/CN106850717A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method of the monitoring industrial data collection gateway real time data based on webpage, it is characterised in that comprise the following steps:Step 1, user are arranged on the embedded web server on industrial data collection gateway by browser access;Step 2, embedded web server call cgi script;Step 3, cgi script pass through calling interface routine access industrial data collection gateway real time data;Step 4, cgi script send to browser the data of acquisition by embedded web server.Without installing client software on debugging computer, the real time data of industrial data collection gateway, more convenient tune-up data acquisition gateway can be easily and efficiently monitored by webpage.

Description

A kind of method of the monitoring industrial data collection gateway real time data based on webpage
Technical field
The present invention relates to a kind of method of the monitoring industrial data collection gateway real time data based on webpage.
Background technology
The method of the monitoring data of traditional industrial data collection gateway is all based on C/S modes, it is necessary to pass through In debugging computer corresponding client software installed above, client software attachment means can just be counted in real time According to monitoring, this method needs specific client software, brings very big to debugging and follow-up maintenance It is inconvenient.
The content of the invention
Regarding to the issue above, the present invention provides a kind of monitoring industrial data collection gateway based on webpage and counts in real time According to method, without debugging computer on client software is installed, can easily and efficiently be supervised by webpage It is more convenient to debug and monitoring data acquisition gateway depending on industrial data collection gateway real time data.
To realize above-mentioned technical purpose, above-mentioned technique effect is reached, the present invention is achieved through the following technical solutions:
A kind of method of the monitoring industrial data collection gateway real time data based on webpage, it is characterised in that bag Include following steps:
Step 1, user are arranged on the embedded Web service on industrial data collection gateway by browser access Device;
The parameter call cgi script that step 2, embedded web server are transmitted according to browser;
Step 3, cgi script pass through calling interface routine access industrial data collection gateway real time data;
Step 4, cgi script send to browser the data of acquisition by embedded web server.
It is preferred that, the net that user passes through embedded JavaScript program in browser access embedded web server Page;When user's input data in browser control interface, it is carried out by JavaScript program first pre- Treatment, checks whether input data meets the requirements, for satisfactory data, then by JavaScript journeys Sequence calls the XMLHttpRequest components of AJAX engines to send asynchronous HTTP to embedded web server please Ask;Cgi script in embedded web server is analyzed treatment to asynchronous HTTP request.
It is preferred that, when asking to return, AJAX engines notify that client is updated accordingly using JavaScript User interface.
The beneficial effects of the invention are as follows:
Firstth, embedded device accesses Internet and causes that carrying out remote monitoring to the equipment becomes to be more prone to, User can use browser as the interface for accessing embedded web server, can so greatly improve embedding Enter the ease for use of formula equipment.It is embedding that Embedded Web Server provides a kind of economic, practical internet Enter formula access scheme, only need browser just to may have access to various information via Ethernet and ICP/IP protocol.Client Machine can arbitrarily be set, as long as Internet and Internet access embedded web server can be connected, just can monitor For information about, brought great convenience to maintenance and management work.
Secondth, CGI (Common Gateway Interface) is Web server and outside extension application A kind of interactive standard interface, can be processed from visitor according to the outside extension application of CGI Standard compilations The cooperative work data at family end, completes the dynamic interaction of client and server, so as to realize static HTML nets The treatment of the function that page cannot be realized, such as form data, data base querying.By writing outside different CGI Portion's extender can complete to field equipment data collection task, client user by it and it is embedded Web server can just complete the access to dynamic data.
3rd, the flush mechanism that browses based on the page is only provided due to CGI technology, this mechanism is in dynamic brush During new data there is flicker defect in the page, and the refreshing of full page can expend the processor time, and AJAX (Asynchronous Javascript And XML) technology has then played the ability of client.Pass through Low volume data is carried out on backstage with server to exchange, AJAX can make webpage realize asynchronous refresh.
4th, AJAX technologies and CGI technology are combined, the method on debugging computer without installing client Software, directly can just monitor real time data by webpage.Engineering staff only needs to debug computer, without peace Fill any client software, it is possible to monitor the real time data inside data acquisition gateway.Operation and maintenance is all It is very convenient.
5th, this method employs the web server of Apache, and the performance requirement to data acquisition gateway is low, It is required that resource it is few, the work of acquisition system will not be impacted.
Brief description of the drawings
Fig. 1 is a kind of letter of the method for the monitoring industrial data collection gateway real time data based on webpage of the present invention Breath interaction schematic diagram;
Fig. 2 is the schematic diagram of AJAX handling processes of the present invention.
Specific embodiment
Technical solution of the present invention is described in further detail with specific embodiment below in conjunction with the accompanying drawings, with Those skilled in the art is set to be better understood from the present invention and can be practiced, but illustrated embodiment is not made It is limitation of the invention.
A kind of method of the monitoring industrial data collection gateway real time data based on webpage, first in industrial data Embedded server is installed in the embedded devices such as acquisition gateway, and has configured relevant parameter so that the equipment Can be by web page access.Such as, common web server such as Apache, writes webpage and is adopted for display Remote signalling and remote measurement inside acquisition channel state and collection plant stand inside collection gateway.
As shown in figure 1, specific information exchange comprises the following steps:
Step 1, user are arranged on the embedded Web service on industrial data collection gateway by browser access Device;
The parameter call cgi script that step 2, embedded web server are transmitted according to browser;
Step 3, cgi script pass through calling interface routine access industrial data collection gateway real time data;
Step 4, cgi script send to browser the data of acquisition by embedded web server.
As shown in Figure 2, it is preferable that user embeds by browser access embedded web server The webpage of JavaScript program;When user's input data in browser control interface, first by JavaScript program is pre-processed to it, checks whether input data meets the requirements, for meeting the requirements Data, then the XMLHttpRequest components of AJAX engines are called to embedded from JavaScript program Web server sends asynchronous HTTP request.Cgi script in embedded web server please to asynchronous HTTP Ask and be analyzed treatment, when asking to return, AJAX engines notify that client is updated using JavaScript Corresponding user interface.
When embedded web server receives the request from client:For the required parameter of channel status It is tunnel name;Required parameter for remote signalling and telemetry value then includes plant stand address, unit address, remote signalling The address of point number, each remote signalling point or telemetry station.Then AJAX engines produce XMLHttpRequest These parameters are passed to service end embedded web server by request.Simultaneously AJAX engine asynchronous reception Data, and client browser is returned to, the dynamic page for updating client browser.
AJAX is the integration of multiple technologies, and it is mainly technically characterized by:1. application XHTML and CSS is standardized; 2. Dynamic Announce and interaction are realized using DOM;3. data exchange is carried out with treatment using XML and XSLT; 4. realize that asynchronous data reads with XMLHttpRequest;5. bound with JavaScript and treatment is all Data.The advantage of AJAX have it is following some:(1) burden of server is alleviated.Because AJAX technologies are Fetch on demand evidence, so reducing the burden that redundant request and response are caused to server most possibly.(2) Updating web, reduces the stand-by period of user.
By AJAX technologies, the Local hydrodynamic unit of the page is realized, when user needs to check and updates server end During data, the JavaSeript routine calls performed in browser are downloaded to by from server end XMLHttpRequest components send to server end and ask.The cgi script of server end receives request, place Latest data is returned into browser after reason, the response processing routine specified by XMLHttpRequest components Response of the reason from server, thus avoid repeatedly transmitting for the information such as static images in the page, reduces and uses The family stand-by period.
By the network address of web page access data acquisition gateway, the channel status page and real-time remote signalling are clicked to enter The remote measurement page, as a result shows that webpage state shown above is consistent with the data inside actual acquisition gateway, clothes The business end web server refreshing webpage client page of AJAX Technique dynamics, so as to reach monitoring dynamic number According to effect.
The beneficial effects of the invention are as follows:
Firstth, embedded device accesses Internet and causes that carrying out remote monitoring to the equipment becomes to be more prone to, User can use browser as the interface for accessing embedded web server, can so greatly improve embedding Enter the ease for use of formula equipment.It is embedding that Embedded Web Server provides a kind of economic, practical internet Enter formula access scheme, only need browser just to may have access to various information via Ethernet and ICP/IP protocol.Client Machine can arbitrarily be set, as long as Internet and Internet access embedded web server can be connected, just can monitor For information about, brought great convenience to maintenance and management work.
Secondth, CGI (Common Gateway Interface) is Web server and outside extension application A kind of interactive standard interface, can be processed from visitor according to the outside extension application of CGI Standard compilations The cooperative work data at family end, completes the dynamic interaction of client and server, so as to realize static HTML nets The treatment of the function that page cannot be realized, such as form data, data base querying.By writing outside different CGI Portion's extender can complete to field equipment data collection task, client user by it and it is embedded Web server can just complete the access to dynamic data.
3rd, the flush mechanism that browses based on the page is only provided due to CGI technology, this mechanism is in dynamic brush During new data there is flicker defect in the page, and the refreshing of full page can expend the processor time, and AJAX (Asynchronous Javascript And XML) technology has then played the ability of client.Pass through Low volume data is carried out on backstage with server to exchange, AJAX can make webpage realize asynchronous refresh.
4th, AJAX technologies and CGI technology are combined, the method on debugging computer without installing client Software, directly can just monitor real time data by webpage.Engineering staff only needs to debug computer, without peace Fill any client software, it is possible to monitor the real time data inside data acquisition gateway.Operation and maintenance is all It is very convenient.
5th, this method employs the web server of Apache, and the performance requirement to data acquisition gateway is low, It is required that resource it is few, the work of acquisition system will not be impacted.
The preferred embodiments of the present invention are these are only, the scope of the claims of the invention, every profit is not thereby limited The equivalent structure or equivalent flow conversion made with description of the invention and accompanying drawing content, or directly or Connect and be used in other related technical fields, be included within the scope of the present invention.

Claims (4)

1. a kind of method of the monitoring industrial data collection gateway real time data based on webpage, it is characterised in that including Following steps:
Step 1, user are arranged on the embedded Web service on industrial data collection gateway by browser access Device;
The parameter call cgi script that step 2, embedded web server are transmitted according to browser;
The real time data that step 3, cgi script pass through calling interface routine access real-time acquisition system;
The data of acquisition are returned to browser by step 4, cgi script by embedded web server.
2. the side of a kind of monitoring industrial data collection gateway real time data based on webpage according to claim 1 Method, it is characterised in that user is by embedding JavaScript in browser access embedded web server The webpage of program;When user's input data in browser control interface, first by JavaScript journeys It is pre-processed ordered pair, checks whether input data meets the requirements, for satisfactory data, then The XMLHttpRequest components for calling AJAX engines from JavaScript program take to embedded Web Business device sends asynchronous HTTP request;Cgi script in embedded web server is to asynchronous HTTP request It is analyzed treatment.
3. the side of a kind of monitoring industrial data collection gateway real time data based on webpage according to claim 2 Method, it is characterised in that when asking to return, AJAX engines notify that client is come using JavaScript Update corresponding user interface.
4. the side of a kind of monitoring industrial data collection gateway real time data based on webpage according to claim 1 Method, it is characterised in that industrial data collection gateway real time data includes channel status and real-time telemetry value With remote signalling value.
CN201510887567.XA 2015-12-07 2015-12-07 A kind of method of the monitoring industrial data collection gateway real time data based on webpage Pending CN106850717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510887567.XA CN106850717A (en) 2015-12-07 2015-12-07 A kind of method of the monitoring industrial data collection gateway real time data based on webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510887567.XA CN106850717A (en) 2015-12-07 2015-12-07 A kind of method of the monitoring industrial data collection gateway real time data based on webpage

Publications (1)

Publication Number Publication Date
CN106850717A true CN106850717A (en) 2017-06-13

Family

ID=59150374

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510887567.XA Pending CN106850717A (en) 2015-12-07 2015-12-07 A kind of method of the monitoring industrial data collection gateway real time data based on webpage

Country Status (1)

Country Link
CN (1) CN106850717A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453957A (en) * 2017-09-19 2017-12-08 安徽三马信息科技有限公司 A kind of acquisition gateway for supporting long-range renewal agreement
CN107453988A (en) * 2017-09-19 2017-12-08 安徽三马信息科技有限公司 A kind of operation method and its system of acquisition gateway management platform
CN108809686A (en) * 2017-07-11 2018-11-13 北京视联动力国际信息技术有限公司 Resource synchronization method, device, electronic equipment and computer readable storage medium
CN109857473A (en) * 2017-11-29 2019-06-07 北京京东尚科信息技术有限公司 A kind of loading method and device of page data
CN110225142A (en) * 2019-07-10 2019-09-10 深圳市友华通信技术有限公司 ONU adjustment method
CN110278263A (en) * 2019-06-18 2019-09-24 重庆鲲量科技有限公司 Embedded B/S framework implementation method and platform based on AJAX and BOA
CN110611610A (en) * 2019-08-27 2019-12-24 江苏斯菲尔电气股份有限公司 Embedded Internet of things energy gateway and Internet of things system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040078269A (en) * 2003-03-03 2004-09-10 주식회사 한썸 Method for remote control and supervision of cooling system by means of uninhabited or inhabited communication center using standard TCP/IP
CN103092584A (en) * 2011-11-03 2013-05-08 深圳市蓝韵网络有限公司 Method of adjusting window width and window level of medical image in a browser
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework
CN104954242A (en) * 2014-03-26 2015-09-30 洛克威尔自动控制技术股份有限公司 Unified data ingestion adapter for migration of industrial data to a cloud platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040078269A (en) * 2003-03-03 2004-09-10 주식회사 한썸 Method for remote control and supervision of cooling system by means of uninhabited or inhabited communication center using standard TCP/IP
CN103092584A (en) * 2011-11-03 2013-05-08 深圳市蓝韵网络有限公司 Method of adjusting window width and window level of medical image in a browser
CN104954242A (en) * 2014-03-26 2015-09-30 洛克威尔自动控制技术股份有限公司 Unified data ingestion adapter for migration of industrial data to a cloud platform
CN104079653A (en) * 2014-07-03 2014-10-01 上海积谕信息科技有限公司 Smart home control method and system based on B/S framework

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809686A (en) * 2017-07-11 2018-11-13 北京视联动力国际信息技术有限公司 Resource synchronization method, device, electronic equipment and computer readable storage medium
CN108809686B (en) * 2017-07-11 2022-02-25 视联动力信息技术股份有限公司 Resource synchronization method and device, electronic equipment and computer readable storage medium
CN107453957A (en) * 2017-09-19 2017-12-08 安徽三马信息科技有限公司 A kind of acquisition gateway for supporting long-range renewal agreement
CN107453988A (en) * 2017-09-19 2017-12-08 安徽三马信息科技有限公司 A kind of operation method and its system of acquisition gateway management platform
CN109857473A (en) * 2017-11-29 2019-06-07 北京京东尚科信息技术有限公司 A kind of loading method and device of page data
CN110278263A (en) * 2019-06-18 2019-09-24 重庆鲲量科技有限公司 Embedded B/S framework implementation method and platform based on AJAX and BOA
CN110225142A (en) * 2019-07-10 2019-09-10 深圳市友华通信技术有限公司 ONU adjustment method
CN110611610A (en) * 2019-08-27 2019-12-24 江苏斯菲尔电气股份有限公司 Embedded Internet of things energy gateway and Internet of things system

Similar Documents

Publication Publication Date Title
CN106850717A (en) A kind of method of the monitoring industrial data collection gateway real time data based on webpage
CN101222349B (en) Method and system for collecting web user action and performance data
CN108595304B (en) Webpage monitoring method and device
CN103338247B (en) Power system remote image retrieval method based on Web service mode
CN103942225B (en) A kind of resource transfer method, client and the system of mixed type applications client
CN103560932B (en) Wireless sensor network remote protocol conformance testing system and method
CN104410720B (en) A kind of real-time monitoring platform system and method based on web graph shape
US8365188B2 (en) Content management
CN106355319A (en) Safety risk assessment system and method
Wang et al. Remote machine maintenance system through Internet and mobile communication
CN104601408B (en) Website data statistics and analysis method and system for non-open network environment
CN109862064A (en) A kind of configuration method and device for equipment remote monitoring
CN107632920A (en) A kind of power transmission and transforming equipment monitoring device deep monitored method
CN109413140B (en) Remote automatic upgrading method for PACS server
CN106209512A (en) A kind of method and device of report of user behavioral data
CN107203470B (en) Page adjustment method and device
CN105959180A (en) Data detection method and device
WO2019111709A1 (en) Control system, information processing device, and abnormality factor estimation program
CN105051713B (en) The method and system that network keyboard, video and mouse (KVM) are redirected
CN105100203B (en) Show the method and terminal of monitoring data
CN107179979B (en) Method, device and system for acquiring and analyzing remote terminal information
CN105827300A (en) Relay apparatus and data communication system
CN102130953A (en) Embedded web system and interactive method
CN109508273A (en) Web-based electric vehicle charging station monitoring system and data acquisition method
CN114006885A (en) Data acquisition method and device based on intelligent equipment and electronic equipment

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: 20170613

RJ01 Rejection of invention patent application after publication