CN109618006B - RTU remote monitoring method - Google Patents

RTU remote monitoring method Download PDF

Info

Publication number
CN109618006B
CN109618006B CN201910056030.7A CN201910056030A CN109618006B CN 109618006 B CN109618006 B CN 109618006B CN 201910056030 A CN201910056030 A CN 201910056030A CN 109618006 B CN109618006 B CN 109618006B
Authority
CN
China
Prior art keywords
data
rtu
web
display
feedback
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.)
Active
Application number
CN201910056030.7A
Other languages
Chinese (zh)
Other versions
CN109618006A (en
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.)
Shenzhen Dimeng Technology Co ltd
Original Assignee
Shenzhen Dimeng Technology 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 Shenzhen Dimeng Technology Co ltd filed Critical Shenzhen Dimeng Technology Co ltd
Priority to CN201910056030.7A priority Critical patent/CN109618006B/en
Publication of CN109618006A publication Critical patent/CN109618006A/en
Application granted granted Critical
Publication of CN109618006B publication Critical patent/CN109618006B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of RTU communication, in particular to an RTU remote monitoring method. An RTU remote monitoring method comprises the following steps: establishing socket connection between the web side and the RTU; the web terminal acquires and binds the port number of the RTU; the web end receives recording data of the RTU, and the recording data comprises a port number and data information which is automatically detected by the RTU; the web terminal generates first display data according to the recorded data; the web side displays the first display data in the display window. The feedback data and the first display data comprise port numbers. In the invention, a web end is connected with an RTU (remote terminal unit) to construct a socket, and a fault or abnormal RTU and data acquisition equipment are remotely positioned through data transmission of the web end and the RTU. The invention solves the problem of how to remotely locate the fault or abnormal RTU and the data acquisition equipment.

Description

