A loop filling method, device, equipment and medium for a power grid communication system

By generating multiple complementary ring topology diagrams in the power grid communication system and using the impact analysis model to determine the optimal connection point, the stability problem of the optical cable ring method was solved, and the stability and automatic switching capability of the power grid communication system were achieved.

CN116633793BActive Publication Date: 2025-09-16GUANGDONG POWER GRID CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310754699.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2025-09-16
Estimated Expiration
2043-06-25

AI Technical Summary

Technical Problem

The existing power grid communication system's optical cable ring and main network ring methods have the risk of optical cable external damage and cannot improve system stability. As a result, once the switch goes offline, subsequent nodes cannot communicate.

Method used

By obtaining the communication topology of the power grid communication system, determining whether it is a multi-branch topology, selecting non-adjacent nodes for connection, generating multiple ring-filling topologies, and using the impact analysis model to determine the impact value, the topology with the largest impact value is finally selected for the ring-filling operation to establish a data channel.

Benefits of technology

It improves the stability of the power grid communication system, avoids communication interruption caused by node failure, realizes signal loop filling of star communication link, and ensures that the system can automatically switch to the backup line when a node fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116633793B_ABST
    Figure CN116633793B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment, and medium for loop filling in a power grid communication system. The method responds to a power grid communication loop filling request, obtains a communication topology corresponding to the power grid communication system, determines whether the communication topology is a multi-branch topology, and if so, selects any two non-adjacent communication nodes in the communication topology for connection to generate multiple loop filling communication topologies. Based on the loop filling communication topologies and a preset impact analysis model, the impact values ​​corresponding to the loop filling communication topologies are determined, the loop filling communication topology with the largest impact value is selected as the target topology, and loop filling operations are performed on the two communication nodes corresponding to the target topology. This solves the technical problem that existing optical cable looping methods, such as main network looping methods, have the risk of external optical cable damage and cannot improve the stability of the power grid communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distribution network communication technology, and in particular to a loop filling method, device, equipment and medium for a power grid communication system. Background Art

[0002] Existing power grid communication systems mostly use wireless or wired optical cables for serial networking. Although this method makes the power grid communication system have the advantages of simple networking links and convenient engineering construction, it has poor stability. Once one switch goes offline, it will cause a series of subsequent switches to go offline.

[0003] At present, the links of the power grid communication system are mainly patched through methods such as optical cable looping and main network looping. However, due to the risk of external damage to the optical cable in these methods, the stability of the power grid communication system cannot be improved. Summary of the Invention

[0004] The present invention provides a loop filling method, device, equipment and medium for a power grid communication system, which solves the technical problems that existing optical cable looping methods, main network looping methods, etc., have the risk of external damage to the optical cable and cannot improve the stability of the power grid communication system.

[0005] A first aspect of the present invention provides a loop filling method for a power grid communication system, which is applied to the power grid communication system and includes:

[0006] In response to a grid communication loop filling request, obtaining a communication topology diagram corresponding to the grid communication system;

[0007] Determining whether the communication topology is a multi-branch topology;

[0008] If the communication topology is a multi-branch topology, any two non-adjacent communication nodes in the communication topology are selected and connected to generate multiple ring-complementing communication topologies;

[0009] Determining an impact value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset impact analysis model;

[0010] The ring-filling communication topology graph with the largest impact value is selected as the target topology graph, and a ring-filling operation is performed on the two communication nodes corresponding to the target topology graph.

[0011] Optionally, the step of determining the influence value corresponding to the complementary ring communication topology diagram according to the complementary ring communication topology diagram and a preset influence value model includes:

[0012] Selecting any communication node in the ring-filling communication topology diagram as a target node, performing feature marking on the communication link associated with the target node, and generating a plurality of impact feature diagrams;

[0013] Inputting the impact characteristic graph into a preset impact analysis model to generate a node impact value;

[0014] Adding up all the node influence values ​​to generate a first sum value;

[0015] The first sum value is compared with the number of communication links in the complementary ring communication topology to generate an influence value corresponding to the complementary ring communication topology.

[0016] Optionally, the step of performing a ring-filling operation on two communication nodes corresponding to the target topology graph includes:

[0017] Determining the two communication nodes corresponding to the target topology graph as first ring complement nodes;

