Transformer substation network fault diagnosis method and device and readable storage medium

By receiving port files and comparing correspondence, we automatically find the fault points of the substation network, solving the problem of manual inspection of traditional substations for a long time and improving the fault location efficiency.

CN119094328APending Publication Date: 2024-12-06CYG SUNRI CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411149570.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When the communication network of traditional non-intelligent conventional substations is interrupted, the operation and maintenance personnel need to manually locate the disconnected equipment, resulting in a long inspection time and increasing the difficulty of management and defect removal time.

Method used

By receiving port files, comparing the correspondence between the switch port and the device, obtaining physical link failure information, and sending fault points to the monitoring system to achieve automated and rapid search for network failure points.

Benefits of technology

It reduces the time to check, improves operation and maintenance efficiency, reduces management difficulty, and realizes automated and rapid fault location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094328A_ABST
    Figure CN119094328A_ABST
Patent Text Reader

Abstract

The invention provides a transformer substation network fault diagnosis method and device and a readable storage medium. The method comprises the following steps: receiving a port file, wherein the port file comprises a first corresponding relation between a port of a switch and a device; the port file is compared with configuration information, physical link fault information is obtained, and the configuration information comprises a second corresponding relation between the port and the device determined by the switch through communication; and physical link fault information is sent to the monitoring system, so that the monitoring system determines a first fault point. According to the invention, the network fault point can be automatically and quickly searched, and the troubleshooting time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of substations, and in particular, relates to a substation network fault diagnosis method, device and readable storage medium. Background Art

[0002] At present, traditional non-intelligent conventional substations have numerous network devices and their access devices. When the communication network of the substation is interrupted, the operation and maintenance personnel need to manually locate the disconnected equipment, which takes a lot of time to troubleshoot. Summary of the invention

[0003] The embodiments of the present application provide a substation network fault diagnosis method, device, switch, readable storage medium and computer program product, which can solve the problem of long troubleshooting time caused by manual troubleshooting by operation and maintenance personnel.

[0004] In a first aspect, an embodiment of the present application provides a substation network fault diagnosis method, which is applied to a switch, including:

[0005] receiving a port file, wherein the port file includes a first correspondence between a port of a switch and a device;

[0006] Comparing the port file with configuration information to obtain physical link failure information, the configuration information including a second corresponding relationship between the port and the device determined by the switch through communication;

[0007] The physical link failure information is sent to a monitoring system so that the monitoring system obtains a first failure point.

[0008] In one embodiment, the method further comprises:

[0009] Periodically acquiring network topology information, wherein the network topology information includes device information of adjacent switches;

[0010] Determining network topology fault information according to the network topology information at two adjacent time points;

[0011] The network topology fault information is sent to the monitoring system so that the monitoring system obtains a second fault point.

[0012] In one embodiment, the method further comprises:

[0013] Monitor hardware status and port conditions, and obtain alarm information from the main body;

[0014] Send the main body alarm information to the monitoring system so that the monitoring system obtains the third fault point.

[0015] In one embodiment, comparing the port file with the configuration information to obtain the physical link fault information includes:

[0016] For each device in the port file, if a target MAC address corresponding to the MAC address of the device is not found in the configuration information, obtaining first fault information of the device;

[0017] If the target MAC address is found, and the port identifier of the device is different from the target port identifier corresponding to the target MAC address, obtaining second fault information of the device;

[0018] The corresponding relationship includes the name, MAC address and connected port identifier of the device, and the physical link fault information includes the first fault information and / or the second fault information of each of the devices.

[0019] In one embodiment, the monitoring of hardware status and port status to obtain main body alarm information includes:

[0020] If the monitored CPU usage is greater than the preset usage, a CPU load rate alarm message is obtained;

[0021] If the switch temperature is detected to be higher than the preset temperature, a temperature alarm message is obtained;

[0022] For each of the ports, if it is monitored that the port receives communication data of an illegal device, illegal device alarm information of the port is obtained;

[0023] If the monitored port flow is greater than the preset flow, the flow alarm information of the port is obtained;

[0024] If the port transmission power is detected to be greater than the preset power, the power alarm information of the port is obtained;