RTU remote monitoring method
Technical Field
The invention relates to the field of RTU communication, in particular to an RTU remote monitoring method.
Background
The RTU is called a remote data acquisition terminal, and the remote data acquisition terminal is generally arranged on a site with a complex environment, such as an industrial site, and is in communication connection with on-site data acquisition equipment. When a plurality of data acquisition devices are arranged in the same area, when one or some of the data acquisition devices have faults or are abnormal in execution, maintenance personnel are required to perform various operations such as site survey, overhaul, line troubleshooting and the like to find out the data acquisition devices with the faults or abnormal execution and then maintain the data acquisition devices. In addition, when the remote data acquisition terminal and the data acquisition device are installed on the site, different line connections may sometimes occur, that is, when the remote data acquisition terminal and the data acquisition device are cascaded or clustered, it is difficult to find out which data acquisition devices and remote data acquisition terminals are not normally installed due to complicated lines.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an RTU remote monitoring method, aiming at solving the problem of how to remotely locate a fault or abnormal RTU and data acquisition equipment.
The invention provides an RTU remote monitoring method, which comprises the following steps:
establishing socket connection between the web side and the RTU;
the web terminal acquires and binds the port number of the RTU;
the web terminal receives recorded data of the RTU, wherein the recorded data comprises the port number and data information detected by the RTU;
the web terminal generates first display data according to the recording data;
and the web end displays the first display data in a display window.
Further, after the step of the web end displaying the first display data in the display window, the method includes:
the web end sends instruction data to the RTU;
the web end receives feedback data sent by the RTU, wherein the feedback data comprises feedback information generated by the RTU executing the instruction data and the port number;
the web terminal generates the second display data according to the feedback data;
and the web end displays the second display data in the display window.
Further, in the step of establishing a socket connection between the web end and the RTU, the method includes:
the web side sends the socket connection application to the RTU, the web side receives the RTU verification passing information, and the web side and the RTU establish the socket connection.
Further, in the step of establishing the socket connection between the web end and the RTU, the method includes:
and the web end and the RTUs establish the socket connection at the same time.
Further, the step of sending the instruction data to the RTU at the web end includes:
and the web terminal sends the instruction data to the RTU according to a preset cycle.
Further, in the step of receiving, by the web end, the feedback data sent by the RTU, the method includes:
and the web terminal receives feedback data sent by the RTU in a circulating way.
Further, in the step of generating, by the web side, the first display data according to the record data, the method includes:
the web side obtains the data type adopted by the RTU, the data type of the recorded data is the data type adopted by the RTU, and the data type of the first display data is the same as the data type of the recorded data.
Further, in the step of generating, by the web side, the second display data according to the feedback data, the method includes:
the web side acquires the data type adopted by the RTU, the data type of the feedback data is the data type adopted by the RTU, and the data type of the second display data is the same as the data type of the feedback data.
Further, the RTU remote monitoring system comprises a web end and an RTU, the web end and the RTU establish socket connection, the web end obtains and binds a port number of the RTU, the web end receives recorded data of the RTU, the recorded data contain the port number and data information generated by the RTU, the web end generates first display data according to the recorded data, and the web end displays the first display data on a display window.
Further, the web end sends instruction data to the RTU, the web end receives feedback data sent by the RTU, the feedback data includes feedback information generated by the RTU executing the instruction data and the port number, the web end generates second display data according to the feedback data, and the web end displays the second display data on the display window.
The invention provides an RTU remote monitoring method, which comprises the following steps: establishing socket connection between the web side and the RTU; the web terminal acquires and binds the port number of the RTU; the web end receives recording data of the RTU, and the recording data comprises a port number and data information which is automatically detected by the RTU; the web terminal generates first display data according to the recorded data; the web side displays the first display data in the display window. The feedback data and the first display data comprise port numbers. In the invention, a web end is connected with an RTU (remote terminal unit) to construct a socket, and a fault or abnormal RTU and data acquisition equipment are remotely positioned through data transmission of the web end and the RTU.
Drawings
Fig. 1 is a flowchart illustrating an RTU remote monitoring method according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, in this embodiment, the RTU remote monitoring method includes:
and S101, after the web end establishes socket connection with the RTU, the web end can carry out bidirectional communication with the RTU.
Step S102, the web terminal obtains and binds the port number of the RTU. The web terminal obtains the port number of the RTU and binds the port number at the same time, namely the bound port number corresponds to one RTU, and the obtained and bound port number again is not repeated with the obtained and bound port number.
Step S103, the web end receives the recording data of the RTU, and the recording data comprises the port number and the data information detected by the RTU. The RTU can detect the operation condition of the data acquisition equipment in communication connection with the RTU by itself.
And step S104, the web terminal generates first display data according to the record data. And after receiving the recorded data, the web terminal generates first display data according to the recorded data. The first display data also includes a port number.
Step S105, the web side displays the first display data in the display window.
Step S106, the web end sends instruction data to the RTU, the instruction data comprises an instruction, and the RTU executes a corresponding instruction after receiving the instruction data. The instruction data can also comprise a port number, and the web terminal only sends the instruction data to the RTU corresponding to the port number according to the port number in the instruction data.
Step S107, the web end receives feedback data sent by the RTU, the feedback data comprises a port number, and the user can position the RTU through the port number. The feedback data is data generated by the RTU after executing instructions in the instruction data.
And step S108, the web terminal generates second display data according to the feedback data. The second display data also includes the port number.
Step S109, the web end displays the second display data in the display window.
The web side sends a socket connection application to the RTU, the RTU verifies the socket connection application, if the socket connection application passes the verification, the RTU sends verification passing information to the web side, the web side receives the RTU verification passing information, and socket connection is successfully established between the web side and the RTU.
After the web end establishes the socket connection with one RTU, the socket connection application can be sent to another RTU again, the RTU passes verification, the web end establishes the socket connection with another RTU, and meanwhile the RTU connected with the socket cannot be disconnected. The web end can establish socket connection with a plurality of RTUs simultaneously, and no limitation is set on the number of the RTUs. However, in the RTUs connected to the web-side socket, their port numbers are unique.
And setting a loop at the web end in advance, and sending instruction data to the RTU by the web end according to the preset loop. The circular sending instruction data can be sent to all RTUs connected with the web side socket or sent to a specified RTU. The cycle may be set to transmit based on a certain time interval, which may be a fixed time interval or a regularly changing time interval. The rule may be increased with the number of times the instruction data is transmitted or decreased with the number of times the instruction data is transmitted.
And after receiving the circularly sent instruction data, the RTU executes the instructions according to the time sequence, generates feedback data and sends the feedback data to the web end. Because the RTU receives the command data in a loop, the RTU generates the feedback data and sends the feedback data to the web side in a loop.
The web side acquires the data type adopted by the RTU, and the data type can be hexadecimal, binary or other. If the data type is hexadecimal, the recording data and the feedback data are also hexadecimal. And the web end adopts a hexadecimal data processing method, and both the first display data generated according to the recorded data and the second display data generated according to the feedback data are hexadecimal. And if the data type is binary, the web end adopts a binary data processing method, and the first display data generated according to the recorded data and the second display data generated according to the feedback data are both binary.
The data types of the first display data and the second display data displayed on the web-side display window are consistent with the data types adopted by the RTU.
when the web side socket is connected with a plurality of RTUs, corresponding processing is respectively carried out according to the data types adopted by the RTUs.
The invention also provides an RTU remote monitoring system which comprises a web terminal and an RTU.
After the web end establishes socket connection with the RTU, the web end can perform bidirectional communication with the RTU.
And the web terminal acquires and binds the port number of the RTU. The web terminal obtains the port number of the RTU and binds the port number at the same time, namely the bound port number corresponds to one RTU, and the obtained and bound port number again is not repeated with the obtained and bound port number.
And the web end receives the recording data of the RTU, wherein the recording data comprises the port number and the data information which is automatically detected by the RTU. The RTU can detect the operation condition of the data acquisition equipment in communication connection with the RTU by itself.
And the web terminal generates first display data according to the recorded data. And after receiving the recorded data, the web terminal generates first display data according to the recorded data. The first display data also includes a port number.
The web side displays the first display data in the display window.
The web end sends instruction data to the RTU, the instruction data comprises instructions, and the RTU executes corresponding instructions after receiving the instruction data. The instruction data can also comprise a port number, and the web terminal only sends the instruction data to the RTU corresponding to the port number according to the port number in the instruction data.
The web end receives feedback data sent by the RTU, the feedback data comprises a port number, and a user can locate the RTU through the port number. The feedback data is data generated by the RTU after executing instructions in the instruction data.
And the web terminal generates second display data according to the feedback data. The second display data also includes the port number.
And the web side displays the second display data in the display window.
The web side sends a socket connection application to the RTU, the RTU verifies the socket connection application, if the socket connection application passes the verification, the RTU sends verification passing information to the web side, the web side receives the RTU verification passing information, and socket connection is successfully established between the web side and the RTU.
After the web end establishes the socket connection with one RTU, the socket connection application can be sent to another RTU again, the RTU passes verification, the web end establishes the socket connection with another RTU, and meanwhile the RTU connected with the socket cannot be disconnected. The web end can establish socket connection with a plurality of RTUs simultaneously, and no limitation is set on the number of the RTUs. However, in the RTUs connected to the web-side socket, their port numbers are unique.
And setting a loop at the web end in advance, and sending instruction data to the RTU by the web end according to the preset loop. The circular sending instruction data can be sent to all RTUs connected with the web side socket or sent to a specified RTU. The cycle may be set to transmit based on a certain time interval, which may be a fixed time interval or a regularly changing time interval. The rule may be increased with the number of times the instruction data is transmitted or decreased with the number of times the instruction data is transmitted.
And after receiving the circularly sent instruction data, the RTU executes the instructions according to the time sequence, generates feedback data and sends the feedback data to the web end. Because the RTU receives the command data in a loop, the RTU generates the feedback data and sends the feedback data to the web side in a loop.
The web side acquires the data type adopted by the RTU, and the data type can be hexadecimal, binary or other. If the data type is hexadecimal, the recording data and the feedback data are also hexadecimal. And the web end adopts a hexadecimal data processing method, and both the first display data generated according to the recorded data and the second display data generated according to the feedback data are hexadecimal. And if the data type is binary, the web end adopts a binary data processing method, and the first display data generated according to the recorded data and the second display data generated according to the feedback data are both binary.
The data types of the first display data and the second display data displayed on the web-side display window are consistent with the data types adopted by the RTU.
when the web side socket is connected with a plurality of RTUs, corresponding processing is respectively carried out according to the data types adopted by the RTUs.

Claims (7)

1. An RTU remote monitoring method, the method comprising:
establishing socket connection between the web side and the RTU;
the web terminal acquires and binds the port number of the RTU;
the web terminal receives recorded data of the RTU, wherein the recorded data comprises the port number and data information detected by the RTU;
the web terminal generates first display data according to the recording data;
the web end displays the first display data in a display window;
after the step of the web end displaying the first display data in the display window, the method comprises the following steps:
the web end sends instruction data to the RTU;
the web end receives feedback data sent by the RTU, wherein the feedback data comprises feedback information generated by the RTU executing the instruction data and the port number;
the web terminal generates second display data according to the feedback data;
the web end displays the second display data in the display window;
in the step of generating the first display data according to the record data by the web side, the method includes:
the web side obtains the data type adopted by the RTU, the data type of the recorded data is the data type adopted by the RTU, and the data type of the first display data is the same as the data type of the recorded data.
2. The RTU remote monitoring method according to claim 1, wherein in the step of establishing a socket connection between the web side and the RTU, the method comprises:
the web side sends the socket connection application to the RTU, the web side receives the RTU verification passing information, and the web side and the RTU establish the socket connection.
3. The RTU remote monitoring method according to claim 1, wherein in the step of establishing the socket connection between the web side and the RTU, the method comprises:
and the web end and the RTUs establish the socket connection at the same time.
4. The RTU remote monitoring method of claim 1, wherein the step of sending the command data to the RTU from the web side comprises:
and the web terminal sends the instruction data to the RTU according to a preset cycle.
5. The RTU remote listening method of claim 4, wherein the step of the web end receiving the feedback data sent by the RTU comprises:
and the web terminal receives feedback data sent by the RTU in a circulating way.
6. The RTU remote monitoring method of claim 1, wherein the step of the web side generating the second display data according to the feedback data comprises:
the web side acquires the data type adopted by the RTU, the data type of the feedback data is the data type adopted by the RTU, and the data type of the second display data is the same as the data type of the feedback data.
7. An RTU remote monitoring system is characterized by comprising a web end and an RTU, wherein the web end establishes socket connection with the RTU, acquires and binds a port number of the RTU, receives recording data of the RTU, the recording data comprise the port number and data information generated by the RTU, the web end generates first display data according to the recording data, and the web end displays the first display data on a display window; wherein, in the generating the first display data according to the record data at the web end, the method comprises the following steps: the web terminal acquires a data type adopted by the RTU, the data type of the recorded data is the data type adopted by the RTU, and the data type of the first display data is the same as the data type of the recorded data;
the web end sends instruction data to the RTU, the web end receives feedback data sent by the RTU, the feedback data comprise feedback information generated by the RTU executing the instruction data and the port number, the web end generates second display data according to the feedback data, and the web end displays the second display data on the display window.
CN201910056030.7A 2019-01-22 2019-01-22 RTU remote monitoring method Active CN109618006B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910056030.7A CN109618006B (en) 2019-01-22 2019-01-22 RTU remote monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910056030.7A CN109618006B (en) 2019-01-22 2019-01-22 RTU remote monitoring method