[0018] Select any one of the two first complementary ring nodes as the initiating end and the other one of the first complementary ring nodes as the terminating end;

[0019] Obtaining the channel identifier of the terminating end through the initiating end;

[0020] Comparing the channel identifier with a preset port permission table;

[0021] If the comparison result of the channel identifier and the port permission table is consistent, the initiating end is connected to the terminating end through the data channel.

[0022] Optionally, if the comparison result of the channel identifier and the port permission table is consistent, the step of connecting the initiating end to the terminating end through the data channel includes:

[0023] If the comparison result of the channel identifier and the port permission table is consistent, the channel identifier of the terminating end is modified to be consistent with the channel identifier of the initiating end;

[0024] A data channel is established between the initiating end and the terminating end.

[0025] Optionally, it also includes:

[0026] If the communication topology is a single-link topology, two communication nodes at the beginning and the end of the communication topology are selected as second ring-filling nodes;

[0027] Obtaining a communication strength value between the second complementary ring nodes;

[0028] Determining whether the communication strength value is greater than or equal to a preset communication threshold;

[0029] If the communication strength value is greater than or equal to the communication threshold, performing a ring filling operation on the second ring filling node;

[0030] If the communication strength value is less than the communication threshold, the second patching node is marked as a failed node, and the communication nodes adjacent to the second patching node determine a new second patching node, and the process jumps to executing the step of obtaining the communication strength value between the second patching nodes.

[0031] A second aspect of the present invention provides a loop filling device for a power grid communication system, which is applied to the power grid communication system and includes:

[0032] A response module, configured to respond to a grid communication loop filling request and obtain a communication topology corresponding to the grid communication system;

[0033] A judgment and analysis module, used to judge whether the communication topology diagram is a multi-branch topology diagram;

[0034] a ring-filling communication topology acquisition module, configured to select any two non-adjacent communication nodes in the communication topology for connection if the communication topology is a multi-branch topology, to generate multiple ring-filling communication topologies;

[0035] An influence value acquisition module, configured to determine an influence value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset influence analysis model;

[0036] The first loop-filling operation execution module is configured to select the loop-filling communication topology graph with the largest impact value as a target topology graph, and perform a loop-filling operation on the two communication nodes corresponding to the target topology graph.

[0037] Optionally, the influence value acquisition module includes:

[0038] An influence feature graph acquisition submodule is used to select any communication node in the ring-filling communication topology graph as a target node, perform feature marking on the communication link associated with the target node, and generate multiple influence feature graphs;

[0039] A node influence value acquisition submodule is used to input the influence characteristic diagram into a preset influence analysis model to generate a node influence value;

[0040] A summing submodule, configured to sum all the node influence values ​​to generate a first sum value;

[0041] The ratio processing submodule is used to perform ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topology diagram to generate an influence value corresponding to the complementary ring communication topology diagram.

[0042] Optionally, a second loop filling operation execution module is further included:

[0043] If the communication topology is a single-link topology, two communication nodes at the beginning and the end of the communication topology are selected as second ring-filling nodes;

[0044] Obtaining a communication strength value between the second complementary ring nodes;

[0045] Determining whether the communication strength value is greater than or equal to a preset communication threshold;

[0046] If the communication strength value is greater than or equal to the communication threshold, performing a ring filling operation on the second ring filling node;

[0047] If the communication strength value is less than the communication threshold, the second patching node is marked as a failed node, and the communication nodes adjacent to the second patching node determine a new second patching node, and the process jumps to executing the step of obtaining the communication strength value between the second patching nodes.

[0048] A third aspect of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the loop filling method of the power grid communication system as described in any one of the above items.

[0049] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the loop filling method of the power grid communication system as described in any one of the above items.

[0050] It can be seen from the above technical solutions that the present invention has the following advantages:

[0051] In response to a request for analysis of the optimal ring filling node of a power grid communication system, a communication topology corresponding to the power grid communication system is obtained, and it is determined whether there are at least two branch links in the communication topology. If there are at least two branch links in the communication topology, any two non-adjacent communication nodes in the communication topology are selected for connection to generate multiple ring filling communication topologies. Based on the ring filling communication topologies and a preset impact analysis model, the impact value corresponding to the ring filling communication topology is determined, and the ring filling communication topology with the largest impact value is selected as the target topology. The two communication nodes corresponding to the target topology are subjected to a ring filling operation. This solves the technical problem that existing optical cable ringing and main network ringing methods have the risk of external optical cable damage and cannot improve the stability of the power grid communication system. This realizes signal ring filling of star-shaped communication links, avoiding the inability of subsequent connected nodes to communicate due to a node failure. By using an impact analysis model to analyze multiple ring filling communication topologies that simulate ring filling situations, the optimal ring filling connection point in the communication topology is found, thereby improving the stability of the power grid communication system. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0053] Figure 1 A flowchart of a loop filling method for a power grid communication system provided in accordance with the first embodiment of the present invention;

[0054] Figure 2 A flowchart of a loop filling method for a power grid communication system provided in a second embodiment of the present invention;

[0055] Figure 3 Single-link topology diagram A provided in Example 2 of the present invention;

[0056] Figure 4 Single-link topology diagram B provided in Example 2 of the present invention;

[0057] Figure 5 A multi-branch topology diagram provided in the second embodiment of the present invention;

[0058] Figure 6 This is a structural block diagram of a loop filling device for a power grid communication system provided in the third embodiment of the present invention. DETAILED DESCRIPTION

[0059] The embodiments of the present invention provide a loop filling method, device, equipment and medium for a power grid communication system, which are used to solve the technical problems that existing optical cable looping methods, main network looping methods, etc., have the risk of external optical cable damage and cannot improve the stability of the power grid communication system.

[0060] In order to make the purpose, features, and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0061] See also Figure 1 , Figure 1 A flowchart of a loop filling method for a power grid communication system provided by an embodiment of the present invention.

[0062] The present invention provides a loop filling method for a power grid communication system, which is applied to the power grid communication system and includes:

[0063] Step 101: respond to a grid communication loop filling request and obtain a communication topology diagram corresponding to the grid communication system.

[0064] The power grid communication system refers to the communication link composed of multiple power room switches and terminals.

[0065] A power grid communication loop filling request refers to an analysis request issued by operation and maintenance personnel to find the best node for filling the power grid communication system loop.

[0066] The communication topology diagram refers to the abstraction of power room switches and terminals in the power grid communication system into nodes, and the abstraction of optical cable lines into lines, which are represented in the form of a topology diagram.

[0067] In an embodiment of the present invention, a communication topology diagram corresponding to the power grid communication system is obtained in response to a parsing request for an optimal ring filling node of the power grid communication system.

[0068] Step 102: Determine whether the communication topology is a multi-branch topology.

[0069] A multi-branch topology diagram refers to a communication topology diagram with at least two branch links.

[0070] In the embodiment of the present invention, it is determined whether the communication topology graph has at least two branch links.

[0071] Step 103: If the communication topology is a multi-branch topology, any two non-adjacent communication nodes in the communication topology are selected for connection to generate multiple complementary ring communication topologies.

[0072] The ring filling communication topology diagram refers to selecting any two non-adjacent communication nodes from the communication topology diagram and connecting them, thereby simulating the situation of filling the ring through any two adjacent power room switches on the power grid communication system in the form of a topology diagram.

[0073] In an embodiment of the present invention, if the communication topology graph has at least two branch links, any two non-adjacent communication nodes in the communication topology graph are selected for connection to generate multiple ring-complementing communication topologies.

[0074] Step 104 : Determine the impact value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset impact analysis model.

[0075] In an embodiment of the present invention, a patching ring communication topology graph is input into a pre-trained influence analysis model, wherein the influence analysis model includes a patching ring node marking network and an influence value analysis network. Any two non-adjacent communication nodes in the communication topology graph are selected through the patching ring node marking network for connection to generate multiple patching ring communication topology graphs. Then, any communication node in the patching ring communication topology graph is selected as a target node, and the communication link associated with the target node is feature-marked to generate multiple influence feature graphs. The influence feature graph is input into the influence value analysis network to generate node influence values ​​corresponding to the influence feature graphs. All node influence values ​​are summed to generate a first sum value. A first ratio of the first sum value to the number of communication links in the patching ring communication topology graph is calculated, and the first ratio is determined as the influence value corresponding to the patching ring communication topology graph.

