Fault diagnosis method, device and system for transformer substation network and storage medium
By generating a network topology map and color-coding traffic transmission information, the system automatically diagnoses faulty switches in substation networks, solving the inefficiency caused by checking each switch individually in existing technologies and achieving efficient fault location.
Patent Information
- Application Number
- CN202511058622.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-29
- Publication Date
- 2025-11-14
AI Technical Summary
When communication between network devices in a substation network is interrupted, maintenance personnel need to check each network switch one by one, resulting in low efficiency in fault diagnosis.
By generating a network topology map and marking network switches with different colors according to traffic transmission information, faulty switches can be automatically diagnosed without having to check them one by one.
It improves the efficiency of substation network fault diagnosis and makes it easier for maintenance personnel to quickly locate faulty switches.
Smart Images

Figure CN120956592A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power system technology, and in particular relates to a fault diagnosis method, device, system and storage medium for substation networks. Background Technology
[0002] With the rapid development of power systems, substation networks have become enormous, with numerous network switches and their access network devices, increasing the difficulty of operation and maintenance management of substation networks.
[0003] Currently, when communication is interrupted in network devices in a substation network, maintenance personnel need to check whether the communication link is interrupted from the initiating end of the communication to each network switch. When there are many network switches, it takes a long time, resulting in low efficiency in fault diagnosis of the substation network. Summary of the Invention
[0004] In view of the above, embodiments of this application provide a fault diagnosis method, apparatus, system and storage medium for substation networks to overcome the problems of the prior art.
[0005] In a first aspect, embodiments of this application provide a fault diagnosis method for a substation network, including:
[0006] A network topology map is generated based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches.
[0007] Obtain traffic transmission information for each network switch;
[0008] When it is determined that the target network switch has not experienced a network failure based on the traffic transmission information, the traffic transmission information is marked on the target network switch image in the network topology diagram using a first preset color, and the target network switch corresponds to the target network switch image.
[0009] When it is determined that the target network switch has a network failure based on the traffic transmission information, the traffic transmission information is marked on the image of the target network switch using a second preset color.
[0010] In some optional embodiments, the method for diagnosing substation network faults further includes, when a network fault is determined to have occurred at a target network switch based on the traffic transmission information, marking the traffic transmission information after the target network switch image with a second preset color.
[0011] Obtain the switch port information of the target network switch;
[0012] Determine whether the target network switch is operating abnormally based on the switch port information;
[0013] When it is determined that the target network switch is operating abnormally, the image of the target network switch is marked with a first prompt message.
[0014] In some optional embodiments, the method for diagnosing substation network faults further includes, when a network fault is determined to have occurred at a target network switch based on the traffic transmission information, marking the traffic transmission information after the target network switch image with a second preset color.
[0015] Obtain target connection information between the target network device and the target network switch;
[0016] Determine whether the target network configuration of the target network device is normal based on the target connection information;
[0017] When it is determined that the target network configuration is abnormal, a second prompt message is marked on the target network device image in the network topology diagram, and the target network device corresponds to the target network device image.
[0018] In some optional embodiments, the traffic transmission information includes message reception volume and message transmission volume. Before obtaining the traffic transmission information of each network switch, the fault diagnosis method for the substation network further includes:
[0019] A preset traffic statistics rule is sent to each network switch so that each network switch can perform statistics on the number of packets received and the number of packets sent according to the preset format according to the preset traffic statistics rule, and return the number of packets received and the number of packets sent.
[0020] The process of obtaining traffic transmission information for each network switch includes:
[0021] Receive the number of packets received and the number of packets sent from each network switch.
[0022] In some optional embodiments, the method for diagnosing substation networks further includes, when it is determined from the traffic transmission information that the target network switch has not experienced a network fault, marking the traffic transmission information in front of the target network switch image in the network topology diagram with a first preset color.
[0023] When the target packet reception volume and the target packet transmission volume of the target network switch are different, it is determined that the target network switch has a network fault.
[0024] When the number of target packets received by the target network switch is the same as the number of target packets sent, it is determined that the target network switch has not experienced a network failure.
[0025] In some optional embodiments, before generating the network topology map based on the substation network network topology information, the substation network fault diagnosis method further includes:
[0026] A first acquisition instruction is sent to each network switch, so that each network switch determines the corresponding directly connected switch information according to the link layer discovery protocol and returns the directly connected switch information;
[0027] Receive the directly connected switch information returned by each network switch to obtain multiple directly connected switch information;
[0028] The cascading information is determined based on the information from the multiple directly connected switches.
[0029] In some optional embodiments, before generating the network topology map based on the substation network network topology information, the substation network fault diagnosis method further includes:
[0030] A second acquisition instruction is sent to each network switch so that each network switch returns sub-connection information that is connected to the corresponding network device. The sub-connection information is obtained by parsing the address resolution protocol message sent by the corresponding network device received by the corresponding network switch.
[0031] The connection information is obtained by receiving the sub-connection information returned by each network switch.
[0032] Secondly, embodiments of this application provide a fault diagnosis device for a substation network, comprising:
[0033] The generation module is used to generate a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches.
[0034] The traffic acquisition module is used to acquire traffic transmission information for each network switch;
[0035] The first annotation module is used to annotate the traffic transmission information on the target network switch image in the network topology diagram with a first preset color when it is determined from the traffic transmission information that the target network switch has not experienced a network failure. The target network switch corresponds to the target network switch image.
[0036] The second annotation module is used to annotate the traffic transmission information on the target network switch image using a second preset color when it is determined from the traffic transmission information that the target network switch has a network failure.
[0037] Thirdly, embodiments of this application provide a fault diagnosis system for a substation network, including:
[0038] Memory;
[0039] One or more processors are coupled to the memory;
[0040] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform a fault diagnosis method for a substation network as provided in the first aspect above.
[0041] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be called by a processor to execute the substation network fault diagnosis method provided in the first aspect above.
[0042] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to execute the substation network fault diagnosis method provided in the first aspect above.
[0043] The solution provided in this application generates a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of multiple network switches and the connection information of multiple network devices to multiple network switches. It also obtains the traffic transmission information of each network switch. When it is determined from the traffic transmission information that the target network switch has not experienced a network fault, the traffic transmission information is marked on the target network switch image in the network topology map with a first preset color, and the target network switch corresponds to the target network switch image. When it is determined from the traffic transmission information that the target network switch has experienced a network fault, the traffic transmission information is marked on the target network switch image with a second preset color. This achieves automatic network fault diagnosis for each network switch based on its traffic transmission information, eliminating the need for maintenance personnel to check each network switch individually, and improving the efficiency of fault diagnosis for substation networks.
[0044] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This illustration shows a scenario diagram of a fault diagnosis system for a substation network provided in an embodiment of this application.
[0047] Figure 2 This paper illustrates a flowchart of a fault diagnosis method for a substation network provided in an embodiment of this application.
[0048] Figure 3 This paper illustrates another flowchart of the fault diagnosis method for substation networks provided in an embodiment of this application.
[0049] Figure 4 This paper illustrates another flowchart of the fault diagnosis method for substation networks provided in an embodiment of this application.
[0050] Figure 5 This paper illustrates a scenario flowchart of a fault diagnosis method for a substation network provided in an embodiment of this application.
[0051] Figure 6 A structural block diagram of a fault diagnosis device for a substation network provided in an embodiment of this application is shown.
[0052] Figure 7 This application illustrates a computer-readable storage medium for storing or carrying program code that implements a fault diagnosis method for a substation network according to an embodiment of this application.
[0053] Figure 8 This application illustrates a computer program product for storing or carrying program code that implements a fault diagnosis method for a substation network according to an embodiment of this application. Detailed Implementation
[0054] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0055] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0056] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0057] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0058] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0059] With the rapid development of power systems, substation networks have become enormous, with numerous network switches and their access network devices, increasing the difficulty of operation and maintenance management of substation networks.
[0060] Currently, when communication is interrupted in network devices in a substation network, maintenance personnel need to check whether the communication link is interrupted from the initiating end of the communication to each network switch. When there are many network switches, it takes a long time, resulting in low efficiency in fault diagnosis of the substation network.
[0061] To address the aforementioned issues, the fault diagnosis method, apparatus, system, and storage medium for substation networks provided in this application generate a network topology map based on the substation network's network topology information. The substation network includes multiple network switches and multiple network devices. The network topology information includes cascading information of the multiple network switches and connection information between the multiple network devices and the multiple network switches. Traffic transmission information for each network switch is obtained. When it is determined based on the traffic transmission information that a target network switch has not experienced a network fault, the traffic transmission information is marked on the target network switch image in the network topology map using a first preset color, with each target network switch corresponding to its image. Conversely, when it is determined based on the traffic transmission information that a target network switch has experienced a network fault, the traffic transmission information is marked on the target network switch image using a second preset color. This achieves automatic network fault diagnosis for each network switch based on its traffic transmission information, eliminating the need for maintenance personnel to check each network switch individually, thus improving the efficiency of fault diagnosis for substation networks.
[0062] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0063] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0064] Please see Figure 1 This illustration shows an application scenario diagram of the fault diagnosis system for a substation network provided in the embodiments of this application. The fault diagnosis system for a substation network may include a substation network 100 and a processing device 200. The substation network 100 is connected to the processing device 200 through a network and interacts with the processing device 200 through the network.
[0065] The substation network 100 may include multiple network switches 110 and multiple network devices 120. The multiple network switches 110 are connected in a cascade manner, and the multiple network devices 120 are connected to the multiple network switches 110.
[0066] Multiple network switches 110 can be connected to the processing device 200 via a network and interact with the processing device 200 via the network. The network switches 110 can be any type of wide area network switch or local area network switch, etc., without limitation here.
[0067] Network device 120 can be connected to processing device 200 through network switch 110, and interact with processing device 200 through the network via the corresponding network switch 110.
[0068] Network device 120 can be any of the following: power testing equipment, power monitoring equipment, or power control equipment; no specific limitation is made here.
[0069] The processing device 200 can be any type of server or terminal device, etc., without limitation, and can be set according to actual needs.
[0070] A server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), big data, and artificial intelligence platforms.
[0071] Terminal devices can be mobile terminal devices (e.g., in-vehicle terminals, PDAs, tablet PCs, laptops, etc.) or fixed terminal devices (desktop computers, smart panels, etc.).
[0072] The network can be any of the following: ZigBee network, Bluetooth (BT) network, Wireless Fidelity (Wi-Fi) network, Thread network, Long Range Radio (LoRa) network, Low-Power Wide-Area Network (LPWAN), Infrared network, Narrow Band Internet of Things (NB-IoT), Controller Area Network (CAN), Digital Living Network Alliance (DLNA) network, Wide Area Network (WAN), Local Area Network (LAN), Metropolitan Area Network (MAN), or Wireless Personal Area Network (WPAN), etc., without limitation.
[0073] Please see Figure 2 This document illustrates a flowchart of a fault diagnosis method for a substation network according to an embodiment of this application. In a specific embodiment, the fault diagnosis method for the substation network can be applied to, for example... Figure 1 The processing device 200 in the fault diagnosis system of the substation network shown below will be used as an example to illustrate the following discussion. Figure 2 The process shown is described in detail. The fault diagnosis method for substation networks may include the following steps 210 to 240.
[0074] Step 210: Generate a network topology diagram based on the network topology information of the substation network.
[0075] In this embodiment of the application, when maintenance personnel need to perform fault diagnosis on the substation network, they can send a diagnostic command to the processing device. The processing device receives and responds to the diagnostic command, obtains the network topology information of the substation network, and generates a network topology map based on the network topology information of the substation network.
[0076] The network topology information can include cascading information of multiple network switches and connection information of multiple network devices connected to multiple network switches. The network topology diagram can be used to represent the connection relationship of the substation network.
[0077] Regarding the process by which the processing device obtains cascading information of the substation network, in some embodiments, the processing device can send a first acquisition command to each network switch via the network. Each network switch receives and responds to the first acquisition command, determines the corresponding directly connected switch information according to the Link Layer Discovery Protocol (LLDP), and sends the directly connected switch information to the processing device via the network. The processing device receives the directly connected switch information returned by each network switch, obtains multiple directly connected switch information, and determines cascading information based on the multiple directly connected switch information. The accuracy of the cascading information is improved by determining the cascading information according to the Link Layer Discovery Protocol of each network switch.
[0078] The direct-connect switch information can be used to characterize the connection information of the network switches that are directly connected to each network switch. For example, the direct-connect switch information may include at least one of the following: direct-connect Internet Protocol (IP) address, direct-connect Media Access Control (MAC) address, and direct-connect port, etc., without limitation here.
[0079] Regarding the process by which the processing device obtains connection information of the substation network, in some embodiments, the processing device can send a second acquisition instruction to each network switch via the network. Each network switch receives and responds to the second acquisition instruction, parses the Address Resolution Protocol (ARP) message sent by the corresponding network device, obtains sub-connection information, and sends the sub-connection information to the processing device via the network. The processing device receives the sub-connection information returned by each network switch, obtains the connection information, and determines the connection information based on the ARP protocol sent by the network device, thereby improving the accuracy of the connection information.
[0080] The connection information may include sub-connection information for each network device to connect to the network switch. For example, the sub-connection information may include at least one of the network device's IP address, MAC address, and connection port, etc., without limitation here.
[0081] In some implementations, the processing device can detect the operations of maintenance personnel. When it is determined from the detected operations that the maintenance personnel have entered a diagnostic command to diagnose faults in the substation network, the device receives the diagnostic command to diagnose faults in the substation network.
[0082] For example, when maintenance personnel need to diagnose faults in the substation network, they can perform touch operations on the operation panel of the processing equipment. The processing equipment responds to the touch operations of the maintenance personnel, generates corresponding touch signals, and analyzes the touch signals. When it is determined that the touch signal is a diagnostic instruction used to characterize fault diagnosis of the substation network, it is determined that a diagnostic instruction for fault diagnosis of the substation network has been received.
[0083] In some implementations, the processing device may be equipped with a voice recognition module. When maintenance personnel need to perform fault diagnosis on the substation network, they can send voice information within the voice acquisition range of the voice recognition module. The voice recognition module collects the voice information sent by the maintenance personnel, performs voice recognition on the collected voice information, and determines, based on the recognition result, that the recognition result contains keywords used to instruct fault diagnosis of the substation network, such as "substation network fault diagnosis," or, for example, "substation network" and "fault diagnosis," etc., then it is determined that a diagnostic instruction to perform fault diagnosis on the substation network has been received.
[0084] As an example, if the voice message issued by the maintenance personnel is: "Perform fault diagnosis on the substation network", then if the voice recognition result contains the keywords "substation network" and "fault diagnosis", then it is determined that the diagnostic instruction to perform fault diagnosis on the substation network has been received.
[0085] In some implementations, the fault diagnosis system for the substation network may also include a client associated with maintenance personnel, which connects to the processing equipment via a network and interacts with the processing equipment via the network.
[0086] When maintenance personnel need to diagnose faults in the substation network, they can send diagnostic commands to the client. The client receives and responds to the diagnostic commands, and forwards them to the processing equipment via the network. The processing equipment then receives the diagnostic commands forwarded by the client.
[0087] The client can be any of the following: a mobile client (e.g., a mobile phone client, a PDA client, a Tablet PC client, a laptop client, a smartwatch client, a smart bracelet client, or a wearable client) or a fixed client (e.g., a desktop computer client, a smart panel client). The type of client is not limited here and can be set according to actual needs.
[0088] Step 220: Obtain traffic transmission information for each network switch.
[0089] In this embodiment of the application, after the processing device generates a network topology map based on the network topology information of the substation network, it can obtain the traffic transmission information of each network switch.
[0090] The traffic transmission information may include the number of packets received by the network switch in a preset format and the number of packets sent in a preset format.
[0091] The default format message can be at least one of the following: Simple Network Management Protocol (SNMP) message, Communication Message Specification (CMS) message, or Manufacturing Message Specification (MMS) message, etc., without any limitation here.
[0092] Specifically, after generating a network topology diagram based on the substation network topology information, the processing device can send preset traffic statistics rules to each network switch. Each network switch receives and responds to the preset traffic statistics rules, counts the number of received packets and the number of sent packets of the preset format, and sends the received and sent packets to the processing device. The processing device receives the received and sent packets returned by each network switch.
[0093] Among them, the preset traffic statistics rules can be used to instruct network switches to count the number of packets received and sent in the preset format.
[0094] In some implementations, after the processing device acquires the traffic transmission information of each network switch, it can determine whether the network switch is faulty based on the traffic transmission information. By performing fault diagnosis on the network switch based on the traffic transmission information, the accuracy of fault diagnosis of the network switch is improved.
[0095] When the target packet reception volume and target packet transmission volume of the target network switch are different, a network fault is determined to have occurred in the target network switch; when the target packet reception volume and target packet transmission volume are the same, a network fault is determined to have occurred in the target network switch. Using the packet reception and transmission volumes of a network switch to diagnose network faults improves the accuracy of fault diagnosis.
[0096] The target network switch can be any of multiple network switches, and no limitation is made here.
[0097] Step 230: When it is determined from the traffic transmission information that the target network switch has not experienced a network failure, the traffic transmission information is marked on the target network switch image in the network topology diagram using the first preset color.
[0098] In this embodiment of the application, when the processing device determines that the target network switch has not experienced a network fault based on the traffic transmission information, it can use a first preset color to mark the traffic transmission information on the target network switch image in the network topology diagram, so that maintenance personnel can quickly diagnose the network fault of the network switch based on the first preset color.
[0099] The target network switch can correspond to the target network switch image, and the first preset color can be any one of red, green, blue, yellow, orange or purple, etc., without limitation.
[0100] Step 240: When it is determined that the target network switch has a network failure based on the traffic transmission information, the traffic transmission information is marked on the target network switch image using the second preset color.
[0101] In this embodiment, when the processing device determines that a target network switch has a network fault based on the traffic transmission information, it can use a second preset color to mark the traffic transmission information on the target network switch image in the network topology diagram. This realizes automatic network fault diagnosis of the network switch based on the traffic transmission information of each network switch, eliminating the need for maintenance personnel to check each network switch individually, which helps to improve the diagnostic efficiency of fault diagnosis of substation networks.
[0102] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0103] The second preset color can be a different color from the first preset color. The second preset color can be any one of red, green, blue, yellow, orange, or purple, etc., without any limitation.
[0104] The solution provided in this application generates a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of multiple network switches and the connection information of multiple network devices to multiple network switches. It also obtains the traffic transmission information of each network switch. When it is determined from the traffic transmission information that the target network switch has not experienced a network fault, the traffic transmission information is marked on the target network switch image in the network topology map with a first preset color, and the target network switch corresponds to the target network switch image. When it is determined from the traffic transmission information that the target network switch has experienced a network fault, the traffic transmission information is marked on the target network switch image with a second preset color. This achieves automatic network fault diagnosis for each network switch based on its traffic transmission information, eliminating the need for maintenance personnel to check each network switch individually, and improving the efficiency of fault diagnosis for substation networks.
[0105] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0106] Please see Figure 3 This document illustrates a flowchart of a substation network fault diagnosis method according to another embodiment of this application. In a specific embodiment, the substation network fault diagnosis method can be applied to, for example... Figure 1 The processing device 200 in the fault diagnosis system of the substation network shown below will be used as an example to illustrate the following discussion. Figure 3 The process shown is described in detail. The fault diagnosis method for substation networks may include the following steps 310 to 370.
[0107] Step 310: Generate a network topology diagram based on the network topology information of the substation network.
[0108] Step 320: Obtain traffic transmission information for each network switch.
[0109] Step 330: When it is determined from the traffic transmission information that the target network switch has not experienced a network failure, the traffic transmission information is marked on the target network switch image in the network topology diagram using the first preset color.
[0110] Step 340: When it is determined that the target network switch has a network failure based on the traffic transmission information, the traffic transmission information is marked on the target network switch image using the second preset color.
[0111] In this embodiment, steps 310, 320, 330 and 340 can be referred to the corresponding steps in the foregoing embodiments, and will not be repeated here.
[0112] Step 350: Obtain the switch port information of the target network switch.
[0113] In this embodiment, when the processing device determines that the target network switch has a network fault based on the traffic transmission information, it marks the traffic transmission information after the target network switch image with a second preset color, thereby obtaining the switch port information of the target network switch.
[0114] The switch port information can be any of the following: port status, port packet statistics, and port rate limiting; no specific limitation is made here.
[0115] The processing device can send a third acquisition command to the target network switch. The target network switch receives and responds to the third acquisition command, and sends the corresponding switch port information to the processing device. The processing device receives the switch port information returned by the target network switch.
[0116] Step 360: Determine whether the target network switch is malfunctioning based on the switch port information.
[0117] In this embodiment, after the processing device obtains the switch port information of the target network switch, it can determine whether the target network switch is operating abnormally based on the switch port information.
[0118] In some implementations, switch port information can be port status. When the port status is down or the Spanning Tree Protocol (STP) status is not forwarding, it is determined that the target network switch is operating abnormally. When the port status is up and the STP status is forwarding, it is determined that the target network switch is operating normally.
[0119] In some implementations, the switch port information can be port packet statistics. When the Cyclic Redundancy Check (CRC) error frames, excessively long frames, or excessively small frames in the port packet statistics are not 0, it is determined that the target network switch is operating abnormally; when the CRC error frames, excessively long frames, and excessively small frames in the port packet statistics are all 0, it is determined that the target network switch is operating normally.
[0120] Specifically, when the frame length of a message is greater than the first frame length threshold, the frame length is determined to be an ultra-long frame; when the frame length of a message is less than the second frame length threshold, the frame length is determined to be an ultra-small frame; the first frame length threshold is greater than the second frame length threshold.
[0121] As an example, the first frame length threshold can be 1500 bytes, the second frame length threshold can be 64 bytes, etc., and no limit is set here.
[0122] In some implementations, switch port information can be used for port rate limiting. When the port rate limit is not empty, it is determined that the target network switch is operating abnormally; when the port rate limit is empty, it is determined that the target network switch is operating normally.
[0123] Step 370: When it is determined that the target network switch is running abnormally, mark the target network switch image with the first prompt information.
[0124] In this embodiment, when the processing device determines that the target network switch is operating abnormally, it can mark the target network switch image with the first prompt information to prompt the operation and maintenance personnel to deal with the target network switch in a timely manner, which helps to improve the troubleshooting efficiency of the operation and maintenance personnel.
[0125] The first prompt can be any one of text prompts, sound prompts, or light prompts, etc., without any limitation here.
[0126] In some implementations, when the processing device determines that the target network switch has a network failure based on the traffic transmission information, it marks the traffic transmission information on the target network switch image with a second preset color, thereby obtaining the operating status information of the target network switch and determining whether the target network switch is operating abnormally based on the operating status information. When it is determined that the target network switch is operating abnormally, the device marks the target network switch image with a first prompt message.
[0127] The operating status information can be any of the following: CPU load, temperature, or voltage of the target network switch; no specific limitation is made here.
[0128] When the CPU load is greater than or equal to the load threshold, the temperature is greater than or equal to the temperature threshold, or the voltage is greater than or equal to the voltage threshold, the target network switch is determined to be operating abnormally; when the CPU load is less than the load threshold, the temperature is less than the temperature threshold, and the voltage is less than the voltage threshold, the target network switch is determined to be operating normally.
[0129] The solution provided in this embodiment generates a network topology map based on the network topology information of the substation network, obtains the traffic transmission information of each network switch, and marks the traffic transmission information of the target network switch image in the network topology map with a first preset color when it is determined that the target network switch has no network fault based on the traffic transmission information. When it is determined that the target network switch has a network fault based on the traffic transmission information, it marks the traffic transmission information of the target network switch image with a second preset color, obtains the switch port information of the target network switch, and determines whether the target network switch is operating abnormally based on the switch port information. When it is determined that the target network switch is operating abnormally, a first prompt message is marked on the target network switch image. This realizes automatic network fault diagnosis of the network switch based on the traffic transmission information of each network switch, eliminating the need for maintenance personnel to check each network switch one by one, which helps to improve the diagnostic efficiency of substation network fault diagnosis.
[0130] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0131] Furthermore, when the processing device determines that the target network switch is operating abnormally, it marks the target network switch image with the first prompt information to prompt the operation and maintenance personnel to handle the target network switch in a timely manner, which helps to improve the troubleshooting efficiency of the operation and maintenance personnel.
[0132] Please see Figure 4 This document illustrates a flowchart of a substation network fault diagnosis method provided in another embodiment of this application. In a specific embodiment, the substation network fault diagnosis method can be applied to, for example... Figure 1 The processing device 200 in the fault diagnosis system of the substation network shown below will be used as an example to illustrate the following discussion. Figure 4 The process shown is described in detail. The fault diagnosis method for substation networks may include the following steps 410 to 470.
[0133] Step 410: Generate a network topology diagram based on the network topology information of the substation network.
[0134] Step 420: Obtain traffic transmission information for each network switch.
[0135] Step 430: When it is determined from the traffic transmission information that the target network switch has not experienced a network failure, the traffic transmission information is marked on the target network switch image in the network topology diagram using the first preset color.
[0136] Step 440: When it is determined that the target network switch has a network failure based on the traffic transmission information, the traffic transmission information is marked on the target network switch image using the second preset color.
[0137] In this embodiment, steps 410, 420, 430 and 440 can be referred to the corresponding steps in the previous embodiments, and will not be repeated here.
[0138] Step 450: Obtain the target connection information for the connection between the target network device and the target network switch.
[0139] In this embodiment, when the processing device determines that the target network switch has a network fault based on the traffic transmission information, it marks the traffic transmission information after the target network switch image with a second preset color, thereby obtaining the target connection information of the target network device and the target network switch.
[0140] The target network switch is connected to the target network device. The target connection information may include at least one of the target IP address, target MAC address and target connection port of the target network device, which is not limited here.
[0141] Step 460: Determine whether the target network configuration of the target network device is normal based on the target connection information.
[0142] In this embodiment, after the processing device obtains the target connection information of the target network device and the target network switch, it can determine whether the target network configuration of the target network device is normal based on the target connection information.
[0143] In some implementations, the target connection information can be the target IP address. When the target IP address is included in the IP address of other network devices, it is determined that the target network configuration of the target network device is abnormal; when the target IP address is not included in the IP address of other network devices, it is determined that the target network configuration of the target network device is normal.
[0144] In some implementations, the target connection information can be the target MAC address. When the target MAC address is included in the MAC address of other network devices, it is determined that the target network configuration of the target network device is abnormal; when the target MAC address is not included in the MAC address of other network devices, it is determined that the target network configuration of the target network device is normal.
[0145] In some implementations, the target connection information can be a target IP address and a target MAC address. When the target IP address is included in the IP address of another network device, or the target MAC address is included in the MAC address of another network device, it is determined that the target network configuration of the target network device is abnormal. When the target IP address is not included in the IP address of another network device, and the target MAC address is not included in the MAC address of another network device, it is determined that the target network configuration of the target network device is normal.
[0146] Step 470: When it is determined that the target network configuration is abnormal, mark the target network device image in the network topology diagram with a second prompt message.
[0147] In this embodiment, when the processing device determines that the target network configuration is abnormal, it can mark the target network device image in the network topology diagram with a second prompt message to prompt the operation and maintenance personnel to handle the target network device in a timely manner, which helps to improve the troubleshooting efficiency of the operation and maintenance personnel.
[0148] The second prompt can be any one of text prompts, sound prompts, or light prompts, etc., without limitation here.
[0149] In one application scenario, such as Figure 5 As shown, the fault diagnosis method for substation networks may include the following steps 501 to 506.
[0150] Step 501: Obtain the cascading information of multiple network switches in the substation network.
[0151] Step 502: Obtain the connection information of multiple network devices in the substation network, and generate a network topology diagram based on the cascading information and connection information.
[0152] Step 503: Send preset traffic statistics rules to each network switch to obtain traffic transmission information for each network switch.
[0153] Step 504: Mark the traffic transmission information on the network topology diagram.
[0154] Specifically, when it is determined from the traffic transmission information that the target network switch has not experienced a network failure, the traffic transmission information is marked on the target network switch image in the network topology diagram using a first preset color; when it is determined from the traffic transmission information that the target network switch has experienced a network failure, the traffic transmission information is marked on the target network switch image in the network topology diagram using a second preset color.
[0155] Step 505: When it is determined from the traffic transmission information that the target network switch has a network failure, determine whether the target network switch is operating abnormally.
[0156] Step 506: Determine whether the target network configuration of the target network device is normal.
[0157] The solution provided in this embodiment generates a network topology map based on the network topology information of the substation network, obtains the traffic transmission information of each network switch, and marks the traffic transmission information of the target network switch image in the network topology map with a first preset color when it is determined that the target network switch has no network fault based on the traffic transmission information. When it is determined that the target network switch has a network fault based on the traffic transmission information, it marks the traffic transmission information of the target network switch image with a second preset color. It also obtains the target connection information between the target network device and the target network switch, and determines whether the target network configuration of the target network device is normal based on the target connection information. When it is determined that the target network configuration is abnormal, it marks the target network device image in the network topology map with a second prompt information. This realizes automatic network fault diagnosis of the network switch based on the traffic transmission information of each network switch, eliminating the need for maintenance personnel to check each network switch one by one, which helps to improve the diagnostic efficiency of substation network fault diagnosis.
[0158] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0159] Furthermore, when the processing device determines that the target network configuration is abnormal, it marks the target network device image in the network topology diagram with a second prompt message to prompt the operation and maintenance personnel to handle the target network device in a timely manner, which helps to improve the troubleshooting efficiency of the operation and maintenance personnel.
[0160] Please see Figure 6 This illustration shows a fault diagnosis device 600 for a substation network according to one embodiment of this application. In a specific embodiment, the fault diagnosis device 600 for a substation network can be applied to, for example... Figure 1 The processing device 200 in the fault diagnosis system of the substation network shown below will be used as an example to illustrate the following discussion. Figure 6 The fault diagnosis device 600 for the substation network shown is described in detail. The fault diagnosis device 600 for the substation network may include a generation module 610, a flow acquisition module 620, a first annotation module 630, and a second annotation module 640.
[0161] The generation module 610 can be used to generate a network topology diagram based on the network topology information of the substation network. The substation network may include multiple network switches and multiple network devices. The network topology information may include the cascading information of multiple network switches and the connection information of multiple network devices connected to multiple network switches. The traffic acquisition module 620 can be used to acquire the traffic transmission information of each network switch. The first annotation module 630 can be used to annotate the traffic transmission information on the target network switch image in the network topology diagram with a first preset color when it is determined from the traffic transmission information that the target network switch has not experienced a network fault. The target network switch can correspond to the target network switch image. The second annotation module 640 can be used to annotate the traffic transmission information on the target network switch image with a second preset color when it is determined from the traffic transmission information that the target network switch has experienced a network fault.
[0162] In some implementations, the fault diagnosis device 600 for the substation network may further include a port acquisition module, a first determination module, and a first marking module.
[0163] The port acquisition module can be used to obtain the switch port information of the target network switch by marking the traffic transmission information after the target network switch image with a second preset color when it is determined that the target network switch has a network failure based on the traffic transmission information; the first determination module can be used to determine whether the target network switch is operating abnormally based on the switch port information; the first marking module can be used to mark the target network switch image with a first prompt message when it is determined that the target network switch is operating abnormally.
[0164] In some implementations, the fault diagnosis device 600 for the substation network may further include a connection acquisition module, a second determination module, and a second marking module.
[0165] The connection acquisition module can be used to, when it is determined from the traffic transmission information that the target network switch has a network failure, mark the traffic transmission information after the target network switch image with a second preset color using the second annotation module 640, thereby obtaining the target connection information of the target network device and the target network switch; the second determination module can be used to determine whether the target network configuration of the target network device is normal based on the target connection information; the second marking module can be used to mark the target network device image in the network topology diagram with a second prompt message when it is determined that the target network configuration is abnormal, and the target network device can correspond to the target network device image.
[0166] In some implementations, the traffic transmission information may include message reception volume and message transmission volume, and the fault diagnosis device 600 for the substation network may also include a first transmission module.
[0167] The first sending module can be used to send preset traffic statistics rules to each network switch before the traffic acquisition module 620 acquires the traffic transmission information of each network switch, so that each network switch can count the number of packets received and the number of packets sent according to the preset format according to the preset traffic statistics rules, and return the number of packets received and the number of packets sent.
[0168] In some implementations, the traffic acquisition module 620 may include a receiving unit.
[0169] The receiving unit can be used to receive the number of messages received and sent from each network switch.
[0170] In some implementations, the fault diagnosis device 600 for the substation network may further include a third determination module and a fourth determination module.
[0171] The third determining module can be used to mark the traffic transmission information in front of the target network switch image in the network topology diagram with a first preset color when it is determined that the target network switch has no network fault based on the traffic transmission information. When the target packet reception volume and the target packet transmission volume of the target network switch are different, it is determined that the target network switch has a network fault. The fourth determining module can be used to determine that the target network switch has no network fault when the target packet reception volume and the target packet transmission volume of the target network switch are the same.
[0172] In some implementations, the fault diagnosis device 600 for the substation network may further include a second transmitting module, a first receiving module, and a fifth determining module.
[0173] The second sending module can be used to send a first acquisition instruction to each network switch before the generation module 610 generates a network topology map based on the network topology information of the substation network, so that each network switch determines the corresponding directly connected switch information according to the link layer discovery protocol and returns the directly connected switch information; the first receiving module can be used to receive the directly connected switch information returned by each network switch to obtain multiple directly connected switch information; the fifth determining module can be used to determine the cascading information based on the multiple directly connected switch information.
[0174] In some implementations, the fault diagnosis device 600 for the substation network may further include a third transmitting module and a second receiving module.
[0175] The third sending module can be used to send a second acquisition instruction to each network switch before the generation module 610 generates a network topology map based on the network topology information of the substation network, so that each network switch returns sub-connection information that connects with the corresponding network device. The sub-connection information can be obtained by parsing the address resolution protocol message sent by the corresponding network device received by the corresponding network switch. The second receiving module can be used to receive the sub-connection information returned by each network switch to obtain the connection information.
[0176] The solution provided in this embodiment generates a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches. It also obtains the traffic transmission information of each network switch. When it is determined from the traffic transmission information that the target network switch has not experienced a network fault, the traffic transmission information is marked on the target network switch image in the network topology map with a first preset color. The target network switch corresponds to the target network switch image. When it is determined from the traffic transmission information that the target network switch has experienced a network fault, the traffic transmission information is marked on the target network switch image with a second preset color. This achieves automatic network fault diagnosis for each network switch based on its traffic transmission information, eliminating the need for maintenance personnel to check each network switch individually, and improving the efficiency of fault diagnosis for substation networks.
[0177] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0178] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.
[0179] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0180] Please refer to Figure 7 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 700 stores program code 710, which can be called by a processor to execute the methods described in the above method embodiments.
[0181] The computer-readable storage medium 700 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 700 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 700 has storage space for program code 710 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 710 may be compressed, for example, in a suitable form.
[0182] Please refer to Figure 8 This diagram illustrates a structural block diagram of a computer program product 800 provided in an embodiment of this application. The computer program product 800 includes a computer program / instructions 810, which is stored in a computer-readable storage medium of a computer device. When the computer program product 800 runs on the computer device, the processor of the computer device reads the computer program / instructions 810 from the computer-readable storage medium, and executes the computer program / instructions 810, causing the computer device to perform the methods described in the above-described method embodiments.
[0183] The solution provided in this embodiment generates a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches. It also obtains the traffic transmission information of each network switch. When it is determined from the traffic transmission information that the target network switch has not experienced a network fault, the traffic transmission information is marked on the target network switch image in the network topology map with a first preset color. The target network switch corresponds to the target network switch image. When it is determined from the traffic transmission information that the target network switch has experienced a network fault, the traffic transmission information is marked on the target network switch image with a second preset color. This achieves automatic network fault diagnosis for each network switch based on its traffic transmission information, eliminating the need for maintenance personnel to check each network switch individually, and improving the efficiency of fault diagnosis for substation networks.
[0184] Furthermore, the traffic transmission information of each network switch is marked with a preset color on the corresponding network switch image, which makes it easier for maintenance personnel to quickly locate the network switch with network failure, and further improves the diagnostic efficiency of substation network fault diagnosis.
[0185] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A fault diagnosis method for a substation network, characterized in that, include: A network topology map is generated based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches. Obtain traffic transmission information for each network switch; When it is determined that the target network switch has not experienced a network failure based on the traffic transmission information, the traffic transmission information is marked on the target network switch image in the network topology diagram using a first preset color, and the target network switch corresponds to the target network switch image. When it is determined that the target network switch has a network failure based on the traffic transmission information, the traffic transmission information is marked on the image of the target network switch using a second preset color.
2. The fault diagnosis method according to claim 1, characterized in that, When a network fault is determined to have occurred in the target network switch based on the traffic transmission information, the fault diagnosis method further includes marking the traffic transmission information after the target network switch image with a second preset color. Obtain the switch port information of the target network switch; Determine whether the target network switch is operating abnormally based on the switch port information; When it is determined that the target network switch is operating abnormally, the image of the target network switch is marked with a first prompt message.
3. The fault diagnosis method according to claim 1, characterized in that, When a network fault is determined to have occurred in the target network switch based on the traffic transmission information, the fault diagnosis method further includes marking the traffic transmission information after the target network switch image with a second preset color. Obtain target connection information between the target network device and the target network switch; Determine whether the target network configuration of the target network device is normal based on the target connection information; When it is determined that the target network configuration is abnormal, a second prompt message is marked on the target network device image in the network topology diagram, and the target network device corresponds to the target network device image.
4. The fault diagnosis method according to claim 1, characterized in that, The traffic transmission information includes the number of received packets and the number of sent packets. Before obtaining the traffic transmission information of each network switch, the fault diagnosis method further includes: A preset traffic statistics rule is sent to each network switch so that each network switch can perform statistics on the number of packets received and the number of packets sent according to the preset format according to the preset traffic statistics rule, and return the number of packets received and the number of packets sent. The process of obtaining traffic transmission information for each network switch includes: Receive the number of packets received and the number of packets sent from each network switch.
5. The fault diagnosis method according to claim 4, characterized in that, When it is determined from the traffic transmission information that the target network switch has not experienced a network fault, the fault diagnosis method further includes marking the traffic transmission information in front of the target network switch image in the network topology diagram with a first preset color. When the target packet reception volume and the target packet transmission volume of the target network switch are different, it is determined that the target network switch has a network fault. When the number of target packets received by the target network switch is the same as the number of target packets sent, it is determined that the target network switch has not experienced a network failure.
6. The fault diagnosis method according to any one of claims 1 to 5, characterized in that, Before generating the network topology map based on the substation network topology information, the fault diagnosis method further includes: A first acquisition instruction is sent to each network switch, so that each network switch determines the corresponding directly connected switch information according to the link layer discovery protocol and returns the directly connected switch information; Receive the directly connected switch information returned by each network switch to obtain multiple directly connected switch information; The cascading information is determined based on the information from the multiple directly connected switches.
7. The fault diagnosis method according to any one of claims 1 to 5, characterized in that, Before generating the network topology map based on the substation network topology information, the fault diagnosis method further includes: A second acquisition instruction is sent to each network switch so that each network switch returns sub-connection information that is connected to the corresponding network device. The sub-connection information is obtained by parsing the address resolution protocol message sent by the corresponding network device received by the corresponding network switch. The connection information is obtained by receiving the sub-connection information returned by each network switch.
8. A fault diagnosis device for a substation network, characterized in that, include: The generation module is used to generate a network topology map based on the network topology information of the substation network. The substation network includes multiple network switches and multiple network devices. The network topology information includes the cascading information of the multiple network switches and the connection information of the multiple network devices to the multiple network switches. The traffic acquisition module is used to acquire traffic transmission information for each network switch; The first annotation module is used to annotate the traffic transmission information on the target network switch image in the network topology diagram with a first preset color when it is determined from the traffic transmission information that the target network switch has not experienced a network failure. The target network switch corresponds to the target network switch image. The second annotation module is used to annotate the traffic transmission information on the target network switch image using a second preset color when it is determined from the traffic transmission information that the target network switch has a network failure.
9. A fault diagnosis system for a substation network, characterized in that, include: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, and the one or more applications are configured to perform the fault diagnosis method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code, which can be called by a processor to execute the fault diagnosis method as described in any one of claims 1 to 7.