[0025] Among them, the hardware status includes CPU usage and switch temperature, the port status includes communication data received by the port, port traffic and port transmission power, and the main body alarm information includes CPU load rate, temperature alarm information and illegal device alarm information, traffic alarm information and power alarm information of the port.

[0026] In one embodiment, the method further comprises:

[0027] Receiving a collection instruction from the substation;

[0028] In response to the collection instruction, the physical link fault information, the network topology fault information and the main body alarm information are sent to the monitoring system.

[0029] In one embodiment, before comparing the port file with the configuration information to obtain the physical link fault information, the method further includes:

[0030] For each port, obtaining a MAC address of a device connected via the port;

[0031] The configuration information is generated according to the MAC address of the device connected to each of the ports.

[0032] In a second aspect, an embodiment of the present application provides a substation network fault diagnosis device, comprising:

[0033] A communication module, configured to receive a port file, wherein the port file includes a first correspondence between a port of a switch and a device;

[0034] Also used for sending the physical link fault information to a monitoring system so that the monitoring system can determine the first fault point;

[0035] The fault determination module is used to compare the port file with the configuration information to obtain physical link fault information, wherein the configuration information includes a second corresponding relationship between the port and the device determined by the switch through communication.

[0036] In a third aspect, an embodiment of the present application provides a switch, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements a method as described in any one of the above-mentioned first aspects when executing the computer program.

[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the above-mentioned first aspects is implemented.

[0038] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a switch, the switch executes any one of the methods described in the first aspect.

[0039] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0040] The embodiment of the present application receives a port file, which includes a first correspondence between a port of a switch and a device; compares the port file with configuration information to obtain physical link fault information, where the configuration information includes a second correspondence between a port and a device determined by the switch through communication; and sends the physical link fault information to a monitoring system so that the monitoring system determines a first fault point, thereby achieving automated and rapid search for network fault points and reducing troubleshooting time.

[0041] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 This is a first flow chart of a substation network fault diagnosis method provided by an embodiment of the present application;

[0044] Figure 2 This is a second flow chart of the substation network fault diagnosis method provided by an embodiment of the present application;

[0045] Figure 3 This is a third flow chart of a substation network fault diagnosis method provided by an embodiment of the present application;

[0046] Figure 4 It is a structural diagram of a substation network fault diagnosis device provided by an embodiment of the present application;

[0047] Figure 5 It is a schematic diagram of the structure of a switch provided in an embodiment of the present application. DETAILED DESCRIPTION

[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0049] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements, and components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and combinations thereof.

[0050] It will also be understood that the term "and" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0051] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0052] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0053] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0054] Traditional non-intelligent conventional substations have numerous network devices and access devices. When the communication network of the substation is interrupted, the operation and maintenance personnel need to manually locate the disconnected device, such as manually querying the network cable connected to the device at the switch port, or querying the optical fiber tag to determine the specific device, which takes a lot of time to troubleshoot. If the tag is hung incorrectly, the disconnected device cannot be correctly queried, and if the tag falls off, the disconnected device cannot be queried, etc., the troubleshooting time is further increased.

[0055] These increase the management difficulty for operation and maintenance personnel and the time it takes to resolve management issues.

[0056] Please refer to Figure 1 , Figure 1 This is a schematic diagram of the first flow chart of the substation network fault diagnosis method provided by an embodiment of the present application. Figure 1 As shown, the method, applied to a switch, includes:

[0057] S11: Receive a port file, where the port file includes a first correspondence between a port of a switch and a device.

[0058] In the application, the operation and maintenance personnel obtain the port identification of each switch in the substation and the information of the device connected to the port in the actual scene or based on other information, form a first correspondence, and obtain the port file. Among them, the port file can be a file in XML (Extensible Markup Language) format, which is more convenient for non-intelligent substations to identify and obtain the first correspondence.

[0059] The operation and maintenance personnel import the port file to the switch, and the switch receives the port file.

[0060] S12: Compare the port file with the configuration information to obtain physical link failure information, where the configuration information includes a second corresponding relationship between the port and the device determined by the switch through communication.

