CN109618006A - A kind of RTU remote monitoring method - Google Patents

A kind of RTU remote monitoring method Download PDF

Info

Publication number
CN109618006A
CN109618006A CN201910056030.7A CN201910056030A CN109618006A CN 109618006 A CN109618006 A CN 109618006A CN 201910056030 A CN201910056030 A CN 201910056030A CN 109618006 A CN109618006 A CN 109618006A
Authority
CN
China
Prior art keywords
rtu
data
web terminal
remote monitoring
display
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.)
Granted
Application number
CN201910056030.7A
Other languages
Chinese (zh)
Other versions
CN109618006B (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 Timon Technology Co Ltd
Original Assignee
Shenzhen Timon 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 Timon Technology Co Ltd filed Critical Shenzhen Timon 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

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]

Abstract

The present invention relates to the communications field RTU, in particular to a kind of RTU remote monitoring method.A kind of RTU remote monitoring method, comprising: web terminal is established socket with RTU and connect;Web terminal obtains and binds the port numbers of RTU;Web terminal receives the record data of RTU, and record data include port numbers and the data information that RTU is voluntarily detected;Web terminal generates the first display data according to record data;Web terminal shows the first display data in display window.Feedback data, the first display data include port numbers.In the present invention, web terminal is connect with RTU building socket, is transmitted by web terminal and the data of RTU to be remotely located failure or exception RTU and data acquisition equipment.The present invention solves the problems, such as how to be remotely located failure or exception RTU and data acquisition equipment.

Description