[0076] Step 105: Select the ring-filling communication topology with the largest impact value as the target topology, and perform a ring-filling operation on two communication nodes corresponding to the target topology.

[0077] In the embodiment of the present invention, the ring-filling communication topology with the largest influence value is selected from multiple ring-filling communication topologies as the target topology, and the ring-filling operation is performed on two communication nodes in the target topology that are different from the communication topology.

[0078] It should be noted that if the required number of ring filling is multiple, the ring filling communication topology with the largest influence value and the ring filling communication topology with the second best value are selected as the target topology, and the two communication nodes corresponding to the target topology are subjected to the ring filling operation.

[0079] In an embodiment of the present invention, a request for parsing the optimal ring-filling node of a power grid communication system is responded to, a communication topology corresponding to the power grid communication system is obtained, and it is determined whether there are at least two branch links in the communication topology. If there are at least two branch links in the communication topology, any two non-adjacent communication nodes in the communication topology are selected for connection to generate multiple ring-filling communication topologies. Based on the ring-filling communication topologies and a preset impact analysis model, the impact values ​​corresponding to the ring-filling communication topologies are determined, and the ring-filling communication topology with the largest impact value is selected as the target topology. The two communication nodes corresponding to the target topology are subjected to a ring-filling operation. This solves the technical problem that existing optical cable ringing and main network ringing methods have the risk of external optical cable damage and cannot improve the stability of the power grid communication system. This method realizes signal ring-filling of star-shaped communication links, avoids the inability of subsequently connected nodes to communicate due to the failure of a node. By using the impact analysis model to analyze multiple ring-filling communication topologies that simulate ring-filling situations, the optimal ring-filling connection point in the communication topology is found, thereby improving the stability of the power grid communication system.

[0080] See also Figure 2 , Figure 2A flowchart of a loop filling method for a power grid communication system provided by an embodiment of the present invention.

[0081] The present invention provides a loop filling method for a power grid communication system, which is applied to the power grid communication system and includes:

[0082] Step 201: respond to a grid communication loop filling request and obtain a communication topology diagram corresponding to the grid communication system.

[0083] In an embodiment of the present invention, a communication topology diagram corresponding to the power grid communication system is obtained in response to a parsing request for an optimal ring filling node of the power grid communication system.

[0084] Step 202: Determine whether the communication topology is a multi-branch topology.

[0085] In the embodiment of the present invention, it is determined whether the communication topology graph has at least two branch links.

[0086] Furthermore, the method further comprises the steps of:

[0087] S11. If the communication topology is a single-link topology, two communication nodes at the beginning and the end of the communication topology are selected as second ring complement nodes.

[0088] In the embodiment of the present invention, please refer to Figure 3-4 As shown in the figure, if there is only one link in the communication topology, then Figure 3 The single-station link in Figure 4 In the dual-station links, the two communication nodes at the head end and the end end in the communication topology diagram are selected as the second complementary ring nodes.

[0089] It should be noted that Figure 3-4 In the figure, the communication node represents the location of the interactive machine in the power distribution room.

[0090] S12. Obtain communication strength values ​​between the second complementary ring nodes.

[0091] In an embodiment of the present invention, a power grid communication system sends an instruction to query the communication strength value between the second ring patch nodes.

[0092] It should be noted that before obtaining the communication strength value between the second complementary ring nodes, the position of the single link is also found.

[0093] S13: Determine whether the communication strength value is greater than or equal to a preset communication threshold.

[0094] The communication threshold refers to the signal strength value when the switch is running stably, which is generally 0.2FF.

[0095] In the embodiment of the present invention, it is determined whether the communication strength value is greater than or equal to the signal strength value of the switch during stable operation.

[0096] S14: If the communication strength value is greater than or equal to the communication threshold, perform a ring filling operation on the second ring filling node.

[0097] In the embodiment of the present invention, if the communication strength value is greater than or equal to the signal strength value of the switch during stable operation, the second ring patching node is subjected to a ring patching operation.

[0098] S15. If the communication strength value is less than the communication threshold, mark the second patching ring node as a failed node, determine a new second patching ring node from the communication nodes adjacent to the second patching ring node, and jump to the step of obtaining the communication strength value between the second patching ring nodes.

