[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116633793A - Method, device, equipment and medium for supplementing ring of power grid communication system - Google Patents

Method, device, equipment and medium for supplementing ring of power grid communication system Download PDF

Info

Publication number
CN116633793A
CN116633793A CN202310754699.XA CN202310754699A CN116633793A CN 116633793 A CN116633793 A CN 116633793A CN 202310754699 A CN202310754699 A CN 202310754699A CN 116633793 A CN116633793 A CN 116633793A
Authority
CN
China
Prior art keywords
communication
ring
topological graph
supplementing
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310754699.XA
Other languages
Chinese (zh)
Inventor
余勇
钟少恒
陈志刚
陈捷
刘智聪
王翊
吕华良
王佳骏
蔡勇超
曹小冬
伦杰勇
彭丹
吴树钊
刘小林
詹泽宇
冼海炎
陈若兰
李嘉莹
段劭凯
姚锋
麦立昀
刘恪
罗雨豪
李恒弛
吴启明
林承勋
丁铖
林家树
郭泽豪
符春造
方美明
李鸿盛
陈瑾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Original Assignee
Guangdong Power Grid Co Ltd
Foshan Power Supply Bureau of Guangdong Power Grid Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Foshan Power Supply Bureau of Guangdong Power Grid Corp filed Critical Guangdong Power Grid Co Ltd
Priority to CN202310754699.XA priority Critical patent/CN116633793A/en
Publication of CN116633793A publication Critical patent/CN116633793A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application discloses a ring supplementing method, device, equipment and medium of a power grid communication system, which are used for responding to a power grid communication ring supplementing request, acquiring a communication topological graph corresponding to the power grid communication system, judging whether the communication topological graph is a multi-branch topological graph, if the communication topological graph is the multi-branch topological graph, selecting any two non-adjacent communication nodes in the communication topological graph to connect, generating a plurality of ring supplementing communication topological graphs, determining an influence value corresponding to the ring supplementing communication topological graph according to the ring supplementing communication topological graph and a preset influence analysis model, selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on two communication nodes corresponding to the target topological graph. The technical problems that the stability of a power grid communication system cannot be improved due to the risk of external breakage of the optical cable in the existing modes of optical cable looping, main network looping and the like are solved.

Description

Method, device, equipment and medium for supplementing ring of power grid communication system
Technical Field
The present application relates to the field of distribution network communications technologies, and in particular, to a method, an apparatus, a device, and a medium for supplementing a ring in a power grid communication system.
Background
The existing power grid communication system mostly adopts wireless or wired optical cables to carry out serial networking communication, and the mode enables the power grid communication system to have the advantages of simple networking links and convenient engineering construction, but has poor stability, and once one of the switches is offline, a series of switches at the back can be offline.
At present, the link of the power grid communication system is subjected to ring supplementing treatment mainly through optical cable ring forming, main network ring forming and other modes, but the risk of external breakage of the optical cable exists due to the optical cable ring forming, the main network ring forming and other modes, and the stability of the power grid communication system cannot be improved.
Disclosure of Invention
The application provides a method, a device, equipment and a medium for supplementing a loop of a power grid communication system, which solve the technical problems that the existing modes of optical cable loop formation, main network loop formation and the like have the risk of external breakage of the optical cable and cannot improve the stability of the power grid communication system.
The application provides a ring supplementing method of a power grid communication system, which is applied to the power grid communication system and comprises the following steps:
responding to a power grid communication ring supplementing request, and acquiring a communication topological graph corresponding to the power grid communication system;
judging whether the communication topological graph is a multi-branch topological graph or not;
if the communication topological graph is a multi-branch topological graph, any two non-adjacent communication nodes in the communication topological graph are selected to be connected, and a plurality of complementary ring communication topological graphs are generated;
determining an influence value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset influence analysis model;
and selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on two communication nodes corresponding to the target topological graph.
Optionally, the step of determining the impact value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset impact value model includes:
selecting any communication node in the complementary ring communication topological graph as a target node, and performing feature marking on communication links associated with the target node to generate a plurality of influence feature graphs;
inputting the influence characteristic diagram into a preset influence analysis model to generate a node influence value;
adding all the node influence values to generate a first sum value;
and carrying out ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
Optionally, the step of performing the ring repairing operation on the two communication nodes corresponding to the target topological graph includes:
determining two communication nodes corresponding to the target topological graph as first complementary link nodes;
selecting any one first complementary link point from the two first complementary link points as an initiating terminal, and the other first complementary link point as a terminating terminal;
acquiring a channel identifier of the termination end through the initiation end;
comparing the channel identifier with a preset port authority list;
and if the channel identifier is consistent with the comparison result of the port authority list, accessing the initiating terminal to the terminating terminal through a data channel.
Optionally, if the channel identifier is consistent with the comparison result of the port authority table, the step of accessing the originating terminal to the terminating terminal through a data channel includes:
if the channel identifier is consistent with the comparison result of the port authority list, modifying the channel identifier of the terminal to be consistent with the channel identifier of the initiating terminal;
and establishing a data channel between the initiating terminal and the terminating terminal.
Optionally, the method further comprises:
if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes;
acquiring a communication intensity value between the second complementary link points;
judging whether the communication intensity value is larger than or equal to a preset communication threshold value;
if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node;
and if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as invalid nodes, determining new second complementary link nodes by communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
The application provides a ring supplementing device of a power grid communication system, which is applied to the power grid communication system and comprises:
the response module is used for responding to the power grid communication ring supplementing request and obtaining a communication topological graph corresponding to the power grid communication system;
the judging and analyzing module is used for judging whether the communication topological graph is a multi-branch topological graph or not;
the ring-supplementing communication topology acquisition module is used for selecting any two non-adjacent communication nodes in the communication topology map to connect if the communication topology map is a multi-branch topology map, so as to generate a plurality of ring-supplementing communication topology maps;
the influence value acquisition module is used for determining an influence value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset influence analysis model;
the first ring supplementing operation executing module is used for selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on two communication nodes corresponding to the target topological graph.
Optionally, the impact value obtaining module includes:
the influence feature map acquisition sub-module is used for selecting any communication node in the complementary ring communication topological map as a target node, and carrying out feature marking on communication links associated with the target node to generate a plurality of influence feature maps;
the node influence value acquisition sub-module is used for inputting the influence characteristic diagram into a preset influence analysis model to generate a node influence value;
the adding processing sub-module is used for adding all the node influence values to generate a first sum value;
and the ratio processing sub-module is used for carrying out ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
Optionally, the method further comprises a second complementary ring operation execution module:
if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes;
acquiring a communication intensity value between the second complementary link points;
judging whether the communication intensity value is larger than or equal to a preset communication threshold value;
if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node;
and if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as invalid nodes, determining new second complementary link nodes by communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
An electronic device according to a third aspect of the present application includes a memory and a processor, where the memory stores a computer program, and the computer program when executed by the processor causes the processor to execute the steps of the method for supplementing a ring of the power grid communication system according to any one of the above.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon a computer program which when executed implements a method of supplementing a power grid communication system as described in any of the preceding claims.
From the above technical scheme, the application has the following advantages:
responding to an analysis request of an optimal ring supplementing node of a power grid communication system, acquiring a communication topological graph corresponding to the power grid communication system, judging whether the communication topological graph has at least two branch links, if the communication topological graph has at least two branch links, selecting any two non-adjacent communication nodes in the communication topological graph for connection, generating a plurality of ring supplementing communication topological graphs, determining an influence value corresponding to the ring supplementing communication topological graph according to the ring supplementing communication topological graph and a preset influence analysis model, selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on the two communication nodes corresponding to the target topological graph. The technical problems that the stability of a power grid communication system cannot be improved due to the risk of external breakage of the optical cable in the existing modes of optical cable looping, main network looping and the like are solved. The method has the advantages that the signal complementary ring of the star-shaped communication link is realized, the situation that the subsequently connected nodes cannot communicate due to the failure of one node is avoided, the complementary ring communication topology of a plurality of simulated complementary ring conditions is analyzed by adopting an influence analysis model, so that the optimal complementary ring connection point in the communication topology diagram is found out, and the stability of the power grid communication system is improved.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flowchart illustrating steps of a method for supplementing a loop of a power grid communication system according to an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of a method for supplementing a loop of a power grid communication system according to a second embodiment of the present application;
fig. 3 is a single link topology diagram a according to a second embodiment of the present application;
fig. 4 is a single link topology B provided in the second embodiment of the present application;
FIG. 5 is a multi-branch topology provided in a second embodiment of the present application;
fig. 6 is a block diagram of a ring repairing device of a power grid communication system according to a third embodiment of the present application.
Detailed Description
The embodiment of the application provides a method, a device, equipment and a medium for supplementing a loop of a power grid communication system, which are used for solving the technical problems that the existing modes of optical cable loop formation, main network loop formation and the like have the risk of external breakage of the optical cable and cannot improve the stability of the power grid communication system.
In order to make the objects, features and advantages of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for supplementing a ring of a power grid communication system according to an embodiment of the present application.
The application provides a ring supplementing method of a power grid communication system, which is applied to the power grid communication system and comprises the following steps:
and step 101, responding to a power grid communication ring supplementing request, and obtaining a communication topological graph corresponding to a power grid communication system.
The power network communication system refers to a communication link consisting of a plurality of electric room switches and terminals.
The power grid communication ring supplementing request refers to an analysis request sent by operation and maintenance personnel for finding out the best ring supplementing node of the power grid communication system.
The communication topological graph is characterized in that an electric room switch and a terminal in a power grid communication system are abstracted into nodes, an optical cable line is abstracted into lines, and the lines are represented in a topological graph mode.
In the embodiment of the application, the analysis request of the optimal complementary ring node of the power grid communication system is responded, and the communication topological graph corresponding to the power grid communication system is obtained.
Step 102, judging whether the communication topological graph is a multi-branch topological graph or not.
A multi-branch topology refers to a communication topology in which at least two branch links exist.
In the embodiment of the application, whether at least two branch links exist in the communication topological graph is judged.
And 103, if the communication topological graph is a multi-branch topological graph, selecting any two non-adjacent communication nodes in the communication topological graph to connect, and generating a plurality of complementary ring communication topological graphs.
The ring supplementing communication topological diagram refers to the situation that any two non-adjacent communication nodes are selected from the communication topological diagram to be connected, so that ring supplementing is performed through any two adjacent electric room switches on a power grid communication system in a topological diagram mode.
In the embodiment of the application, if at least two branch links exist in the communication topological graph, any two non-adjacent communication nodes in the communication topological graph are selected for connection, and a plurality of complementary ring communication topological graphs are generated.
And 104, determining an influence value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset influence analysis model.
In the embodiment of the application, a complementary ring communication topological graph is input into a pre-trained influence analysis model, wherein the influence analysis model comprises a complementary ring node marking network and an influence value analysis network, any two non-adjacent communication nodes in the communication topological graph are selected through the complementary ring node marking network to be connected, a plurality of complementary ring communication topological graphs are generated, any communication node in the complementary ring communication topological graph is selected as a target node, communication links associated with the target node are marked in characteristics, a plurality of influence feature graphs are generated, the influence feature graph is input into the influence value analysis network, node influence values corresponding to the influence feature graph are generated, all node influence values are added and processed to generate a first sum value, a first ratio of the first sum value to the communication link number value of the complementary ring communication topological graph is calculated, and the first ratio is determined as the influence value corresponding to the complementary ring communication topological graph.
And 105, selecting a ring-supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring-supplementing operation on two communication nodes corresponding to the target topological graph.
In the embodiment of the application, a ring-supplementing communication topological graph with the largest influence value is selected from a plurality of ring-supplementing communication topological graphs to serve as a target topological graph, and two communication nodes which are different from the communication topological graph in the target topological graph are subjected to ring-supplementing operation.
If the number of the required complementary rings is multiple, selecting a complementary ring communication topological graph with the largest influence value and a complementary ring communication topological graph with a suboptimal value from the multiple complementary ring communication topological graphs as target topological graphs, and performing the complementary ring operation on two communication nodes corresponding to the target topological graphs.
In the embodiment of the application, an analysis request of an optimal ring supplementing node of a power grid communication system is responded, a communication topological graph corresponding to the power grid communication system is obtained, whether at least two branch links exist in the communication topological graph is judged, if at least two branch links exist in the communication topological graph, any two non-adjacent communication nodes in the communication topological graph are selected to be connected, a plurality of ring supplementing communication topological graphs are generated, an influence value corresponding to the ring supplementing communication topological graph is determined according to the ring supplementing communication topological graph and a preset influence analysis model, the ring supplementing communication topological graph with the largest influence value is selected as a target topological graph, and the two communication nodes corresponding to the target topological graph are subjected to ring supplementing operation. The technical problems that the stability of a power grid communication system cannot be improved due to the risk of external breakage of the optical cable in the existing modes of optical cable looping, main network looping and the like are solved. The method has the advantages that the signal complementary ring of the star-shaped communication link is realized, the situation that the subsequently connected nodes cannot communicate due to the failure of one node is avoided, the complementary ring communication topology of a plurality of simulated complementary ring conditions is analyzed by adopting an influence analysis model, so that the optimal complementary ring connection point in the communication topology diagram is found out, and the stability of the power grid communication system is improved.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for supplementing a ring of a power grid communication system according to an embodiment of the present application.
The application provides a ring supplementing method of a power grid communication system, which is applied to the power grid communication system and comprises the following steps:
and step 201, responding to a power grid communication ring supplementing request, and obtaining a communication topological graph corresponding to a power grid communication system.
In the embodiment of the application, the analysis request of the optimal complementary ring node of the power grid communication system is responded, and the communication topological graph corresponding to the power grid communication system is obtained.
Step 202, judging whether the communication topological graph is a multi-branch topological graph or not.
In the embodiment of the application, whether the communication topological graph has at least two branch links is judged.
Further, the method also comprises the following steps:
s11, if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes.
In the embodiment of the present application, referring to fig. 3-4, if only one link exists in the communication topology, both the single-station link in fig. 3 and the dual-station link in fig. 4 are selected as the second ring-supplementing nodes.
In fig. 3-4, the communication node represents the location of the power distribution room interaction machine.
S12, acquiring a communication intensity value between the second complementary link nodes.
In the embodiment of the application, a power grid communication system is used for sending an instruction to inquire the communication intensity value between the second complementary link points.
It should be noted that, before the communication intensity value between the second complementary ring nodes is obtained, the position of the single chain is also found.
S13, judging whether the communication intensity value is larger than or equal to a preset communication threshold value.
The communication threshold refers to a signal strength value of the switch in stable operation, and generally takes 02FF.
In the embodiment of the application, whether the communication intensity value is larger than or equal to the signal intensity value of the switch in stable operation is judged.
And S14, if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node.
In the embodiment of the application, if the communication intensity value is greater than or equal to the signal intensity value of the switch in stable operation, the second ring repairing node is subjected to ring repairing operation.
And S15, if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as failure nodes, determining new second complementary link nodes by communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
The failure node refers to a communication node which cannot perform the ring supplementing operation.
In the embodiment of the application, if the communication intensity value is smaller than the signal intensity value of the switch in stable operation, the second complementary ring nodes are marked as invalid nodes, a new second complementary ring node is determined by the communication node adjacent to the second complementary ring node, and the step of obtaining the communication intensity value between the second complementary ring nodes is performed in a jumping manner.
Step 203, if the communication topology graph is a multi-branch topology graph, any two non-adjacent communication nodes in the communication topology graph are selected to connect, so as to generate a plurality of complementary ring communication topology graphs.
In the embodiment of the present application, referring to fig. 5, if at least two branch links exist in the communication topology, any two non-adjacent communication nodes in the communication topology are selected for connection, so as to generate a plurality of complementary ring communication topologies.
Step 204, selecting any communication node in the complementary ring communication topology graph as a target node, and performing feature marking on communication links associated with the target node to generate a plurality of influence feature graphs.
The target node refers to a communication node simulating faults in the power grid communication system.
In the embodiment of the application, any communication node in the complementary ring communication topological graph is selected as a target node to simulate line faults, and the communication links associated with the target node are marked with characteristics to generate a plurality of influence characteristic graphs.
Step 205, inputting the influence feature map into a preset influence analysis model to generate a node influence value.
In the embodiment of the application, the influence characteristic diagram is input into a preset influence analysis model to generate a node influence value.
In a specific implementation, the influence analysis model may be obtained by modifying and training any one of the convolutional neural network CNN (Convolutional Neural Networks), the regional convolutional neural network R-CNN (Region with CNN Feature), the fast R-CNN (Faster Region with CNN Feature), the Mask R-CNN (Mask Region with CNN Feature), the graphSAGE and other models, which is not limited in this embodiment.
In a preferred implementation manner, the impact analysis model in this embodiment may be obtained by modifying and training CNN, where in the conventional CNN model, the feature extraction is generally performed by adopting a structure of res net-FPN, but in this embodiment, the impact analysis model only includes 1 feature extraction network, 2 pooling layers and full-connection layers, where the feature extraction network is formed by sequentially connecting standard convolution layers of 1*1, first convolution layer, second convolution layer, activation function layer and 1*1, where in the first convolution layer, the kernel size is 9*9, the input channel is 1, the output channel is 16, the step size is 1, the filling is 1, in the second convolution, the kernel size is 3*3, the input channel is 16, the output channel is 32, the step size is 1, the filling is 1, the pooling layer is 3*3 maximum pool, the full-connection layer is 32×1 (L/4), the activation function layer of the model is a ReLU function, and the improved CNN model can calculate the corresponding impact feature map more accurately, and can identify the impact map more quickly than the existing network by comparing with the existing feature map.
In a preferred implementation mode, pi signals of all power distribution room interaction machines are measured first, power distribution room nodes are marked as PAi, all power distribution room nodes are connected in pairs, the number of machine rooms affected under different interrupt depths is calculated, all power distribution room nodes are built into a training set, the corresponding number of affected machine rooms is set as an affected sample label, the training set and the corresponding affected sample label are input into a preset affected analysis model for training, and any one or more combination strategies of a gradient descent method, a gradient accumulation method, a schedule and a gradient cutting method are introduced in the training process for optimizing training of model parameters.
In a specific implementation of this embodiment, first, a training set (feature matrix and labels are generated for all communication nodes) is used to train an improved CNN model, an arbitrary network is selected, feature matrix is generated for all communication nodes without labels, and then an influence feature map is input into a trained influence analysis model to generate a node influence value corresponding to the influence feature map.
And 206, adding all the node influence values to generate a first sum value.
In the embodiment of the application, the node influence values in all cases are added to generate a first sum.
And 207, performing ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
In the embodiment of the application, a first ratio between the first sum and the communication link number value of the complementary ring communication topological graph is calculated, and the first ratio is determined as an influence value corresponding to the complementary ring communication topological graph.
And step 208, selecting the ring-supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring-supplementing operation on two communication nodes corresponding to the target topological graph.
Further, step 208 includes the sub-steps of:
s21, determining two communication nodes corresponding to the target topological graph as first complementary ring nodes.
In the embodiment of the application, wireless gateways are distributed on two communication nodes corresponding to the target topological graph, and the wireless gateways are determined to be first complementary ring nodes.
It should be noted that, the wireless gateway is mainly used for connecting two different power distribution room networks, and meanwhile, the wireless gateway can also communicate with the power distribution room interaction machines on two sides at the same time. However, the two power distribution room interaction machines cannot directly communicate, and only need to communicate through a wireless gateway. The wireless gateway works in the application layer.
S22, selecting any one first complementary link point from the two first complementary link points as an initiating terminal, and the other first complementary link point as a terminating terminal.
In the embodiment of the application, after the first complementary ring nodes are provided with the wireless grids, any one first complementary ring node is selected from the two first complementary ring nodes to serve as an initiating terminal, and the other first complementary ring node serves as a terminating terminal.
S23, obtaining the channel identification of the terminal through the initiating terminal.
In the embodiment of the application, the channel identification of the wireless gateway at the termination end is obtained through the wireless gateway at the initiation end.
It should be noted that the channel is identified as a 32-bit channel identifier.
S24, comparing the channel identification with a preset port authority list.
The port authority table refers to a data list composed of a plurality of port identifiers.
In the embodiment of the application, the channel identifiers are matched with the port identifiers in the preset port authority table one by one.
S25, if the channel identification is consistent with the comparison result of the port authority list, modifying the channel identification of the terminal to be consistent with the channel identification of the initiating terminal.
In the embodiment of the application, when the channel identifier is matched with any port identifier Fu Shi, the channel identifier of the terminal is modified to be consistent with the channel identifier of the initiating terminal.
It should be noted that, when the channel identifier is not matched with any port identifier, an alarm signal is sent to the initiator, and the current terminal is prompted to be not matched with the initiator.
It should be noted that, only if the channel identifiers of the originating terminal and the terminating terminal are identical, the data channel can be established between the originating terminal and the terminating terminal.
S16, establishing a data channel between the initiating terminal and the terminating terminal.
In the embodiment of the application, GRE data channels between the initiating terminal and the terminating terminal are established, so that the interactive protocol is changed from three layers to two layers, and STP signals of the switch of the power distribution room and two-layer data packets of the interactive are passed.
In the embodiment of the application, an analysis request of an optimal ring supplementing node of a power grid communication system is responded, a communication topological graph corresponding to the power grid communication system is obtained, whether at least two branch links exist in the communication topological graph is judged, if at least two branch links exist in the communication topological graph, any two non-adjacent communication nodes in the communication topological graph are selected to be connected, a plurality of ring supplementing communication topological graphs are generated, an influence value corresponding to the ring supplementing communication topological graph is determined according to the ring supplementing communication topological graph and a preset influence analysis model, the ring supplementing communication topological graph with the largest influence value is selected as a target topological graph, and the two communication nodes corresponding to the target topological graph are subjected to ring supplementing operation. The technical problems that the stability of a power grid communication system cannot be improved due to the risk of external breakage of the optical cable in the existing modes of optical cable looping, main network looping and the like are solved. The method has the advantages that the signal patch for the star-shaped communication link is realized, the problem that the subsequently connected nodes cannot communicate due to the failure of one node is avoided, the patch communication topology of a plurality of simulated patch conditions is analyzed by adopting an influence analysis model, so that the optimal patch connection point in the communication topology diagram is found out, the routing protocol of the switch of the power distribution room can be automatically switched to another line for connection when the original link is damaged, and the stability of the power grid communication system is improved.
Referring to fig. 6, fig. 6 is a block diagram illustrating a ring repairing device of a power grid communication system according to an embodiment of the present application.
The application provides a ring supplementing device of a power grid communication system, which is applied to the power grid communication system and comprises:
the response module 601 is configured to respond to a power grid communication ring supplementing request, and obtain a communication topology diagram corresponding to a power grid communication system;
the judging and analyzing module 602 is configured to judge whether the communication topology map is a multi-branch topology map;
the supplementary ring communication topology acquisition module 603 is configured to select any two non-adjacent communication nodes in the communication topology map to connect if the communication topology map is a multi-branch topology map, so as to generate a plurality of supplementary ring communication topology maps;
the influence value obtaining module 604 is configured to determine an influence value corresponding to the supplementary ring communication topology map according to the supplementary ring communication topology map and a preset influence analysis model;
the first ring repairing operation executing module 605 is configured to select a ring repairing communication topology map with the largest influence value as a target topology map, and perform a ring repairing operation on two communication nodes corresponding to the target topology map.
Further, the impact value obtaining module 604 includes:
the influence characteristic diagram acquisition sub-module is used for selecting any communication node in the complementary ring communication topological diagram as a target node, and carrying out characteristic marking on communication links associated with the target node to generate a plurality of influence characteristic diagrams;
the node influence value acquisition sub-module is used for inputting the influence characteristic diagram into a preset influence analysis model to generate a node influence value;
the adding processing sub-module is used for adding all the node influence values to generate a first sum value;
and the ratio processing sub-module is used for carrying out ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
Further, the second complementary ring operation execution module 606 is further included:
if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes;
acquiring a communication intensity value between the second complementary link points;
judging whether the communication intensity value is larger than or equal to a preset communication threshold value;
if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node;
if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as failure nodes, determining new second complementary link nodes by the communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
Further, the first complementary ring operation executing module 605 includes:
the first link repairing node acquisition sub-module is used for determining two communication nodes corresponding to the target topological graph as a first link repairing node;
the terminal point setting sub-module is used for selecting any one first complementary link point from the two first complementary link points to serve as an initiating terminal, and the other first complementary link point serves as a terminating terminal;
the channel identifier comparison sub-module is used for acquiring the channel identifier of the terminal through the initiating terminal;
comparing the channel identifier with a preset port authority list;
and the data access submodule is used for accessing the initiating end into the terminating end through the data channel if the channel identification is consistent with the comparison result of the port authority list.
Further, the data access submodule includes:
the channel identification modification unit is used for modifying the channel identification of the terminal end to be consistent with the channel identification of the initiating end if the channel identification is consistent with the comparison result of the port authority table;
and the data channel construction unit is used for establishing a data channel between the initiating end and the terminating end.
The fourth embodiment of the present application also provides an electronic device, including: a memory and a processor, the memory storing a computer program; the computer program, when executed by a processor, causes the processor to perform the steps of the method for supplementing a ring in a power grid communication system as in any of the embodiments described above.
A fifth embodiment of the present application provides a computer readable storage medium having a computer program stored thereon, where the computer program when executed implements a method for supplementing a power grid communication system according to any of the embodiments of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The utility model provides a ring supplementing method of a power grid communication system, which is characterized in that the ring supplementing method is applied to the power grid communication system and comprises the following steps:
responding to a power grid communication ring supplementing request, and acquiring a communication topological graph corresponding to the power grid communication system;
judging whether the communication topological graph is a multi-branch topological graph or not;
if the communication topological graph is a multi-branch topological graph, any two non-adjacent communication nodes in the communication topological graph are selected to be connected, and a plurality of complementary ring communication topological graphs are generated;
determining an influence value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset influence analysis model;
and selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on two communication nodes corresponding to the target topological graph.
2. The method for supplementing a ring of a power grid communication system according to claim 1, wherein the step of determining the impact value corresponding to the ring supplementing communication topological graph according to the ring supplementing communication topological graph and a preset impact value model comprises the following steps:
selecting any communication node in the complementary ring communication topological graph as a target node, and performing feature marking on communication links associated with the target node to generate a plurality of influence feature graphs;
inputting the influence characteristic diagram into a preset influence analysis model to generate a node influence value;
adding all the node influence values to generate a first sum value;
and carrying out ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
3. The method for supplementing a ring of a power grid communication system according to claim 1, wherein the step of performing the ring supplementing operation on the two communication nodes corresponding to the target topology graph includes:
determining two communication nodes corresponding to the target topological graph as first complementary link nodes;
selecting any one first complementary link point from the two first complementary link points as an initiating terminal, and the other first complementary link point as a terminating terminal;
acquiring a channel identifier of the termination end through the initiation end;
comparing the channel identifier with a preset port authority list;
and if the channel identifier is consistent with the comparison result of the port authority list, accessing the initiating terminal to the terminating terminal through a data channel.
4. The method for supplementing a ring in a power grid communication system according to claim 3, wherein the step of accessing the originating terminal to the terminating terminal through the data channel if the channel identifier is consistent with the comparison result of the port authority table comprises:
if the channel identifier is consistent with the comparison result of the port authority list, modifying the channel identifier of the terminal to be consistent with the channel identifier of the initiating terminal;
and establishing a data channel between the initiating terminal and the terminating terminal.
5. The method for supplementing a power grid communication system according to claim 1, further comprising:
if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes;
acquiring a communication intensity value between the second complementary link points;
judging whether the communication intensity value is larger than or equal to a preset communication threshold value;
if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node;
and if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as invalid nodes, determining new second complementary link nodes by communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
6. The utility model provides a mend ring device of electric wire netting communication system which characterized in that is applied to electric wire netting communication system includes:
the response module is used for responding to the power grid communication ring supplementing request and obtaining a communication topological graph corresponding to the power grid communication system;
the judging and analyzing module is used for judging whether the communication topological graph is a multi-branch topological graph or not;
the ring-supplementing communication topology acquisition module is used for selecting any two non-adjacent communication nodes in the communication topology map to connect if the communication topology map is a multi-branch topology map, so as to generate a plurality of ring-supplementing communication topology maps;
the influence value acquisition module is used for determining an influence value corresponding to the supplementary ring communication topological graph according to the supplementary ring communication topological graph and a preset influence analysis model;
the first ring supplementing operation executing module is used for selecting the ring supplementing communication topological graph with the largest influence value as a target topological graph, and carrying out ring supplementing operation on two communication nodes corresponding to the target topological graph.
7. The loop compensation device of the power grid communication system according to claim 6, wherein the influence value obtaining module comprises:
the influence feature map acquisition sub-module is used for selecting any communication node in the complementary ring communication topological map as a target node, and carrying out feature marking on communication links associated with the target node to generate a plurality of influence feature maps;
the node influence value acquisition sub-module is used for inputting the influence characteristic diagram into a preset influence analysis model to generate a node influence value;
the adding processing sub-module is used for adding all the node influence values to generate a first sum value;
and the ratio processing sub-module is used for carrying out ratio processing on the first sum value and the communication link quantity value of the complementary ring communication topological graph to generate an influence value corresponding to the complementary ring communication topological graph.
8. The ring device of the grid communication system according to claim 6, further comprising a second ring operation execution module:
if the communication topological graph is a single-link topological graph, selecting two communication nodes at the head end and the tail end of the communication topological graph as second complementary ring nodes;
acquiring a communication intensity value between the second complementary link points;
judging whether the communication intensity value is larger than or equal to a preset communication threshold value;
if the communication intensity value is greater than or equal to the communication threshold value, performing ring repairing operation on the second ring repairing node;
and if the communication intensity value is smaller than the communication threshold value, marking the second complementary link nodes as invalid nodes, determining new second complementary link nodes by communication nodes adjacent to the second complementary link nodes, and skipping to execute the step of acquiring the communication intensity value between the second complementary link nodes.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method for supplementing a power grid communication system as claimed in any one of claims 1-5.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed, implements a method for supplementing a power grid communication system according to any one of claims 1-5.
CN202310754699.XA 2023-06-25 2023-06-25 Method, device, equipment and medium for supplementing ring of power grid communication system Pending CN116633793A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310754699.XA CN116633793A (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for supplementing ring of power grid communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310754699.XA CN116633793A (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for supplementing ring of power grid communication system

Publications (1)

Publication Number Publication Date
CN116633793A true CN116633793A (en) 2023-08-22

Family

ID=87592204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310754699.XA Pending CN116633793A (en) 2023-06-25 2023-06-25 Method, device, equipment and medium for supplementing ring of power grid communication system

Country Status (1)

Country Link
CN (1) CN116633793A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117575308A (en) * 2023-10-17 2024-02-20 中科宏一教育科技集团有限公司 Risk assessment method, device and equipment for distributed power distribution network and storage medium
CN118174983A (en) * 2024-03-13 2024-06-11 湖南湘能智能配电设备有限公司 Output circuit for looped network communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117575308A (en) * 2023-10-17 2024-02-20 中科宏一教育科技集团有限公司 Risk assessment method, device and equipment for distributed power distribution network and storage medium
CN118174983A (en) * 2024-03-13 2024-06-11 湖南湘能智能配电设备有限公司 Output circuit for looped network communication
CN118174983B (en) * 2024-03-13 2024-08-02 湖南湘能智能配电设备有限公司 Output circuit for looped network communication

Similar Documents

Publication Publication Date Title
CN116633793A (en) Method, device, equipment and medium for supplementing ring of power grid communication system
CN109802852B (en) Method and system for constructing network simulation topology applied to network target range
CN104244170B (en) The autonomous network-building method of bluetooth nodes of low-power consumption
CN108206757B (en) Wireless transmission fault alarm processing method and device
CN102594912A (en) Data processing method under server architecture, server and server architecture
CN113452576B (en) Method and device for monitoring network environment, storage medium and electronic device
CN114840990A (en) Power information physical system joint simulation system and method for regulation and control network
CN114553752A (en) Network performance testing method and device based on simulation software and computer equipment
CN110399423A (en) Processing method and processing device, storage medium and the electronic device of metadata genetic connection
CN111130917B (en) Line testing method, device and system
CN115549845A (en) Anti-interference communication method, device, equipment and readable storage medium
CN111935767B (en) Network simulation system
CN114040408A (en) Shooting range system based on 4G mobile network simulation environment
CN112181594A (en) Virtual machine live migration method, device, equipment and storage medium
CN105302682A (en) Server test method, device and system
CN103401791A (en) Method and equipment for identifying boundary port
CN107819594A (en) network failure locating method and device
CN114124727B (en) Network management communication pressure testing method and system
CN110896544A (en) Fault delimiting method and device
CN114501562A (en) Network switching method and device of power equipment and computer storage medium
CN114071467A (en) Shooting range system based on 4G mobile network simulation environment
CN102075364A (en) Method and equipment for determining direct link
CN112468336A (en) Network quality monitoring and early warning method, device, terminal and storage medium
CN111045993A (en) Method and device for processing primitive file in power system
CN114205392B (en) Information transmission method and device based on cloud platform and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination