A method and system for realizing RTU remote upgrade and multi-threaded parallel configuration

By setting up independent web cluster service modules and RTU cluster service modules in RTU device upgrades, multi-threaded communication and load balancing technology are adopted, the problem of difficult RTU equipment upgrade in the existing technology is solved, efficient parallel upgrade and configuration is achieved, and improvement System stability and concurrency are achieved.

CN112015568BActive Publication Date: 2024-11-26SHANGTEJIE POWER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010641296.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-06
Publication Date
2024-11-26
Estimated Expiration
2040-07-06

AI Technical Summary

Technical Problem

In the prior art, the communication between the web backend service and the RTU device is completed in a server, resulting in mutual influence. The information transmission is not rigorously matched during the upgrade, resulting in confusion. In the prior art, it can only upgrade one RTU device separately, and the upgrade failure requires repeated Operation makes it difficult to upgrade RTU equipment.

Method used

By setting up the web cluster service module and the RTU cluster service module, a multi-threaded communication channel is established, and the communication between the web backend service and the RTU device is independently handled. The ZeroMQ interface and load balancing module are used to realize the web backend service module and multiple RTU devices. Parallel upgrades and configurations.

Benefits of technology

It improves the success rate of RTU equipment upgrade and configuration, improves the stability and concurrency of the system, reduces the frequency of system crashes, and realizes efficient configuration of upgrading multiple devices at the same time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112015568B_ABST
    Figure CN112015568B_ABST
Patent Text Reader

Abstract

The present invention proposes a method for realizing multi-threaded parallel remote upgrade and configuration of RTU, comprising the following steps: respectively setting a webpage cluster service module connected to a webpage backend service module and used for storing data and an RTU cluster service module connected to multiple RTU devices and used for command distribution; setting a multi-threaded communication channel between the webpage cluster service module and the RTU cluster service module; the RTU cluster service module simultaneously receives operation instructions issued by the webpage backend service module for different RTU devices through the webpage cluster service module and sends them to the corresponding RTU devices. The present invention proposes a method for realizing multi-threaded parallel remote upgrade and configuration of RTU, respectively setting a webpage cluster service module and an RTU cluster service module for the webpage backend service module and the RTU device, improving the success rate of upgrading and configuring the webpage backend service module and the RTU device, improving the stability of the system program, and reducing the frequency of system crashes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of remote service technology, and in particular to a method and system for realizing remote upgrade and multi-threaded parallel configuration of an RTU. Background Art

[0002] like Figure 1 As shown, in the prior art, communication with the web (webpage) backend service and communication with the RTU (remote terminal unit) device are completed in one server, resulting in mutual influence between the two. Any problem with one side will cause the server to crash. The web backend service and the RTU cloud cluster service use the MQTT (Message Queue Telemetry Transmission) protocol to communicate before upgrading the server, which results in confusion due to the information transmission not being strictly matched. The current upgrade technology and architecture only have the upgrade function, and cannot configure parameters for the RTU device. Moreover, it is unstable when upgrading multiple RTU devices, and the number of upgrades is limited. Once the upgrade fails, the operation must be repeated. This makes it difficult to upgrade the RTU device. Summary of the invention

[0003] Based on the technical problems existing in the background technology, the present invention proposes a method and system for realizing RTU remote upgrade and multi-threaded parallel configuration.

[0004] The present invention proposes a method for implementing RTU remote upgrade and multi-threaded parallel configuration, comprising the following steps:

[0005] A webpage cluster service module connected to the webpage backend service module and used for storing data and an RTU cluster service module connected to multiple RTU devices and used for command distribution are respectively set;

[0006] A multi-threaded communication channel is set up between the webpage cluster service module and the RTU cluster service module;

[0007] The RTU cluster service module simultaneously receives operation instructions issued by the web backend service module for different RTU devices through the web cluster service module and sends them to the corresponding RTU devices.

[0008] A system for realizing RTU remote upgrade and multi-threaded parallel configuration, comprising: a web page backend service module, a web page cluster service module, an RTU cluster service module and multiple RTU devices;

[0009] The web backend service module is connected to the web cluster service module, and multiple RTU devices are connected to the RTU cluster service module;

[0010] Multi-threaded communication between the web cluster service module and the RTU cluster service module.

[0011] Preferably, the web page backend service module is provided with a multi-window display working mode.

[0012] Preferably, it also includes a first load balancing module and a second load balancing module; the web backend service module is connected to the web cluster service module through the first load balancing module; the RTU cluster service module is connected to multiple RTU devices respectively through the second load balancing module.

[0013] Preferably, the web cluster service module and the RTU cluster service module communicate via a ZeroMQ interface.

[0014] The present invention proposes a method for realizing multi-threaded parallel remote upgrade and configuration of RTU, and sets a web page cluster service module and an RTU cluster service module for the web page back-end service module and the RTU device respectively, thereby improving the success rate of upgrading and configuring the web page back-end service module and the RTU device, improving the stability of the system program, and reducing the frequency of system crashes.

[0015] At the same time, the present invention adopts multi-thread communication, and can upgrade multiple devices at the same time, thereby improving the concurrency of the system and the efficiency of upgrading and configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a schematic diagram of the existing web backend service communication system.