[0061] In the application, the switch parses the port file, compares the parsed port file with the configuration information to determine whether they are consistent, finds out the disconnected device and the wrong port, and obtains the physical link fault information.

[0062] In a possible implementation, the correspondence includes the name of the device, the MAC address and the port identifier of the connection. In the process of comparing the port file with the configuration information, a third correspondence between the port of the switch and the device name can be established, and the third correspondence is sent to the monitoring system. The monitoring system displays the physical link information between the port and the device connected thereto according to the third correspondence.

[0063] In a possible implementation, before step S12, the method further includes:

[0064] S21: For each port, obtain the MAC address of the connected device through the port.

[0065] In an application, a switch receives data from a connected device through a port, parses the data, and obtains a MAC (Media Access Control Address, physical address) address of the connected device.

[0066] S22: Generate configuration information according to the MAC address of the device connected to each port.

[0067] In the application, the MAC address received by the port and the corresponding port identifier are written into a table to generate configuration information, wherein the configuration information may be a learning table.

[0068] In order to reduce the probability of configuration information being deleted due to aging time, when a MAC address is received and it is found that the table does not contain the MAC address, the MAC address and the corresponding port identifier are added to the table. If it is already included, the table is updated.

[0069] In a possible implementation, step S12 includes:

[0070] S121: For each device in the port file, if the target MAC address corresponding to the MAC address of the device is not found in the configuration information, first fault information of the device is obtained.

[0071] In the application, if the target MAC address corresponding to the MAC address of the device is not found in the configuration information, it means that the device connected to the port is disconnected, and the first fault information is obtained. The first fault information indicates that the device is disconnected.

[0072] S122: If the target MAC address is found, and the port identifier of the device is different from the target port identifier corresponding to the target MAC address, second fault information of the device is obtained.

[0073] In the application, if the target MAC address is found and the device's port identifier is different from the target port identifier corresponding to the target MAC address, it means that the device is connected but plugged into the wrong port, and the second fault information is obtained. The second fault information indicates that the device is plugged into the wrong port.

[0074] And, if the target MAC address corresponding to the device's MAC address is found in the configuration information, it means that the device is connected normally.

[0075] The physical link fault information includes the first fault information and / or the second fault information of each device.

[0076] S13: Sending physical link fault information to the monitoring system so that the monitoring system obtains the first fault point.

[0077] In the application, the physical link fault information is sent to the monitoring system, and the monitoring system obtains and displays the first fault point according to the physical link fault information.

[0078] For example, the monitoring system obtains the first fault point about the disconnected port of the device and the port where the device is plugged in incorrectly according to the physical link fault information. The monitoring system displays the disconnected port of the device in red, the port where the device is plugged in incorrectly in yellow, and the normal port in green.

[0079] It is understandable that the port file directly records the connection relationship between the port and the device, and the non-intelligent substation can also recognize it, and then compare the port file with the configuration information, and have the ability to determine the on and off status of any device. At the same time, the smart substation can also recognize it, which can be used as a supplementary means for the smart substation diagnosis network.

[0080] As well as the information of the corresponding relationship recording device, it is convenient for operation and maintenance personnel to know the abnormal switches and ports, and improve the efficiency of operation and maintenance personnel in troubleshooting.

[0081] This embodiment receives a port file, which includes a first correspondence between a port of a switch and a device; compares the port file with configuration information to obtain physical link fault information, where the configuration information includes a second correspondence between a port and a device determined by the switch through communication; and sends the physical link fault information to a monitoring system so that the monitoring system determines a first fault point, thereby achieving automated and rapid search for network fault points and reducing troubleshooting time.

[0082] Please refer to Figure 2 , Figure 2 1 is a second flow chart of a method for diagnosing substation network faults provided in an embodiment of the present application. Figure 2 As shown, the method further includes:

[0083] S14: Periodically obtain network topology information, where the network topology information includes device information of adjacent switches.

[0084] In the application, the device information of the adjacent switches is obtained through the link layer discovery protocol to obtain the network topology information between the switches. The device information includes the type, device description, IP address (Internet Protocol Address), MAC address, and port identifier of the adjacent switch.