[0099] A failed node refers to a communication node that cannot perform ring patching operations.

[0100] In this embodiment of the present invention, if the communication strength value is less than the signal strength value of the switch during stable operation, the second patching ring node is marked as a failed node, and the previous adjacent communication node of the second patching ring node is determined as a new second patching ring node, and the process jumps to the step of obtaining the communication strength value between the second patching ring nodes.

[0101] Step 203: If the communication topology is a multi-branch topology, any two non-adjacent communication nodes in the communication topology are selected for connection to generate multiple complementary ring communication topologies.

[0102] In the embodiment of the present invention, see Figure 5 As shown, if there are at least two branch links in the communication topology, any two non-adjacent communication nodes in the communication topology are selected to connect to generate multiple complementary ring communication topologies.

[0103] Step 204: Select any communication node in the ring-filling communication topology diagram as a target node, perform feature marking on the communication link associated with the target node, and generate multiple impact feature diagrams.

[0104] The target node refers to the communication node that simulates the fault in the power grid communication system.

[0105] In an embodiment of the present invention, any communication node in the ring-filling communication topology diagram is selected as a target node to simulate a line fault, and characteristic marking is performed on the communication link associated with the target node to generate a plurality of impact characteristic diagrams.

[0106] Step 205: Input the impact characteristic graph into a preset impact analysis model to generate a node impact value.

[0107] In an embodiment of the present invention, the influence characteristic graph is input into a preset influence analysis model to generate a node influence value.

[0108] In a specific implementation, the impact analysis model can be improved and trained by selecting any one of the models such as convolutional neural networks CNN (Convolutional Neural Networks), regional convolutional neural networks R-CNN (Region with CNN Feature), Faster R-CNN (FasterRegion with CNN Feature), Mask R-CNN (Mask Region with CNN Feature), GraphSAGE, etc., which is not limited in this embodiment.

[0109] In a preferred implementation, the impact analysis model in this embodiment can be improved and trained by CNN. The traditional CNN model generally adopts the ResNet-FPN architecture for feature extraction, but the impact analysis model in this embodiment only includes 1 feature extraction network, 2 pooling layers and a fully connected layer. The feature extraction network is composed of a 1*1 standard convolution layer, a first convolution layer, a second convolution layer, an activation function layer and a 1*1 standard convolution layer connected in sequence. In the first convolution layer, the kernel size is 9*9 and the input channel is 1, the output channel is 16, the stride is 1, and the padding is 1. In the second convolution, the kernel size is 3*3, the input channel is 16, the output channel is 32, the stride is 1, and the padding is 1. The pooling layer is 3*3 maximum pooling, and the fully connected layer is 32*(L / 4)*(L / 4)*1. The activation function layer of the model is the ReLU function. The improved CNN model can more accurately calculate the corresponding node influence value in the influence feature map, and compared with the existing lightweight network, it can identify and analyze the influence feature map faster and reduce latency.

[0110] In a preferred implementation method, all distribution room interaction machine Pi signals are first measured, and the distribution room nodes are marked as PAi. The distribution room nodes are connected in pairs, and the number of computer rooms affected under different interruption depths is calculated. The distribution room nodes are constructed into a training set, and the corresponding number of affected computer rooms is set as the affected sample label. The training set and the corresponding affected sample label are input into the preset impact analysis model for training, and during the training process, any one or more combination strategies of gradient descent, gradient accumulation, schedule and gradient clipping are introduced to optimize the model parameters for training.

[0111] In the specific implementation of this embodiment, first, the training set (generating feature matrices and labels for all communication nodes) is used to train the improved CNN model, and then any network is selected to generate feature matrices for all unlabeled communication nodes. The impact feature map is then input into the trained impact analysis model to generate the node impact value corresponding to the impact feature map.

[0112] Step 206: sum up all node influence values ​​to generate a first sum value.

[0113] In the embodiment of the present invention, the node influence values ​​in all cases are summed to generate a first sum value.

[0114] Step 207: perform ratio processing on the first sum value and the number of communication links in the complementary ring communication topology diagram to generate an influence value corresponding to the complementary ring communication topology diagram.