Publications (2)

Publication Number Publication Date
CN109618006A CN109618006A (en) 2019-04-12
CN109618006B true CN109618006B (en) 2022-02-01

Family

ID=66017888

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910056030.7A Active CN109618006B (en) 2019-01-22 2019-01-22 RTU remote monitoring method

Country Status (1)

Country Link
CN (1) CN109618006B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112015568A (en) * 2020-07-06 2020-12-01 尚特杰电力科技有限公司 Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101718983A (en) * 2009-11-17 2010-06-02 北京经纬纺机新技术有限公司 Textile industry industrial site Ethernet control system and method
CN103581338A (en) * 2013-11-22 2014-02-12 南通大学 On-line pollution source monitoring data monitoring system
CN103997539A (en) * 2014-06-06 2014-08-20 北京航空航天大学 Radar operation state collecting and distributing system and method based on web service
CN109156229A (en) * 2018-10-29 2019-01-08 天津市农业科学院信息研究所 A kind of water-fertilizer integral pours control method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101718983A (en) * 2009-11-17 2010-06-02 北京经纬纺机新技术有限公司 Textile industry industrial site Ethernet control system and method
CN103581338A (en) * 2013-11-22 2014-02-12 南通大学 On-line pollution source monitoring data monitoring system
CN103997539A (en) * 2014-06-06 2014-08-20 北京航空航天大学 Radar operation state collecting and distributing system and method based on web service
CN109156229A (en) * 2018-10-29 2019-01-08 天津市农业科学院信息研究所 A kind of water-fertilizer integral pours control method, device and electronic equipment

Also Published As

Publication number Publication date
CN109618006A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN101520744B (en) Self-checking serial communication system and self-checking method thereof
CN103532738B (en) The defining method of a kind of port connection relationship and device
JP2008267987A (en) System and method for testing control cable
EP2456127A1 (en) Method, system and apparatus for diagnosing physical downlink failure
CN101977128A (en) Interface detection method and device for communication equipment
CN112689273B (en) Many masters of BLE bluetooth electric energy meter pass system from passing thoroughly
CN109618006B (en) RTU remote monitoring method
JP6124612B2 (en) Engineering apparatus and engineering method
CN103278731B (en) A kind of method for diagnosing faults based on secondary loop information and system
CN107888598B (en) Nuclear power station electrical secondary system information safety risk evaluation system and method
CN111404728B (en) Network equipment fault monitoring method and network system
CN109450678A (en) A kind of monitoring analysis device and method based on serial ports interaction data in system control process
CN102435793B (en) Intelligent switching device suitable for aviation cable reflection measurement
CN103475508A (en) Method for detecting fault points of wind field single-loop communication network
CN113009246B (en) PSE device detection device and PSE device detection method
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
US20210351955A1 (en) Device setting control device, network system, device setting method, and program
CN103323706A (en) Remote measurement and control method of high-frequency channel under condition of large operation mode
JPH04213246A (en) Fault information transmission suppression system
US20050232226A1 (en) Large scale network
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system
KR102344471B1 (en) Data communication system for smart EOCR through daisy chain
KR20050013331A (en) Fault Alarm Monitoring System For Electric Power Facility
CN115333987B (en) Interface test system and method
CN117729646A (en) Communication 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
GR01 Patent grant
GR01 Patent grant