A kind of RTU remote monitoring method
Technical field
The present invention relates to the communications field RTU, in particular to a kind of RTU remote monitoring method.
Background technique
RTU full name be remote data acquisition terminal, remote data acquisition terminal be generally located on the environment such as industry spot compared with Complicated scene, the data acquisition equipment communication connection with scene.When the same area is equipped with multiple data acquisition equipments, when it In some or certain data acquisition equipments when breaking down or executing abnormal, the personnel that need repairing carry out on-site land survey, maintenance, line The work in every such as road investigation find out failure or execute abnormal data acquisition equipment, then repair to it.In addition, scene peace When filling remote data acquisition terminal, data acquisition equipment, sometimes may connection it is different, i.e. cascade or when cluster because Complex circuit, it is difficult to find out which data acquisition equipment and remote data acquisition terminal do not have normal mounting.
Summary of the invention
In view of the deficiencies of the prior art, the present invention provides a kind of RTU remote monitoring method, it is intended to solve how to be remotely located The RTU and data acquisition equipment of failure or exception.
The present invention provides a kind of RTU remote monitoring method, which comprises
Web terminal is established socket with RTU and is connect;
The web terminal obtains and binds the port numbers of the RTU;
The web terminal receives the record data of RTU, and the record data include that the port numbers and the RTU are voluntarily examined The data information of survey;
The web terminal generates the first display data according to the record data;
The web terminal shows the first display data in display window.
Further, in the web terminal after the step of display window shows the first display data, packet It includes:
The web terminal sends director data to the RTU;
The web terminal receives the feedback data that the RTU is sent, and the feedback data includes that the RTU executes the finger Enable feedback information caused by data and the port numbers;
The web terminal generates the second display data according to the feedback data;
The web terminal shows the second display data in the display window.
Further, it is established in the step of socket is connect in the web terminal with the RTU, comprising:
The web terminal sends the socket connection application to the RTU, and the web terminal receives the RTU and is verified Information, the web terminal are established the socket with the RTU and are connect.
Further, it is established in the step of socket is connect in the web terminal with the RTU, comprising:
The web terminal is established the socket with multiple RTU simultaneously and is connect.
Further, it is sent in the step of described instruction data are to the RTU in the web terminal, comprising:
The web terminal sends described instruction data to the RTU according to preset loop.
Further, in the step of web terminal receives the feedback data of the RTU transmission, comprising:
The web terminal receives the feedback data that the RTU is cycled through.
Further, in the step of web terminal generates the first display data according to the record data, packet It includes:
The web terminal obtains the data type that the RTU is used, and the data type of the record data is that the RTU is adopted The data type of data type, the first display data is identical as the record data type of data.
Further, in the step of web terminal generates the second display data according to the feedback data, packet It includes:
The web terminal obtains the data type that the RTU is used, and the data type of the feedback data is that the RTU is adopted The data type of data type, the second display data is identical as the data type of the feedback data.
Further, the RTU remote monitoring system includes web terminal and RTU, and the web terminal and the RTU are established Socket connection, the web terminal obtain and bind the port numbers of the RTU, and the web terminal receives the record data of RTU, described Record data include the port numbers and the data information that the RTU is voluntarily generated, and the web terminal is raw according to the record data At the first display data, the web terminal shows the first display data in display window.
Further, the web terminal sends director data to the RTU, and the web terminal receives the anti-of the RTU transmission Data are presented, the feedback data includes that the RTU executes feedback information and the port numbers caused by described instruction data, institute It states web terminal and the second display data is generated according to the feedback data, the web terminal shows that described second is aobvious in the display window Registration evidence.
The present invention provides the present invention and provides a kind of RTU remote monitoring method, comprising: web terminal and RTU establish socket company It connects;Web terminal obtains and binds the port numbers of RTU;Web terminal receives the record data of RTU, and record data include port numbers and RTU The data information voluntarily detected;Web terminal generates the first display data according to record data;Web terminal shows first in display window Show data.Feedback data, the first display data include port numbers.In the present invention, web terminal is connect with RTU building socket, It is transmitted by web terminal and the data of RTU to be remotely located failure or exception RTU and data acquisition equipment.
Detailed description of the invention
Fig. 1 is the flow diagram of embodiment RTU remote monitoring method.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
As shown in Figure 1, in the present embodiment, RTU remote monitoring method includes:
Step S101, web terminal and RTU are established after socket connect, and web terminal can carry out both-way communication with RTU.
Step S102, web terminal obtain and bind the port numbers of RTU.Web terminal opposite end while obtaining the port numbers of RTU Slogan is bound, that is, the corresponding RTU of the port numbers bound, the port numbers for obtaining and binding again later not with obtain before It is repeated with the port numbers of binding.
Step S103, web terminal receive the record data of RTU, and record data include port numbers and the data that RTU is voluntarily detected Information.RTU can voluntarily detect the operating condition with the data acquisition equipment of RTU communication connection.
Step S104, web terminal generate the first display data according to record data.Web terminal is after receiving record data, root The first display data are generated according to record data.It equally include port numbers in first display data.
Step S105, web terminal show the first display data in display window.
Step S106, web terminal send director data to RTU, and director data includes instruction, and RTU is receiving director data Corresponding instruction is executed afterwards.Director data also may include port numbers, and the web terminal is according to the port numbers in director data, only Director data is sent to RTU corresponding with port numbers.
Step S107, web terminal receive the feedback data that RTU is sent, and include port numbers in feedback data, user can pass through Port numbers position RTU.Feedback data is the data that RTU is generated after executing instruction the instruction in data.
Step S108, web terminal generate the second display data according to feedback data.It equally include port in second display data Number.
Step S109, web terminal show the second display data in display window.
Web terminal sends socket connection application and verifies to RTU, RTU to the socket connection application, leads to if verifying It crosses, RTU will be verified information and be sent to web terminal, and web terminal receives RTU and is verified information, successfully builds between web terminal and RTU Vertical socket connection.
Web terminal and a RTU are established after socket connect, and can send socket connection application again to another RTU, RTU is verified, and web terminal is established socket with another RTU and connect, while the RTU of socket connection before not will disconnect Connection.Web terminal can establish simultaneously socket with multiple RTU and connect, to the quantity of RTU not restriction.But with web terminal socket In the RTU of connection, their port numbers are unique.
It is arranged in advance in web terminal and recycles, web terminal sends director data to RTU according to preset loop.Cycle through instruction number All RTU connecting with web terminal socket are sent to according to can be, are also possible to be sent to specified RTU.Circulation, which can be, to be set Be set to and sent based on certain time interval, certain time interval can be fixed time interval, be also possible to by According to the time interval of rule variation.The rule can be to be also possible to instruct with transmission as transmission director data number is incremented by Data times successively decrease.
It after RTU receives the director data cycled through, executes instruction sequentially in time, and generates feedback data transmission To web terminal.Because RTU receives director data, circulation is received, and RTU generates feedback data and sends feedback data It is carried out to web terminal and circulation.
Web terminal obtain RTU use data type, data type can be hexadecimal be also possible to binary system or its He.If data type is hexadecimal, records data and feedback data is also hexadecimal.Web terminal is taken hexadecimal Processing data method, first generated according to record data show data and show data all according to second that feedback data generates For hexadecimal.If data type is binary system, web terminal takes binary processing data method, raw according to record data At first display data and according to feedback data generate second display data be all binary system.
It is used in the data type and RTU of the first display data and the second display data that web terminal display window is shown Data type is consistent.
When the web terminal socket multiple RTU of connection, respective handling is carried out according to the data type that each RTU is used respectively.
The present invention also provides a kind of RTU remote monitoring system, RTU remote monitoring system includes web terminal and RTU.
Web terminal and RTU are established after socket connect, and web terminal can carry out both-way communication with RTU.
Web terminal obtains and binds the port numbers of RTU.Web terminal port number while obtaining the port numbers of RTU is tied up It is fixed, that is, the corresponding RTU of the port numbers bound, the port numbers for obtaining and binding again later not with the end that obtains and bind before Slogan repeats.
Web terminal receives the record data of RTU, and record data include port numbers and the data information that RTU is voluntarily detected.RTU The operating condition with the data acquisition equipment of RTU communication connection can voluntarily be detected.
Web terminal generates the first display data according to record data.Web terminal is after receiving record data, according to record number Data are shown according to generation first.It equally include port numbers in first display data.
Web terminal shows the first display data in display window.
Web terminal sends director data to RTU, and director data includes instruction, and RTU is executed accordingly after receiving director data Instruction.Director data also may include port numbers, and the web terminal is according to the port numbers in director data, only by director data It is sent to RTU corresponding with port numbers.
Web terminal receives the feedback data that RTU is sent, and includes port numbers in feedback data, user can by port numbers come Position RTU.Feedback data is the data that RTU is generated after executing instruction the instruction in data.
Web terminal generates the second display data according to feedback data.It equally include port numbers in second display data.
Web terminal shows the second display data in display window.
Web terminal sends socket connection application and verifies to RTU, RTU to the socket connection application, leads to if verifying It crosses, RTU will be verified information and be sent to web terminal, and web terminal receives RTU and is verified information, successfully builds between web terminal and RTU Vertical socket connection.
Web terminal and a RTU are established after socket connect, and can send socket connection application again to another RTU, RTU is verified, and web terminal is established socket with another RTU and connect, while the RTU of socket connection before not will disconnect Connection.Web terminal can establish simultaneously socket with multiple RTU and connect, to the quantity of RTU not restriction.But with web terminal socket In the RTU of connection, their port numbers are unique.
It is arranged in advance in web terminal and recycles, web terminal sends director data to RTU according to preset loop.Cycle through instruction number All RTU connecting with web terminal socket are sent to according to can be, are also possible to be sent to specified RTU.Circulation, which can be, to be set Be set to and sent based on certain time interval, certain time interval can be fixed time interval, be also possible to by According to the time interval of rule variation.The rule can be to be also possible to instruct with transmission as transmission director data number is incremented by Data times successively decrease.
It after RTU receives the director data cycled through, executes instruction sequentially in time, and generates feedback data transmission To web terminal.Because RTU receives director data, circulation is received, and RTU generates feedback data and sends feedback data It is carried out to web terminal and circulation.
Web terminal obtain RTU use data type, data type can be hexadecimal be also possible to binary system or its He.If data type is hexadecimal, records data and feedback data is also hexadecimal.Web terminal is taken hexadecimal Processing data method, first generated according to record data show data and show data all according to second that feedback data generates For hexadecimal.If data type is binary system, web terminal takes binary processing data method, raw according to record data At first display data and according to feedback data generate second display data be all binary system.
It is used in the data type and RTU of the first display data and the second display data that web terminal display window is shown Data type is consistent.
When the web terminal socket multiple RTU of connection, respective handling is carried out according to the data type that each RTU is used respectively.

