Method and system for reliable communication between transformer substation monitoring and dispatching master station
By adopting dual-computer, dual-network, redundant communication architecture and link pool management technology in the substation monitoring system, the problem of low communication reliability in the existing technology is solved, and reliable communication and efficient operation and maintenance of substation monitoring and scheduling master stations are realized.
Patent Information
- Application Number
- CN202411849720.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-16
- Publication Date
- 2025-03-21
AI Technical Summary
In the prior art, the communication reliability of the substation monitoring system and the scheduling master station system is affected by the communication complexity between the systems and the lack of redundant communication mechanism, resulting in a decrease in the execution rate of the main station service.
The dual-machine and dual-network redundant communication architecture is adopted, through single forwarding processing of message commands and double-copy redundant forwarding processing of file data, a layered multi-connection communication link channel between the two monitoring backends of the substation and the scheduling master station systems is established, and link pool management is implemented to ensure the redundancy and reliability of the communication link.
It realizes reliable communication between substation monitoring and dispatching main stations, ensures the reliable and stable implementation of remote advanced application services, and improves the operation and maintenance efficiency of substations and communication reliability.
Smart Images

Figure CN119675264A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of substation communication, and relates to a method and system for reliable communication between a substation monitoring and a dispatching master station. Background Art
[0002] The substation zone I business of the dispatching master station is usually supported by the substation telecontrol device (or data communication gateway). The telecontrol device collects the primary and secondary equipment information of the substation and sends it to the dispatching master station system, and responds to the control commands of the dispatching master station system.
[0003] As the remote one-key sequential control function of smart substations efficiently supports the control business of the dispatching master station, and the application of DC power remote automatic control (ADC) technology in DC converter stations requires the dispatching master station to send power curve file data to the substation in real time, the demand for remote advanced application services of substations continues to increase. The simple data forwarding function of the telecontrol device can no longer meet these advanced application requirements, and the substation monitoring system needs to cooperate to realize these remote advanced application services.
[0004] From the perspective of the communication network structure, the telecontrol device, as the intermediate medium for the communication between the substation monitoring system and the dispatching master station system, has changed from the original three-level communication structure of the dispatching master station system-telecontrol device-secondary equipment to a four-level communication structure of the dispatching master station system-telecontrol device-monitoring system-secondary equipment. Since the communication network structure adds a first-level communication node, the realization of remote advanced application services increases the complexity of communication between systems, which will have a certain impact on communication reliability.
[0005] At present, the implementation scheme of remote advanced application services in field projects usually uses a fixed telecontrol device and a monitoring background communication. Although the communication connection is simple, the lack of a redundant communication mechanism compatible with various communication abnormalities greatly affects the communication reliability of the master station system and the monitoring system. At the same time, the business logic processing is relatively simple and cannot be compatible with data abnormality processing in various communication abnormalities, which reduces the correct execution rate of the master station business. Summary of the invention
[0006] In order to solve the deficiencies in the prior art, the present invention provides a method and system for reliable communication between substation monitoring and dispatching master station. The monitoring background and remote control device adopt a dual-machine dual-network redundant communication architecture, and reliable communication between substation monitoring and dispatching master station is achieved through single forwarding processing of message commands and double redundant forwarding processing of file data.
[0007] The present invention adopts the following technical solution.
[0008] The first aspect of the present invention provides a method for reliable communication between a substation monitoring and a dispatching master station, comprising:
[0009] Based on the dual-machine dual-network redundant communication architecture, a hierarchical multi-connection communication link channel is established for the two monitoring backgrounds of the substation to communicate with the dispatching master station system through their respective corresponding telecontrol devices and is included in the link pool management. The dispatching master station system communicates with the two telecontrol devices through the dispatching network plane 1 and the dispatching network plane 2 and only maintains one normal communication link channel. Each telecontrol device and the two monitoring backgrounds adopt the dual-network redundant communication mode to maintain normal communication, and the two monitoring backgrounds and secondary equipment adopt the dual-network redundant communication mode to maintain normal communication;
[0010] The two monitoring backends adopt a dual-network redundant bus communication mode. According to the dual-machine master-slave mechanism of the monitoring system, the master-slave status of the monitoring backend is determined to be the monitoring backend host or the monitoring backend backup, and the master-slave status is notified to the two remote control devices;
[0011] The telecontrol device receives the message command sent by the dispatching master station system to the monitoring background. The telecontrol device forwards the message command to only one monitoring background according to the telecontrol message command forwarding strategy. The monitoring background responds to the message command and returns the message command processing result to the telecontrol device. The telecontrol device forwards the message command processing result to the dispatching master station system. When the message command needs to be sent to the secondary device, the monitoring background sends the message command to the secondary device and returns the received secondary device response message command processing result to the telecontrol device.
[0012] The remote control device receives the file data of the monitoring background sent by the dispatching master station system, and forwards the file data to the two monitoring backgrounds at the same time. The two monitoring backgrounds receive and process the file data according to the monitoring file data processing strategy and return the file data processing result to the remote control device. The remote control device selects the file data processing result of one of the two monitoring backgrounds according to the remote control file data processing result response strategy and forwards it to the dispatching master station system; when the file data needs to be sent to the secondary equipment, only the monitoring background host sends the file data to the secondary equipment, and the two monitoring backgrounds return the received secondary equipment processing file data processing results to the remote control device.
[0013] Preferably, the dual-machine dual-network redundant communication architecture is used to establish a hierarchical multi-connection communication link channel for two monitoring backends of the substation to communicate with the dispatching master station system through their respective corresponding telecontrol devices and incorporate it into the link pool management, including:
[0014] Based on the existing hardware architecture of the substation, a dual-machine dual-network redundant communication architecture of the full communication link is constructed by adopting the principle of maximum reuse, and a hierarchical multi-connection communication link channel is established for the two monitoring backgrounds of the substation to communicate with the dispatching master station system through their respective corresponding telecontrol devices, including a multi-connection communication link channel between the master station and the telecontrol, a multi-connection communication link channel between the telecontrol and the monitoring, and a multi-connection communication link channel between the monitoring and the secondary equipment. Each communication link channel is placed in a link pool for unified link pool management; the link pool management includes telecontrol device link pool management and monitoring background link pool management; the telecontrol device link pool management is divided into telecontrol server link pool management and telecontrol client link pool management; the monitoring background link pool management is divided into monitoring server link pool management and monitoring client link pool management;
[0015] The master station and telecontrol multi-connection communication link channels include four communication link channels of the dispatching network plane 1 and the dispatching network plane 2 established between the dispatching master station system and two telecontrol devices of the substation respectively. When there are N dispatching master station systems, N*4 communication link channels are established;
[0016] The telecontrol and monitoring multi-connection communication link channel includes 8 communication link channels including AB dual network redundancy established between two telecontrol devices and two monitoring backgrounds respectively, wherein each telecontrol device establishes 2 communication link channels including AB dual network redundancy with each monitoring background;
[0017] The monitoring and secondary device multi-connection communication link channel includes four communication link channels including AB dual network redundancy established between two monitoring backgrounds and each secondary device respectively. When there are N secondary devices, N*4 communication link channels are established.
[0018] Preferably, the telecontrol service end link pool management includes:
[0019] Instantiate the master station and telecontrol multi-connection communication link channel as object P ij , where i = [1,2,…,m] represents the master station system ID, m is the number of master station systems, j = [1,2] represents the dispatching network plane ID, and creates a remote control server link pool Object P ij It contains the master station IP and link status value. The link status value of 0 indicates that the link communication is interrupted, and 1 indicates that the link communication is normal. The remote control device is based on the object P ij The master station IP determines whether to accept the TCP connection of the master station system; the remote control device can monitor the communication link channel status of the dispatching network plane 1 and the communication link channel status of the dispatching network plane 2 with the dispatching master station system in real time.
[0020] Preferably, the remote control client link pool management includes:
[0021] Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [1, 2] represents the remote control device identifier, j = [1, 2] represents the monitoring background identifier, and creates a remote control device client link pool Object A ij , B ij It includes the monitoring background A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the remote control device establishes a TCP communication connection with each monitoring background as a server as a client, and only one network of the AB dual network establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; when the normal communication link channel is abnormal, the remote control device immediately switches to the other network communication link channel for normal communication. When both network communication link channels cannot communicate normally, the remote control device tries to establish a normal communication link channel through the A network, the B network and the monitoring background in a regular polling manner until it succeeds; the remote control device can monitor the A network communication link channel status and the B network communication link channel status with the two monitoring backgrounds in real time.
[0022] Preferably, the monitoring service end link pool management includes:
[0023] Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [1, 2] represents the remote control device identifier, j = [1, 2] represents the monitoring background identifier, and creates a monitoring background server link pool Object A ij , B ij It contains the remote control device A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background is based on the object A ij , B ij The remote control device A network IP and B network IP determine whether to accept the TCP connection of the remote control device; the monitoring background can monitor the A network communication link channel status and B network communication link channel status with the two remote control devices in real time.
[0024] Preferably, the monitoring client link pool management includes:
[0025] Instantiate the multi-connection communication link channel between monitoring and secondary equipment as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [3,4,…,n] represents the secondary device identifier, n is the number of secondary devices, j = [1,2] represents the monitoring background identifier, and creates a monitoring background client link pool Object A ij , B ij It includes the A network IP, B network IP and link status value of the secondary device. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background acts as a client to establish a TCP communication connection with each secondary device as a server, and only a normal communication link channel is established by the monitoring background host, and other communication link channels are hot standby channels and only TCP connections are established; when the normal communication link channel is abnormal, the monitoring background immediately switches to another network communication link channel for normal communication; when both network communication link channels of the monitoring background cannot communicate normally, switch to another network communication link channel of the other monitoring background for normal communication; when both network communication link channels of the two monitoring backgrounds cannot communicate normally, the two monitoring backgrounds try to establish a normal communication link channel through the A network, the B network and the secondary device in a regular polling manner until success; the monitoring background can monitor the device A network communication link channel status and the device B network communication link channel status between the secondary device in real time.
[0026] Preferably, a dual-network redundant bus communication mode is adopted between the two monitoring backgrounds, including:
[0027] Two redundant communication link channels of AB dual networks are established between the two monitoring backgrounds for bus communication and interactive monitoring of system messages. Only one of the AB dual networks establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; it is possible to configure a designated monitoring background as a client to establish a TCP communication connection with the other monitoring background as a server, or to establish two sets of TCP communication connections between the client and the server; when the normal communication link channel is abnormal, the monitoring background as the client switches to the other network communication link channel for normal communication; when both network communication link channels cannot communicate normally, the monitoring background as the client attempts to establish a normal communication link channel through the A network, the B network and the monitoring background as the server in a regular polling manner until it succeeds; the monitoring background as the server can monitor the communication link channel status of the monitoring node A network and the communication link channel status of the monitoring node B network between the monitoring background as the client.
[0028] Preferably, the dual-machine active-standby mechanism of the monitoring system includes:
[0029] When the two monitoring backends are started, they are initialized as monitoring backend hosts by default;
[0030] A communication link channel is established between the two monitoring backgrounds to exchange bus communication startup information. The monitoring background with an earlier startup time remains the monitoring background host, and the monitoring background with a later startup time is changed to the monitoring background standby machine;
[0031] The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend host is abnormal and the monitoring backend standby monitors the monitoring backend host and the heartbeat times out, the two monitoring backends disconnect from the bus communication and the monitoring backend standby is changed to the monitoring backend host. When the two monitoring backends resume bus communication, the original monitoring backend host is changed from the default monitoring backend host that was initialized after restart to the monitoring backend standby.
[0032] The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend standby machine is abnormal and the monitoring backend host monitors the monitoring backend standby machine and the heartbeat times out, the two monitoring backends disconnect the bus communication and the monitoring backend host remains unchanged. When the two monitoring backends resume bus communication, the original monitoring backend standby machine is restored to the monitoring backend standby machine by restarting and initializing the default monitoring backend host.
[0033] The two monitoring backends communicate via bus and exchange heartbeat information. When the two monitoring backends are running normally but the external network is abnormal, the two monitoring backend hosts monitor each other and the heartbeat timeout occurs. The two monitoring backends disconnect the bus communication, the monitoring backend host remains unchanged, the monitoring backend standby machine is changed to the monitoring backend host, and the two monitoring backends run independently. When the two monitoring backends resume bus communication, the original monitoring backend host remains unchanged, and the original monitoring backend standby machine is restored from the monitoring backend host to the monitoring backend standby machine.
[0034] Under normal operating conditions, the monitoring background host realizes all functions of the monitoring system, and the monitoring background backup machine only monitors data.
[0035] Preferably, the telecontrol message command forwarding strategy includes:
[0036] The remote control device receives the message command from the monitoring background sent by the dispatching master station system. It first determines the status of the communication link between the two monitoring backgrounds, and then determines the master-slave status of the two monitoring backgrounds. If the A network or B network communication link between the monitoring background host is normal, the message command is forwarded to the monitoring background host that maintains normal communication. If the A network and B network communication links between the monitoring background host are disconnected, the message command is forwarded to the monitoring background backup machine, and the other monitoring background does not forward the message command, thereby ensuring the uniqueness and security of the message command.
[0037] Preferably, the monitoring file data processing strategy includes:
[0038] During the process of receiving file data communication, the monitoring background diagnoses the file data message. If the file data is not successfully received, the remote control device that sends the file data will return a failure result, and send a failed file reception result message to another monitoring background through bus communication, and the message can be converted into a monitoring system alarm information;
[0039] If the monitoring background successfully receives the file data and successfully generates the file in the set directory, the remote control device that sends the file data will return a success result. If the monitoring background successfully receives the file data but fails to generate the file, the remote control device that sends the file data will return a failure result. At the same time, the success or failure of receiving the file result message is sent to another monitoring background through bus communication, and the message can be converted into an alarm information of the monitoring system.
[0040] After the monitoring background host receives the file data and generates the file successfully, the monitoring background host processes the file data according to the business logic to which the file data belongs;
[0041] When the monitoring background host is abnormal, after the monitoring background standby machine receives the file data and generates the file successfully, when it receives the failed file reception result message sent by the monitoring background host bus communication, or when it does not receive the file reception result message sent by the monitoring background host bus communication within the timeout period, the monitoring background standby machine processes the file data according to the business logic to which the file data belongs, to ensure the one-time and reliability of the file data sent by the scheduling master station;
[0042] The file receiving result message includes the receiving time, receiving result, file name, file size, and file CRC check code.
[0043] Preferably, the monitoring file data processing strategy also includes a double set of monitoring background file data comparison logic, and the double set of monitoring background file data comparison logic includes:
[0044] After the monitoring background host receives the file data and successfully generates the file, it sends a successful file reception result message to the monitoring background standby machine, and compares it with the content of the successful file reception result message sent by the monitoring background standby machine. If the compared contents are exactly the same, the monitoring background host processes the file data according to the business logic to which the file data belongs. If there are differences in the compared contents, the monitoring background host stops automatically processing the file data, triggers a file difference alarm message, and manually selects to process the file data after manual confirmation, further ensuring the security of file data processing.
[0045] Preferably, the monitoring file data processing strategy also includes file processing logic when dual network communication is switched, and the file processing logic when dual network communication is switched includes:
[0046] The remote control device communicates with the monitoring background through dual network redundancy. The monitoring background establishes the monitoring network A communication thread and the monitoring network B communication thread according to the AB network. When the remote control device sends file data to the monitoring background, the monitoring network A communication thread or the monitoring network B communication thread receives each frame of legal file data and synchronizes each frame of legal file data to the monitoring file processing thread cache. After receiving the file data reception completion notification of the monitoring network A communication thread or the monitoring network B communication thread, the monitoring file processing thread executes the cached file data to generate a file and waits for subsequent processing.
[0047] When the remote control device sends each frame of file data to the monitoring background through the A network communication link channel, the monitoring network A communication thread synchronizes each frame of legal file data to the monitoring file processing thread cache after receiving each frame of legal file data. If the remote control network A communication link channel is interrupted during the remote control device sending file data, the remote control device switches to the remote control network B communication link channel to send subsequent each frame of file data normally. After receiving each frame of file data, the monitoring network B communication thread synchronizes the file data to the monitoring file processing thread for continued caching. After receiving the file data reception completion notification from the monitoring network B communication thread, the monitoring file processing thread executes the cached file data to generate a file waiting for subsequent processing.
[0048] Preferably, the remote file data processing result response strategy includes:
[0049] The telecontrol device receives the successful result of the file data processing from the monitoring background host, and directly forwards the successful result to the dispatching master station system regardless of whether the file data processing result received from the monitoring background standby machine is successful or failed;
[0050] The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing success result from the monitoring background backup machine, and forwards the success result to the dispatching master station system;
[0051] The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing failure result from the monitoring background backup machine, and forwards the failure result to the dispatching master station system;
[0052] The telecontrol device does not receive the file data processing result of the monitoring background host within the timeout period, but receives the file data processing result of the monitoring background backup machine, and forwards the file data processing result of the monitoring background backup machine to the dispatching master station system;
[0053] If the remote control device does not receive the file data processing results from the two monitoring backgrounds within the timeout period, it will forward the failure results to the dispatching master station system.
[0054] A second aspect of the present invention provides a system for reliable communication between a substation monitoring and a dispatching master station, the system comprising two telecontrol devices and two monitoring backends.
[0055] Preferably, the telecontrol device includes a telecontrol server communication module, a telecontrol data bus module, a telecontrol client communication module and a telecontrol integrated management module;
[0056] The telecontrol server communication module has the telecontrol server link pool management function, which is used for the telecontrol device to accept the TCP connection of the dispatching network plane 1 and the dispatching network plane 2 of the dispatching master station system, establish the communication link channel of the plane 1 and the communication link channel of the plane 2 according to the set power communication protocol, and perform normal communication interaction between the telecontrol device and the dispatching master station system;
[0057] The telecontrol data bus module is used for the data bus communication of the internal bus communication protocol established by the internal modules of the telecontrol device, forwarding the message commands and file data sent by the dispatching master station system to the monitoring background to the telecontrol client communication module, and returning the message command results and file data results received by the telecontrol client communication module to the telecontrol server communication module;
[0058] The telecontrol client communication module has the telecontrol client link pool management function, which is used for the telecontrol device to initiate and monitor the background TCP connection, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the telecontrol device and the monitoring background.
[0059] The telecontrol integrated management module is used to manage the status of all communication link channels monitored by the telecontrol server communication module and the telecontrol client communication module, and trigger the telecontrol device alarm signal.
[0060] Preferably, the monitoring backend includes a monitoring server communication module, a monitoring data bus module, a monitoring data processing module, a monitoring client communication module and a monitoring integrated management module;
[0061] The monitoring server communication module has the monitoring server link pool management function, which is used for the monitoring background to accept the TCP connection of the AB network of the telecontrol device, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction between the monitoring background and the telecontrol device;
[0062] The monitoring data bus module is used to establish data bus communication of the internal bus communication protocol of the monitoring background internal module, send the message command and file data of the remote control device forwarding dispatching master station system received by the monitoring server communication module to the monitoring data processing module, and return the message command and file data processing results of the monitoring data processing module to the monitoring server communication module; and is used to establish data bus communication of the private communication protocol between the two monitoring backgrounds, realize the dual-machine master-slave mechanism of the monitoring system, notify the monitoring server communication module of the master-slave status of the monitoring background, and receive the processing results of the monitoring data processing module to interact with the other monitoring background;
[0063] The monitoring data processing module is used to receive and process the message commands and file data of the dispatching master station system forwarded by the monitoring server communication module, and return the processing results to the monitoring data bus module; when it is necessary to send message commands or file data to the secondary equipment connected to the monitoring client communication module, the monitoring data processing module transmits the message commands or file data to the monitoring client communication module, and sends the processing results returned by the monitoring client communication module to the monitoring data bus module;
[0064] The monitoring client communication module has the monitoring client link pool management function, which is used to initiate the monitoring background and the secondary device TCP connection, establish the device A network communication link channel and the device B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the monitoring background and the secondary device;
[0065] The monitoring integrated management module is used to manage the status of all communication link channels monitored by the monitoring server communication module, the monitoring data bus module and the monitoring client communication module, and trigger the monitoring system alarm signal.
[0066] Compared with the prior art, the beneficial effects of the present invention include at least:
[0067] The monitoring background and telecontrol device of the present invention adopt the principle of maximizing multiplexing to construct the communication architecture of the whole communication link based on the existing hardware architecture of the substation, and propose a communication link pool management technology. Through the single forwarding security processing of message commands and the reliable processing of double redundant forwarding of file data, the substation monitoring and dispatching main station can be realized to ensure the reliable and stable implementation of the remote advanced application business of the substation, and improve the operation and maintenance efficiency of the substation.
[0068] The present invention adopts a dual-network redundant bus communication mode between two monitoring backgrounds, establishes two sets of TCP communication connections for each other as clients and servers, combines a dual-machine master-slave mechanism of the monitoring system for realizing master-slave status synchronization of the remote control device and the monitoring background, realizes a remote control message command forwarding strategy for simultaneous communication between the two remote controls and the monitoring, realizes a monitoring file data processing strategy for simultaneous file transmission between the two remote controls and the monitoring, can realize compatible redundant communication and data exception processing in various communication abnormality situations, ensures file transmission reliability, improves the communication reliability of the master station system and the monitoring system, and improves the correct execution rate of the master station business. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 This is a diagram of the architecture of a method for reliable communication between a substation monitoring and a dispatching master station according to the present invention;
[0070] Figure 2 The present invention is a system structure diagram for reliable communication between a substation monitoring and a dispatching master station. DETAILED DESCRIPTION
[0071] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0072] like Figure 1 As shown, Embodiment 1 of the present invention provides a method for reliable communication between a substation monitoring and a dispatching master station, specifically comprising:
[0073] (1) Based on the dual-machine dual-network redundant communication architecture, a hierarchical multi-connection communication link channel is established between the two monitoring backgrounds of the substation and the dispatching master station system through two remote control devices and is included in the link pool management. The dispatching master station system communicates with the two remote control devices through the dispatching network plane 1 and the dispatching network plane 2 and only maintains one normal communication link channel. Each remote control device and the two monitoring backgrounds adopt the dual-network redundant communication mode to maintain normal communication. The two monitoring backgrounds and secondary equipment adopt the dual-network redundant communication mode to maintain normal communication.
[0074] Further preferably, the hierarchical multi-connection communication link channels are incorporated into the link pool management. The communication architecture of the full communication link is constructed based on the principle of maximizing reuse of the existing hardware architecture of the substation. A hierarchical multi-connection communication link channel is established in which the two monitoring backgrounds of the substation communicate with the dispatching master station system through their respective corresponding telecontrol devices, including multi-connection communication link channels between the master station and telecontrol, multi-connection communication link channels between telecontrol and monitoring, and multi-connection communication link channels between monitoring and secondary equipment. They are managed according to the telecontrol device link pool management and the monitoring background link pool management, and their respective communication link channels are placed in their respective link pools for unified management and control.
[0075] Link pool management includes remote control device link pool management and monitoring background link pool management; remote control device link pool management is divided into remote control server link pool management and remote control client link pool management; monitoring background link pool management is divided into monitoring server link pool management and monitoring client link pool management.
[0076] Further preferably, the multi-connection communication link channel between the master station and the telecontrol includes four communication link channels for establishing a dispatching network plane 1 and a dispatching network plane 2 between the dispatching master station system and two telecontrol devices of the substation, such as Figure 1 P11, P12, P21, and P22, when there are N dispatching master station systems, establish N*4 communication link channels. The communication link channels meet the power communication protocol, including but not limited to DL / T 634.5104 and DL / T860.
[0077] Further preferably, the telecontrol and monitoring multi-connection communication link channel includes 8 communication link channels including AB dual network redundancy established between two telecontrol devices and two monitoring backgrounds, such as Figure 1 A11, B11, A12, B12, A21, B21, A22, B22, each remote control device and each monitoring background establish two communication link channels including AB dual network redundancy; the communication link channels meet the power communication protocol, including but not limited to DL / T 634.5104, DL / T 860.
[0078] Further preferably, the monitoring and secondary equipment multi-connection communication link channel includes four communication link channels including AB dual network redundancy established between two monitoring backgrounds and secondary equipment, such as Figure 1 A31, B31, A32, B32, when there are N secondary devices, N*4 communication link channels are established; the communication link channels meet the power communication protocol, including but not limited to DL / T 860.
[0079] Further preferably, the telecontrol server link pool management includes:
[0080] Instantiate the master station and telecontrol multi-connection communication link channel as object P ij, where i = [1,2,…,m] represents the master station system ID, m is the number of master station systems, j = [1,2] represents the dispatching network plane ID, and creates a remote control server link pool Object P ij It contains the master station IP and link status value. The link status value of 0 indicates that the link communication is interrupted, and 1 indicates that the link communication is normal. The remote control device is based on the object P ij The master station IP determines whether to accept the TCP connection of the master station system; the remote control device can monitor the communication link channel status of the dispatching network plane 1 and the communication link channel status of the dispatching network plane 2 with the dispatching master station system in real time.
[0081] Further preferably, the remote control client link pool management includes:
[0082] Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the communication link channel of network B, i=[1,2] represents the remote control device identifier, j=[1,2] represents the monitoring background identifier, and creates a remote control client link pool Object A ij , B ij It includes the monitoring background A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the remote control device establishes a TCP communication connection with each monitoring background as a server as a client, and only one network of the AB dual network establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; when the normal communication link channel is abnormal, the remote control device immediately switches to the other network communication link channel for normal communication. When both network communication link channels cannot communicate normally, the remote control device tries to establish a normal communication link channel through the A network, the B network and the monitoring background in a regular polling manner until it succeeds; the remote control device can monitor the A network communication link channel status and the B network communication link channel status with the two monitoring backgrounds in real time.
[0083] Further preferably, monitoring the server link pool management includes:
[0084] Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [1, 2] represents the remote control device identifier, j = [1, 2] represents the monitoring background identifier, and creates a monitoring server link pool Object Aij , B ij It contains the remote control device A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background is based on the object A ij , B ij The remote control device A network IP and B network IP determine whether to accept the TCP connection of the remote control device; the monitoring background can monitor the A network communication link channel status and B network communication link channel status with the two remote control devices in real time.
[0085] Further preferably, monitoring the client link pool management includes:
[0086] Instantiate the multi-connection communication link channel between monitoring and secondary equipment as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [3,4,…,n] represents the secondary device identifier, n is the number of secondary devices, j = [1,2] represents the monitoring background identifier, and creates a monitoring client link pool Object A ij , B ij It includes the A network IP, B network IP and link status value of the secondary device. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background acts as a client to establish a TCP communication connection with each secondary device as a server, and only a normal communication link channel is established by the monitoring background host, and other communication link channels are hot standby channels and only TCP connections are established; when the normal communication link channel is abnormal, the monitoring background immediately switches to another network communication link channel for normal communication; when both network communication link channels of the monitoring background cannot communicate normally, switch to another network communication link channel of the other monitoring background for normal communication; when both network communication link channels of the two monitoring backgrounds cannot communicate normally, the two monitoring backgrounds try to establish a normal communication link channel through the A network, the B network and the secondary device in a regular polling manner until success; the monitoring background can monitor the device A network communication link channel status and the device B network communication link channel status between the secondary device in real time.
[0087] (2) A dual-network redundant bus communication mode is adopted between the two monitoring backgrounds. According to the dual-machine master-slave mechanism of the monitoring system, the master-slave status of the monitoring background is determined to be the monitoring background host or the monitoring background backup, and the master-slave status is notified to the two remote control devices.
[0088] Further preferably, a dual-network redundant bus communication mode is adopted between the two monitoring backgrounds, and the two monitoring backgrounds establish two communication link channels of AB dual-network redundant communication to perform bus communication to exchange monitoring system messages, such as Figure 1 Only one of the A1, B1 and AB dual networks establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; one monitoring background can be configured to be used as a client to establish a TCP communication connection with another monitoring background as a server, or two sets of TCP communication connections can be established between the client and the server; when the normal communication link channel is abnormal, the monitoring background as the client switches to the other network communication link channel for normal communication. When both network communication link channels cannot communicate normally, the monitoring background as the client will continuously and regularly poll through the A network, the B network and the monitoring background as the server to try to establish a normal communication link channel until it succeeds; the monitoring background as the server can monitor the communication link channel status of the monitoring node A network and the communication link channel status of the monitoring node B network of the monitoring background as the client; the communication link channel meets the internal bus communication protocol of the monitoring system.
[0089] Further preferably, the dual-machine active-standby mechanism of the monitoring system includes:
[0090] When the two monitoring backends are started and initialized, they are both monitoring backend hosts by default;
[0091] The two monitoring backgrounds establish a communication link channel to exchange bus communication startup information. The monitoring background with an earlier startup time remains the monitoring background host, and the monitoring background with a later startup time is changed to the monitoring background standby machine;
[0092] The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend host is abnormal and the monitoring backend standby monitors the monitoring backend host and the heartbeat times out, the two monitoring backends disconnect from the bus communication and the monitoring backend standby is changed to the monitoring backend host. When the two monitoring backends resume bus communication, the original monitoring backend host is changed from the default monitoring backend host that was initialized after restart to the monitoring backend standby.
[0093] The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend standby machine is abnormal and the monitoring backend host monitors the monitoring backend standby machine and the heartbeat times out, the two monitoring backends disconnect the bus communication and the monitoring backend host remains unchanged. When the two monitoring backends resume bus communication, the original monitoring backend standby machine is restored to the monitoring backend standby machine by restarting and initializing the default monitoring backend host.
[0094] The two monitoring backends communicate via bus and exchange heartbeat information. When the two monitoring backends are running normally but the external network is abnormal, the two monitoring backend hosts monitor each other and the heartbeat timeout occurs. The two monitoring backends disconnect the bus communication, the monitoring backend host remains unchanged, the monitoring backend standby machine is changed to the monitoring backend host, and the two monitoring backends run independently. When the two monitoring backends resume bus communication, the original monitoring backend host remains unchanged, and the original monitoring backend standby machine is restored from the monitoring backend host to the monitoring backend standby machine.
[0095] Under normal operating conditions, the monitoring background host can realize all functions of the monitoring system, and the monitoring background backup machine is only for data monitoring.
[0096] (3) The remote control device receives the message command sent by the dispatching master station system to the monitoring background. The remote control device forwards the message command to only one monitoring background according to the remote control message command forwarding strategy. The monitoring background that receives the message command responds to process the message command and returns the message command processing result to the remote control device. The remote control device forwards the message command processing result to the dispatching master station system. When the message command needs to be sent to the secondary device, the monitoring background sends the message command to the secondary device and returns the received secondary device response message command processing result to the remote control device.
[0097] Further preferably, the telecontrol message command forwarding strategy includes:
[0098] The remote control device receives the message command from the monitoring background sent by the dispatching master station system. It first determines the communication link status with the two monitoring backgrounds, and then determines the master-slave status of the two monitoring backgrounds. When the monitoring background host that maintains normal communication or the monitoring background host AB network communication link is disconnected, the monitoring background standby machine forwards the message command, and the other monitoring background does not forward the message command to ensure the uniqueness and security of the message command; the message command is the call data, control operation and other commands transmitted by the power communication protocol.
[0099] The remote control device receives the file data of the monitoring background sent by the dispatching master station system, and forwards the file data to two monitoring backgrounds at the same time. The two monitoring backgrounds receive and process the file data according to the monitoring file data processing strategy and return the file data processing results to the remote control device. The remote control device selects the file data processing result of one of the two monitoring backgrounds according to the remote control file data processing result response strategy to forward the file data processing result to the dispatching master station system; when the file data needs to be sent to the secondary equipment, only the monitoring background host sends the file data to the secondary equipment, and the two monitoring backgrounds return the received secondary equipment processing file data processing results to the remote control device.
[0100] Further preferably, the monitoring file data processing strategy includes:
[0101] During the process of receiving file data communication, the monitoring background diagnoses the file data message. If the file is not successfully received, the failure result is returned to the remote control device that sends the file data, and the failed file reception result message is sent to another monitoring background through bus communication, and the message can be converted into monitoring system alarm information;
[0102] After the monitoring background successfully receives the file data, if the file is generated successfully in the set directory, a success result is returned to the remote control device that sends the file data; if the file generation fails, a failure result is returned to the remote control device that sends the file data, and a success or failure file reception result message is sent to another monitoring background through bus communication, and the message can be converted into an alarm information of the monitoring system;
[0103] After the monitoring background host receives the file data and generates the file successfully, the monitoring background host processes the file data according to the business logic to which the file data belongs;
[0104] When the monitoring background host is abnormal, after the monitoring background standby machine receives the file data and generates the file successfully, it receives the failed file reception result message sent by the monitoring background host bus communication, or does not receive the file reception result message sent by the monitoring background host bus communication within the timeout period. The monitoring background standby machine processes the file data according to the business logic to which the file data belongs, to ensure the one-time and reliability of the file data sent by the scheduling master station;
[0105] The file receiving result message includes but is not limited to the receiving time, receiving result, file name, file size, and file CRC checksum.
[0106] Further preferably, the monitoring file data processing strategy also includes a double set of monitoring background file data comparison logic, and the double set of monitoring background file data comparison logic includes:
[0107] After the monitoring background host receives the file data and generates the file successfully, the monitoring background host sends a successful file reception result message to the monitoring background standby machine, and compares it with the content of the successful file reception result message sent by the monitoring background standby machine. If the file name, file size, and file CRC checksum are completely consistent, the monitoring background host processes the file data according to the business logic to which the file data belongs. If there is a difference in the comparison content, the monitoring background host stops automatically processing the file data and triggers a file difference alarm message. It can be manually confirmed and then manually selected to process the file data to further ensure the security of file data processing.
[0108] Further preferably, the monitoring file data processing strategy also includes file processing logic when dual network communication is switched, and the file processing logic when dual network communication is switched includes:
[0109] The remote control device communicates with the monitoring background in dual networks redundantly. The monitoring background establishes the monitoring network A communication thread and the monitoring network B communication thread according to the AB network. When the remote control device sends file data to the monitoring background, the monitoring network A communication thread or the monitoring network B communication thread will synchronize the legal file data of each frame to the monitoring file processing thread cache after receiving the legal file data of each frame. After receiving the file data reception completion notification of the monitoring network A communication thread or the monitoring network B communication thread, the monitoring file processing thread will execute the subsequent processing such as generating files on the cached file data; when the remote control device sends each frame to the monitoring background through the remote control network A communication link channel, File data, after receiving each frame of legal file data, the monitoring network communication thread synchronizes each frame of legal file data to the monitoring file processing thread cache. If the remote control device sends file data during the process of sending file data, the remote control device switches to the remote control network communication link channel and sends subsequent file data frame normally. After receiving each frame of file data, the monitoring network communication thread synchronizes the file data to the monitoring file processing thread for continued caching. After receiving the notification of completion of file data reception from the monitoring network communication thread, the monitoring file processing thread will perform subsequent processing such as generating files on the cached file data.
[0110] Further preferably, the remote file data processing result response strategy includes:
[0111] The telecontrol device receives the successful result of the file data processing from the monitoring background host, and directly forwards the successful result to the dispatching master station system regardless of whether the file data processing result received from the monitoring background standby machine is successful or failed;
[0112] The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing success result from the monitoring background backup machine, and forwards the success result to the dispatching master station system;
[0113] The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing failure result from the monitoring background backup machine, and forwards the failure result to the dispatching master station system;
[0114] The telecontrol device does not receive the file data processing result of the monitoring background host within the timeout period, but receives the file data processing result of the monitoring background backup machine, and forwards the file data processing result of the monitoring background backup machine to the dispatching master station system;
[0115] If the remote control device does not receive the file data processing results from the two monitoring backgrounds within the timeout period, it will forward the failure results to the dispatching master station system.
[0116] like Figure 2As shown, Embodiment 2 of the present invention provides a system for reliable communication between substation monitoring and dispatching master station, including two telecontrol devices and two monitoring backgrounds, to implement the above-mentioned method for reliable communication between substation monitoring and dispatching master station.
[0117] Further preferably, the telecontrol device includes but is not limited to a telecontrol server communication module, a telecontrol data bus module, a telecontrol client communication module, and a telecontrol integrated management module;
[0118] The telecontrol server communication module has the telecontrol server link pool management function, which is used for the telecontrol device to accept the TCP connection of the dispatching network plane 1 and the dispatching network plane 2 of the dispatching master station system, establish the communication link channel of the plane 1 and the communication link channel of the plane 2 according to the set power communication protocol, and realize the normal communication interaction between the telecontrol device and the dispatching master station system; the power communication protocol includes but is not limited to DL / T 634.5104 and DL / T860;
[0119] The telecontrol data bus module is used for the data bus communication of the internal bus communication protocol established by the internal modules of the telecontrol device, forwarding the message commands and file data sent by the dispatching master station system to the monitoring background to the telecontrol client communication module, and returning the message command results and file data results received by the telecontrol client communication module to the telecontrol server communication module;
[0120] The telecontrol client communication module has the telecontrol client link pool management function, which is used for the telecontrol device to initiate and monitor the background TCP connection, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the telecontrol device and the monitoring background; the power communication protocol includes but is not limited to DL / T 634.5104 and DL / T 860.
[0121] The telecontrol integrated management module is used to manage the status of all communication link channels monitored by the telecontrol server communication module and the telecontrol client communication module, such as the status of the first-plane communication link channel and the second-plane communication link channel of the dispatching master station system, monitor the background A network communication link channel status and B network communication link channel status, and trigger the telecontrol device alarm signal.
[0122] Further preferably, the monitoring backend includes but is not limited to a monitoring server communication module, a monitoring data bus module, a monitoring data processing module, a monitoring client communication module, and a monitoring integrated management module;
[0123] The monitoring server communication module has the monitoring server link pool management function, which is used for the monitoring background to accept the TCP connection of the AB network of the telecontrol device, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction between the monitoring background and the telecontrol device; the power communication protocol includes but is not limited to DL / T634.5104 and DL / T 860;
[0124] The monitoring data bus module is used to establish data bus communication of the internal bus communication protocol of the monitoring background internal module, send the message command and file data of the remote control device forwarding dispatching master station system received by the monitoring server communication module to the monitoring data processing module, and return the message command and file data processing results of the monitoring data processing module to the monitoring server communication module; and is used to establish data bus communication of the private communication protocol between the two monitoring backgrounds, realize the dual-machine master-slave mechanism of the monitoring system, notify the monitoring server communication module of the master-slave status of the monitoring background, and receive the processing results of the monitoring data processing module to interact with the other monitoring background;
[0125] The monitoring data processing module is used to receive and process the message commands and file data of the dispatching master station system forwarded by the monitoring server communication module, and return the processing results to the monitoring data bus module; when it is necessary to send message commands or file data to the secondary equipment connected to the monitoring client communication module, the monitoring data processing module transmits the message commands or file data to the monitoring client communication module, and sends the processing results returned by the monitoring client communication module to the monitoring data bus module;
[0126] The monitoring client communication module has the monitoring client link pool management function, which is used to initiate the monitoring background and the secondary device TCP connection, establish the device A network communication link channel and the device B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the monitoring background and the secondary device; the power communication protocol includes but is not limited to DL / T 860.
[0127] The monitoring integrated management module is used to manage the status of all communication link channels monitored by the monitoring server communication module, the monitoring data bus module and the monitoring client communication module, such as the remote control A network communication link channel status, the remote control B network communication link channel status, the monitoring node A network communication link channel status, the monitoring node B network communication link channel status, the equipment A network communication link channel status, the equipment B network communication link channel status, etc., and trigger the monitoring system alarm signal.
[0128] Compared with the prior art, the beneficial effects of the present invention include at least:
[0129] The monitoring background and the remote control device of the present invention adopt the principle of maximizing multiplexing to construct a communication architecture of the full communication link based on the existing hardware architecture of the substation, and propose a communication link pool management technology. A dual-network redundant bus communication mode is adopted between the two monitoring backgrounds, and two sets of TCP communication connections are established as clients and servers. A dual-machine master-slave mechanism of the monitoring system is added to realize the master-slave state synchronization of the remote control device and the monitoring background, a remote control message command forwarding strategy for simultaneous communication between the two remote controls and the monitoring, and a monitoring file data processing strategy for simultaneous file transmission between the two remote controls and the monitoring. Through the single forwarding security processing of the message command and the reliable processing of the double redundant forwarding of the file data, the substation monitoring and the dispatching main station can communicate reliably, the file transmission reliability is ensured, the reliable and stable implementation of the remote advanced application business of the substation is guaranteed, and the operation and maintenance efficiency of the substation is improved.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for reliable communication between substation monitoring and dispatching master station, characterized in that: Methods include: Based on the dual-machine dual-network redundant communication architecture, a hierarchical multi-connection communication link channel is established for the two monitoring backgrounds of the substation to communicate with the dispatching master station system through their respective corresponding telecontrol devices and is included in the link pool management. The dispatching master station system communicates with the two telecontrol devices through the dispatching network plane 1 and the dispatching network plane 2 and only maintains one normal communication link channel. Each telecontrol device and the two monitoring backgrounds adopt the dual-network redundant communication mode to maintain normal communication, and the two monitoring backgrounds and secondary equipment adopt the dual-network redundant communication mode to maintain normal communication; The two monitoring backends adopt a dual-network redundant bus communication mode. According to the dual-machine master-slave mechanism of the monitoring system, the master-slave status of the monitoring backend is determined to be the monitoring backend host or the monitoring backend backup, and the master-slave status is notified to the two remote control devices; The telecontrol device receives the message command sent by the dispatching master station system to the monitoring background. The telecontrol device forwards the message command to only one monitoring background according to the telecontrol message command forwarding strategy. The monitoring background responds to the message command and returns the message command processing result to the telecontrol device. The telecontrol device forwards the message command processing result to the dispatching master station system. When the message command needs to be sent to the secondary device, the monitoring background sends the message command to the secondary device and returns the processing result of the received secondary device response message command to the telecontrol device; The remote control device receives the file data of the monitoring background sent by the dispatching master station system, and forwards the file data to two monitoring backgrounds at the same time. Both monitoring backgrounds receive and process the file data according to the monitoring file data processing strategy and return the file data processing result to the remote control device. The remote control device selects the file data processing result of one of the two monitoring backgrounds according to the remote file data processing result response strategy and forwards it to the dispatching master station system; When file data needs to be sent to the secondary device, only the monitoring background host sends the file data to the secondary device, and the two monitoring backgrounds return the processing results of the received secondary device file data to the remote control device.
2. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The dual-machine dual-network redundant communication architecture is based on which two monitoring backends of the substation communicate with the dispatching master station system through their respective corresponding telecontrol devices and establish a hierarchical multi-connection communication link channel and incorporate it into the link pool management, including: Based on the existing hardware architecture of the substation, a dual-machine dual-network redundant communication architecture of the full communication link is constructed by adopting the principle of maximum reuse, and a hierarchical multi-connection communication link channel is established for the two monitoring backgrounds of the substation to communicate with the dispatching master station system through their respective corresponding telecontrol devices, including a multi-connection communication link channel between the master station and the telecontrol, a multi-connection communication link channel between the telecontrol and the monitoring, and a multi-connection communication link channel between the monitoring and the secondary equipment. Each communication link channel is placed in a link pool for unified link pool management; the link pool management includes telecontrol device link pool management and monitoring background link pool management; the telecontrol device link pool management is divided into telecontrol server link pool management and telecontrol client link pool management; the monitoring background link pool management is divided into monitoring server link pool management and monitoring client link pool management; The master station and telecontrol multi-connection communication link channels include four communication link channels of the dispatching network plane 1 and the dispatching network plane 2 established between the dispatching master station system and two telecontrol devices of the substation respectively. When there are N dispatching master station systems, N*4 communication link channels are established; The telecontrol and monitoring multi-connection communication link channel includes 8 communication link channels including AB dual network redundancy established between two telecontrol devices and two monitoring backgrounds respectively, wherein each telecontrol device establishes 2 communication link channels including AB dual network redundancy with each monitoring background; The monitoring and secondary device multi-connection communication link channel includes four communication link channels including AB dual network redundancy established between two monitoring backgrounds and each secondary device respectively. When there are N secondary devices, N*4 communication link channels are established.
3. A method for reliable communication between substation monitoring and dispatching master station according to claim 2, characterized in that: The telecontrol server link pool management includes: Instantiate the master station and telecontrol multi-connection communication link channel as object P ij , where i = [1,2,…,m] represents the master station system ID, m is the number of master station systems, j = [1,2] represents the dispatching network plane ID, and creates a remote control server link pool Object P ij It contains the master station IP and link status value. The link status value of 0 indicates that the link communication is interrupted, and 1 indicates that the link communication is normal. The remote control device is based on the object P ij The master station IP determines whether to accept the TCP connection of the master station system; the remote control device can monitor the communication link channel status of the dispatching network plane 1 and the communication link channel status of the dispatching network plane 2 with the dispatching master station system in real time.
4. A method for reliable communication between substation monitoring and dispatching master station according to claim 2, characterized in that: The remote control client link pool management includes: Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [1, 2] represents the remote control device identifier, j = [1, 2] represents the monitoring background identifier, and creates a remote control device client link pool Object A ij , B ij It includes the monitoring background A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the remote control device establishes a TCP communication connection with each monitoring background as a server as a client, and only one network of the AB dual network establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; when the normal communication link channel is abnormal, the remote control device immediately switches to the other network communication link channel for normal communication. When both network communication link channels cannot communicate normally, the remote control device tries to establish a normal communication link channel through the A network, the B network and the monitoring background in a regular polling manner until it succeeds; the remote control device can monitor the A network communication link channel status and the B network communication link channel status with the two monitoring backgrounds in real time.
5. A method for reliable communication between substation monitoring and dispatching master station according to claim 2, characterized in that: The monitoring service end link pool management includes: Instantiate the multi-connection communication link channel of telecontrol and monitoring as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [1, 2] represents the remote control device identifier, j = [1, 2] represents the monitoring background identifier, and creates a monitoring background server link pool Object A ij , B ij It contains the remote control device A network IP, B network IP, and link status value. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background is based on the object A ij , B ij The remote control device A network IP and B network IP determine whether to accept the TCP connection of the remote control device; the monitoring background can monitor the A network communication link channel status and B network communication link channel status with the two remote control devices in real time.
6. A method for reliable communication between substation monitoring and dispatching master station according to claim 2, characterized in that: The monitoring client link pool management includes: Instantiate the multi-connection communication link channel between monitoring and secondary equipment as object A ij , B ij , where A ij is the communication link channel of network A, B ij is the B network communication link channel, i = [3,4,…,n] represents the secondary device identifier, n is the number of secondary devices, j = [1,2] represents the monitoring background identifier, and creates a monitoring background client link pool Object A ij , B ij It includes the A network IP, B network IP and link status value of the secondary device. The link status value of 0 indicates that the link communication is interrupted, 1 indicates that the link communication is normal, and 2 indicates that the link communication is waiting, that is, only the TCP connection hot standby state is established; the monitoring background acts as a client to establish a TCP communication connection with each secondary device as a server, and only a normal communication link channel is established by the monitoring background host, and other communication link channels are hot standby channels and only TCP connections are established; when the normal communication link channel is abnormal, the monitoring background immediately switches to another network communication link channel for normal communication; when both network communication link channels of the monitoring background cannot communicate normally, switch to another network communication link channel of the other monitoring background for normal communication; when both network communication link channels of the two monitoring backgrounds cannot communicate normally, the two monitoring backgrounds try to establish a normal communication link channel through the A network, the B network and the secondary device in a regular polling manner until success; the monitoring background can monitor the device A network communication link channel status and the device B network communication link channel status between the secondary device in real time.
7. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The two monitoring backends adopt a dual-network redundant bus communication mode, including: Two redundant communication link channels of AB dual networks are established between the two monitoring backgrounds for bus communication and interactive monitoring of system messages. Only one of the AB dual networks establishes a normal communication link channel, and the other network communication link channel only establishes a TCP connection as a hot standby channel; it is possible to configure a designated monitoring background as a client to establish a TCP communication connection with the other monitoring background as a server, or to establish two sets of TCP communication connections between the client and the server; when the normal communication link channel is abnormal, the monitoring background as the client switches to the other network communication link channel for normal communication; when both network communication link channels cannot communicate normally, the monitoring background as the client attempts to establish a normal communication link channel through the A network, the B network and the monitoring background as the server in a regular polling manner until it succeeds; the monitoring background as the server can monitor the communication link channel status of the monitoring node A network and the communication link channel status of the monitoring node B network between the monitoring background as the client.
8. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The dual-machine active-standby mechanism of the monitoring system includes: When the two monitoring backends are started, they are initialized as monitoring backend hosts by default; A communication link channel is established between the two monitoring backgrounds to exchange bus communication startup information. The monitoring background with an earlier startup time remains the monitoring background host, and the monitoring background with a later startup time is changed to the monitoring background standby machine; The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend host is abnormal and the monitoring backend standby monitors the monitoring backend host and the heartbeat times out, the two monitoring backends disconnect from the bus communication and the monitoring backend standby is changed to the monitoring backend host. When the two monitoring backends resume bus communication, the original monitoring backend host is changed from the default monitoring backend host that was initialized after restart to the monitoring backend standby. The two monitoring backends communicate via bus and exchange heartbeat information. When the monitoring backend standby machine is abnormal and the monitoring backend host monitors the monitoring backend standby machine and the heartbeat times out, the two monitoring backends disconnect the bus communication and the monitoring backend host remains unchanged. When the two monitoring backends resume bus communication, the original monitoring backend standby machine is restored to the monitoring backend standby machine by restarting and initializing the default monitoring backend host. The two monitoring backends communicate via bus and exchange heartbeat information. When the two monitoring backends are running normally but the external network is abnormal, the two monitoring backend hosts monitor each other and the heartbeat timeout occurs. The two monitoring backends disconnect the bus communication, the monitoring backend host remains unchanged, the monitoring backend standby machine is changed to the monitoring backend host, and the two monitoring backends run independently. When the two monitoring backends resume bus communication, the original monitoring backend host remains unchanged, and the original monitoring backend standby machine is restored from the monitoring backend host to the monitoring backend standby machine. Under normal operating conditions, the monitoring background host realizes all functions of the monitoring system, and the monitoring background backup machine only monitors data.
9. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The telecontrol message command forwarding strategy includes: The remote control device receives the message command from the monitoring background sent by the dispatching master station system. It first determines the status of the communication link between the two monitoring backgrounds, and then determines the master-slave status of the two monitoring backgrounds. If the A network or B network communication link between the monitoring background host is normal, the message command is forwarded to the monitoring background host that maintains normal communication. If the A network and B network communication links between the monitoring background host are disconnected, the message command is forwarded to the monitoring background backup machine, and the other monitoring background does not forward the message command, thereby ensuring the uniqueness and security of the message command.
10. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The monitoring file data processing strategies include: During the process of receiving file data communication, the monitoring background diagnoses the file data message. If the file data is not successfully received, the remote control device that sends the file data will return a failure result, and send a failed file reception result message to another monitoring background through bus communication, and the message can be converted into a monitoring system alarm information; If the monitoring background successfully receives the file data and successfully generates the file in the set directory, the remote control device that sends the file data will return a success result. If the monitoring background successfully receives the file data but fails to generate the file, the remote control device that sends the file data will return a failure result. At the same time, the success or failure of receiving the file result message is sent to another monitoring background through bus communication, and the message can be converted into an alarm information of the monitoring system. After the monitoring background host receives the file data and generates the file successfully, the monitoring background host processes the file data according to the business logic to which the file data belongs; When the monitoring background host is abnormal, after the monitoring background standby machine receives the file data and generates the file successfully, when it receives the failed file reception result message sent by the monitoring background host bus communication, or when it does not receive the file reception result message sent by the monitoring background host bus communication within the timeout period, the monitoring background standby machine processes the file data according to the business logic to which the file data belongs, to ensure the one-time and reliability of the file data sent by the scheduling master station; The file receiving result message includes the receiving time, receiving result, file name, file size, and file CRC check code.
11. A method for reliable communication between substation monitoring and dispatching master station according to claim 10, characterized in that: The monitoring file data processing strategy also includes a dual set of monitoring background file data comparison logic, and the dual set of monitoring background file data comparison logic includes: After the monitoring background host receives the file data and successfully generates the file, it sends a successful file reception result message to the monitoring background standby machine, and compares it with the content of the successful file reception result message sent by the monitoring background standby machine. If the compared contents are exactly the same, the monitoring background host processes the file data according to the business logic to which the file data belongs. If there are differences in the compared contents, the monitoring background host stops automatically processing the file data, triggers a file difference alarm message, and manually selects to process the file data after manual confirmation, further ensuring the security of file data processing.
12. A method for reliable communication between substation monitoring and dispatching master station according to claim 10, characterized in that: The monitoring file data processing strategy also includes file processing logic when dual network communication is switched, and the file processing logic when dual network communication is switched includes: The remote control device communicates with the monitoring background through dual network redundancy. The monitoring background establishes the monitoring network A communication thread and the monitoring network B communication thread according to the AB network. When the remote control device sends file data to the monitoring background, the monitoring network A communication thread or the monitoring network B communication thread receives each frame of legal file data and synchronizes each frame of legal file data to the monitoring file processing thread cache. After receiving the file data reception completion notification of the monitoring network A communication thread or the monitoring network B communication thread, the monitoring file processing thread executes the cached file data to generate a file and waits for subsequent processing. When the remote control device sends each frame of file data to the monitoring background through the A network communication link channel, the monitoring network A communication thread synchronizes each frame of legal file data to the monitoring file processing thread cache after receiving each frame of legal file data. If the remote control network A communication link channel is interrupted during the remote control device sending file data, the remote control device switches to the remote control network B communication link channel to send subsequent each frame of file data normally. After receiving each frame of file data, the monitoring network B communication thread synchronizes the file data to the monitoring file processing thread for continued caching. After receiving the file data reception completion notification from the monitoring network B communication thread, the monitoring file processing thread executes the cached file data to generate a file waiting for subsequent processing.
13. A method for reliable communication between substation monitoring and dispatching master station according to claim 1, characterized in that: The telecontrol file data processing result response strategy includes: The telecontrol device receives the successful result of the file data processing from the monitoring background host, and directly forwards the successful result to the dispatching master station system regardless of whether the file data processing result received from the monitoring background standby machine is successful or failed; The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing success result from the monitoring background backup machine, and forwards the success result to the dispatching master station system; The telecontrol device receives the file data processing failure result from the monitoring background host, receives the file data processing failure result from the monitoring background backup machine, and forwards the failure result to the dispatching master station system; The telecontrol device does not receive the file data processing result of the monitoring background host within the timeout period, but receives the file data processing result of the monitoring background backup machine, and forwards the file data processing result of the monitoring background backup machine to the dispatching master station system; If the remote control device does not receive the file data processing results from the two monitoring backgrounds within the timeout period, it will forward the failure results to the dispatching master station system.
14. A system for reliable communication between substation monitoring and dispatching master station, characterized in that: The system comprises two telecontrol devices and two monitoring backends, and implements a method for reliable communication between a substation monitoring and a dispatching master station as described in any one of claims 1 to 13.
15. A system for reliable communication between substation monitoring and dispatching master station according to claim 14, characterized in that: The telecontrol device includes a telecontrol server communication module, a telecontrol data bus module, a telecontrol client communication module and a telecontrol integrated management module; The telecontrol server communication module has the telecontrol server link pool management function, which is used for the telecontrol device to accept the TCP connection of the dispatching network plane 1 and the dispatching network plane 2 of the dispatching master station system, establish the communication link channel of the plane 1 and the communication link channel of the plane 2 according to the set power communication protocol, and perform normal communication interaction between the telecontrol device and the dispatching master station system; The telecontrol data bus module is used for the data bus communication of the internal bus communication protocol established by the internal modules of the telecontrol device, forwarding the message commands and file data sent by the dispatching master station system to the monitoring background to the telecontrol client communication module, and returning the message command results and file data results received by the telecontrol client communication module to the telecontrol server communication module; The telecontrol client communication module has the telecontrol client link pool management function, which is used for the telecontrol device to initiate and monitor the background TCP connection, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the telecontrol device and the monitoring background. The telecontrol integrated management module is used to manage the status of all communication link channels monitored by the telecontrol server communication module and the telecontrol client communication module, and trigger the telecontrol device alarm signal.
16. A system for reliable communication between substation monitoring and dispatching master station according to claim 14, characterized in that: The monitoring backend includes a monitoring server communication module, a monitoring data bus module, a monitoring data processing module, a monitoring client communication module and a monitoring integrated management module; The monitoring server communication module has the monitoring server link pool management function, which is used for the monitoring background to accept the TCP connection of the AB network of the telecontrol device, establish the telecontrol A network communication link channel and the telecontrol B network communication link channel according to the set power communication protocol, and realize the normal communication interaction between the monitoring background and the telecontrol device; The monitoring data bus module is used to monitor the data bus communication of the internal bus communication protocol established by the backend internal module, send the message command and file data of the remote control device forwarding dispatching master station system received by the monitoring server communication module to the monitoring data processing module, and return the message command and file data processing results of the monitoring data processing module to the monitoring server communication module; And the data bus communication used to establish a private communication protocol between the two monitoring backgrounds, realize the dual-machine master-slave mechanism of the monitoring system, notify the monitoring server communication module of the status of the monitoring background master-slave machine, and receive the processing results of the monitoring data processing module to interact with the other monitoring background; The monitoring data processing module is used to receive and process the message commands and file data of the dispatching master station system forwarded by the monitoring server communication module, and return the processing results to the monitoring data bus module; When it is necessary to send a message command or file data to the secondary device connected to the monitoring client communication module, the monitoring data processing module transmits the message command or file data to the monitoring client communication module, and sends the processing result returned by the monitoring client communication module to the monitoring data bus module; The monitoring client communication module has the monitoring client link pool management function, which is used to initiate the monitoring background and the secondary device TCP connection, establish the device A network communication link channel and the device B network communication link channel according to the set power communication protocol, and realize the normal communication interaction and dual-network communication switching between the monitoring background and the secondary device; The monitoring integrated management module is used to manage the status of all communication link channels monitored by the monitoring server communication module, the monitoring data bus module and the monitoring client communication module, and trigger the monitoring system alarm signal.