[0115] In the embodiment of the present invention, a first ratio between the first sum and the number of communication links of the complementary ring communication topology is calculated, and the first ratio is determined as the influence value corresponding to the complementary ring communication topology.

[0116] Step 208: Select the ring-filling communication topology with the largest impact value as the target topology, and perform a ring-filling operation on the two communication nodes corresponding to the target topology.

[0117] Furthermore, step 208 includes the following sub-steps:

[0118] S21. Determine two communication nodes corresponding to the target topology graph as first complementary ring nodes.

[0119] In the embodiment of the present invention, wireless gateways are deployed on two communication nodes corresponding to the target topology graph and are determined as first ring patching nodes.

[0120] It should be noted that the wireless gateway is primarily used to connect two different distribution room networks. It also enables simultaneous communication with the switches in both distribution rooms. However, the switches cannot communicate directly; they must communicate through the wireless gateway. The wireless gateway operates at the application layer.

[0121] S22. Select any one of the two first complementary ring nodes as the initiating end, and the other first complementary ring node as the terminating end.

[0122] In the embodiment of the present invention, after the wireless mesh is laid out at the first patching ring nodes, any one of the two first patching ring nodes is selected as the initiating end, and the other first patching ring node is selected as the terminating end.

[0123] S23. Obtain the channel identifier of the terminating end through the initiating end.

[0124] In the embodiment of the present invention, the channel identifier of the terminating wireless gateway is obtained by the initiating wireless gateway.

[0125] It should be noted that the channel identifier is a 32-bit channel identifier.

[0126] S24. Compare the channel identifier with the preset port permission table.

[0127] The port permission table refers to a data list consisting of multiple port identifiers.

[0128] In the embodiment of the present invention, the channel identifiers are matched one by one with the port identifiers in the preset port permission table.

[0129] S25. If the comparison result of the channel identifier and the port permission table is consistent, the channel identifier of the terminating end is modified to be consistent with the channel identifier of the initiating end.

[0130] In the embodiment of the present invention, when the channel identifier is compatible with any port identifier, the channel identifier of the terminating end is modified to be consistent with the channel identifier of the initiating end.

[0131] It should be noted that, when the channel identifier does not match any port identifier, an alarm signal is sent to the initiating end, and a prompt is given that the current terminating end is not compatible with the initiating end.

[0132] It should be noted that only when the channel identifiers of the initiating end and the terminating end are consistent can the two establish a data channel.

[0133] S16. Establish a data channel between the initiating end and the terminating end.

[0134] In the embodiment of the present invention, a GRE data channel is established between the initiating end and the terminating end, so that the interactive machine protocol changes from layer 3 to layer 2, allowing the STP signal of the distribution room switch and the interactive machine layer 2 data packet to pass.

[0135] In an embodiment of the present invention, in response to a request for parsing the optimal ring patching node of a power grid communication system, a communication topology corresponding to the power grid communication system is obtained, and a determination is made as to whether the communication topology contains at least two branch links. If so, any two non-adjacent communication nodes in the communication topology are selected for connection, generating multiple ring patching communication topologies. Based on the ring patching communication topologies and a preset impact analysis model, the impact values ​​corresponding to the ring patching communication topologies are determined. The ring patching communication topology with the largest impact value is selected as the target topology, and a ring patching operation is performed on the two communication nodes corresponding to the target topology. This solves the technical problem that existing optical cable ringing and main network ringing methods, such as those with the risk of external optical cable damage, cannot improve the stability of the power grid communication system. This method implements signal ring patching for star-shaped communication links, preventing the failure of a single node from causing communication loss among subsequently connected nodes. By analyzing multiple ring patching communication topologies simulating ring patching scenarios using an impact analysis model, the optimal ring patching connection point in the communication topology is found. This allows the routing protocol of the distribution room switch to automatically switch to another line for connection when the original link is damaged, thereby improving the stability of the power grid communication system.

[0136] See also Figure 6, Figure 6 This is a structural block diagram of a loop filling device for a power grid communication system provided by an embodiment of the present invention.

[0137] The present invention provides a loop filling device for a power grid communication system, which is applied to the power grid communication system and includes:

[0138] A response module 601 is configured to respond to a grid communication loop filling request and obtain a communication topology corresponding to the grid communication system;

[0139] A judgment and analysis module 602 is used to judge whether the communication topology is a multi-branch topology;