[0017] Figure 2 A flowchart of a method for realizing RTU remote upgrade and multi-threaded parallel configuration proposed by the present invention;

[0018] Figure 3 This is a system module connection diagram for realizing RTU remote upgrade and multi-threaded parallel configuration proposed by the present invention. DETAILED DESCRIPTION

[0019] Reference Figure 2 The present invention proposes a method for implementing RTU remote upgrade and multi-threaded parallel configuration, comprising the following steps:

[0020] The first step: respectively setting up a webpage cluster service module connected to the webpage backend service module and used for storing data and an RTU cluster service module connected to multiple RTU devices and used for command distribution.

[0021] Thus, in this step, by setting separate service modules for the web backend service module and the RTU device, the web cluster service module and the RTU cluster service module are independent of each other in operation, especially during architecture upgrade.

[0022] Step 2: Set up a multi-threaded communication channel between the web cluster service module and the RTU cluster service module.

[0023] Step 3: The RTU cluster service module simultaneously receives the operation instructions issued by the web backend service module for different RTU devices through the web cluster service module and sends them to the corresponding RTU devices.

[0024] In this way, through the multi-threaded communication method between the web cluster service module and the RTU cluster service module, the web backend service module can simultaneously communicate with multiple RTU devices, and the web backend service module can simultaneously upgrade multiple RTU devices, thereby improving work efficiency and ensuring work stability.

[0025] Reference Figure 3 The present invention also proposes a system for realizing RTU remote upgrade and multi-threaded parallel configuration, including: a web page backend service module, a web page cluster service module, an RTU cluster service module and multiple RTU devices.

[0026] The web backend service module is connected to the web cluster service module, and multiple RTU devices are connected to the RTU cluster service module. In this embodiment, the web cluster service module and the RTU cluster service module are respectively set for the web backend service module and the RTU device, which is conducive to ensuring the overall stability of the system and improving work efficiency.

[0027] Specifically, in this embodiment, the web backend service module and the web cluster service module communicate with each other using the HTTP (Hypertext Transfer Protocol) protocol to improve the real-time accuracy of the upgrade data through the question-and-answer mode of the HTTP protocol.

[0028] In this embodiment, the RTU device is upgraded and configured through the instructions issued by the web backend service module. The web cluster service module and the RTU cluster service module communicate with each other in a multi-threaded manner to facilitate the upgrade operation of multiple RTU devices at the same time.

[0029] Specifically, in this embodiment, the web backend service module is provided with a multi-window display working mode to facilitate real-time operation through corresponding windows when upgrading multiple RTU devices.

[0030] In this embodiment, a first load balancing module and a second load balancing module are also included; the web backend service module is connected to the web cluster service module through the first load balancing module; and the RTU cluster service module is connected to multiple RTU devices through the second load balancing module. In this way, the stability and reliability of operating multiple RTU devices at the same time are further guaranteed through the cooperation of multi-threaded communication mode and load balancing technology.

[0031] In this implementation, the web cluster service module and the RTU cluster service module communicate through the ZeroMQ (message processing queue library) interface. In this way, the web backend service module sends relevant instructions by binding the device number, and the RTU cluster service module identifies the RTU device targeted by the relevant instructions through the device number and forwards the instructions to achieve the operation, upgrade and configuration of the RTU device.

[0032] The above description is only a preferred specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solution and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A method for implementing RTU remote upgrade and multi-threaded parallel configuration, It is characterized in that The following steps are involved: A webpage cluster service module connected to the webpage backend service module and used for storing data and an RTU cluster service module connected to multiple RTU devices and used for command distribution are respectively set; A multi-threaded communication channel is set up between the webpage cluster service module and the RTU cluster service module; The web backend service module has a multi-window display working mode. When upgrading multiple RTU devices, real-time operations can be performed through the corresponding windows. A first load balancing module and a second load balancing module are also provided; the web backend service module is connected to the web cluster service module through the first load balancing module; the RTU cluster service module is connected to multiple RTU devices respectively through the second load balancing module; The RTU cluster service module simultaneously receives operation instructions issued by the web backend service module for different RTU devices through the web cluster service module and sends them to the corresponding RTU devices.

2. A system for implementing RTU remote upgrade and multi-threaded parallel configuration, It is characterized in that include: Web backend service module, web cluster service module, RTU cluster service module and multiple RTU devices; The web backend service module is connected to the web cluster service module, and multiple RTU devices are connected to the RTU cluster service module; Multi-threaded communication between the web cluster service module and the RTU cluster service module; The web backend service module has a multi-window display working mode. When upgrading multiple RTU devices, real-time operations can be performed through the corresponding windows. It also includes a first load balancing module and a second load balancing module; the web backend service module is connected to the web cluster service module through the first load balancing module; the RTU cluster service module is connected to multiple RTU devices respectively through the second load balancing module.

3. The system for realizing RTU remote upgrade and multi-threaded parallel configuration as claimed in claim 2, It is characterized in that The web cluster service module and the RTU cluster service module communicate through the ZeroMQ interface.