[0085] S15: Determine network topology fault information according to network topology information at two adjacent time points.

[0086] In the application, when the network topology between switches changes, based on the network topology information at two adjacent time points, it is possible to determine which switch has a problem and obtain the corresponding network topology fault information, which includes the device information of the abnormal switch.

[0087] S16: Send network topology fault information to the monitoring system so that the monitoring system obtains the second fault point.

[0088] In the application, the network topology fault information is sent to the monitoring system, and the monitoring system obtains and displays the second fault point according to the network topology fault information.

[0089] For example, the monitoring system obtains the second fault point about the abnormal switch according to the network topology fault information. The monitoring system displays the abnormal switch in blue.

[0090] This embodiment periodically obtains network topology information, which includes device information of adjacent switches; determines network topology fault information based on the network topology information of two adjacent time points; sends the network topology fault information to the monitoring system so that the monitoring system obtains the second fault point, so that the monitoring system determines the second fault point, thereby realizing automatic and rapid search for network fault points and reducing troubleshooting time.

[0091] Please refer to Figure 3 , Figure 3 FIG. 1 is a third flow chart of a method for diagnosing substation network faults provided in an embodiment of the present application. Figure 3 As shown, the method further includes:

[0092] S17: Monitor the hardware status and port conditions, and obtain the main body alarm information.

[0093] In a possible implementation, step S17 includes:

[0094] S171: If the monitored CPU usage is greater than the preset usage, a CPU load rate alarm message is obtained.

[0095] In the application, if the CPU usage is monitored to be greater than the preset usage, it means that the CPU usage is too high and the switch may be overloaded, which may affect the network connection. The operation and maintenance personnel need to check whether the network data load of the switch is balanced and obtain the corresponding CPU load alarm information.

[0096] S172: If the switch temperature is detected to be greater than a preset temperature, a temperature alarm message is obtained.

[0097] In the application, if the switch temperature is monitored to be greater than the preset temperature, it means that the storage environment temperature of the switch is too high and there may be abnormalities in the storage environment, which may affect the network connection. The operation and maintenance personnel need to check whether the storage environment of the switch is abnormal and obtain the corresponding temperature alarm information.

[0098] S173: For each port, if it is detected that the port receives communication data from an illegal device, illegal device alarm information of the port is obtained.

[0099] In the application, if the port is monitored to receive communication data from an illegal device, it means that the MAC address of the device connected to the port may be incorrect. The operation and maintenance personnel are required to check whether the MAC address of the device connected to the port is configured incorrectly and whether it is set according to the standard MAC address specification to obtain the corresponding illegal device alarm information.

[0100] In a possible implementation, it is determined that the communication data received from the illegal device is received by using the source MAC address in the communication data.

[0101] S174: If the monitored port flow is greater than the preset flow, the flow alarm information of the port is obtained.

[0102] In the application, if the port traffic is monitored to be greater than the preset traffic, it means that the data sent by the device connected to the port may be abnormal. If the traffic continues to increase, it will affect the forwarding of normal data and cause data packet loss. The operation and maintenance personnel are required to check whether the port is abnormal and obtain the corresponding traffic alarm information.

[0103] S175: If it is detected that the port transmission power is greater than the preset power, power alarm information of the port is obtained.

[0104] In the application, if the port transmission power is greater than the preset power, it means that the device connected to the port may be disconnected, and the operation and maintenance personnel need to check whether the port is abnormal or replace the transmission module to obtain the corresponding power alarm information. Among them, the normal transmission power is -20dBm to -14dBm at a gigabit wavelength of 1310nm and -9.5dBm to -0.0dBm at a 100M wavelength of 850nm.

[0105] Among them, the hardware status includes CPU usage and switch temperature, the port status includes the communication data received by the port, port traffic and port transmission power, and the main body alarm information includes CPU load rate, temperature alarm information and port illegal device alarm information, traffic alarm information, and power alarm information.

[0106] S18: Send the main body alarm information to the monitoring system so that the monitoring system can obtain the third fault point.

[0107] In the application, the main body alarm information is sent to the monitoring system, and the monitoring system obtains and displays the third fault point according to the main body alarm information.

