Substation GOOSE link fault analysis method, device, equipment, medium and product
By obtaining the broken link message and fiber interface information of the GOOSE link, using preset fault analysis rules and knowledge bases to automatically analyze the fault types and generate processing strategies, the problem of low manual inspection efficiency in the existing technology is solved, and the rapid automatic analysis and processing of GOOSE link failures in the substation is realized.
Patent Information
- Application Number
- CN202510296379.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-07-08
AI Technical Summary
In the prior art, the fault handling of GOOSE links of substations relies on manual inspection, resulting in low fault handling efficiency and inability to deal with faults in non-custody periods in a timely manner.
By obtaining the broken link message of the GOOSE link, the indicator light on and off information of the optical fiber interface, and the transmission and reception power, the fault type is automatically analyzed using preset fault analysis rules and knowledge bases, and processing strategies are generated to update the knowledge base in combination with the large language model.
It improves the efficiency of fault handling and realizes the rapid automatic analysis and processing of GOOSE link faults.
Smart Images

Figure CN120282046A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of power system automation, and particularly to a method, device, equipment, medium and product for analyzing faults in the GOOSE link of a substation. Background Art
[0002] In an intelligent substation, Generic Object Oriented Substation Event (GOOSE) signals are transmitted based on optical fibers. During the transmission process, they are affected by various factors, resulting in the interruption of GOOSE signals and the inability to transmit normally. This situation is called GOOSE link disconnection. GOOSE link disconnection will affect the overall communication of the substation, thus affecting the normal operation of the substation.
[0003] In the prior art, the main method to solve GOOSE link disconnection is to regularly analyze the message information in the background through manual inspection, determine the fault location in combination with the drawing information of the substation, and conduct a one-by-one investigation to determine the specific fault location and the type of fault that occurred, and give corresponding fault handling strategies.
[0004] Since the prior art relies on manual processing, there is a technical problem of low fault handling efficiency. Summary of the Invention
[0005] The embodiments of this application provide a method, device, equipment, medium and product for analyzing faults in the GOOSE link of a substation, so as to achieve the technical effect of improving the accuracy of analyzing faults in the GOOSE link of a private substation.
[0006] In a first aspect, the embodiments of this application provide a method for analyzing faults in the GOOSE link of a substation, including:
[0007] Obtain the disconnection message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the disconnection message;
[0008] Based on a preset fault analysis rule, conduct a fault analysis on the disconnection message, the on / off information of the indicator light, and the transceiver power to obtain the disconnection fault type corresponding to the GOOSE link;
[0009] Match based on the disconnection fault type and a preset knowledge base to determine the disconnection handling strategy corresponding to the GOOSE link;
[0010] Among them, the preset knowledge base includes different disconnection fault types corresponding to the GOOSE link of the substation, and the disconnection handling strategy corresponding to each disconnection fault type.
[0011] In a possible implementation, obtaining the disconnection message of the GOOSE link, as well as the on / off information and the transmission and reception power of the indicator light of the optical fiber interface corresponding to the disconnection message, includes:
[0012] In response to the GOOSE disconnection signal, obtaining the disconnection message corresponding to the disconnection signal;
[0013] Based on the disconnection message, determining the interval node corresponding to the disconnection message and the optical fiber interface corresponding to the interval node;
[0014] Collecting the on / off information of the indicator light and the transmission and reception power of the optical fiber interface.
[0015] In a possible implementation, based on the disconnection message, determining the interval node corresponding to the disconnection message and the optical fiber interface corresponding to the interval node, includes:
[0016] Based on the device identifier in the disconnection message, determining the interval node to which the device identifier belongs;
[0017] Based on the interval node, searching for the preset topology information of the GOOSE link to determine the switch node corresponding to the interval node;
[0018] Based on the preset configuration information corresponding to the switch node, determining the optical fiber interface corresponding to the interval node.
[0019] In a possible implementation, based on the preset fault analysis rule, performing fault analysis on the disconnection message, the on / off information of the indicator light, and the transmission and reception power to obtain the disconnection fault type corresponding to the GOOSE link, includes:
[0020] When the disconnection message is a single-interval message, based on the on / off information of the indicator light and the transmission and reception power, performing fault analysis on the first interval node corresponding to the single-interval message to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0021] When the disconnection message is a multi-interval message, determining whether the second interval nodes associated with each message in the multi-interval message are the same;
[0022] If so, based on the on / off information of the indicator light and the transmission and reception power, performing fault analysis on the second interval node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0023] If not, based on the on / off information of the indicator light, performing fault analysis on the switch node corresponding to each second interval node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal.
[0024] In a possible implementation, when the disconnection message is a multi-interval message, determining whether the second interval nodes associated with each message in the multi-interval message are the same, includes:
[0025] Based on multi - interval messages, determine the device identification information in each message;
[0026] Extract keywords for the device identification information corresponding to each message to obtain the identification of the second interval node corresponding to each message;
[0027] Match according to the second interval node corresponding to each message. If there is a second interval node in each message whose identification is the same as that of other messages, it is determined that the second interval nodes associated with each message in the multi - interval messages are the same.
[0028] In a possible implementation manner, match based on the disconnection fault type and a preset knowledge base to determine the disconnection handling strategy corresponding to the GOOSE link, including:
[0029] Match based on the disconnection fault type and a preset knowledge base to obtain a matching result;
[0030] When the matching result indicates a successful match, determine the matching result as the disconnection handling strategy corresponding to the GOOSE link;
[0031] When the matching result indicates a failed match, generate a disconnection handling strategy corresponding to the disconnection fault type based on a preset large - language model and update it to the preset knowledge base;
[0032] Wherein, the preset large - language model is a large - language model trained based on the disconnection data of the GOOSE link.
[0033] In a possible implementation manner, generate a disconnection handling strategy corresponding to the disconnection fault type based on a preset large - language model and update it to the preset knowledge base, including:
[0034] Generate a prompt word based on the disconnection fault type, disconnection message, on - off information of the indicator light, and transceiver power;
[0035] Input the prompt word into the preset large - language model to obtain the disconnection handling strategy corresponding to the GOOSE link, and update the disconnection fault type and its corresponding disconnection handling strategy to the preset knowledge base.
[0036] In a second aspect, an embodiment of the present application provides a substation GOOSE link fault analysis device, including:
[0037] An acquisition module, configured to acquire the disconnection message of the GOOSE link, as well as the on - off information of the indicator light and transceiver power of the optical fiber interface corresponding to the disconnection message;
[0038] A first processing module, configured to perform fault analysis on the disconnection message, on - off information of the indicator light, and transceiver power based on a preset fault analysis rule to obtain the disconnection fault type corresponding to the GOOSE link;
[0039] A second processing module, configured to match based on the disconnection fault type and a preset knowledge base to determine a disconnection handling strategy corresponding to the GOOSE link;
[0040] Wherein, the preset knowledge base includes different disconnection fault types corresponding to the substation GOOSE link, and disconnection handling strategies corresponding to each disconnection fault type.
[0041] In a possible implementation manner, the obtaining module is further configured to:
[0042] In response to a GOOSE disconnection signal, obtain a disconnection message corresponding to the disconnection signal;
[0043] Based on the disconnection message, determine the bay node corresponding to the disconnection message and the optical fiber interface corresponding to the bay node;
[0044] Collect the on / off information and the transceiver power of the indicator light of the optical fiber interface.
[0045] In a possible implementation manner, the obtaining module is further configured to:
[0046] Based on the device identifier in the disconnection message, determine the bay node to which the device identifier belongs;
[0047] Based on the bay node, search for the preset topology information of the GOOSE link to determine the switch node corresponding to the bay node;
[0048] Based on the preset configuration information corresponding to the switch node, determine the optical fiber interface corresponding to the bay node.
[0049] In a possible implementation manner, the first processing module is further configured to:
[0050] When the disconnection message is a single-bay message, based on the on / off information of the indicator light and the transceiver power, perform a fault analysis on the first bay node corresponding to the single-bay message to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0051] When the disconnection message is a multi-bay message, determine whether the second bay nodes associated with each message in the multi-bay message are consistent;
[0052] If so, based on the on / off information of the indicator light and the transceiver power, perform a fault analysis on the second bay node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0053] If not, based on the on / off information of the indicator light, perform a fault analysis on the switch node corresponding to each second bay node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal.
[0054] In a possible implementation manner, the first processing module is further configured to:
[0055] Based on multi - interval messages, determine the device identification information in each message;
[0056] Extract keywords for the device identification information corresponding to each message to obtain the identification of the second interval node corresponding to each message;
[0057] Match according to the second interval node corresponding to each message. If there is a second interval node in each message whose identification is the same as that of other messages, it is determined that the second interval nodes associated with each message in the multi - interval messages are the same.
[0058] In a possible implementation manner, the second processing module is further configured to:
[0059] Match based on the disconnection fault type and a preset knowledge base to obtain a matching result;
[0060] When the matching result indicates a successful match, determine the matching result as the disconnection handling strategy corresponding to the GOOSE link;
[0061] When the matching result indicates a failed match, generate a disconnection handling strategy corresponding to the disconnection fault type based on a preset large - language model and update it to the preset knowledge base;
[0062] Wherein, the preset large - language model is a large - language model trained based on the disconnection data of the GOOSE link.
[0063] In a possible implementation manner, the second processing module is further configured to:
[0064] Generate a prompt word based on the disconnection fault type, disconnection messages, indicator light on - off information, and transceiver power;
[0065] Input the prompt word into the preset large - language model to obtain the disconnection handling strategy corresponding to the GOOSE link, and update the disconnection fault type and its corresponding disconnection handling strategy to the preset knowledge base.
[0066] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0067] The memory stores computer - executable instructions;
[0068] The processor executes the computer - executable instructions stored in the memory, so that the processor executes the above - mentioned first aspect and various possible implementation manners in the first aspect.
[0069] In a fourth aspect, an embodiment of the present application provides a computer - readable storage medium, in which computer - executable instructions are stored, and when the computer - executable instructions are executed by a processor, they are used to implement the above - mentioned first aspect and various possible implementation manners in the first aspect.
[0070] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program which, when executed by a processor, implements the above first aspect and all possible implementation manners of the first aspect.
[0071] The substation GOOSE link fault analysis method, device, equipment, medium and product provided by the embodiments of the present application. The method obtains the disconnection message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the disconnection message; based on a preset fault analysis rule, for the disconnection message, the on / off information of the indicator light and the transceiver power, it performs fault analysis on the GOOSE link to determine the disconnection fault type indicated by the disconnection message of the GOOSE link; in order to solve the current disconnection fault of the GOOSE link, by matching the disconnection fault type with a preset knowledge base, it determines the processing strategy corresponding to the current GOOSE link, so as to obtain the processing strategy for solving the current disconnection fault of the GOOSE link. Compared with the method of using manual inspection to achieve fault analysis in the prior art, the present application uses a preset fault analysis rule combined with the information related to the disconnection message of the GOOSE link to analyze the current disconnection fault, and obtains the corresponding disconnection fault type and processing strategy; thus achieving the technical effect of improving the fault handling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0073] Figure 1 It is a flowchart of the substation GOOSE link fault analysis method provided by the present application Figure 1 ;
[0074] Figure 2 It is a flowchart of the substation GOOSE link fault analysis method provided by the present application Figure 2 ;
[0075] Figure 3 It is a flowchart of the substation GOOSE link fault analysis method provided by the present application Figure 3 ;
[0076] Figure 4 It is a flowchart of the substation GOOSE link fault analysis method provided by the present application Figure 4 ;
[0077] Figure 5 It is a structural diagram of the substation GOOSE link fault analysis device provided by the present application;
[0078] Figure 6Schematic diagram of the electronic device provided in this application.
[0079] Through the above-mentioned drawings, specific embodiments of this application have been shown, and more detailed descriptions will be provided later. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0080] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0081] In the prior art, in order to ensure the normal operation of the substation GOOSE link, manual inspections are carried out periodically. According to the preset drawing information of the GOOSE link and the fault message information generated by the background, the link node where the fault occurs is determined, and the cause of the fault is analyzed to obtain a solution to the fault.
[0082] However, the fault detection method in the prior art is periodic detection. During the period when there is no manual inspection, if a fault occurs, it cannot be processed in time; if the link node with a fault is determined through manual inspection when a fault occurs and then the corresponding solution is generated, the time cost and labor cost required are high. Therefore, there is a technical problem of low fault handling efficiency in the prior art.
[0083] In view of the above technical problems, the present application proposes the following technical concept: Compared with the method of using manual inspection for fault analysis in the prior art, the present application uses a preset fault analysis rule and a preset knowledge base to realize automatic fault analysis and generation of a fault handling strategy. Specifically: when a link break message is generated in the GOOSE link, determine the link break message, the on / off information and the transceiver power of the indicator light of the optical fiber interface corresponding to the link break message; analyze the link break fault of the current GOOSE link based on the above information in combination with the preset fault analysis rule to obtain the corresponding link break fault type, and match the link break fault type according to the preset knowledge base to obtain the corresponding link break handling strategy, thereby efficiently solving the link break fault of the GOOSE link and achieving the technical effect of improving the fault handling efficiency.
[0084] The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following several specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0085] Figure 1 Flow schematic of the substation GOOSE link fault analysis method provided by the present application Figure 1 , such as Figure 1 shown, the method includes:
[0086] S101. Obtain the link break message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the link break message.
[0087] In this step, the link break message refers to the link break messages sent by each node in the GOOSE link when a link break fault occurs in the GOOSE link, which is used to indicate the node device with a link break fault.
[0088] Among them, the nodes of the GOOSE link refer to the bay nodes and switch nodes of the GOOSE link; among them, the bay node is the basic component unit of the GOOSE link, and each bay node contains at least one physical device; the switch node refers to the central switch node connected to the bay node, as well as the sub-switch nodes in the bay node.
[0089] The optical fiber interface refers to the optical fiber interface on the bay node connected to the switch node, as well as the optical fiber interface on the switch node connected to the bay node; each switch node contains at least one optical fiber port, and each bay node contains at least one optical fiber interface; each optical fiber interface has a corresponding indicator light; the transceiver power refers to the received optical power and transmitted optical power of each optical fiber interface.
[0090] In this step, the method for obtaining the link break message, the on / off information of the indicator light, and the transceiver power can be: based on the device identifier included in the link break message, determine the corresponding bay node and switch node, determine the optical fiber interface corresponding to the current link break message according to the optical port mapping information corresponding to the switch node, and collect the current on / off information of the indicator light and the transceiver power of this optical fiber interface.
[0091] S102. Based on the preset fault analysis rules, perform fault analysis on the link break message, the on / off information of the indicator light, and the transceiver power to obtain the link break fault type corresponding to the GOOSE link.
[0092] In this step, the preset fault analysis rule refers to analyzing different disconnection fault types corresponding to the case of single interval node and the case of multiple interval nodes respectively according to the data of the interval nodes indicated by the disconnection message.
[0093] Exemplarily, if the current interval message is a single interval message, locate the specific device and interval node according to the device identifier in the single interval message and the interval identifier to which the device identifier belongs; query the switch node connected to the interval according to the device and the interval node; thereby obtain the on / off information and the transceiver power of the corresponding indicator lights of the optical fiber interfaces on the interval node and the switch node respectively. And perform fault analysis according to the on / off information and the transceiver power of the optical fiber interface to obtain the disconnection fault type corresponding to the current GOOSE link.
[0094] Among them, the method of performing fault analysis on the on / off information and the transceiver power of the indicator lights is specifically as follows: when the on / off information of the indicator lights of the optical fiber interfaces of the switch node indicates that there is an extinguished indicator light of an optical fiber interface, determine whether the received optical power corresponding to the optical fiber interface of the interval node is abnormal. If it is abnormal, determine that the current disconnection fault type is: "There is a reception fault in the optoelectronic conversion module of the GOOSE disconnection interval node"; if it is normal, determine that the current disconnection fault type is: "The optical fiber between the device and the switch node in the GOOSE disconnection interval node is interrupted". When the on / off information of the indicator lights of the optical fiber interfaces of the switch node indicates that there is an extinguished indicator light of an optical fiber interface, if the transceiver power of the optical fiber interface with the extinguished indicator light in the switch node is abnormal, determine that the current disconnection fault type is: "The optical fiber conversion module of the optical fiber interface of the switch node with the extinguished indicator light fails"; if the transceiver power of the optical fiber interface with the extinguished indicator light in the switch node is normal, determine that the current disconnection fault type is: "The optical fiber between the device and the switch node in the GOOSE disconnection interval node is interrupted". When the on / off information of the indicator lights of the optical fiber interfaces of the switch node indicates that there is no extinguished indicator light of the optical fiber interface, determine that the current disconnection fault type is: "A fault occurs inside the GOOSE disconnection interval node".
[0095] It should be noted that the fault analysis process in this embodiment is only for exemplary explanation. The fault analysis in actual applications needs to be analyzed in detail in combination with the specific on / off information and transceiver power of the optical fiber interface indicator lights. This embodiment does not limit the disconnection fault types existing in actual applications.
[0096] S103. Match based on the disconnection fault type and the preset knowledge base to determine the disconnection processing strategy corresponding to the GOOSE link.
[0097] In this step, the preset knowledge base includes different disconnection fault types corresponding to the substation GOOSE link and the disconnection processing strategy corresponding to each disconnection fault type.
[0098] Exemplarily, the type of broken link fault is: "A fault occurs inside the GOOSE broken link bay node"; then the broken link handling strategy obtained by matching with the preset knowledge base is: "Replace the internal optocoupler plug-in of the described GOOSE broken link bay node."
[0099] The substation GOOSE link fault analysis method provided by the embodiments of the present application obtains the broken link message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the broken link message; based on the preset fault analysis rules, for the broken link message, the on / off information of the indicator light, and the transceiver power, the GOOSE link is fault-analyzed to determine the type of broken link fault indicated by the broken link message of the GOOSE link; in order to solve the current broken link fault of the GOOSE link, by matching the type of broken link fault with the preset knowledge base, the corresponding handling strategy for the current GOOSE link is determined, so as to obtain the handling strategy for solving the current broken link fault of the GOOSE link. Compared with the method of using manual inspection for fault analysis in the prior art, the present application uses the preset fault analysis rules combined with the information related to the broken link message of the GOOSE link to analyze the current broken link fault, and obtains the corresponding type of broken link fault and handling strategy; thus achieving the technical effect of improving the fault handling efficiency.
[0100] Figure 2 It is a flow diagram of the substation GOOSE link fault analysis method provided by the present application Figure 2 Based on the above Figure 1 On the basis of the above-described embodiment, the acquisition of the information in step S101 of this embodiment is further explained. As Figure 2 shown, the method includes:
[0101] S201. In response to the GOOSE broken link signal, obtain the broken link message corresponding to the broken link signal.
[0102] In this step, the method for obtaining the broken link message may be: based on the monitoring system, the communication status of the GOOSE link is monitored in real time. When it is detected that the GOOSE link is interrupted, a broken link signal is generated and an alarm is triggered; the broken link message corresponding to the broken link signal is queried in the monitoring system.
[0103] S202. Based on the broken link message, determine the bay node corresponding to the broken link message and the optical fiber interface corresponding to the bay node.
[0104] Optionally, a possible implementation manner for determining the switch node and the optical fiber interface is:
[0105] S2021. Based on the device identifier in the broken link message, determine the bay node to which the device identifier belongs.
[0106] In this step, the information included in the disconnection message can be: device identifier, the bay node to which the device belongs, and the time when the disconnection occurred.
[0107] Exemplarily, the disconnection message information is [GOOSE disconnection alarm: device ID = Protection_Device_1, bay ID = Bay_1, time = 2023-10-01 12:00:00], where "Bay_1" refers to the identifier corresponding to the bay node to which the device belongs, and "Protection_Device_1" refers to the device identifier.
[0108] S2022. Find the preset topology information of the GOOSE link based on the bay node, and determine the switch node corresponding to the bay node.
[0109] In this step, the preset topology information includes the identifier and device list of the bay node, the identifier and port list of the switch node, and the connection relationship between the bay node and the switch node.
[0110] S2023. Determine the optical fiber interface corresponding to the bay node based on the preset configuration information corresponding to the switch node.
[0111] In this step, the preset configuration information refers to the configuration file stored in the switch or the configuration file of the management system corresponding to the GOOSE link.
[0112] Exemplarily, there is a bay node A and a switch node B corresponding to the bay node A; based on the preset configuration information, find the port information connected to the switch node B, and obtain the optical fiber interface type and optical module type connected between the bay node A and the switch node B, so as to obtain the optical fiber interfaces of the bay node A and the switch node B.
[0113] S203. Collect the on / off information and transceiver power of the optical fiber interface.
[0114] In this step, the collection method of the on / off information of the indicator light can be: deploy an information collection module in the optical fiber interfaces of the switch node and the bay node, and collect the on / off information and transceiver power of the corresponding indicator lights of different optical fiber interfaces based on the information collection module.
[0115] In this embodiment, by analyzing the disconnection message, determine the corresponding bay node and switch node, and obtain the bay node optical fiber interface and switch node optical fiber interface related to the disconnection message according to the preset topology information and the preset configuration information of the switch node, and collect the information corresponding to different optical fiber interfaces to obtain the on / off information of the indicator light and the transceiver power.
[0116] Figure 3Flow schematic of the substation GOOSE link fault analysis method provided by this application Figure 3 , based on the above embodiments, the determination of the link interruption fault type in step S102 of this embodiment is further explained in detail. For example Figure 3 as shown, the method includes
[0117] S301. When the link interruption message is a single-interval message, based on the indicator light on / off information and the transceiver power, perform fault analysis on the first interval node corresponding to the single-interval message to obtain the link interruption fault type corresponding to the GOOSE link interruption signal.
[0118] In this step, when the link interruption message is a single-interval message, the specific fault analysis method can be
[0119] S3011. If there is an indicator light off in the optical fiber interfaces of the switch node, determine whether the received optical power in the transceiver power corresponding to the optical fiber interface of the interval node is abnormal; if abnormal, determine the link interruption fault type as: "Optical-electric conversion module receive function fault of the GOOSE link interruption interval node"; if normal, determine the link interruption fault type as: "Optical fiber interruption between the device of the GOOSE link interruption interval node and the switch node".
[0120] S3012. If there is an indicator light off in the optical fiber interfaces of the switch node, determine whether the transceiver power corresponding to the optical fiber interface with the indicator light off in the switch node is abnormal; if abnormal, determine the link interruption fault type as: "Optical-electric conversion module fault of the optical fiber interface of the switch node with the indicator light off"; if normal, determine the link interruption fault type as: "Optical fiber interruption between the device of the GOOSE link interruption interval node and the switch node".
[0121] S3013. When there is no indicator light off in the optical fiber interfaces of the switch node, determine the link interruption fault type as: "Internal fault of the GOOSE link interruption interval node".
[0122] S302. When the link interruption message is a multi-interval message, determine whether the second interval nodes associated with each message in the multi-interval message are the same.
[0123] Optionally, a possible implementation method for determining whether the second interval nodes are the same is
[0124] S3021. Based on the multi-interval message, determine the device identification information in each message.
[0125] S3022. Extract keywords from the device identification information corresponding to each message to obtain the identification of the second interval node corresponding to each message.
[0126] S3023. Match according to the second interval nodes corresponding to each message. If there is a second interval node in each message that is the same as the identifier of other messages, it is determined that the second interval nodes associated with each message in the multi-interval message are the same.
[0127] Exemplarily, there are three messages in the multi-interval message. The device identifiers extracted from each message are: ['Bay_1_Protection_Device_1', 'Bay_2_Protection_Device_2', 'Bay_3_Protection_Device_3'], and the identifiers of the second interval nodes extracted from the device identifiers are: ['Bay_1', 'Bay_2', 'Bay_3']. Then it is determined that the second interval nodes are not the same.
[0128] S303. If so, based on the on / off information of the indicator light and the transceiver power, perform a fault analysis for the second interval node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal.
[0129] In this step, when the second node intervals are the same, the fault analysis method can be:
[0130] S3031. Extract the same second interval nodes in the message.
[0131] S3032. Determine whether there is an abnormality in the transmitted optical power corresponding to the optical fiber interface of the second interval node.
[0132] S3033. When it is determined that there is an abnormality, the disconnection fault type is: "There is a transmission function fault in the optoelectronic conversion module of the optical fiber interface of the GOOSE disconnection interval node".
[0133] S3034. When there is no abnormality, if there is only one optical fiber interface of one sub-switch node in the switch node corresponding to the interval node whose indicator light is off, and the transceiver power of this optical fiber interface is abnormal, then it is determined that the disconnection fault type is: "There is an abnormality in the transceiver power of the optical fiber interface where the indicator light of the sub-switch is off"; if there is only one optical fiber interface of one sub-switch node in the switch node corresponding to the interval node whose indicator light is off, and the transceiver power of this optical fiber interface is normal, then it is determined that the disconnection fault type is: "There is a fiber fault between the optical fiber interface where the indicator light of the sub-switch is off and the described second interval node".
[0134] S3035. When there is no anomaly, if there is a situation where the indicator light of the main optical fiber interface of an existing subordinate switch node is off, and there is also a situation where the indicator light of a sub-optical fiber interface of the central switch node is off, and the main optical fiber interface of the subordinate switch node has abnormal transceiver power, then determine that the disconnection fault type is: "The main optical port of the subordinate switch node has abnormal transceiver power"; if there is a situation where the indicator light of the main optical fiber interface of an existing subordinate switch node is off and there is also a situation where the indicator light of a sub-optical fiber interface of the central switch node is off, and there is a situation where the transceiver power of a sub-optical fiber interface of the central switch node is abnormal, then determine that the disconnection fault type is: "The transceiver power of a sub-optical fiber interface of the central switch is abnormal".
[0135] In this step, the sub-optical port refers to the optical fiber interface used by the switch node to connect to the lower-level switch node or the lower-level interval node, and the main optical port refers to the optical fiber interface used by the switch node to connect to the upper-level core network, the upper-level switch node, and the upper-level interval node.
[0136] S304. If not, then based on the indicator light on / off information, perform fault analysis on the switch nodes corresponding to each second interval node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal.
[0137] In this step, the method for determining the disconnection fault type can be:
[0138] S3041. If the indicator lights of multiple sub-optical fiber interfaces of the same subordinate switch are off for multiple interval nodes, then determine that the disconnection fault type is: "The same subordinate switch has an internal fault".
[0139] S3042. If the indicator lights of multiple sub-optical ports of the same central switch are off for multiple interval nodes, then determine that the disconnection fault type is: "The same central switch has an internal fault".
[0140] Figure 4 This is the process schematic of the substation GOOSE link fault analysis method provided by this application Figure 4 , based on the above embodiments, a further detailed explanation of the generation of the disconnection handling strategy in step S103 of this embodiment is as follows Figure 4 As shown, this method includes
[0141] S401. Based on the disconnection fault type and the preset knowledge base for matching, obtain the matching result.
[0142] In this step, the preset knowledge base contains various types of broken-link faults and the corresponding broken-link handling strategies for each type of broken-link fault. Among them, the way to match the broken-link fault type with the preset knowledge base can be as follows: Determine the specific broken-link fault type through keyword matching, analyze the fault node information included in the broken-link fault type, and generate the corresponding broken-link handling strategy based on the fault node information and the broken-link fault type.
[0143] S402. When the matching result indicates a successful match, determine the matching result as the broken-link handling strategy corresponding to the GOOSE link.
[0144] Exemplarily, the broken-link fault type and the corresponding broken-link handling strategy can be as follows:
[0145] When the broken-link fault type indicates a failure of the optoelectronic conversion module, locate the specific fault node based on the broken-link fault type and replace the optoelectronic conversion module corresponding to that node. When the broken-link fault type indicates a fiber break, locate the node where the fiber breaks and replace the corresponding fiber. When the broken-link fault type indicates a fault within the interval node, replace the optocoupler plug inside the corresponding interval node. When the broken-link fault type indicates a failure inside the switch, restart the switch at the switch node, and after the restart is ineffective, replace the switch and reset the rule input of the switch.
[0146] S403. When the matching result indicates a failed match, generate the broken-link handling strategy corresponding to the broken-link fault type based on the preset large language model and update it to the preset knowledge base.
[0147] In this step, the preset large language model is a large language model trained based on the broken-link data of the GOOSE link.
[0148] Optionally, a possible implementation way to update the preset knowledge base is as follows:
[0149] S4031. Generate a prompt word based on the broken-link fault type, broken-link message, indicator light on / off information, and transceiver power.
[0150] S4032. Input the prompt word into the preset large language model to obtain the broken-link handling strategy corresponding to the GOOSE link, and update the broken-link fault type and its corresponding broken-link handling strategy to the preset knowledge base.
[0151] In this actual example, the generation of the broken-link handling strategy is further accelerated through the matching of the broken-link fault type with the preset knowledge base, and the large language model is used to analyze the non-existent broken-link fault types and generate the corresponding broken-link handling strategies, thereby improving the generation efficiency of the broken-link handling strategies.
[0152] Figure 5Schematic diagram of the substation GOOSE link fault analysis device provided by this application, as Figure 5 shown, the substation GOOSE link fault analysis device provided in this embodiment includes:
[0153] An acquisition module 501, configured to acquire a disconnection message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the disconnection message;
[0154] A first processing module 502, configured to perform fault analysis on the disconnection message, the on / off information of the indicator light, and the transceiver power based on a preset fault analysis rule to obtain the disconnection fault type corresponding to the GOOSE link;
[0155] A second processing module 503, configured to match based on the disconnection fault type and a preset knowledge base to determine the disconnection processing strategy corresponding to the GOOSE link;
[0156] Among them, the preset knowledge base includes different disconnection fault types corresponding to the substation GOOSE link, and the disconnection processing strategy corresponding to each disconnection fault type.
[0157] In a possible implementation manner, the acquisition module 501 is further configured to:
[0158] In response to the GOOSE disconnection signal, acquire the disconnection message corresponding to the disconnection signal;
[0159] Based on the disconnection message, determine the interval node corresponding to the disconnection message and the optical fiber interface corresponding to the interval node;
[0160] Collect the on / off information of the indicator light and the transceiver power of the optical fiber interface.
[0161] In a possible implementation manner, the acquisition module 501 is further configured to:
[0162] Based on the device identifier in the disconnection message, determine the interval node to which the device identifier belongs;
[0163] Based on the interval node, search for the preset topology information of the GOOSE link to determine the switch node corresponding to the interval node;
[0164] Based on the preset configuration information corresponding to the switch node, determine the optical fiber interface corresponding to the interval node.
[0165] In a possible implementation manner, the first processing module 502 is further configured to:
[0166] When the disconnection message is a single-interval message, perform fault analysis on the first interval node corresponding to the single-interval message based on the on / off information of the indicator light and the transceiver power to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0167] When the disconnection message is a multi-interval message, determine whether the second interval nodes associated with each message in the multi-interval message are consistent;
[0168] If so, based on the on / off information of the indicator light and the transceiver power, perform a fault analysis for the second interval nodes to obtain the disconnection fault type corresponding to the GOOSE disconnection signal;
[0169] If not, based on the on / off information of the indicator light, perform a fault analysis for the switch nodes corresponding to each second interval node to obtain the disconnection fault type corresponding to the GOOSE disconnection signal.
[0170] In a possible implementation, the first processing module 502 is further configured to:
[0171] Based on the multi-interval message, determine the device identification information in each message;
[0172] Extract keywords for the device identification information corresponding to each message to obtain the identification of the second interval node corresponding to each message;
[0173] Match according to the second interval nodes corresponding to each message. If there is a second interval node in each message whose identification is consistent with that of other messages, it is determined that the second interval nodes associated with each message in the multi-interval message are consistent.
[0174] In a possible implementation, the second processing module 503 is further configured to:
[0175] Match based on the disconnection fault type and a preset knowledge base to obtain a matching result;
[0176] When the matching result indicates a successful match, determine the matching result as the disconnection handling strategy corresponding to the GOOSE link;
[0177] When the matching result indicates a failed match, generate a disconnection handling strategy corresponding to the disconnection fault type based on a preset large language model and update it to the preset knowledge base;
[0178] Wherein, the preset large language model is a large language model trained based on the disconnection data of the GOOSE link.
[0179] In a possible implementation, the second processing module 503 is further configured to:
[0180] Generate a prompt word based on the disconnection fault type, the disconnection message, the on / off information of the indicator light, and the transceiver power;
[0181] Input the prompt word into the preset large language model to obtain the disconnection handling strategy corresponding to the GOOSE link, and update the disconnection fault type and its corresponding disconnection handling strategy to the preset knowledge base.
[0182] The test case generation device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.
[0183] Figure 6 It is a schematic structural diagram of the electronic device provided in this application. As Figure 6 shown, the electronic device provided in this embodiment includes: at least one processor 601 and a memory 602. Optionally, the device further includes a communication component 603. Among them, the processor 601, the memory 602, and the communication component 603 are connected through a bus 604.
[0184] In the specific implementation process, at least one processor 601 executes the computer execution instructions stored in the memory 602, so that at least one processor 601 executes the above substation GOOSE link fault analysis method or test case generation method.
[0185] For the specific implementation process of the processor 601, reference can be made to the above method embodiment, and its implementation principle and technical effects are similar, which will not be elaborated here in this embodiment.
[0186] In the above embodiments, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, abbreviated: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, abbreviated: DSP), application specific integrated circuits (English: Application Specific Integrated Circuit, abbreviated: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
[0187] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0188] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the buses in the drawings of this application are not limited to only one bus or one type of bus.
[0189] This application also provides a computer program product, including a computer program, which when executed by a processor implements the above-mentioned substation GOOSE link fault analysis method or test case generation method.
[0190] This application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executable instructions, the above-mentioned substation GOOSE link fault analysis method or test case generation method is implemented.
[0191] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disc. The readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0192] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0193] The division of units is only a logical function division. In actual implementation, there can be other division methods. For example, 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 displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in an electrical, mechanical or other form.
[0194] The unit described as a separate component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed across multiple network units. Some or all of these units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, in each embodiment of the present invention, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0196] If the function 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 technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs, etc., which can store program codes.
[0197] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When this program is executed, it executes the steps including the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disks, or optical discs, etc., which can store program codes.
[0198] Finally, it should be noted that: After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other implementation schemes of the present invention. The present invention aims to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include common general knowledge or conventional technical means in the technical field not disclosed in the present invention. It is not limited to the exact structure described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. A method for analyzing GOOSE link faults in a substation, characterized in that, Including: Obtaining a disconnection message of a substation event Generic Object Oriented Substation Event (GOOSE) link for a general object, as well as the on / off information and transmission and reception power of an indicator light of the optical fiber interface corresponding to the disconnection message; Performing fault analysis on the disconnection message, the on / off information of the indicator light, and the transmission and reception power based on a preset fault analysis rule to obtain a disconnection fault type corresponding to the GOOSE link; Matching based on the disconnection fault type and a preset knowledge base to determine a disconnection handling strategy corresponding to the GOOSE link; Wherein, the preset knowledge base includes different disconnection fault types corresponding to substation GOOSE links, and disconnection handling strategies corresponding to each disconnection fault type.
2. The method according to claim 1, wherein The obtaining of the disconnection message of the GOOSE link, as well as the on / off information and transmission and reception power of the indicator light of the optical fiber interface corresponding to the disconnection message, includes: In response to a GOOSE disconnection signal, obtaining the disconnection message corresponding to the disconnection signal; Based on the disconnection message, determining an interval node corresponding to the disconnection message and an optical fiber interface corresponding to the interval node; Collecting the on / off information and transmission and reception power of the indicator light of the optical fiber interface.
3. The method according to claim 2, wherein The determining of the interval node corresponding to the disconnection message and the optical fiber interface corresponding to the interval node based on the disconnection message includes: Based on the device identifier in the disconnection message, determining the interval node to which the device identifier belongs; Searching for preset topology information of the GOOSE link based on the interval node to determine a switch node corresponding to the interval node; Determining the optical fiber interface corresponding to the interval node based on preset configuration information corresponding to the switch node.
4. The method according to any one of claims 1 to 3, characterized in that, The performing of fault analysis on the disconnection message, the on / off information of the indicator light, and the transmission and reception power based on a preset fault analysis rule to obtain a disconnection fault type corresponding to the GOOSE link includes: When the disconnection message is a single-interval message, performing fault analysis on a first interval node corresponding to the single-interval message based on the on / off information of the indicator light and the transmission and reception power to obtain a disconnection fault type corresponding to the GOOSE disconnection signal; When the disconnection message is a multi-interval message, determining whether second interval nodes associated with each message in the multi-interval message are consistent; If so, performing fault analysis on the second interval node based on the on / off information of the indicator light and the transmission and reception power to obtain a disconnection fault type corresponding to the GOOSE disconnection signal; If not, performing fault analysis on a switch node corresponding to each second interval node based on the on / off information of the indicator light to obtain a disconnection fault type corresponding to the GOOSE disconnection signal.
5. The method according to claim 4, wherein The determining of whether second interval nodes associated with each message in the multi-interval message are consistent when the disconnection message is a multi-interval message includes: Based on the multi-interval message, determining device identifier information in each message; Performing keyword extraction on the device identifier information corresponding to each message to obtain an identifier of a second interval node corresponding to each message. Match according to the second interval node corresponding to each message. If there is a second interval node in each message that is the same as the identifier of other messages, it is determined that the second interval nodes associated with each message in the multi-interval message are the same.
6. The method according to claim 5, wherein Based on the disconnection fault type and the preset knowledge base for matching, determining the disconnection handling strategy corresponding to the GOOSE link includes: Perform matching based on the disconnection fault type and the preset knowledge base to obtain a matching result; When the matching result indicates a successful match, determine the matching result as the disconnection handling strategy corresponding to the GOOSE link; When the matching result indicates a failed match, generate a disconnection handling strategy corresponding to the disconnection fault type based on a preset large language model and update it to the preset knowledge base; Wherein, the preset large language model is a large language model trained based on the disconnection data of the GOOSE link.
7. The method according to claim 6, characterized in that, Generating a disconnection handling strategy corresponding to the disconnection fault type based on a preset large language model and updating it to the preset knowledge base includes: Generate a prompt word based on the disconnection fault type, the disconnection message, the on / off information of the indicator light, and the transceiver power; Input the prompt word into the preset large language model to obtain the disconnection handling strategy corresponding to the GOOSE link, and update the disconnection fault type and its corresponding disconnection handling strategy to the preset knowledge base.
8. A substation GOOSE link fault analysis device, characterized in that, Includes: An acquisition module for acquiring the disconnection message of the GOOSE link, as well as the on / off information and transceiver power of the indicator light of the optical fiber interface corresponding to the disconnection message; A first processing module for performing fault analysis on the disconnection message, the on / off information of the indicator light, and the transceiver power based on a preset fault analysis rule to obtain the disconnection fault type corresponding to the GOOSE link; A second processing module for performing matching based on the disconnection fault type and the preset knowledge base to determine the disconnection handling strategy corresponding to the GOOSE link; Wherein, the preset knowledge base includes different disconnection fault types corresponding to the substation GOOSE link, and the disconnection handling strategy corresponding to each disconnection fault type.
9. An electronic device, characterized in that, Includes: A memory, a processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by the processor, they are used to implement the method according to any one of claims 1-7.
11. A computer program product, including a computer program, which when executed by a processor, implements the method according to any one of claims 1-7.