Claims (10)

1. a kind of RTU remote monitoring method, which is characterized in that the described method includes:
Web terminal is established socket with RTU and is connect;
The web terminal obtains and binds the port numbers of the RTU;
The web terminal receives the record data of RTU, and the record data include that the port numbers and the RTU are voluntarily detected Data information;
The web terminal generates the first display data according to the record data;
The web terminal shows the first display data in display window.
2. RTU remote monitoring method according to claim 1, which is characterized in that in the web terminal in the display window After the step of showing the first display data, comprising:
The web terminal sends director data to the RTU;
The web terminal receives the feedback data that the RTU is sent, and the feedback data includes that the RTU executes described instruction number According to generated feedback information and the port numbers;
The web terminal generates the second display data according to the feedback data;
The web terminal shows the second display data in the display window.
3. RTU remote monitoring method according to claim 1, which is characterized in that established in the web terminal and the RTU In the step of socket connection, comprising:
The web terminal sends the socket connection application to the RTU, and the web terminal receives the RTU and is verified letter Breath, the web terminal are established the socket with the RTU and are connect.
4. RTU remote monitoring method according to claim 1, which is characterized in that established in the web terminal and the RTU In the step of socket connection, comprising:
The web terminal is established the socket with multiple RTU simultaneously and is connect.
5. RTU remote monitoring method according to claim 2, which is characterized in that send described instruction number in the web terminal In the step of the extremely RTU, comprising:
The web terminal sends described instruction data to the RTU according to preset loop.
6. RTU remote monitoring method according to claim 5, which is characterized in that receive the RTU hair in the web terminal In the step of feedback data sent, comprising:
The web terminal receives the feedback data that the RTU is cycled through.
7. RTU remote monitoring method according to claim 1, which is characterized in that in the web terminal according to the record number According in the step of generating the first display data, comprising:
The web terminal obtains the data type that the RTU is used, and the data type of the record data is that the RTU is used The data type of data type, the first display data is identical as the record data type of data.
8. RTU remote monitoring method according to claim 2, which is characterized in that in the web terminal according to the feedback coefficient According in the step of generating the second display data, comprising:
The web terminal obtains the data type that the RTU is used, and the data type of the feedback data is that the RTU is used The data type of data type, the second display data is identical as the data type of the feedback data.
9. a kind of RTU remote monitoring system, which is characterized in that the RTU remote monitoring system includes web terminal and RTU, described Web terminal is established socket with the RTU and is connect, and the web terminal obtains and bind the port numbers of the RTU, and the web terminal receives The record data of RTU, the record data include the port numbers and the data information that the RTU is voluntarily generated, the web terminal The first display data are generated according to the record data, the web terminal shows the first display data in display window.
10. RTU remote monitoring system according to claim 9, which is characterized in that the web terminal sends director data extremely The RTU, the web terminal receive the feedback data that the RTU is sent, and the feedback data includes that the RTU executes the finger Feedback information caused by data and the port numbers are enabled, the web terminal generates the second display data according to the feedback data, The web terminal shows the second display data in 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 true CN109618006A (en) 2019-04-12
CN109618006B 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)

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN109618006B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
Mayzaud et al. A distributed monitoring strategy for detecting version number attacks in RPL-based networks
CN108632293B (en) Building equipment Internet of things system and method based on block chain technology
CN103532738B (en) The defining method of a kind of port connection relationship and device
CN108683578B (en) In-place device ring network communication test method and test system
EP3363156A1 (en) Cloud based system and method for managing testing configurations for cable test devices
CN103078791B (en) OAM message processing method, equipment and system
CN107094091B (en) A kind of intelligent substation station level network configuration method of calibration and system
CN107959715A (en) Remote terminal information recognition software system and recognition methods based on wireless telecommunications
CN103138988A (en) Positioning treatment method and positioning treatment device of network faults
US8816695B2 (en) Method and system for interoperability testing
CN109714742A (en) A kind of Internet of Things Wi-Fi module network self-adapting switching method
US11083027B2 (en) Point to point communication with low-power device
CN109618006A (en) A kind of RTU remote monitoring method
Rahman et al. Formal analysis for dependable supervisory control and data acquisition in smart grids
CN101707503B (en) Embedded method and device for controlling automatic positioning of channel communication failure
CN103312765B (en) The accessibility of the node of the network of checking industrial automation and control system
CN104581886A (en) Method and system for data transmission and wireless connection of terminal and wireless device
JP2010157875A (en) Communication terminal, network interface card, and method therefor
CN105527875A (en) System and method for remotely monitoring measurement information of energy metering instrument
CN106603722B (en) Management equipment determining method and device
CN110708216A (en) Switch LLDP protocol test method and test system
US20150227126A1 (en) Communication configuration analysis in process control systems
CN104618190A (en) Shell-based network bandwidth testing method under cluster environment
CN105915351A (en) Portable reset method based on PIS system
CN105530141A (en) Link state detection method and device

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