[0108] For example, the monitoring system obtains the third fault point about the abnormal switch according to the alarm information of the main body, and the monitoring system displays the abnormal switch in orange.

[0109] It is understandable that the main alarm information can remind the operation and maintenance personnel to check the switch before the network actually has problems, thereby reducing the number of switch problems.

[0110] This embodiment obtains the main body alarm information by monitoring the hardware status and port conditions, and sends the main body alarm information to the monitoring system so that the monitoring system can obtain the third fault point, realize automatic and rapid search for network fault points, and reduce the troubleshooting time.

[0111] In one embodiment, the method further comprises:

[0112] S31: Receive collection instructions from the substation.

[0113] S32: In response to the collection instruction, send physical link fault information, network topology fault information and entity alarm information to the monitoring system.

[0114] In the application, the monitoring system will periodically collect information and obtain fault information. The fault point is determined based on the physical link fault information, network topology fault information and the main body alarm information, so that the fault point can be discovered in time.

[0115] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0116] Corresponding to the method described in the above embodiment, for the convenience of explanation, only the part related to the embodiment of the present application is shown.

[0117] Please refer to Figure 4 , Figure 4 Schematic diagram of the structure of a substation network fault diagnosis device provided by an embodiment of the present application. Figure 4 As shown, the device comprises:

[0118] The communication module 10 is used to receive a port file, wherein the port file includes a first correspondence between a port of the switch and a device;

[0119] It is also used to send physical link failure information to the monitoring system so that the monitoring system can determine the first failure point;

[0120] The fault determination module 11 is used to compare the port file with the configuration information to obtain the physical link fault information, where the configuration information includes the second corresponding relationship between the port and the device determined by the switch through communication.

[0121] In one embodiment, the fault determination module is also used to periodically obtain network topology information, which includes device information of adjacent switches; determine network topology fault information based on the network topology information at two adjacent time points; and send the network topology fault information to the monitoring system so that the monitoring system obtains the second fault point.

[0122] In one embodiment, the fault determination module is further used to monitor the hardware status and port status to obtain the main body alarm information; and send the main body alarm information to the monitoring system so that the monitoring system can obtain the third fault point.

[0123] In one embodiment, the fault determination module is specifically used to obtain the first fault information of the device for each device in the port file if the target MAC address corresponding to the MAC address of the device is not found in the configuration information; if the target MAC address is found and the port identifier of the device is different from the target port identifier corresponding to the target MAC address, the second fault information of the device is obtained; wherein the corresponding relationship includes the name, MAC address and connected port identifier of the device, and the physical link fault information includes the first fault information and / or second fault information of each device.

[0124] In one embodiment, the fault determination module is specifically used to obtain CPU load rate alarm information if the CPU usage rate is monitored to be greater than the preset usage rate; obtain temperature alarm information if the switch temperature is monitored to be greater than the preset temperature; for each port, if the port is monitored to receive communication data of an illegal device, obtain illegal device alarm information of the port; if the port traffic is monitored to be greater than the preset traffic, obtain traffic alarm information of the port; if the port transmission power is monitored to be greater than the preset power, obtain power alarm information of the port; wherein, the hardware status includes the CPU usage rate and the switch temperature, the port status includes the communication data received by the port, the port traffic and the port transmission power, and the main body alarm information includes the CPU load rate, temperature alarm information and illegal device alarm information, traffic alarm information and power alarm information of the port.

[0125] In one embodiment, the communication module is further used to receive a collection instruction from the substation; in response to the collection instruction, send physical link fault information, network topology fault information and entity alarm information to the monitoring system.

[0126] In one embodiment, the fault determination module is further configured to obtain, for each port, a MAC address of a device connected to the port; and generate configuration information according to the MAC address of the device connected to each port.

[0127] Figure 5 This is a schematic diagram of the structure of a switch provided in an embodiment of the present application. Figure 5 As shown, the switch 2 of this embodiment includes: at least one processor 20 ( Figure 5 Only one is shown in the figure), a memory 21, and a computer program 22 stored in the memory 21 and executable on the at least one processor 20, wherein the processor 20 implements the steps of any of the above-mentioned method embodiments when executing the computer program 22.

