GOOSE and SV broken link fault positioning method and system based on switch, storage medium and equipment
By detecting the connection status of the switch port, FCS packet loss and forwarding packet loss, combining the periodic acquisition of port status information and traffic statistics, check whether there are abnormalities in the switch network, port traffic and configuration, and quickly locate the GOOSE and SV link breakage faults in the smart substation, solving the problem of inefficient troubleshooting in the existing technology, and achieving efficient fault location.
Patent Information
- Application Number
- CN202411787922.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-06
AI Technical Summary
In the process layer network of smart substations, GOOSE and SV link failures often lead to inefficient troubleshooting, causing difficulties to engineers.
By detecting the connection status of the switch forwarding GOOSE and SV packet ports, FCS packet loss and forwarding packet loss, combined with periodic acquisition of port status information and traffic statistics, check whether there are abnormalities in the switch network, port traffic and configuration, and quickly locate faults.
It realizes rapid positioning of GOOSE and SV chain breakage faults, reduces troubleshooting time, improves work efficiency, and improves the accuracy of fault location through rigorous judgment logic and abnormal analysis.
Smart Images

Figure CN119766635A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power automation, and in particular to a switch-based GOOSE and SV link break fault locating method, system, storage medium and device. Background Art
[0002] The smart substation network is the main carrier of information interaction and sharing of smart substations. Whether it can operate safely and stably is the determining factor for the stable and reliable operation of the power system. The smart substation network adopts a "three-layer two-network structure", including a station control layer network and a process layer network. In the common process layer network, the intelligent terminal / merging unit sends the substation GOOSE and sampled value SV messages oriented to the general object, which are forwarded to the measurement and control / protection device through the process layer switch to realize the secondary circuit information communication. However, due to the large number of devices connected to the process layer network and the complex network structure, during the on-site commissioning and operation of the project, the measurement and control / protection device often has GOOSE and SV disconnection, especially in the operating substation, which has a probability of disconnection when it is sometimes connected and sometimes disconnected, which makes it very difficult for engineering personnel to troubleshoot the fault. Once the GOOSE and SV disconnection fault occurs, the engineering personnel need to spend a lot of manpower and time to manually check the wiring and configuration to troubleshoot the fault, and sometimes the cause of the fault cannot be clearly determined. This method is very inefficient, which is labor-intensive and inconvenient. Therefore, it is very necessary and urgent to provide a switch-based GOOSE and SV disconnection fault location method. Summary of the invention
[0003] Purpose of the invention: The purpose of the present invention is to provide a switch-based GOOSE and SV link break fault location method, system, storage medium and device to achieve rapid location of GOOSE and SV link break faults in a complex network environment.
[0004] Technical solution: To achieve the above-mentioned purpose, the present invention discloses a switch-based GOOSE and SV link break fault locating method, comprising detecting the connection status of the switch forwarding port of the general object-oriented substation GOOSE and the sampling value SV message. If the port connection is disconnected, it is prompted that the switch port status is abnormal. Otherwise, the FCS packet loss of the switch forwarding port of GOOSE and SV messages is detected. If the port has a frame detection sequence error FCS packet loss, it is prompted that the physical link of the switch port is abnormal. Otherwise, the forwarding packet loss of the switch forwarding port of GOOSE and SV messages is detected. If the port has forwarding packet loss, the switch networking, switch port traffic, and switch configuration are checked for abnormalities. If the port does not have forwarding packet loss or the switch networking, switch port traffic, and switch configuration are not abnormal, the correctness of the device GOOSE and SV messages is checked.
[0005] The connection status information of the switch port is periodically obtained to detect the connection status of the switch port forwarding GOOSE and SV message.
[0006] The flow statistics information of the switch port is periodically obtained to detect the FCS packet loss or forwarding packet loss of the switch port forwarding GOOSE and SV messages.
[0007] Among them, the method for checking whether there are abnormalities in the switch networking, switch port traffic, and switch configuration is: periodically obtain the MAC address information of each cascade port of the switch, compare the cascade port Ethernet MAC address information, if there is MAC address drift, it indicates that the switch networking is abnormal, otherwise periodically obtain the traffic statistics information of the switch port, sort the switch port input traffic according to size, and disable the enable status of the port with the largest traffic one by one to detect whether the forwarding packet loss of the port forwarding GOOSE and SV messages is cleared, if the port forwarding packet loss is cleared, it indicates that the switch traffic is abnormal, and the disabled port is an abnormal port, otherwise obtain the switch configuration for GOOSE and SV message suppression, if the suppression value is 0, it indicates that the networking is normal, and check the correctness of the device GOOSE and SV messages, if the suppression value is not 0, first rewrite the suppression value to 0, detect whether the forwarding packet loss of the port connecting the device and the switch is cleared, if the port forwarding packet loss is cleared, it indicates that the switch configuration is abnormal, if the port still has forwarding packet loss, it is restored to the suppression value before modification, indicating that the networking is normal, and check the correctness of the device GOOSE and SV messages.
[0008] The connection status information of the switch port, the traffic statistics information of the switch port, the MAC address information of each cascade port of the switch or the configuration of the switch on GOOSE and SV message suppression is obtained through the hypertext transfer HTTP protocol, the network management SNMP protocol or the IEC 61850 communication protocol.
[0009] The abnormal prompt processing method includes:
[0010] If the switch port connection status is abnormal, check the operation and connection status of the switch or device connected to the switch, including whether the switch or device is restarted or the port connection is abnormal;
[0011] If the switch port physical link is abnormal, check whether there is transmission packet loss in the optical module or the optical fiber;
[0012] If the switch networking is abnormal, check whether the switch cascade port has a ring network;
[0013] If the switch port traffic is abnormal, check whether there is a network storm in the port's input traffic;
[0014] If the switch configuration is abnormal, check whether the suppression configuration value of the switch is too low.
[0015] The present invention discloses a switch-based GOOSE and SV link break fault location system, comprising the following modules:
[0016] Port connection status detection module: used to detect the connection status of the switch forwarding GOOSE and SV message ports. If the port is disconnected, it indicates that the switch port status is abnormal. Otherwise, the port FCS packet loss detection module is executed.
[0017] Port FCS packet loss detection module: used to detect the FCS packet loss of the switch forwarding GOOSE and SV message ports. If FCS packet loss occurs on the port, it indicates that the physical link of the switch port is abnormal. Otherwise, the port forwarding packet loss detection module is executed.
[0018] Port forwarding packet loss detection module: used to detect the forwarding packet loss of the switch forwarding GOOSE and SV message ports. If forwarding packet loss occurs on the port, the abnormality troubleshooting module is executed, otherwise the message inspection module is executed;
[0019] Abnormality checking module: used to check whether there are abnormalities in switch networking, switch port traffic, and switch configuration. If there are no abnormalities, the message inspection module is executed.
[0020] Message checking module: used to check the correctness of the device GOOSE and SV messages.
[0021] The system is deployed in the networking environment of the process layer network of the smart substation, and locates faults by obtaining the status information of the process layer switches.
[0022] The present invention provides a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device executes any one of the above-mentioned switch-based GOOSE and SV link break fault locating methods.
[0023] A device described in the present invention includes one or more processors, one or more memories and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the above-mentioned switch-based GOOSE and SV link break fault location methods.
[0024] Beneficial effects: The present invention has the following advantages: 1. The present invention provides a systematic troubleshooting method with strong adaptability to engineering sites. It utilizes the existing port status information, port traffic statistics, port MAC address information, and GOOSE and SV message suppression configuration information of the process layer switch of the smart substation to quickly locate the scope of GOOSE and SV link break faults, reduce troubleshooting time, and improve work efficiency; 2. The present invention makes fault location more accurate through rigorous judgment logic and abnormal analysis, which helps engineering personnel to quickly find the cause of the fault and reduce misjudgment and repeated troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 A topological diagram of a process layer network of a substation in an embodiment;
[0026] Figure 2 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0027] The technical solution of the present invention is described in detail below in conjunction with the embodiments and drawings.
[0028] like Figure 1 The figure shows the topology of the process layer network of a substation. The process layer network adopts a star connection and consists of five interval subnets, including two 110KV line interval subnets, two main transformer interval subnets and a busbar interval subnet. Figure 1 The 21 ports connecting the IED and the switch are numbered in sequence, and the IED devices corresponding to the port numbers are shown in Table 1.
[0029] Table 1 Device correspondence table for corresponding ports connected to switches at all levels
[0030]
[0031]
[0032] When the substation was put into operation, it functioned normally without any alarm. Assume that after the substation has been in operation for a period of time, GOOSE1 disconnection occurs in line protection measurement and control 1, GOOSE2 disconnection occurs in line protection measurement and control 6, SV1 disconnection occurs in main transformer protection measurement and control 12, SV2 disconnection occurs in main transformer protection measurement and control 18, and GOOSE3 and SV3 disconnection occurs in busbar protection measurement and control 19. All disconnections have restoration conditions. After checking any lines and configurations, the engineering staff cannot determine the cause of the disconnection. Through the following steps, such as Figure 2 As shown, the method of the present invention can quickly locate GOOSE and SV link failures. Table 2 shows the secondary loop topology of SV1-SV3 and GOOSE1-GOOSE3 message transmission and reception.
[0033] Table 2 Secondary loop topology table for SV1-SV3 and GOOSE1-GOOSE3 message transmission and reception
[0034] Control Block Multicast Address Transmitter Receiving device GOOSE1 01-0c-cd-01-00-01 Line merging unit 3 Line protection measurement and control 1 GOOSE2 01-0c-cd-01-00-02 Line merging unit 4 Line protection measurement and control 6 GOOSE3 01-0c-cd-01-00-03 Bus intelligent terminal 20 Busbar protection and control19 SV1 01-0c-cd-04-00-01 Main transformer low voltage side merging unit 7 Main transformer protection and control 12 SV2 01-0c-cd-04-00-02 Main transformer low voltage side merging unit 13 Main transformer protection and control 18 SV3 01-0c-cd-04-00-03 Busbar electric repulsion merging unit 21 Busbar protection and control19
[0035] 1. Periodically obtain the connection status information of all switch ports through the SNMP protocol, and detect the connection status of the ports that forward GOOSE1-GOOSE3 and SV1-SV3 messages. It is detected that Port3 of Line 1 switch is down and then up again after a period of time. According to the secondary loop topology, Line Merging Unit 3 sends GOOSE1 message to Line Protection Measurement and Control 1 through Port3 of Line 1 switch. Therefore, the GOOSE1 link break fault indicates that the port status of Port3 of Line 1 switch is abnormal. Check the operation and connection status of the switch or device connected to the switch, and finally find that the line merging unit 3 has restarted, and the GOOSE1 link break fault is successfully located. If the status of the ports forwarding other GOOSE and SV link break messages is not down, execute 2.
[0036] 2. Use the SNMP protocol to periodically obtain traffic statistics information of all switch ports, and detect FCS packet loss in the traffic statistics of ports that forward GOOSE2-GOOSE3 and SV1-SV3 messages. Port4 of line 2 switch was detected, receiving 843 frames and 145 FCS error frames. According to the secondary loop topology, line merging unit 4 sends GOOSE2 messages to line protection measurement and control 6 through Port4 of line 2 switch. Therefore, the GOOSE2 link break fault indicates that the physical link of Port4 of line 2 switch is abnormal. The optical module and optical fiber are checked, and finally the power of the optical module of line merging unit 3 is found to be abnormal. After replacing the optical module port, the GOOSE2 link break disappears, and the GOOSE2 link break fault is successfully located. If the traffic statistics of the ports forwarding other GOOSE and SV link break messages do not show FCS packet loss, execute three.
[0037] 3. Use the SNMP protocol to periodically obtain traffic statistics of all switch ports, and detect the forwarding packet loss in the traffic statistics of ports that forward GOOSE3 and SV1-SV3 messages. Port 12 of the main transformer 1 switch was detected, with an output frame number of 5635012 packets and an output discard of 81992 packets. Port 18 of the main transformer 2 switch was detected, with an output frame number of 4867094 packets and an output discard of 24693 packets. Port 19 of the central switch was detected, with an output frame number of 334567824 packets and an output discard of 639672 packets. Execute 4.
[0038] Fourth, the MAC address information of each cascade port of the switch is periodically obtained through the SNMP protocol, and the MAC address information of each cascade port is compared to detect whether there is MAC address drift. It is detected that the trunk1 and trunk2 ports of the central switch have learned the same MAC address (00:16:03:fe:01:01, 00:16:03:fe:02:02), etc. According to the secondary circuit topology, the bus intelligent terminal 20 sends a GOOSE3 message to the bus protection measurement and control 19 through Port 20 of the central switch, and the bus electric repulsion merging unit 21 sends an SV3 message to the bus protection measurement and control 19 through Port 21 of the central switch. Therefore, the GOOSE3 / SV3 link break fault indicates that the switch networking is abnormal. Check whether there is a ring network in the switch cascade. Finally, it is found that the line 1 switch, line 2 switch, and central switch form a ring network. After removing the ring line, the GOOSE3 / SV3 link break disappears, and the GOOSE3 / SV3 link break fault is successfully located. After the ring network is removed, it is detected that the link break between SV1 and SV2 still exists. At the same time, it is detected that Port 12 of the main transformer 1 switch still has forwarding packet loss. It is detected that Port 18 of the main transformer 2 switch still has forwarding packet loss. Then execute step 5.
[0039] 5. Periodically obtain the traffic statistics of all switch ports through the SNMP protocol, sort them according to the port input traffic size, and disable the ports with the largest traffic one by one. According to the network topology and the traffic of the main transformer switch port 1, check whether the forwarding packet loss of the port forwarding GOOSE and SV messages is cleared. If the forwarding packet loss is cleared, it indicates that the traffic of the disabled port of the switch is abnormal. Check the input traffic of the port and execute eight; if there is still forwarding packet loss on the port connecting the device and the switch, execute six.
[0040] 6. Get the switch configuration about GOOSE and SV message suppression. If the suppression value is 0, it indicates that the network is normal. Check the correctness of the device GOOSE and SV messages and execute 8. If the suppression value is not 0, execute 7.
[0041] 7. Rewrite the suppression value to 0 and check whether the forwarding packet loss of the port connecting the device and the switch is cleared. If the port forwarding packet loss is cleared, it indicates that the switch configuration is abnormal. Check the switch configuration and execute 8. If the port still has forwarding packet loss, restore the suppression value before modification, indicating that the network is normal. Check the correctness of the device GOOSE and SV messages and execute 8.
[0042] 8. According to the judgment prompts, check the relevant detection items and finally eliminate the GOOSE and SV link break failure.
[0043] The positioning system based on the above fault location method is deployed in the networking environment of the process layer network of the smart substation, and the fault is located by obtaining the status information of the process layer switch. In the new power system, since the process layer switch is cancelled, the station control layer switch also forwards GOOSE and SV messages. The positioning method of this system can be extended to the entire smart substation network environment.
Claims
1. A switch-based GOOSE and SV link break fault location method, characterized in that: include: Detect the connection status of the switch forwarding port for substation GOOSE and sampling value SV messages for general objects. If the port connection is disconnected, it indicates that the switch port status is abnormal. Otherwise, detect the frame detection sequence error FCS packet loss of the switch forwarding port for GOOSE and SV messages. If the port has FCS packet loss, it indicates that the physical link of the switch port is abnormal. Otherwise, detect the forwarding packet loss of the switch forwarding port for GOOSE and SV messages. If the port has forwarding packet loss, check whether there are abnormalities in the switch networking, switch port traffic, and switch configuration. If the port does not have forwarding packet loss or the switch networking, switch port traffic, and switch configuration are not abnormal, check the correctness of the device GOOSE and SV messages.
2. The switch-based GOOSE and SV link break fault location method according to claim 1, characterized in that: The connection status information of the switch port is periodically obtained to detect the connection status of the switch forwarding GOOSE and SV message ports.
3. The switch-based GOOSE and SV link break fault location method according to claim 1, characterized in that: By periodically acquiring traffic statistics information of the switch port, the FCS packet loss or forwarding packet loss of the switch port forwarding GOOSE and SV messages is detected.
4. The switch-based GOOSE and SV link break fault location method according to claim 1, characterized in that: The method for checking whether there are abnormalities in switch networking, switch port traffic, and switch configuration is: Periodically obtain the MAC address information of each cascade port of the switch, and compare it with the Ethernet MAC address information of the cascade port. If there is MAC address drift, it indicates that the switch networking is abnormal. Otherwise, periodically obtain the traffic statistics information of the switch port, sort the input traffic of the switch port by size, and disable the enable status of the port with the largest traffic one by one to detect whether the forwarding packet loss of the port forwarding GOOSE and SV messages is cleared. If the port forwarding packet loss is cleared, it indicates that the switch traffic is abnormal and the disabled port is the abnormal port. Otherwise, obtain the switch configuration for GOOSE and SV message suppression. If the suppression value is 0, it indicates that the networking is normal, and check the correctness of the device GOOSE and SV messages. If the suppression value is not 0, first rewrite the suppression value to 0, and detect whether the forwarding packet loss of the port connecting the device and the switch is cleared. If the port forwarding packet loss is cleared, it indicates that the switch configuration is abnormal. If the port still has forwarding packet loss, it is restored to the suppression value before modification, indicating that the networking is normal, and check the correctness of the device GOOSE and SV messages.
5. The switch-based GOOSE and SV link break fault location method according to any one of claims 2 to 4, characterized in that: The connection status information of the switch port, the traffic statistics information of the switch port, the MAC address information of each cascade port of the switch or the configuration of the switch on GOOSE and SV message suppression is obtained through the hypertext transfer HTTP protocol, the network management SNMP protocol or the IEC 61850 communication protocol.
6. The switch-based GOOSE and SV link break fault location method according to claim 1, characterized in that: The abnormal prompt processing method comprises: If the switch port connection status is abnormal, check the operation and connection status of the switch or device connected to the switch, including whether the switch or device is restarted or the port connection is abnormal; If the switch port physical link is abnormal, check whether there is transmission packet loss in the optical module or the optical fiber; If the switch networking is abnormal, check whether the switch cascade port has a ring network; If the switch port traffic is abnormal, check whether the input traffic of the abnormal port has a network storm; If the switch configuration is abnormal, check whether the suppression configuration value of the switch is too low.
7. A switch-based GOOSE and SV link break fault location system, characterized in that: Includes the following modules: Port connection status detection module: used to detect the connection status of the switch forwarding GOOSE and SV message ports. If the port is disconnected, it indicates that the switch port status is abnormal. Otherwise, the port FCS packet loss detection module is executed. Port FCS packet loss detection module: used to detect the FCS packet loss of the switch forwarding GOOSE and SV message ports. If FCS packet loss occurs on the port, it indicates that the physical link of the switch port is abnormal. Otherwise, the port forwarding packet loss detection module is executed. Port forwarding packet loss detection module: used to detect the forwarding packet loss of the switch forwarding GOOSE and SV message ports. If forwarding packet loss occurs on the port, the abnormality troubleshooting module is executed, otherwise the message inspection module is executed; Abnormality checking module: used to check whether there are abnormalities in the switch networking, switch port traffic, and switch configuration. If there are no abnormalities, the message inspection module is executed. Message checking module: used to check the correctness of the device GOOSE and SV messages.
8. A switch-based GOOSE and SV link break fault location system according to claim 7, characterized in that: The system is deployed in the networking environment of the process layer network of the smart substation and locates faults by obtaining the status information of the process layer switches.
9. A computer-readable storage medium storing one or more programs, characterized in that: The one or more programs include instructions which, when executed by a computing device, cause the computing device to perform any one of the methods according to claims 1 to 6.
10. A device, characterized in that: The method comprises one or more processors, one or more memories and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any one of the methods according to claims 1 to 6.
Citation Information
Patent Citations
Intelligent substation network switch and edge calculation method
CN116319616A
Secured fault detection in a power substation
WO2016149699A1