Power process layer communication link redirection method and device, electronic equipment and medium
By monitoring link quality indicators in the process layer communication network and using SDN for dynamic path reconstruction, the problem of automatic reconstruction when the link is abnormal in the existing technology is solved, realizing fast self-healing and high-reliability transmission, and meeting the communication needs of smart substations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-13
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, process layer communication networks cannot quickly detect and automatically reconstruct paths when links are abnormal or deteriorated, resulting in delays or interruptions in the transmission of critical business data, affecting the safe and stable operation of the power grid. Furthermore, existing redundancy technologies cannot achieve dynamic load balancing and real-time path adjustment.
The system monitors link quality metrics through a dataset collection module, performs network-wide topology analysis and path reconstruction using software-defined networking (SDN), dynamically scores and redirects critical packet flows, utilizes link quality scoring functions and shortest healthy path algorithms to achieve automated path switching, and establishes a link health history table for optimization.
It enables rapid self-healing of the process layer communication network in the event of link anomalies or degradation, improves the network's sensitivity and response speed, and ensures high reliability and real-time transmission of critical business data.
Smart Images

Figure CN121842085A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power systems, and particularly relates to a power process layer communication link redirection method and device, electronic equipment and medium. BACKGROUND
[0002] In the intelligent substation and digital power system, the process layer network undertakes the real-time transmission task of key business data such as sampled value (SV), GOOSE (Generic Object Oriented Substation Event, generic object-oriented substation event) and the like, and is an important basis for realizing the functions of station protection, measurement and control, automation and the like. The process layer communication network usually adopts industrial Ethernet technology, is composed of nodes such as switches, IEDs (Intelligent Electronic Devices, intelligent electronic devices), sampling devices and the like, and forms a data transmission channel based on an Ethernet link. However, the traditional industrial Ethernet structure mostly adopts a static configuration fixed path mechanism, and the network devices mainly perform message forwarding and management based on a distributed control mode, lacking a global unified view and centralized control capability. Under this architecture, when problems such as packet loss, abnormal delay, link interruption, switch failure and the like occur in the network link, the communication path cannot be quickly perceived and automatically reconstructed, and manual intervention or reconfiguration of the network is required, resulting in protection action delay, loss of pressure plate remote control and locking functions, and threatening the safe and stable operation of the power grid.
[0003] In the prior art, some schemes improve the link reliability through redundant network design (such as PRP (Parallel Redundancy Protocol, parallel redundancy protocol), HSR (High-availability Seamless Redundancy, high-availability seamless redundancy) and the like industrial Ethernet redundancy technology). However, these technologies usually rely on a dual-network or ring-network structure, require deployment of a large number of physical links and redundant devices, increase the construction cost, and are still based on static redundancy switching, and are difficult to dynamically optimize according to the link quality changes. In addition, although part of the traditional Ethernet-based alarm monitoring system can detect link abnormalities, it cannot realize real-time path adjustment and dynamic load balancing of message flow.
[0004] With the development of software-defined network (SDN, Software-Defined Networking) technology, the academic and industrial circles also begin to explore the application of SDN to industrial control networks. The SDN controller can centrally manage the whole network topology and flow table rules, and provide flexible forwarding strategy configuration capabilities for industrial scenarios. However, most of the existing SDN-based researches focus on scenarios such as power distribution networks and enterprise network traffic scheduling. The research on link quality monitoring, dynamic anomaly detection and self-healing reconstruction algorithms for high real-time and strong security messages such as SV and GOOSE in the process layer of the substation is still in its infancy. Most researches only start from the functions of global flow table control and simple traffic load sharing, and have not established a complete link anomaly perception-reconstruction closed-loop mechanism. In particular, there is still a lack of mature solutions that can be engineered and landed in terms of comprehensive evaluation of multiple message streams and multiple link quality indicators and rapid reconstruction based on the shortest healthy path for the power process layer.
[0005] Therefore, there is still a lack of a complete technical solution that can perform real-time perception on the link state of the process layer, perform comprehensive analysis on multiple message links based on quality scoring, and automatically reconstruct the path, quickly complete message redirection, and achieve high-reliability self-healing of the process layer link when the link is abnormal or deteriorated. SUMMARY
[0006] In the prior art, the traditional industrial Ethernet adopts a fixed forwarding path configured statically, and cannot automatically detect and reconstruct the path when the network is abnormal. It usually relies on manual troubleshooting and configuration updates, which causes the key business data of the process layer to fail to be transmitted in a timely manner in the case of link deterioration or failure, affecting the reliable operation of the protection and measurement and control systems. Even if some solutions use redundant ring networks or dual-network structures, they can only implement switching based on a preset mechanism when the link is physically disconnected, and lack the ability to monitor and dynamically evaluate the link quality (such as packet loss rate and delay jitter) in real time. They cannot perform fine switching control according to the link performance deterioration, and the network resource utilization is low. At the same time, the existing solutions generally do not have the ability to centrally manage the whole network state, making it difficult to coordinate the comprehensive scheduling of multiple message links in a timely manner, and cannot flexibly adjust the strategy in complex network topology change scenarios.
[0007] Therefore, the embodiments of the present disclosure provide a process layer link fault fast self-healing method combining message quality monitoring, SDN control and path reconstruction mechanism, which realizes real-time perception and dynamic scoring of the link operating state, quickly completes path reconstruction and message flow redirection when the link is abnormal or deteriorated, improves the self-healing capability and reliability of the process layer communication network, and ensures the continuous and stable operation of the protection and control functions of the power system.
[0008] In a first aspect, the embodiments of the present disclosure provide a power process layer communication link redirection method, comprising: The key message flow in the process layer network is collected and analyzed by the data set collection module to obtain a link quality index; According to the link quality index, the state of the link is judged, and it is decided whether to perform link redirection according to the state; If yes, the process layer network is analyzed by the software defined network to obtain a target forwarding path and a new flow table forwarding rule, and the link redirection of the key message flow is completed; The new flow table forwarding rule is downloaded to each switch by the software defined network, the key message flow is forwarded according to the redirection link, the real-time link state of the redirection link is checked, the quality score of the redirection link is obtained, and it is decided whether to reselect the target forwarding path according to the quality score when the quality score is less than or equal to a set threshold; The key state index on the redirection link is recorded in the system log, and the link health history table is updated.
[0009] Optionally, the arrival time sequence of the GOOSE general object-oriented substation event message flow in the key message flow is collected, and the average value of the continuous GOOSE message flow frame interval is calculated; According to the continuity of the frame sequence number, the expected frame number and the actual received frame number of the SV sampling value message flow in the key message flow are counted, and the SV message flow packet loss rate is obtained; The link round-trip delay is obtained by detecting or counting the forwarding in the switch; The link quality score function is established according to the SV message flow packet loss rate and the link round-trip delay : Among them, And is a weight adjustment coefficient, which satisfies , is the SV message flow packet loss rate, is the link round-trip delay.
[0010] Optionally, when the SV message flow packet loss rate is greater than a packet loss threshold, it is determined that the link packet loss is serious; When the standard deviation of the average value of the continuous GOOSE message flow frame interval is greater than a frame interval fluctuation threshold, it is determined that the link has obvious GOOSE message flow sending period abnormality; When the continuous time period without receiving key message flow is greater than a link interruption duration threshold, it is determined that the link has an interruption; Based on the packet loss rate of the SV message stream and the standard deviation of the average frame interval of the continuous GOOSE message stream... Construct an anomaly monitoring trigger function with the aforementioned link round-trip delay: in, Indicates a link anomaly trigger flag, when At this time, link redirection is triggered; The packet loss rate threshold. The frame interval fluctuation threshold. This is the link round-trip delay threshold.
[0011] Optionally, if so, performing a full-network topology analysis on the process layer network using software-defined networking to obtain the target forwarding path and new flow table forwarding rules, and completing the link redirection of the key packet flow, includes: The process layer network is abstracted to obtain a directed graph. ,in, This represents the set of all nodes in the process layer network. This represents the set of links between nodes in the directed graph, where each edge of the directed graph represents an Ethernet physical link, and each edge is assigned a link quality weight. ; The target path function is optimized by searching the target path based on the link quality weights using the software-defined network. The target path function is as follows: in, This represents a feasible path from the source node to the destination node. Representing a path The first Strip edge, Representing an edge The link quality score is used to obtain the target forwarding path; The software-defined network generates the new flow table forwarding rules based on the node and port information in the target forwarding path; The new flow table forwarding rules are issued to complete the link redirection of the key packet flow.
[0012] Optionally, during the process of obtaining the target path, when the main path is determined to be abnormal, a backup path is searched. The weighted average of the link quality scores of all links on the backup path is greater than a preset link quality score threshold, and the links of the backup path do not overlap with those of the main path.
[0013] Optionally, the step of distributing the new flow table forwarding rules to each switch through the software-defined network, forwarding the key packet flow according to the redirection link, performing real-time link status verification on the redirection link to obtain the quality score of the redirection link, and determining whether to reselect the target forwarding path until the quality score is less than or equal to a set threshold based on the quality score includes: SV packet loss rate on the redirected link Average frame interval of continuous GOOSE message stream and the standard deviation of the average frame interval of consecutive GOOSE message streams , communication path round-trip delay Conduct monitoring; The health of the redirection link is determined using the following function: in, As a health check mark for the path, when When the redirection link meets the requirements, it is determined that the redirection link has been successfully redirected. , , These are the SV packet loss rate threshold, frame interval fluctuation threshold, and round-trip delay threshold, respectively. The packet loss rate of SV message stream under the redirected link. This represents the standard deviation of the average frame interval of consecutive GOOSE message streams under the redirected link. For the round-trip delay of the redirected link; when The target forwarding path is reselected to the redirection link. .
[0014] Optionally, the step of recording key status indicators on the redirected link in the system log and updating the link health history table for the key status indicators includes: Packet loss rate of the redirected link SV Standard deviation of the average frame interval of consecutive GOOSE message streams Link round-trip delay and link quality score Perform a write operation and write the data to the log system; Health history table of redirected links The update will be performed, and the update rules are as follows: in, Indicates link In timestamp Real-time health status record; This indicates the time point between the completion of link redirection and data update. Indicates the link under the new path SV message packet loss rate, Indicates the link under the new path The standard deviation of the average frame interval of the continuous GOOSE message stream. Indicates the link under the new path round-trip delays, Indicates link The state record at the time of update This is the current timestamp. This indicates the quality score of the redirected link.
[0015] Secondly, embodiments of this disclosure provide a power process layer communication link redirection device, comprising: Power process layer communication link redirection device.
[0016] Thirdly, embodiments of this disclosure provide an electronic device, the electronic device comprising: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the power process layer communication link redirection method as described in any one of the first aspects.
[0017] Fourthly, embodiments of this disclosure provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the power process layer communication link redirection method as described in any one of the first aspects.
[0018] In summary, compared with the prior art, this embodiment has the following advantages: 1. The embodiments of this application not only rely on physical redundant links, but also construct a comprehensive link score function through real-time link quality monitoring (including multi-dimensional indicators such as packet loss rate, frame interval jitter, and latency). This function can dynamically detect link performance degradation, rather than triggering switching only when the link is disconnected, thereby improving the sensitivity and accuracy of anomaly detection.
[0019] 2. The embodiments of this application are based on the centralized management of the entire network topology information by the SDN controller. Combined with the shortest healthy path search algorithm, it can automatically generate the optimal available path and switch in real time when the link quality deteriorates or fails, without manual intervention. Compared with the traditional technology that relies on static configuration, it has a faster response speed and higher flexibility.
[0020] 3. The embodiments of this application establish a mechanism for verifying and rolling back the quality of the redirected link to ensure that the redirected link meets the real-time and reliability requirements of the service. This is usually missing or relies on manual inspection in the prior art.
[0021] In summary, the embodiments of this application not only improve the automation and intelligence of link anomaly detection and path switching, but also continuously optimize subsequent path selection strategies by accumulating historical link health data, thereby better meeting the high reliability and high real-time communication requirements of critical business flows in the process layer of smart substations. Attached Figure Description
[0022] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to specific embodiments and accompanying drawings. Here, the illustrative embodiments and descriptions of this invention are used to explain the invention, but are not intended to limit the invention.
[0023] The term "comprising" and its variations as used herein signify open inclusion, i.e., "including but not limited to". Unless otherwise stated, the term "or" means "and / or". The term "based on" means "at least partially based on". The terms "one example embodiment" and "one embodiment" mean "at least one example embodiment". The term "another embodiment" means "at least one additional embodiment". The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0024] Figure 1 A flowchart illustrating a power process layer communication link redirection method provided in an embodiment of this application; Figure 2 A schematic diagram of a power process layer communication link redirection device provided in an embodiment of this application; Figure 3 This is an exemplary structural diagram of an apparatus capable of implementing the method according to an embodiment of the present application. Detailed Implementation
[0025] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0026] The following specific examples illustrate the implementation of this disclosure. Those skilled in the art can easily understand other advantages and effects of this disclosure from the content disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. This disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this disclosure. It should be noted that, in the absence of conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0027] It should be noted that various aspects of embodiments within the scope of the appended claims are described below. It will be apparent that the aspects described herein can be embodied in a wide variety of forms, and any particular structure and / or function described herein is merely illustrative. Based on this disclosure, those skilled in the art will understand that one aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects set forth herein can be used to implement the device and / or practice the method. Additionally, this device and / or method can be implemented using structures and / or functionalities other than one or more of the aspects set forth herein.
[0028] It should also be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of this disclosure. The drawings only show the components related to this disclosure and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0029] Furthermore, specific details are provided in the following description to facilitate a thorough understanding of the examples. However, those skilled in the art will understand that the described aspects can be practiced without these specific details.
[0030] Please see Figure 1 , Figure 1 The flowchart illustrating a power process layer communication link redirection method provided in this application embodiment can be executed by an electronic device, such as by one or more processors within the electronic device, to achieve the following steps: S101 collects and analyzes key message flows in the process layer network through the dataset collection module to obtain link quality indicators.
[0031] The process layer network of a smart substation includes various message flows, such as control and management message flows, network maintenance and synchronization message flows, equipment diagnostics and log message flows, and other auxiliary message flows. Among these, SV message flows and GOOSE message flows are critical. These critical message flows in the process layer network are identified and monitored in real time. By analyzing message characteristic fields (such as VLAN ID (Virtual Local Area Network Identifier), message type code, APPID, etc.), different service type messages are distinguished, and their traffic characteristics are statistically analyzed to obtain key link quality indicators, including message frame interval, packet loss rate, and link round-trip delay. Of course, other message flows in the process layer network can also be identified and monitored; this embodiment does not impose specific limitations on this.
[0032] Optionally, the arrival time sequence of GOOSE message streams in the key message stream is collected, and the average frame interval of consecutive GOOSE message streams is calculated. Based on the continuity of frame sequence numbers, the expected number of SV sampled value message streams and the actual number of received frames in the key message stream are statistically analyzed to obtain the packet loss rate of the SV message stream. The round-trip delay of a link can be obtained by probing or by statistically analyzing the forwarding within the switch.
[0033] A link quality score function is obtained based on the SV packet loss rate and the link round-trip delay. in, and The weighting adjustment coefficient satisfies , The packet loss rate of the SV message stream. The round-trip delay of the link.
[0034] Specifically, the arrival time series of GOOSE message streams in the key message stream are collected to obtain the GOOSE message stream arrival time series. And calculate the average frame interval of the continuous GOOSE message stream. : in, This indicates the total number of GOOSE message streams received during the sampling period. Indicates the first The arrival timestamp of each GOOSE message stream It reflects the average transmission periodicity of GOOSE message streams in the network. If the average frame interval of consecutive GOOSE message streams shows abnormal jitter or drift, it usually indicates a deterioration in link quality.
[0035] For SV message streams, the expected number of frames is calculated based on the continuity of their frame sequence numbers. With the actual number of received frames Calculate the packet loss rate of the SV message stream. : in, To estimate the theoretical number of frames that should be received within the standard period and sampling duration of the SV message stream, This represents the number of SV message stream frames actually successfully received. The larger the value, the more severe the packet loss in the link.
[0036] In addition, link round-trip delay can be obtained by probing or by analyzing the internal forwarding statistics of the switch. The link round-trip delay can be calculated by periodically sending heartbeat packets to each node through the controller and measuring the time difference of ACK (Acknowledge) return.
[0037] After obtaining the link quality metrics SV packet loss rate and link round-trip delay, a link quality scoring function is established based on the overall link performance requirements. : in, and The weighting adjustment coefficient satisfies This is used to balance the impact of SV message flow packet loss rate and link round-trip delay on overall link quality; Indicates the packet loss rate of the SV message stream. This represents the link round-trip delay. The link quality score function quantifies and scores the link quality, which is then used for subsequent path selection and redirection strategies.
[0038] Through the above embodiments, the effective identification of SV / GOOSE message flows and the real-time collection of multi-dimensional key indicators of link quality were achieved, providing basic data support for subsequent link anomaly detection and link redirection.
[0039] S102: Determine the link status based on the link quality indicators, and decide whether to redirect the link based on the status.
[0040] Specifically, after completing the identification of key message flows and the set of link quality indicators, threshold rules or triggering mechanisms can be set to determine whether the link is in an abnormal state, thereby deciding whether to enter the path redirection process.
[0041] First, the obtained link quality indicators are compared with the set thresholds to establish link anomaly judgment conditions.
[0042] Optionally, when the packet loss rate of the SV message stream exceeds the packet loss threshold, the link is determined to be severely packet-lossing. When the standard deviation of the average frame interval of consecutive GOOSE message streams is greater than the inter-frame fluctuation threshold, it is determined that there is an obvious abnormality in the GOOSE message stream transmission cycle of the link. When the continuous period of no critical message stream reception exceeds the threshold for link interruption duration, the link is determined to be interrupted. Based on the packet loss rate of SV message stream and the standard deviation of the average frame interval of continuous GOOSE message stream. Construct an anomaly monitoring trigger function for link round-trip latency: in, Indicates a link anomaly trigger flag, when At this time, link redirection is triggered; The packet loss rate threshold. The frame interval fluctuation threshold. This is the link round-trip delay threshold.
[0043] In other words, when the SV message packet loss rate Greater than the packet loss threshold At that time, that is The link is judged to have severe packet loss and degraded link quality; the standard deviation of the average frame interval of consecutive GOOSE packet streams. Greater than the frame interval fluctuation threshold At that time, that is The sending period of the GOOSE message stream was determined to be significantly abnormal; when it occurred within a continuous time period No critical business message streams (i.e., SV message streams or GOOSE message streams) were received internally. And the duration exceeds The link was determined to be interrupted.
[0044] Furthermore, by constructing an anomaly detection trigger function Unified link anomaly triggering logic, in which for: in, Indicates a link anomaly trigger flag, when If this occurs, it indicates that the current link operation status is experiencing packet loss, abnormal delays, or other faults that affect the real-time performance of the message stream, requiring the triggering of a subsequent link redirection process; This is the packet loss rate threshold, used to determine the severity of packet loss in the SV message stream; This is the frame interval fluctuation threshold, used to detect the frame interval stability of the GOOSE message stream; This is the link round-trip delay threshold. This indicates that there is a significant delay degradation in transmission; This is a threshold for the duration of link interruption, used to identify severe anomalies where critical message flows are completely lost within a certain period of time.
[0045] It should be noted that, in determining link anomalies, this application embodiment does not rely solely on a single indicator, but rather combines multiple indicators for comprehensive judgment to ensure accurate and reliable results. An anomaly detection trigger function automatically identifies the link's operational status. When a link is in an abnormal or degraded state, the status information is immediately uploaded to the SDN controller, which then performs link redirection and flow table update operations.
[0046] S103 analyzes the entire network topology through software-defined networking, obtains the target forwarding path and new flow table forwarding rules, and completes the link redirection of critical packet flows.
[0047] If the result of step S102 above indicates that the status is that link redirection is required, then the link redirection process will be executed.
[0048] Optionally, the process layer network can be abstracted to obtain a directed graph. ,in, This represents the set of all nodes in the process layer network. This represents the set of links between nodes in a directed graph. Each edge of the directed graph represents an Ethernet physical link, and each edge is assigned a link quality weight. ; The target path function is optimized by searching for the target path based on the link quality weights using a software-defined network. The target path function is as follows: in, This represents a feasible path from the source node to the destination node. Representing a path The first Strip edge, Representing an edge The link quality score is used to obtain the target forwarding path; Software-defined networking generates new flow table forwarding rules based on node and port information in the target forwarding path; The new flow table forwarding rules are issued to complete the link redirection of critical packet flows.
[0049] Specifically, when the anomaly monitoring trigger function At that time, the electronic device executes the path reconstruction algorithm through the SDN controller to perform a full network topology analysis on the process layer network, obtain the optimal target forwarding path and new flow table forwarding rules, and issue the new flow table forwarding rules to achieve rapid redirection of critical packet flow links.
[0050] First, electronic devices abstract process layer networks as directed graphs. ,in, This represents the set of all nodes in the network, including switches, IED devices, sampling devices, etc. This represents the set of directed links between nodes in a directed graph, where each edge... This corresponds to an actual physical Ethernet connection in the network, and the edges are assigned directionality according to the link direction. Each edge is assigned a weight. This weight is derived from the link quality score function in step S102. The calculated link quality score is used to reflect the transmission performance of the link in the directed graph model.
[0051] To select the optimal path, the SDN controller executes a shortest path search algorithm (such as Dijkstra's algorithm or A* algorithm) based on link quality weights, with the optimization objective being: in, This represents a feasible path from the source node to the destination node. Representing a path The first Strip edge, Representing an edge Link quality score; This is used to assign lower cost weights to links with higher quality (higher scores), thereby ensuring that the overall link quality of the searched paths is optimal.
[0052] Furthermore, during the process of obtaining the optimal target path, when the main path is determined to be abnormal, an alternative path is searched. The weighted average of the link quality scores of all links on the alternative path is greater than the preset link quality score threshold, and the links of the alternative path do not overlap with those of the main path.
[0053] Specifically, if the main path If the error is detected, the controller will further search for alternative paths within the topology. And meet the following conditions: in, This represents the weighted average of the quality scores of all links on the backup path, used to measure the overall health of the backup path; A preset path quality score threshold is used to ensure the availability of backup paths; This indicates that the backup path does not overlap with the primary path link, which enhances fault isolation and prevents the backup path from being affected after the primary path fails.
[0054] After path selection, the electronic device, via the SDN controller, determines the path based on the specified path. The system uses node and port information to generate new flow table forwarding rules and completes the link redirection of critical packet flows.
[0055] S104: The new flow table forwarding rules are distributed to each switch through the software-defined network. The key packet flow is forwarded according to the redirection link, and the link status of the redirection link is checked in real time to obtain the quality score of the redirection link. Based on the quality score, it is decided whether to reselect the target forwarding path until the quality score is less than or equal to the set threshold.
[0056] Electronic devices can distribute new flow table forwarding rules to various switches along the path via FlowMod (Flow Modification Message) messages, thereby enabling the distribution and installation of the corresponding new flow table forwarding rules. The distributed flow table rules include matching fields such as packet type code, VLAN ID, source MAC (Media Access Control), and destination MAC, which are used to accurately identify different service flows and achieve independent forwarding management of different service flows on the new path.
[0057] in, The FlowMod message indicates the newly selected optimal or backup path. It is a standard command protocol from the SDN controller to the switch, used to update the forwarding rules in the new flow table. This reconfiguration mechanism ensures that critical message flows such as SV / GOOSE can quickly switch to a new path after link failure or quality degradation, maintaining high availability and data transmission continuity in the process layer communication network.
[0058] Optionally, the SV packet loss rate for redirected links. Average GOOSE message frame interval and the standard deviation of the average frame interval of consecutive GOOSE message streams , communication path round-trip delay Conduct monitoring; The health of the redirection link can be determined using the following function: in, As a health check mark for the path, when When the redirection link meets the requirements, it is determined that the redirection link has been successfully redirected. , , These are the SV packet loss rate threshold, frame interval fluctuation threshold, and round-trip delay threshold, respectively. To determine the packet loss rate of SV message streams under redirected links, This represents the standard deviation of the average frame interval of consecutive GOOSE message streams under the redirected link. For the round-trip delay of the redirected link; when The target forwarding path is reselected to the redirection link. .
[0059] Specifically, after the SDN controller completes the path reconstruction algorithm and issues new flow table forwarding rules to each switch, electronic devices can forward critical packet flows such as SV and GOOSE to the new path. The system also performs real-time link status verification on the new path to ensure that the link quality in the new path meets business requirements.
[0060] First, after the new path is activated, link quality metrics under the new path are collected and continuously monitored, including SV packet loss rate. Average frame interval of continuous GOOSE message stream and the standard deviation of the average frame interval of consecutive GOOSE message streams , communication path round-trip delay Key indicators, and the effectiveness of the new path are judged according to the following verification rules: in, As a health check mark for the path, when When the new path is established, it is determined that the message flow has resumed normal transmission and the link quality meets the requirements. , , The packet loss rate threshold, frame interval fluctuation threshold, and round-trip delay threshold defined in step S102 are used to check whether the link performance is within the normal range. This indicates the packet loss rate of the SV message stream under the new path; It represents the standard deviation of the average frame interval of consecutive GOOSE message streams under the new path, and measures the stability of message cycle. This indicates the round-trip delay of the link under the new path.
[0061] If any key indicator in the new path is detected to exceed the set threshold, that is... The SDN controller immediately executes a rollback mechanism, switching critical packet flows to the previously stable path that was functioning normally, or re-executing the shortest healthy path search algorithm to select a suboptimal path. Until the new path .
[0062] S105: Record key status indicators on the redirected link using system logs and update the link health history table for key status indicators.
[0063] After the new path verification is passed, the SDN controller will write information such as link health data, key indicator values, and successful switchover timestamps under the new path to the log system, and update the link health history table at the same time. .
[0064] Optionally, adjust the packet loss rate of SV packets on the redirected link. Standard deviation of the average frame interval of consecutive GOOSE message streams Link round-trip delay and link quality score Perform a write operation and write the data to the log system; Health history table of redirected links The update will be performed, and the update rules are as follows: in, Indicates link In timestamp Real-time health status record; This indicates the time point between the completion of link redirection and data update. Indicates the link under the new path SV message packet loss rate; Indicates the link under the new path The standard deviation of the average frame interval of the continuous GOOSE message stream. Indicates the link under the new path round-trip delays, Indicates link The state record at the time of update This is the current timestamp. This indicates the quality score of the redirected link.
[0065] Specifically, after each link redirection, the SDN controller will update the current new path. Key status metrics for all links, including SV packet loss rate. Standard deviation of the average frame interval of consecutive GOOSE message streams Link round-trip delay and link quality score Information such as this is written to the system log and stored in the link health history table. This is for subsequent calls and analysis.
[0066] The update rules for the link health history table are as follows: in, Indicates link In timestamp Real-time health status record; This indicates the time point when the link reconstruction was completed and the data was updated, which is used for subsequent historical data tracing; Indicates the link under the new path SV message packet loss rate; Indicates the link under the new path The standard deviation of the average frame interval of consecutive GOOSE message streams; Indicates the link under the new path Round-trip delays; This represents the link quality score calculated based on the link quality score function defined in step S101.
[0067] In addition, the SDN controller writes key event information during this link redirection process to the system operation log, including the redirection trigger time, abnormal link identifier, path comparison information before and after redirection, verification results, and whether rollback occurred. These data items can be used in subsequent analysis: 1) Provides link redirection history reports to assist maintenance personnel in tracing back fault events and network status; 2) Analyze link stability trends based on historical data to identify potential failure points in advance; 3) Use it as a reference for link score in the next path redirection algorithm to establish an optimal model based on historical health and anomaly rate.
[0068] The embodiments of this application realize the long-term optimization and intelligent evolution of the process layer link self-healing function from the closed-loop control system of link anomaly triggering, link redirection, key message flow redirection, link quality verification, to log data accumulation.
[0069] In summary, this application embodiment constructs a complete, closed-loop method for rapid self-healing of power process layer communication links through multiple steps, including key message flow identification and link quality data collection, anomaly detection and triggering mechanisms, an SDN controller path reconstruction algorithm based on the shortest healthy path, message flow redirection and link quality verification under the new path, and link redirection event logs and health history data updates. The steps are interconnected, forming a full-process control mechanism from real-time perception and rapid reconstruction of link anomalies to new path verification feedback and continuous data accumulation and optimization. This application embodiment effectively solves the problems of slow link anomaly response, inability to dynamically switch, and lack of self-healing capabilities in existing technologies. It achieves rapid link redirection, automatic redirection of key message flows, and long-term network status optimization in the event of link quality degradation or failure in the process layer network, providing strong support for ensuring the reliability and security of critical business data communication in the process layer of smart substations.
[0070] In summary, compared with the prior art, this embodiment has the following advantages: 1. The embodiments of this application not only rely on physical redundant links, but also construct a comprehensive link score function through real-time link quality monitoring (including multi-dimensional indicators such as packet loss rate, frame interval jitter, and latency). This function can dynamically detect link performance degradation, rather than triggering switching only when the link is disconnected, thereby improving the sensitivity and accuracy of anomaly detection.
[0071] 2. The embodiments of this application are based on the centralized management of the entire network topology information by the SDN controller. Combined with the shortest healthy path search algorithm, it can automatically generate the optimal available path and switch in real time when the link quality deteriorates or fails, without manual intervention. Compared with the traditional technology that relies on static configuration, it has a faster response speed and higher flexibility.
[0072] 3. The embodiments of this application establish a mechanism for verifying and rolling back the quality of the redirected link to ensure that the redirected link meets the real-time and reliability requirements of the service. This is usually missing or relies on manual inspection in the prior art.
[0073] In summary, the embodiments of this application not only improve the automation and intelligence of link anomaly detection and path switching, but also continuously optimize subsequent path selection strategies by accumulating historical link health data, thereby better meeting the high reliability and high real-time communication requirements of critical business flows in the process layer of smart substations.
[0074] The second embodiment of the present invention provides a power process layer communication link redirection device, see [link to relevant documentation]. Figure 2 , Figure 2 A schematic diagram of a power process layer communication link redirection device provided in this application embodiment includes: The data acquisition and analysis module 210 is used to acquire and analyze key message flows in the process layer network to obtain link quality indicators; The link status determination module 220 is used to determine the status of the link based on the link quality indicators and decide whether to perform link redirection based on the status. The target path acquisition module 230 is used to perform full network topology analysis on the process layer network through software-defined networking, obtain the target forwarding path and new flow table forwarding rules, and complete the link redirection of key packet flows; The link status verification module 240 is used to forward the key message flow of the redirected link and perform real-time link status verification on the redirected link to obtain the quality score of the redirected link. Based on the quality score, it determines whether to reselect the target forwarding path until the quality score is less than or equal to a set threshold. The recording and updating module 250 is used to record key status indicators on the redirected link in the system log and update the link health history table for the key status indicators.
[0075] Optionally, the data acquisition and analysis module collects the arrival time series of the GOOSE general object-oriented substation event message stream in the key message stream and calculates the average frame interval of the continuous GOOSE message stream. Based on the continuity of frame sequence numbers, the expected number of SV sampled value message streams and the actual number of received frames in the key message stream are statistically analyzed to obtain the packet loss rate of the SV message stream. The link round-trip delay can be obtained by probing or by statistically analyzing the forwarding within the switch. Establish a link quality scoring function based on SV message flow packet loss rate and link round-trip delay. in, and The weighting adjustment coefficient satisfies , The packet loss rate of the SV message stream. This refers to the link round-trip delay.
[0076] Optionally, the link status determination module determines the link status according to the following rules: when the packet loss rate of the SV packet flow is greater than the packet loss threshold, the link is determined to be severely packet-lossing; When the standard deviation of the average frame interval of consecutive GOOSE message streams is greater than the inter-frame fluctuation threshold, it is determined that there is an obvious abnormality in the GOOSE message stream transmission cycle of the link. When the continuous period of no critical message stream reception exceeds the threshold for link interruption duration, the link is determined to be interrupted. Based on the packet loss rate of SV message stream and the standard deviation of the average frame interval of continuous GOOSE message stream. Construct an anomaly monitoring trigger function for link round-trip latency: in, Indicates a link anomaly trigger flag, when At this time, link redirection is triggered; The packet loss rate threshold. The frame interval fluctuation threshold. This is the link round-trip delay threshold.
[0077] Optionally, the target path acquisition module abstracts the process layer network to obtain a directed graph. ,in, This represents the set of all nodes in the process layer network. This represents the set of links between nodes in the directed graph. Each edge of the directed graph represents an Ethernet physical link, and each edge is assigned a link quality weight. ; The target path function is optimized by searching the target path based on link quality weights using the software-defined network. The target path function is as follows: in, This represents a feasible path from the source node to the destination node. Representing a path The first Strip edge, Representing an edge The link quality score is used to obtain the target forwarding path; Software-defined networking generates new flow table forwarding rules based on node and port information in the target forwarding path; The new flow table forwarding rules are issued to complete the link redirection of critical packet flows.
[0078] Optionally, during the process of obtaining the target path, if the main path is determined to be abnormal, the target path acquisition module searches for backup paths. The weighted average of the link quality scores of all links on the backup path is greater than a preset link quality score threshold, and the links of the backup path do not overlap with those of the main path.
[0079] Optionally, the link state verification module can check the SV packet loss rate of the redirected link. Average frame interval of continuous GOOSE message stream and the standard deviation of the average frame interval of consecutive GOOSE message streams , communication path round-trip delay Conduct monitoring; The health of the redirection link is determined using the following function: in, As a health check mark for the path, when When the redirection link meets the requirements, it is determined that the redirection link has been successfully redirected. , , These are the SV packet loss rate threshold, frame interval fluctuation threshold, and round-trip delay threshold, respectively. To determine the packet loss rate of SV message streams under redirected links, This represents the standard deviation of the average frame interval of consecutive GOOSE message streams under the redirected link. For the round-trip delay of the redirected link; when The target forwarding path is reselected to the redirected link. .
[0080] Optionally, the recording and updating module records the packet loss rate of SV messages on the redirected link. Standard deviation of the average frame interval of consecutive GOOSE message streams Link round-trip delay and link quality score Perform a write operation and write the data to the log system; Health history table of redirected links The update will be performed, and the update rules are as follows: in, Indicates link In timestamp Real-time health status record; This indicates the time point between the completion of link redirection and data update. Indicates the link under the new path SV message packet loss rate, Indicates the link under the new path The standard deviation of the average frame interval of the continuous GOOSE message stream. Indicates the link under the new path round-trip delays, Indicates link The state record at the time of update This is the current timestamp. This indicates the quality score of the redirected link.
[0081] In summary, the power process layer communication link redirection device provided in this application constructs a complete, closed-loop method for rapid self-healing of power process layer communication links through multiple steps, including key message flow identification and link quality data collection, anomaly detection and triggering mechanisms, an SDN controller path reconstruction algorithm based on the shortest healthy path, message flow redirection and link quality verification under the new path, and link redirection event logs and health history data updates. The steps are interconnected, forming a full-process control mechanism from real-time perception and rapid reconstruction of link anomalies to new path verification feedback and continuous data accumulation and optimization. This application effectively solves the problems of slow link anomaly response, inability to dynamically switch, and lack of self-healing capabilities in existing technologies. It achieves rapid link redirection, automatic redirection of key message flows, and long-term optimization of network status in process layer networks under link quality degradation or failure conditions, providing strong support for ensuring the reliability and security of critical business data communication in the process layer of smart substations.
[0082] A third embodiment of the present invention also provides an electronic device, the electronic device comprising: At least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the power process layer communication link redirection method of any of the foregoing embodiments.
[0083] The fourth embodiment of the present invention also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the power process layer communication link redirection method of any of the foregoing embodiments.
[0084] The fifth embodiment of the present invention also provides a computer program product, which includes a computing program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions that, when executed by a computer, cause the computer to perform the power process layer communication link redirection method of any of the foregoing embodiments.
[0085] The sixth embodiment of the present invention also provides a computer program, which includes program instructions that, when executed by a computer, cause the computer to execute the power process layer communication link redirection method of any of the foregoing embodiments.
[0086] Figure 3This illustration provides a method or device 1000 for implementing embodiments of the present invention. In some embodiments, it may include more or fewer devices than illustrated. In some embodiments, it may be implemented using a single or multiple devices. In some embodiments, it may be implemented using cloud-based or distributed devices.
[0087] like Figure 3 As shown, device 1000 includes a processor 1001, which can perform various appropriate operations and processes based on programs and / or data stored in read-only memory (ROM) 1002 or programs and / or data loaded from storage portion 1008 into random access memory (RAM) 1003. Processor 1001 may be a multi-core processor or may contain multiple processors. In some embodiments, processor 1001 may include a general-purpose main processor and one or more special coprocessors, such as a central processing unit (CPU), graphics processing unit (GPU), neural network processor (NPU), digital signal processor (DSP), etc. Various programs and data required for the operation of device 1000 are also stored in RAM 1003. Processor 1001, ROM 1002, and RAM 1003 are interconnected via bus 1004. Input / output (I / O) interface 1005 is also connected to bus 1004.
[0088] The processor and memory described above are used together to execute programs stored in the memory. When the program is executed by a computer, it can implement the methods, steps, or functions described in the above embodiments.
[0089] The following components are connected to I / O interface 1005: an input section 1006 including a keyboard, mouse, touchscreen, etc.; an output section 1007 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to I / O interface 1005 as needed. A removable medium 1011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 1010 as needed so that computer programs read from it can be installed into storage section 1008 as needed. Figure 3 The diagram only shows a portion of the components and does not imply that the device 1000 only includes... Figure 3 The components shown.
[0090] The systems, devices, modules, or units described in the above embodiments can be implemented by a computer or its associated components. The computer may be, for example, a mobile terminal, smartphone, personal computer, laptop computer, in-vehicle human-machine interface device, personal digital assistant, media player, navigation device, game console, tablet computer, wearable device, smart TV, Internet of Things system, smart home, industrial computer, server, or a combination thereof.
[0091] Although not shown, in this embodiment of the invention, a computer-readable storage medium is provided that stores a computer program / instruction thereon, which, when executed by a processor, implements the power process layer communication link redirection method described in Embodiment 1.
[0092] Storage media in embodiments of the present invention include articles that are permanent and non-permanent, removable and non-removable, capable of storing information by any method or technology. Examples of storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.
[0093] Although not shown, embodiments of the present invention also provide a computer program product, including: a computer program / instruction that, when executed by a processor, implements the power process layer communication link redirection method described in Embodiment 1.
[0094] The methods, programs, systems, apparatuses, etc., in embodiments of the present invention can be executed or implemented in one or more networked computers, or practiced in a distributed computing environment. In the embodiments of this specification, in these distributed computing environments, tasks can be performed by remote processing devices connected via a communication network.
[0095] Those skilled in the art will understand that the embodiments described in this specification can be provided as methods, systems, or computer program products. Therefore, those skilled in the art will realize that the functional modules / units or controllers and related method steps described in the above embodiments can be implemented in software, hardware, or a combination of both.
[0096] Unless explicitly stated otherwise, the actions or steps of the methods and procedures described in the embodiments of the present invention do not necessarily have to be performed in a specific order and can still achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0097] This document describes several embodiments of the present invention; however, for the sake of brevity, the descriptions of the embodiments are not exhaustive, and identical or similar features or parts between the embodiments may be omitted. In this document, "one embodiment," "some embodiments," "example," "specific example," or "some examples" refers to embodiments applicable to at least one, but not all, of the present invention. The above terms do not necessarily refer to the same embodiments or examples. Without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described herein, as well as the features of the different embodiments or examples.
[0098] The exemplary systems and methods of the present invention have been specifically shown and described with reference to the foregoing embodiments, which are merely examples of the best mode for implementing the systems and methods. Those skilled in the art will understand that various changes can be made to the embodiments of the systems and methods described herein without departing from the spirit and scope of the invention as defined in the appended claims when implementing the systems and / or methods.
Claims
1. A method for redirecting communication links at the power process layer, characterized in that, include: The dataset acquisition module collects and analyzes key message flows in the process layer network to obtain link quality indicators. Based on the link quality indicators, determine the link status, and decide whether to perform link redirection based on the status. If so, perform a full-network topology analysis on the process layer network using software-defined networking to obtain the target forwarding path and new flow table forwarding rules, and complete the link redirection of the key packet flow; The software-defined network distributes the new flow table forwarding rules to each switch, forwards the key packet flow according to the redirection link, performs real-time link status verification on the redirection link, obtains the quality score of the redirection link, and decides whether to reselect the target forwarding path until the quality score is less than or equal to a set threshold based on the quality score. The system logs key status indicators on the redirected link and updates the link health history table for the key status indicators.
2. The power process layer communication link redirection method according to claim 1, characterized in that, The process involves collecting and analyzing key message flows in the process layer network through a dataset acquisition module to obtain link quality indicators, including: The arrival time sequence of the GOOSE general object-oriented substation event message stream in the key message stream is collected, and the average frame interval of the continuous GOOSE message stream is calculated. Based on the continuity of frame sequence numbers, the expected number of SV sampled value message streams and the actual number of received frames in the key message stream are statistically analyzed to obtain the packet loss rate of the SV message stream. The link round-trip delay can be obtained by probing or by statistically analyzing the forwarding within the switch. A link quality score function is established based on the SV packet loss rate and the link round-trip delay. in, and The weighting adjustment coefficient satisfies , The packet loss rate of the SV message stream. The round-trip delay of the link.
3. The power process layer communication link redirection method according to claim 2, characterized in that, The step of determining the link status based on the link quality indicators and deciding whether to perform link redirection based on the status includes: When the packet loss rate of the SV message stream exceeds the packet loss threshold, the link is deemed to have severe packet loss. When the standard deviation of the average frame interval of the continuous GOOSE message stream is greater than the inter-frame fluctuation threshold, it is determined that there is an obvious abnormality in the GOOSE message stream transmission cycle of the link. When the continuous period of no critical message stream reception exceeds the threshold for link interruption duration, the link is determined to be interrupted. Based on the packet loss rate of the SV message stream and the standard deviation of the average frame interval of the continuous GOOSE message stream... Construct an anomaly monitoring trigger function with the aforementioned link round-trip delay: in, Indicates a link anomaly trigger flag, when At this time, link redirection is triggered; The packet loss rate threshold. The frame interval fluctuation threshold. This is the link round-trip delay threshold.
4. The power process layer communication link redirection method according to claim 1, characterized in that, If so, the process layer network is analyzed using a software-defined network to obtain the target forwarding path and new flow table forwarding rules, and the link redirection of the critical packet flow is completed, including: The process layer network is abstracted to obtain a directed graph. ,in, This represents the set of all nodes in the process layer network. This represents the set of links between nodes in the directed graph, where each edge of the directed graph represents an Ethernet physical link, and each edge is assigned a link quality weight. ; The target path function is optimized by searching the target path based on the link quality weights using the software-defined network. The target path function is as follows: in, This represents a feasible path from the source node to the destination node. Representing a path The first Strip edge, Representing an edge The link quality score is used to obtain the target forwarding path; The software-defined network generates the new flow table forwarding rules based on the node and port information in the target forwarding path; The new flow table forwarding rules are issued to complete the link redirection of the key packet flow.
5. The power process layer communication link redirection method according to claim 4, characterized in that, During the process of obtaining the target path, when the main path is determined to be abnormal, a backup path is searched. The weighted average of the link quality scores of all links on the backup path is greater than a preset link quality score threshold, and the links of the backup path do not overlap with those of the main path.
6. The power process layer communication link redirection method according to claim 1, characterized in that, The process of distributing the new flow table forwarding rules to each switch through the software-defined network, forwarding the key packet flow according to the redirection link, performing real-time link status verification on the redirection link, obtaining the quality score of the redirection link, and determining whether to reselect the target forwarding path until the quality score is less than or equal to a set threshold based on the quality score includes: SV packet loss rate on the redirected link Average frame interval of continuous GOOSE message stream and the standard deviation of the average frame interval of consecutive GOOSE message streams , communication path round-trip delay Conduct monitoring; The health of the redirection link is determined using the following function: in, As a health check mark for the path, when When the redirection link meets the requirements, it is determined that the redirection link has been successfully redirected. , , These are the SV packet loss rate threshold, frame interval fluctuation threshold, and round-trip delay threshold, respectively. The packet loss rate of SV message stream under the redirected link. This represents the standard deviation of the average frame interval of consecutive GOOSE message streams under the redirected link. For the round-trip delay of the redirected link; when The target forwarding path is reselected to the redirection link. .
7. The power process layer communication link redirection method according to claim 1, characterized in that, The step of recording key status indicators on the redirected link in the system log and updating the link health history table for the key status indicators includes: Packet loss rate of the redirected link SV Standard deviation of the average frame interval of consecutive GOOSE message streams Link round-trip delay and link quality score Perform a write operation and write the data to the log system; Health history table of redirected links The update will be performed, and the update rules are as follows: in, Indicates link In timestamp Real-time health status record; This indicates the time point between the completion of link redirection and data update. Indicates the link under the new path SV packet loss rate Indicates the link under the new path The standard deviation of the average frame interval of the continuous GOOSE message stream. Indicates the link under the new path round-trip delays, Indicates link The state record at the time of update This is the current timestamp. This indicates the quality score of the redirected link.
8. A power process layer communication link redirection device, characterized in that, include: The data acquisition and analysis module is used to collect and analyze key message flows in the process layer network to obtain link quality indicators; The link status determination module is used to determine the status of the link based on the link quality indicators, and decide whether to perform link redirection based on the status. The target path acquisition module is used to perform a full-network topology analysis on the process layer network through software-defined networking, obtain the target forwarding path and new flow table forwarding rules, and complete the link redirection of the key packet flow; The link status verification module is used to forward the key packet flow of the redirected link and perform real-time link status verification on the redirected link to obtain the quality score of the redirected link. Based on the quality score, it determines whether to reselect the target forwarding path until the quality score is less than or equal to a set threshold. The recording and updating module is used to record key status indicators on the redirected link in the system log and update the link health history table for key status indicators.
9. An electronic device, characterized in that, The electronic device includes: At least one processor; and a memory communicatively connected to said at least one processor; The memory stores instructions that can be executed by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the power process layer communication link redirection method according to any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium, characterized in that, The non-transitory computer-readable storage medium stores computer instructions for causing the computer to execute the power process layer communication link redirection method according to any one of claims 1 to 7.