[0128] The switch 2 may include, but is not limited to, a processor 20 and a memory 21. Those skilled in the art will appreciate that Figure 5This is only an example of the switch 2 and does not constitute a limitation on the switch 2. The switch 2 may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0129] The processor 20 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0130] In some embodiments, the memory 21 may be an internal storage unit of the switch 2, such as a hard disk or memory of the switch 2. In other embodiments, the memory 21 may also be an external storage device of the switch 2, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the switch 2. Further, the memory 21 may also include both an internal storage unit of the switch 2 and an external storage device. The memory 21 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 21 may also be used to temporarily store data that has been output or is to be output.

[0131] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0132] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0133] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0134] An embodiment of the present application provides a computer program product. When the computer program product runs on a switch, the switch can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some cases, the computer-readable medium cannot be an electric carrier signal and a telecommunication signal.

[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0137] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

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

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

[0140] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A substation network fault diagnosis method, It is characterized in that Applicable to switches, including: receiving a port file, wherein the port file includes a first correspondence between a port of a switch and a device; Comparing the port file with configuration information to obtain physical link failure information, the configuration information including a second corresponding relationship between the port and the device determined by the switch through communication; The physical link failure information is sent to a monitoring system so that the monitoring system obtains a first failure point.

2. The method according to claim 1, It is characterized in that Also includes: Periodically acquiring network topology information, wherein the network topology information includes device information of adjacent switches; Determining network topology fault information according to the network topology information at two adjacent time points; The network topology fault information is sent to the monitoring system so that the monitoring system obtains a second fault point.

3. The method according to claim 1 or 2, It is characterized in that Also includes: Monitor hardware status and port conditions, and obtain alarm information from the main body; Send the main body alarm information to the monitoring system so that the monitoring system obtains the third fault point.

4. The method according to claim 3, It is characterized in that The comparing the port file with the configuration information to obtain the physical link fault information includes: For each device in the port file, if a target MAC address corresponding to the MAC address of the device is not found in the configuration information, obtaining first fault information of the device; If the target MAC address is found, and the port identifier of the device is different from the target port identifier corresponding to the target MAC address, obtaining second fault information of the device; The corresponding relationship includes the name, MAC address and connected port identifier of the device, and the physical link fault information includes the first fault information and / or the second fault information of each of the devices.

5. The method according to claim 3, It is characterized in that The monitoring of hardware status and port conditions to obtain the main body alarm information includes: If the monitored CPU usage is greater than the preset usage, a CPU load rate alarm message is obtained; If the switch temperature is detected to be higher than the preset temperature, a temperature alarm message is obtained; For each of the ports, if it is monitored that the port receives communication data of an illegal device, illegal device alarm information of the port is obtained; If the monitored port flow is greater than the preset flow, the flow alarm information of the port is obtained; If the port transmission power is detected to be greater than the preset power, the power alarm information of the port is obtained; Among them, the hardware status includes CPU usage and switch temperature, the port status includes communication data received by the port, port traffic and port transmission power, and the main body alarm information includes CPU load rate, temperature alarm information and illegal device alarm information, traffic alarm information and power alarm information of the port.

6. The method according to claim 3, It is characterized in that Also includes: Receiving a collection instruction from the substation; In response to the collection instruction, the physical link fault information, the network topology fault information and the main body alarm information are sent to the monitoring system.

7. The method according to claim 1, It is characterized in that Before comparing the port file with the configuration information to obtain the physical link fault information, the method further includes: For each port, obtaining a MAC address of a device connected via the port; The configuration information is generated according to the MAC address of the device connected to each of the ports.

8. A substation network fault diagnosis device, It is characterized in that include: A communication module, configured to receive a port file, wherein the port file includes a first correspondence between a port of a switch and a device; Also used for sending the physical link fault information to a monitoring system so that the monitoring system can determine the first fault point; The fault determination module is used to compare the port file with the configuration information to obtain physical link fault information, wherein the configuration information includes a second corresponding relationship between the port and the device determined by the switch through communication.

9. A switch comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Fault diagnosis method, device and system for transformer substation network and storage medium

    CN120956592A