[0140] The ring-filling communication topology acquisition module 603 is configured to select any two non-adjacent communication nodes in the communication topology for connection if the communication topology is a multi-branch topology, thereby generating multiple ring-filling communication topologies.

[0141] The impact value acquisition module 604 is used to determine the impact value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset impact analysis model;

[0142] The first loop-filling operation execution module 605 is configured to select the loop-filling communication topology graph with the largest impact value as the target topology graph, and perform a loop-filling operation on two communication nodes corresponding to the target topology graph.

[0143] Furthermore, the influence value acquisition module 604 includes:

[0144] The influence feature map acquisition submodule is used to select any communication node in the ring-filling communication topology map as the target node, perform feature marking on the communication link associated with the target node, and generate multiple influence feature maps;

[0145] The node influence value acquisition submodule is used to input the influence feature graph into the preset influence analysis model to generate the node influence value;

[0146] A sum processing submodule, configured to sum all node influence values ​​to generate a first sum value;

[0147] The ratio processing submodule is used to perform ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topology diagram to generate an influence value corresponding to the complementary ring communication topology diagram.

[0148] Furthermore, the second loop filling operation execution module 606 is also included:

[0149] If the communication topology is a single-link topology, two communication nodes at the beginning and end of the communication topology are selected as the second complementary ring nodes;

[0150] Obtaining a communication strength value between the second patch ring nodes;

[0151] Determining whether the communication strength value is greater than or equal to a preset communication threshold;

[0152] If the communication strength value is greater than or equal to the communication threshold, the second ring patching node is subjected to a ring patching operation;

[0153] If the communication strength value is less than the communication threshold, the second patching ring node is marked as a failed node and the communication nodes adjacent to the second patching ring node determine a new second patching ring node, and the process jumps to the step of obtaining the communication strength value between the second patching ring nodes.

[0154] Furthermore, the first loop filling operation execution module 605 includes:

[0155] A first patching ring node acquisition submodule is used to determine two communication nodes corresponding to the target topology graph as first patching ring nodes;

[0156] An endpoint setting submodule, configured to select any one of the two first complementing ring nodes as an initiating end and the other first complementing ring node as a terminating end;

[0157] The channel identification comparison submodule is used to obtain the channel identification of the terminating end through the initiating end;

[0158] Compare the channel identifier with the preset port permission table;

[0159] The data access submodule is used to connect the initiating end to the terminating end through the data channel if the comparison result of the channel identifier and the port permission table is consistent.

[0160] Furthermore, the data access submodule includes:

[0161] a channel identifier modification unit, configured to modify the channel identifier of the terminating end to be consistent with the channel identifier of the initiating end if the comparison result of the channel identifier and the port permission table is consistent;

[0162] The data channel construction unit is used to establish a data channel between the initiating end and the terminating end.

[0163] Embodiment 4 of the present invention further provides an electronic device, comprising: a memory and a processor, wherein a computer program is stored in the memory; when the computer program is executed by the processor, the processor executes the steps of the loop filling method of the power grid communication system as described in any of the above embodiments.

[0164] A fifth embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed, the loop filling method of the power grid communication system according to any embodiment of the present invention is implemented.

[0165] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0166] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0167] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0168] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0169] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0170] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A loop filling method for a power grid communication system, characterized in that: Applied to power grid communication systems, including: In response to a grid communication loop filling request, obtaining a communication topology diagram corresponding to the grid communication system; Determining whether the communication topology is a multi-branch topology; If the communication topology is a multi-branch topology, any two non-adjacent communication nodes in the communication topology are selected and connected to generate multiple ring-complementing communication topologies; Determining an impact value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset impact analysis model; The ring-filling communication topology graph with the largest influence value is selected as the target topology graph, and a ring-filling operation is performed on the two communication nodes corresponding to the target topology graph.

2. The loop filling method of the power grid communication system according to claim 1, characterized in that: The step of determining the impact value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset impact analysis model includes: Selecting any communication node in the ring-filling communication topology diagram as a target node, performing feature marking on the communication link associated with the target node, and generating a plurality of impact feature diagrams; Inputting the impact characteristic graph into a preset impact analysis model to generate a node impact value; Adding up all the node influence values ​​to generate a first sum value; The first sum value is compared with the number of communication links in the complementary ring communication topology to generate an influence value corresponding to the complementary ring communication topology.

3. The loop filling method of the power grid communication system according to claim 1, characterized in that: The step of performing a ring-filling operation on the two communication nodes corresponding to the target topology graph includes: Determining the two communication nodes corresponding to the target topology graph as first ring complement nodes; Select any one of the two first complementary ring nodes as the initiating end and the other one of the first complementary ring nodes as the terminating end; Obtaining the channel identifier of the terminating end through the initiating end; Comparing the channel identifier with a preset port permission table; If the comparison result of the channel identifier and the port permission table is consistent, the initiating end is connected to the terminating end through the data channel.

4. The loop filling method of the power grid communication system according to claim 3, characterized in that: If the comparison result of the channel identifier and the port permission table is consistent, the step of connecting the initiator end to the terminating end through the data channel includes: If the comparison result of the channel identifier and the port permission table is consistent, the channel identifier of the terminating end is modified to be consistent with the channel identifier of the initiating end; A data channel is established between the initiating end and the terminating end.

5. The loop filling method of the power grid communication system according to claim 1, characterized in that: Also includes: If the communication topology is a single-link topology, two communication nodes at the beginning and the end of the communication topology are selected as second ring-filling nodes; Obtaining a communication strength value between the second complementary ring nodes; Determining whether the communication strength value is greater than or equal to a preset communication threshold; If the communication strength value is greater than or equal to the communication threshold, performing a ring filling operation on the second ring filling node; If the communication strength value is less than the communication threshold, the second patching node is marked as a failed node, and the communication nodes adjacent to the second patching node determine a new second patching node, and the process jumps to executing the step of obtaining the communication strength value between the second patching nodes.

6. A loop filling device for a power grid communication system, characterized in that: Applied to power grid communication systems, including: A response module, configured to respond to a grid communication loop filling request and obtain a communication topology corresponding to the grid communication system; A judgment and analysis module, used to judge whether the communication topology diagram is a multi-branch topology diagram; a ring-filling communication topology acquisition module, configured to select any two non-adjacent communication nodes in the communication topology for connection if the communication topology is a multi-branch topology, to generate multiple ring-filling communication topologies; An influence value acquisition module, configured to determine an influence value corresponding to the patch ring communication topology diagram according to the patch ring communication topology diagram and a preset influence analysis model; The first loop-filling operation execution module is configured to select the loop-filling communication topology graph with the largest impact value as a target topology graph, and perform a loop-filling operation on the two communication nodes corresponding to the target topology graph.

7. The loop filling device of the power grid communication system according to claim 6, characterized in that: The impact value acquisition module includes: An influence feature graph acquisition submodule is used to select any communication node in the ring-filling communication topology graph as a target node, perform feature marking on the communication link associated with the target node, and generate multiple influence feature graphs; A node influence value acquisition submodule is used to input the influence characteristic diagram into a preset influence analysis model to generate a node influence value; A summing submodule, configured to sum all the node influence values ​​to generate a first sum value; The ratio processing submodule is used to perform ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topology diagram to generate an influence value corresponding to the complementary ring communication topology diagram.

8. The loop filling device of the power grid communication system according to claim 6, characterized in that: Also includes a second loop complement operation execution module: If the communication topology is a single-link topology, two communication nodes at the beginning and the end of the communication topology are selected as second ring-filling nodes; Obtaining a communication strength value between the second complementary ring nodes; Determining whether the communication strength value is greater than or equal to a preset communication threshold; If the communication strength value is greater than or equal to the communication threshold, performing a ring filling operation on the second ring filling node; If the communication strength value is less than the communication threshold, the second patching node is marked as a failed node, and the communication nodes adjacent to the second patching node determine a new second patching node, and the process jumps to executing the step of obtaining the communication strength value between the second patching nodes.

9. An electronic device, characterized in that: The system comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the loop filling method of the power grid communication system according to any one of claims 1 to 5.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed, the loop filling method of the power grid communication system according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Network topology system and building methods for topologies and routing tables thereof

    CN109391547A

  • Power distribution network fault big data analysis method and system based on GA-BP neural network

    CN113030633A