CN112015568A - Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads - Google Patents
Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads Download PDFInfo
- Publication number
- CN112015568A CN112015568A CN202010641296.0A CN202010641296A CN112015568A CN 112015568 A CN112015568 A CN 112015568A CN 202010641296 A CN202010641296 A CN 202010641296A CN 112015568 A CN112015568 A CN 112015568A
- Authority
- CN
- China
- Prior art keywords
- service module
- rtu
- cluster service
- webpage
- cluster
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 13
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/547—Remote procedure calls [RPC]; Web services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
Abstract
The invention provides a method for realizing remote upgrading of an RTU (remote terminal Unit) and parallel configuration of multiple threads, which comprises the following steps of: respectively setting a webpage cluster service module which is connected with the webpage back-end service module and used for storing data and an RTU cluster service module which is connected with a plurality of RTU equipment and used for distributing instructions; a multithreading communication channel is arranged between the webpage cluster service module and the RTU cluster service module; the RTU cluster service module receives the operation instructions issued by the web page back-end service module aiming at different RTU equipment through the web page cluster service module and sends the operation instructions to the corresponding RTU equipment. According to the method for realizing the RTU remote upgrade and the configuration multithreading parallelism, the webpage cluster service module and the RTU cluster service module are respectively arranged aiming at the webpage back-end service module and the RTU equipment, the success rate of upgrade and configuration of the webpage back-end service module and the RTU equipment is improved, the stability of a system program is improved, and the collapse frequency of the system is reduced.
Description
Technical Field
The invention relates to the technical field of remote service, in particular to a method and a system for realizing remote upgrading of an RTU (remote terminal Unit) and configuration of multithreading parallelism.
Background
As shown in fig. 1, in the prior art, communication with a web (web page) backend service and communication with an RTU (remote terminal unit) device are performed in one server, which causes interaction between the two, and a problem occurs on either side, which may cause the server to crash. The web backend service and the RTU cloud cluster service use MQTT (message queue telemetry transport) protocol before upgrading the server, which causes confusion when information transfer is not strictly matched. The existing upgrading technology and architecture only have upgrading functions, cannot perform parameter configuration on RTU equipment, are unstable when a plurality of RTU equipment are upgraded, are limited in upgrading quantity, and need to be repeatedly operated once upgrading fails. This makes upgrading the RTU equipment difficult.
Disclosure of Invention
Based on the technical problems in the background art, the invention provides a method and a system for realizing RTU remote upgrade and configuration multithreading parallelism.
The invention provides a method for realizing remote upgrading of an RTU (remote terminal Unit) and parallel configuration of multiple threads, which comprises the following steps of:
respectively setting a webpage cluster service module which is connected with the webpage back-end service module and used for storing data and an RTU cluster service module which is connected with a plurality of RTU equipment and used for distributing instructions;
a multithreading communication channel is arranged between the webpage cluster service module and the RTU cluster service module;
the RTU cluster service module receives the operation instructions issued by the web page back-end service module aiming at different RTU equipment through the web page cluster service module and sends the operation instructions to the corresponding RTU equipment.
A system for implementing RTU remote upgrade and configuration multithreading parallelism, comprising: the system comprises a webpage back-end service module, a webpage cluster service module, an RTU cluster service module and a plurality of RTU devices;
the webpage back-end service module is connected with the webpage cluster service module, and the plurality of RTU equipment are connected with the RTU cluster service module;
and multithreading communication is carried out between the webpage cluster service module and the RTU cluster service module.
Preferably, the webpage back-end service module is provided with a multi-window display working mode.
Preferably, the system further comprises a first load balancing module and a second load balancing module; the webpage back-end service module is connected with the webpage cluster service module through the first load balancing module; the RTU cluster service module is respectively connected with a plurality of RTU devices through a second load balancing module.
Preferably, the web page cluster service module and the RTU cluster service module communicate with each other through a zeroMQ interface.
According to the method for realizing the RTU remote upgrade and the configuration multithreading parallelism, the webpage cluster service module and the RTU cluster service module are respectively arranged aiming at the webpage back-end service module and the RTU equipment, the success rate of upgrade and configuration of the webpage back-end service module and the RTU equipment is improved, the stability of a system program is improved, and the collapse frequency of the system is reduced.
Meanwhile, the invention adopts multi-thread communication, can upgrade a plurality of devices at the same time, and improves the concurrency of the system and the efficiency of upgrading and configuring.
Drawings
Fig. 1 is a schematic diagram of a conventional web page backend service communication system.
FIG. 2 is a flowchart of a method for implementing RTU remote upgrade and configuration multithreading parallelism according to the present invention;
fig. 3 is a connection diagram of a system module for implementing RTU remote upgrade and configuration multithread parallelism according to the present invention.
Detailed Description
Referring to fig. 2, the method for realizing the remote upgrade of the RTU and the configuration of the multithread parallelism provided by the invention comprises the following steps:
the first step is as follows: and a webpage cluster service module which is connected with the webpage rear-end service module and used for storing data and an RTU cluster service module which is connected with a plurality of RTU equipment and used for distributing instructions are respectively arranged.
Therefore, in the step, the webpage cluster service module and the RTU cluster service module are mutually independent in work, particularly in framework upgrading by setting the independent service modules aiming at the webpage back-end service module and the RTU equipment.
The second step is that: and setting a multithreading communication channel between the webpage cluster service module and the RTU cluster service module.
The third step: the RTU cluster service module receives the operation instructions issued by the web page back-end service module aiming at different RTU equipment through the web page cluster service module and sends the operation instructions to the corresponding RTU equipment.
Therefore, the multithreading communication mode between the webpage cluster service module and the RTU cluster service module can simultaneously meet the requirement that the webpage back-end service module is simultaneously communicated with a plurality of RTU devices, and the webpage back-end service module simultaneously carries out upgrading operation on the RTU devices, so that the working efficiency is improved, and the working stability is ensured.
Referring to fig. 3, the present invention further provides a system for implementing RTU remote upgrade and configuration multithread parallelism, including: the system comprises a webpage back-end service module, a webpage cluster service module, an RTU cluster service module and a plurality of RTU devices.
The webpage back-end service module is connected with the webpage cluster service module, and the RTU equipment is connected with the RTU cluster service module. In this embodiment, the web page cluster service module and the RTU cluster service module are respectively provided for the web page backend service module and the RTU device, which is beneficial to ensuring the overall stability of the system and improving the working efficiency.
Specifically, in this embodiment, the web backend service module and the web cluster service module communicate with each other by using an HTTP (hypertext transfer protocol) protocol, so as to improve the real-time accuracy of the upgrade data by using a question-and-answer mode of the HTTP protocol.
In this embodiment, the RTU device is upgraded and configured by an instruction issued by the web backend service module. And multithreading communication is performed between the webpage cluster service module and the RTU cluster service module, so that upgrading operation can be conveniently performed on a plurality of RTU devices at the same time.
Specifically, in this embodiment, the web page backend service module is provided with a multi-window display working mode, so as to facilitate real-time operation through corresponding windows when a plurality of RTU devices are upgraded.
In this embodiment, the system further includes a first load balancing module and a second load balancing module; the webpage back-end service module is connected with the webpage cluster service module through the first load balancing module; the RTU cluster service module is respectively connected with a plurality of RTU devices through a second load balancing module. Therefore, the stability and reliability of simultaneously operating a plurality of RTU devices are further ensured through the cooperation of a multi-thread communication mode and a load balancing technology.
In this embodiment, the web cluster service module and the RTU cluster service module communicate with each other through a ZeroMQ (message processing queue library) interface. Therefore, the webpage back-end service module issues the related instruction by binding the equipment number, and the RTU cluster service module identifies the RTU equipment for which the related instruction is directed by the equipment number and forwards the instruction, so that the operation, the upgrade and the configuration of the RTU equipment are realized.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be considered to be within the technical scope of the present invention, and the technical solutions and the inventive concepts thereof according to the present invention are equivalent to or changed within the technical scope of the present invention.
Claims (5)
1. A method for realizing RTU remote upgrade and configuration multithreading parallelism is characterized by comprising the following steps:
respectively setting a webpage cluster service module which is connected with the webpage back-end service module and used for storing data and an RTU cluster service module which is connected with a plurality of RTU equipment and used for distributing instructions;
a multithreading communication channel is arranged between the webpage cluster service module and the RTU cluster service module;
the RTU cluster service module receives the operation instructions issued by the web page back-end service module aiming at different RTU equipment through the web page cluster service module and sends the operation instructions to the corresponding RTU equipment.
2. A system for implementing RTU remote upgrade and configuration multithreading parallelism, comprising: the system comprises a webpage back-end service module, a webpage cluster service module, an RTU cluster service module and a plurality of RTU devices;
the webpage back-end service module is connected with the webpage cluster service module, and the plurality of RTU equipment are connected with the RTU cluster service module;
and multithreading communication is carried out between the webpage cluster service module and the RTU cluster service module.
3. The system for implementing RTU remote upgrade and configuration multithreading parallelism as recited in claim 2, wherein the web page back-end service module is configured with a multi-window show mode of operation.
4. The system for implementing RTU remote upgrade and configuration multithreading parallelism of claim 2, further comprising a first load balancing module and a second load balancing module; the webpage back-end service module is connected with the webpage cluster service module through the first load balancing module; the RTU cluster service module is respectively connected with a plurality of RTU devices through a second load balancing module.
5. The system for implementing RTU remote upgrade and configuration multithreading parallelism as recited in claims 2 or 3 or 4, wherein the web cluster service module and the RTU cluster service module communicate via a zeroMQ interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010641296.0A CN112015568A (en) | 2020-07-06 | 2020-07-06 | Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010641296.0A CN112015568A (en) | 2020-07-06 | 2020-07-06 | Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112015568A true CN112015568A (en) | 2020-12-01 |
Family
ID=73498465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010641296.0A Pending CN112015568A (en) | 2020-07-06 | 2020-07-06 | Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112015568A (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR200273788Y1 (en) * | 2002-01-18 | 2002-04-27 | (주)클루닉스 | Cluster system |
US6453468B1 (en) * | 1999-06-30 | 2002-09-17 | B-Hub, Inc. | Methods for improving reliability while upgrading software programs in a clustered computer system |
KR200327901Y1 (en) * | 2003-06-26 | 2003-09-26 | 에이취정보시스템(주) | Cluster System Automatically Checking Resource Availability of Cluster Nodes |
US20100058353A1 (en) * | 2008-08-28 | 2010-03-04 | Microsoft Corporation | Exposure of remotely invokable method through a webpage to an application outside web browser |
CN104301244A (en) * | 2014-10-22 | 2015-01-21 | 许继电气股份有限公司 | Cluster communication system and method of large-scale power distribution network system |
KR20150081126A (en) * | 2014-01-03 | 2015-07-13 | 주식회사 테크인모션 | Big data service system based on web server and big data cluster using API driver |
CN107071074A (en) * | 2017-06-30 | 2017-08-18 | 郑州云海信息技术有限公司 | A kind of load-balancing method and web server group system |
CN107193670A (en) * | 2017-05-25 | 2017-09-22 | 郑州云海信息技术有限公司 | A kind of method for remote management of cluster of workstation, apparatus and system |
US10083100B1 (en) * | 2017-11-30 | 2018-09-25 | Hitachi, Ltd. | Storage system and control software deployment method |
CN109618006A (en) * | 2019-01-22 | 2019-04-12 | 深圳市蒂蒙技术有限公司 | A kind of RTU remote monitoring method |
-
2020
- 2020-07-06 CN CN202010641296.0A patent/CN112015568A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6453468B1 (en) * | 1999-06-30 | 2002-09-17 | B-Hub, Inc. | Methods for improving reliability while upgrading software programs in a clustered computer system |
KR200273788Y1 (en) * | 2002-01-18 | 2002-04-27 | (주)클루닉스 | Cluster system |
KR200327901Y1 (en) * | 2003-06-26 | 2003-09-26 | 에이취정보시스템(주) | Cluster System Automatically Checking Resource Availability of Cluster Nodes |
US20100058353A1 (en) * | 2008-08-28 | 2010-03-04 | Microsoft Corporation | Exposure of remotely invokable method through a webpage to an application outside web browser |
KR20150081126A (en) * | 2014-01-03 | 2015-07-13 | 주식회사 테크인모션 | Big data service system based on web server and big data cluster using API driver |
CN104301244A (en) * | 2014-10-22 | 2015-01-21 | 许继电气股份有限公司 | Cluster communication system and method of large-scale power distribution network system |
CN107193670A (en) * | 2017-05-25 | 2017-09-22 | 郑州云海信息技术有限公司 | A kind of method for remote management of cluster of workstation, apparatus and system |
CN107071074A (en) * | 2017-06-30 | 2017-08-18 | 郑州云海信息技术有限公司 | A kind of load-balancing method and web server group system |
US10083100B1 (en) * | 2017-11-30 | 2018-09-25 | Hitachi, Ltd. | Storage system and control software deployment method |
CN109618006A (en) * | 2019-01-22 | 2019-04-12 | 深圳市蒂蒙技术有限公司 | A kind of RTU remote monitoring method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3684033A1 (en) | Systems and methods for collecting, monitoring, and analyzing vehicle data from a plurality of vehicles using edge computing | |
CN111176858A (en) | Data request processing method and device | |
CN107666415B (en) | Optimization method and device of FC-AE-1553 protocol bridge | |
US20150310076A1 (en) | Data load process | |
CN111897638A (en) | Distributed task scheduling method and system | |
CN111581948A (en) | Document analysis method, device, equipment and storage medium | |
CN109669787B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN113162848A (en) | Method, device, gateway and medium for realizing block chain gateway | |
CN114064091A (en) | OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle | |
CN111131499A (en) | Concurrent and asynchronous task processing method and device thereof | |
CN114489997A (en) | Timing task scheduling method, device, equipment and medium | |
CN103297477B (en) | A kind of data acquisition reporting system and data processing method and proxy server | |
CN103984617A (en) | Active monitoring data pushing method of server | |
CN112068963B (en) | Distributed scheduling system of embedded system | |
CN112015568A (en) | Method and system for realizing remote upgrading of RTU (remote terminal Unit) and parallel configuration of multiple threads | |
EP4080915B1 (en) | Connection method and apparatus, electronic device, storage medium and program product | |
CN109783201A (en) | Method for interchanging data and its system | |
CN103746843A (en) | Method and equipment for processing RPC (Remote Procedure Call Protocol) command | |
US8260821B2 (en) | Global, dynamic, remote and central system for database driver configuration | |
CN110727736A (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN111212112A (en) | Information processing method and device | |
CN111937366B (en) | Web request processing method and device | |
CN108023839B (en) | Signal switching equipment applied to Tb/s-level optical network and control system thereof | |
CN112925623A (en) | Task processing method and device, electronic equipment and medium | |
CN111078411A (en) | Task scheduling system and scheduling method based on hybrid cloud |
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 |