Optical network fault positioning method and device and related equipment

By building an alarm knowledge graph and using a gated graph neural network model and combining the attention mechanism, the problem of low accuracy in the optical network fault location method is solved, and accurate positioning and efficient fault handling of optical network faults are achieved.

CN119070899AActive Publication Date: 2024-12-03CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1

Patent Information

Application Number
CN202411237673.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-03
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

The existing optical network fault location methods have low accuracy in complex network environments, making it difficult to identify the causal relationship between alarm events, resulting in difficulty in fault location and false alarm missed responses.

Method used

By using the optical network fault location method, by obtaining alarm data, extracting triple information, building an alarm knowledge graph, and using a pre-trained gated graph neural network model, combining the attention mechanism, calculate the fault occurrence probability of each entity, and determine the Where the fault occurred.

Benefits of technology

It improves the accuracy and efficiency of optical network fault location, can accurately identify the location of faults, reduce false alarms and missed reports, and adapt to changes in the network environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070899A_ABST
    Figure CN119070899A_ABST
Patent Text Reader

Abstract

The invention provides an optical network fault positioning method and device and related equipment, and relates to the technical field of optical transport network communication, and the method comprises the steps: obtaining at least one alarm data of an optical network; triple information of each piece of alarm data is extracted, and the triple information comprises at least two entities and the relation between the two entities; constructing a corresponding alarm knowledge graph according to the triple information of each alarm data; inputting the alarm knowledge graph of each alarm data into a pre-trained gating graph neural network model, and outputting a fault occurrence probability corresponding to each entity in the alarm knowledge graph; and determining a fault occurrence position in the optical network according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph. According to the invention, the accuracy and efficiency of optical network fault positioning can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of the communications industry, the Optical Transport Network (OTN) has become the backbone of modern communications networks, carrying a large amount of data and business signals. A single network failure (for example, a node or link failure) may cause a decline in the quality of service (QoS) or even cause business interruption. Therefore, once a network failure occurs, network operators need to accurately locate the source of the failure and repair the failure as soon as possible. OTN alarms are closely related to failures. OTN alarms are indications of abnormal conditions or failures in the network, usually generated by the alarm mechanism of network equipment. When a failure occurs in the OTN network, such as optical signal loss, signal quality degradation, equipment hardware failure, etc., the network management system will receive a series of alarms reported by multiple devices. Even if these alarms contain location information, it is difficult to identify the root alarm from the alarm storm, so fault location becomes difficult. OTN alarms are direct manifestations of failures. By analyzing and processing alarm information, faults can be located and resolved to ensure the stable operation of the OTN communication network. The existing OTN fault location mainly has the following three methods:

[0003] 1) Based on signal flow analysis: Signal flow analysis is a commonly used OTN fault location method. This method first collects the topology structure, device configuration, service signal flow direction, etc. of the OTN network to determine the flow direction in the OTN network; checks the status of each device, each port, and each link one by one along the signal flow, and locates the specific location of the fault by comparing and analyzing the status information of each point, combined with alarm information, performance data, etc. Its advantage is that it can intuitively display the signal transmission path and help engineers quickly find the fault point. However, for large and complex OTN networks, the analysis of signal flow may become quite cumbersome and require a lot of time and effort.

[0004] 2) OTN fault location method based on expert experience and rule matching: The OTN fault location method based on rule matching first collects alarm information and equipment status data in the OTN network; then, the collected data is screened and matched according to preset rules and thresholds; finally, the possible location of the fault is determined based on expert experience. However, due to the complexity and dynamics of the OTN network, fixed rules and thresholds are difficult to cover all possible fault scenarios, resulting in low positioning accuracy and the presence of false alarms and missed alarms.

[0005] 3) OTN fault location method based on machine learning: The fault location method based on machine learning uses machine learning algorithms to learn a large amount of historical fault data and establish a classification model for classifying and locating new fault data. This method improves the positioning accuracy to a certain extent, but it still faces some challenges. The machine learning model is sensitive to the distribution and characteristics of the data and fails to mine the correlation of historical fault data. The model input data is single. When the network structure or business traffic changes, the model generalization is low, resulting in low fault location accuracy.

[0006] Any failure may lead to large-scale service interruption and network congestion, causing huge economic losses to operators and users. Although the existing OTN fault location methods have improved the positioning accuracy to a certain extent, there are still some problems. For example, these methods often ignore the causal relationship between alarm events, resulting in the accuracy of fault location being affected in complex network environments.

[0007] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0008] The present disclosure provides an optical network fault location method, apparatus and related equipment, which at least to a certain extent overcome the problem of low optical network fault location accuracy in the related art.

[0009] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0010] According to one aspect of the present disclosure, there is provided an optical network fault locating method, comprising: acquiring at least one alarm data of the optical network; extracting triplet information of each alarm data, wherein the triplet information includes at least two entities and a relationship between the two entities; constructing a corresponding alarm knowledge graph according to the triplet information of each alarm data; inputting the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and outputting the fault occurrence probability corresponding to each entity in the alarm knowledge graph; determining the fault occurrence location in the optical network according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph.

[0011] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, the entity type in the alarm data includes at least one of the following: alarm type, fault object, service, and equipment, and the triplet information of each alarm data is extracted, including: setting the alarm type, the fault object, the service, and the equipment in each alarm data as entities in the triplet information; setting the relationship between the alarm type, the fault object, the service, and the equipment in each alarm data as the relationship between entities in the triplet information; determining the triplet information of each alarm data based on the entities and the relationship between the entities.

[0012] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, a corresponding alarm knowledge graph is constructed according to the triple information of each alarm data, including: setting the two entities contained in the triple information of each alarm data as two nodes of the alarm knowledge graph to be constructed; setting the relationship between the two entities contained in the triple information of each alarm data as the edge of the alarm knowledge graph to be constructed; and constructing the corresponding alarm knowledge graph according to the two nodes and edges set in the triple information of each alarm data.

[0013] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, the alarm knowledge graph of each alarm data is input into a pre-trained gated graph neural network model, and the fault occurrence probability corresponding to each entity in the alarm knowledge graph is output, including: inputting a pre-constructed alarm knowledge graph into a pre-trained gated graph neural network model, and outputting the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph; using an attention mechanism to process the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph, and determining the probability of occurrence of faults corresponding to each node in the alarm knowledge graph.

[0014] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, before inputting the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model and outputting the fault occurrence probability corresponding to each entity in the alarm knowledge graph, the method also includes: using an attention mechanism to decompose the alarm knowledge graph input into the initialized gated graph neural network model into a causal attention graph and a trivial attention graph; constructing a target loss function based on the causal attention graph and the trivial attention graph; and optimizing the initialized gated graph neural network model through the target loss function to obtain a trained gated graph neural network model.

[0015] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, the triplet information also includes: entity attribute information, determining the fault location in the optical network according to the fault probability corresponding to each entity in the alarm knowledge graph, including: when the fault probability corresponding to any node in the alarm knowledge graph is greater than or / equal to a preset threshold, determining the node as a root fault node; determining the fault location in the optical network according to the entity attribute information corresponding to the root fault node.

[0016] In some exemplary embodiments of the present disclosure, based on the aforementioned scheme, after obtaining at least one alarm data of the optical network, the method further includes: performing standardization processing on the at least one alarm data of the optical network obtained, wherein the standardization processing includes at least one of the following: cleaning processing, integration processing, and normalization processing.

[0017] According to another aspect of the present disclosure, an optical network fault locating device is also provided, including: an alarm data acquisition module, used to acquire at least one alarm data of the optical network; a triple information determination module, used to extract triple information of each alarm data, wherein the triple information contains at least two entities and the relationship between the two entities; an alarm knowledge graph construction module, used to construct a corresponding alarm knowledge graph according to the triple information of each alarm data; a fault probability output module, used to input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the fault occurrence probability corresponding to each entity in the alarm knowledge graph; a fault location determination module, used to determine the fault location in the optical network according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph.

[0018] According to another aspect of the present disclosure, an electronic device is provided, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned optical network fault location methods by executing the executable instructions.

[0019] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, any one of the above-mentioned optical network fault locating methods is implemented.

[0020] According to another aspect of the present disclosure, a computer program product is provided, including: a computer program or instructions, which implement any one of the above optical network fault locating methods when executed by a processor.

[0021] An optical network fault location method, apparatus, and related equipment provided in the embodiments of the present invention combine an alarm knowledge graph with a graph neural network, construct an alarm knowledge graph by acquiring alarm data in the optical network, correlate entities in the alarm data with each other, and use the deep learning capability of the graph neural network to determine the probability of failure of each entity in the alarm knowledge graph. This can not only determine the occurrence of potential faults, but also accurately locate the fault location based on the size of the fault probability corresponding to each entity.

[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0024] Figure 1 A schematic diagram showing an exemplary application system architecture of an optical network fault location method in an embodiment of the present disclosure;

[0025] Figure 2 A schematic diagram of an optical network fault location method according to an embodiment of the present disclosure is shown;

[0026] Figure 3 A schematic diagram of a process of processing event alarms using a gated graph neural network model in an embodiment of the present disclosure is shown;

[0027] Figure 4 A schematic diagram of an attention mechanism in an embodiment of the present disclosure is shown;

[0028] Figure 5 A schematic diagram of an OTN service bearing relationship in an embodiment of the present disclosure is shown;

[0029] Figure 6 A schematic diagram of an optical network fault location workflow in an embodiment of the present disclosure is shown;

[0030] Figure 7 A schematic diagram of alarm association representation in an embodiment of the present disclosure is shown;

[0031] Figure 8 A schematic diagram of an optical network fault location method according to an embodiment of the present disclosure is shown;

[0032] Fig. 9 A schematic diagram of the entire process of an optical network fault location method according to an embodiment of the present disclosure is shown;

[0033] Fig.10 A schematic diagram of an optical network fault locating device according to an embodiment of the present disclosure is shown;

[0034] Fig.11 A schematic diagram of an electronic device to which an optical network fault location method is applied in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0035] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0036] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring the various aspects of the present disclosure.

[0037] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0038] For ease of understanding, several terms involved in the present disclosure are explained below:

[0039] Optical Transport Network (OTN): A network used for high-speed digital communications that uses optical signals to transmit data. OTN provides higher bandwidth and lower latency and supports multiple protocols and services.

[0040] Knowledge Graph (KG): A semantic network used to represent entities, concepts, and the relationships between them. In OTN fault diagnosis, the knowledge graph is used to store and represent the topology of the OTN network, equipment fault status, alarm information, etc.

[0041] Graph Neural Network (GNN): A neural network model used to process graph structured data. In OTN fault diagnosis, GNN is used to learn the relationship between nodes and edges and predict possible faults based on the real-time status of the network and graph data.

[0042] Causal Attention Mechanism (CAM): A special attention mechanism that emphasizes the causal relationship between nodes or events in sequence data or graph structure data. In OTN fault location, the causal attention mechanism can capture the causal relationship chain between alarm events, helping the system to more accurately understand and predict the fault propagation path, thereby improving the efficiency and accuracy of fault location.

[0043] Figure 1 FIG. 1 is a schematic diagram showing an exemplary application system architecture to which the optical network fault location method in the embodiment of the present disclosure can be applied. Figure 1 As shown, the system architecture may include a terminal device 101 , a network 102 and a server 103 .

[0044] The network 102 is a medium for providing a communication link between the terminal device 101 and the server 103, and may be a wired network or a wireless network.

[0045] Optionally, the wireless network or wired network described above uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.

[0046] The terminal device 101 can be various electronic devices, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, etc.

[0047] Optionally, the client of the application installed in different terminal devices 101 is the same, or the client of the same type of application based on different operating systems. Based on the different terminal platforms, the specific form of the client of the application can also be different, for example, the application client can be a mobile client, a PC client, etc.

[0048] The server 103 may be a server that provides various services, such as a background management server that provides support for the device operated by the user using the terminal device 301. The background management server may analyze and process the received request and other data, and feed back the processing results to the terminal device.

[0049] Optionally, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0050] Those skilled in the art will know that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration, and any number of terminal devices, networks and servers may be provided according to actual needs, and the embodiments of the present disclosure do not limit this.

[0051] Under the above system architecture, an optical network fault location method is provided in an embodiment of the present disclosure. The method can be executed by any electronic device with computing and processing capabilities.

[0052] In some embodiments, the optical network fault locating method provided in the embodiments of the present disclosure may be executed by a terminal device of the above-mentioned system architecture; in other embodiments, the optical network fault locating method provided in the embodiments of the present disclosure may be executed by a server in the above-mentioned system architecture; in other embodiments, the optical network fault locating method provided in the embodiments of the present disclosure may be implemented by a terminal device and a server in the above-mentioned system architecture through interaction.

[0053] First of all, in response to the above-mentioned problems, the embodiments of the present disclosure provide a method for locating OTN faults that can be applied but is not limited to them. It can be applied to optical communication networks in other fields. An alarm knowledge graph is constructed by acquiring alarm data in the optical network, and the relationships between entities in the alarm data are correlated. The deep learning ability of the graph neural network is used to determine the probability of failure of each entity in the alarm knowledge graph. This method can not only determine the occurrence of potential faults, but also accurately locate the location of the fault according to the size of the probability of failure corresponding to each entity.

[0054] Figure 2 A schematic diagram of an optical network fault location method in an embodiment of the present disclosure is shown, and the method includes the following steps:

[0055] S202: Obtain at least one alarm data of the optical network.

[0056] It should be noted that the alarm data in the embodiments of the present disclosure is a vital information source obtained by the optical network in the event of a fault, wherein the alarm data can be obtained from the OTN network management system, the alarm log file, the alarm database, the alarm association table summarized by experts, and the manufacturer's product alarm manual. For example, by calling the alarm interface of the OTN network management system, real-time alarm data is obtained, and the alarm data includes: alarm information and device information, wherein the alarm information includes: alarm name, alarm ID, alarm level, alarm device, alarm layer rate, alarm belonging Business, etc., and equipment information includes: equipment name, equipment location, equipment status, name of the circuit carried by the equipment; it is also possible to extract detailed information of alarm events, such as alarm type, alarm level, alarm location, etc. by parsing the alarm log file; it is also possible to collect alarm ID, alarm type, alarm level, alarm frequency, alarm reason, etc. by querying the alarm database; it is also possible to summarize the alarm association table through experts, record alarm rules, equipment association, business association and attribute association, etc.; it is also possible to query the manufacturer's product alarm manual to include the alarm name, alarm business association, etc.

[0057] S204, extracting triplet information of each alarm data, wherein the triplet information includes at least two entities and a relationship between the two entities.

[0058] It should be noted that the entity type in each alarm data in the embodiment of the present disclosure includes at least one of the following: alarm type, fault object, service, and equipment. The alarm type, fault object, service, and equipment in each alarm data are set as entities in the triple information, and then the relationship between the alarm type, fault object, service, and equipment in each alarm data is set as the relationship between entities in the triple information. According to the relationship between entities, the triple information of each alarm data is determined and extracted. Specifically, the entity relationship in the embodiment of the present disclosure can be divided into the relationship between the alarm type and the fault object, the relationship between different alarm types, the relationship between the alarm type and the service, the relationship between the alarm type and the fault object, the relationship between different services, the relationship between different equipment, and the relationship between equipment and the alarm type. In more detail, the relationship between different alarm types and the relationship between alarm types and services in the embodiment of the present disclosure are derived from the alarm association table summarized by experts and the manufacturer's product alarm manual; the relationship between the alarm type and the fault object and different equipment can be queried through the OTN network management system, the alarm log file, and the alarm database.

[0059] S206: Construct a corresponding alarm knowledge graph based on the triple information of each alarm data.

[0060] It should be noted that the triples in the embodiment of the present disclosure can reflect the relationship between events, and the alarm knowledge graph is represented and stored in the form of a graph, in which the nodes represent entities and the edges represent the relationship between entities, which can intuitively show the association and mutual influence between alarm events. Moreover, the alarm knowledge graph in the embodiment of the present disclosure will be continuously updated and optimized as new alarm data is generated and old data is updated, for example, new alarm data can be added, outdated alarm data can be deleted, and possible errors can be corrected.

[0061] S208, input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the fault occurrence probability corresponding to each entity in the alarm knowledge graph.

[0062] It should be noted that the gated graph neural network model in the embodiment of the present disclosure is a model obtained by pre-training various artificial intelligence algorithm models (for example, neural network models) or their combined models through machine learning. The model can automatically identify the alarm knowledge graph of each alarm data and match the fault probability corresponding to each entity in each alarm knowledge graph. The input data of the model is the alarm knowledge graph corresponding to each alarm data, and the output data is the fault probability corresponding to each entity in the knowledge graph. Among them, the relationship between alarms and faults in OTN, that is, most alarms are caused by failures of entities or relationships between entities, and the gated graph neural network is a special graph neural network that can capture structural information in the graph and dependencies between nodes. Therefore, the gated graph neural network model in the embodiment of the present disclosure can be specifically obtained through gated graph neural network training. The gated graph neural network can make full use of the information in the input alarm knowledge graph, learn the topological structure and characteristics of the network, and is very suitable for capturing alarms in the alarm knowledge graph, thereby locating faults.

[0063] S210, determining the location where the fault occurs in the optical network according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph.

[0064] It should be noted that the output result of the gated graph neural network model in the embodiment of the present disclosure can be a probability distribution, which represents the possibility of failure of each entity in the alarm knowledge graph. The node most likely to fail is determined based on this probability distribution, and further troubleshooting and processing are performed.

[0065] The optical network fault locating method provided in the embodiment of the present disclosure first obtains at least one alarm data of the optical network; secondly, extracts triple information of each alarm data, wherein the triple information contains at least two entities and the relationship between the two entities; then, according to the triple information of each alarm data, constructs a corresponding alarm knowledge graph; thereafter, inputs the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and outputs the fault occurrence probability corresponding to each entity in the alarm knowledge graph; finally, according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph, determines the fault location in the optical network. Compared with the related art, when a fault occurs in the optical network, the network management system will receive a series of alarms reported by multiple devices. Even if these alarms contain location information, it is difficult to identify the root alarm from the alarm storm, so fault location becomes difficult. The disclosed embodiment combines the alarm knowledge graph with the graph neural network, constructs an alarm knowledge graph by acquiring the alarm data in the optical network, and correlates the entities in the alarm data with each other. The deep learning ability of the graph neural network is used to determine the probability of failure of each entity in the alarm knowledge graph. Not only can the occurrence of potential faults be determined, but also the location of the fault can be accurately located according to the size of the probability of failure corresponding to each entity.

[0066] In some embodiments, the alarm data in the embodiments of the present disclosure may include:

[0067] 1) Alarm name: The name of each alarm, such as board dislocation, optical transmission unit signal loss alarm, client device management unit pointer loss, etc.

[0068] 2) Alarm ID: A number or code that uniquely identifies each alarm event and is used to distinguish different alarm events.

[0069] 3) Alarm device: describes the nature of the alarm event, such as network element, board, port, protection group, device protection group subnet connection, etc.

[0070] 4) Alarm level: The level divided according to the severity of the alarm event, such as severe, mild, general, etc.

[0071] 5) Alarm layer rate: the rate of the layer to which the alarm occurs, for example, the layer rate of LR_OCH_Data_Unit_1 is the ODU service layer rate; the layer rate of LR_OCH_Transport_Unit_1 is the OUT service layer rate.

[0072] 6) Service to which the alarm belongs: the name or identifier of the device where the alarm event occurs, such as the optical transport network unit (OTU), optical data unit (ODU), optical multiplex section layer (OMS), etc.

[0073] 7) Alarm location: The specific location in the OTN network topology, such as a node or link.

[0074] 8) Alarm description: Use words or codes to describe the specific content and phenomenon of the alarm event.

[0075] 9) Alarm cause: Conduct preliminary analysis and judgment on the possible cause of the alarm event.

[0076] 10) Related alarms: other alarm events associated with the current alarm event. The attributes include root alarm code, sub-alarm code, root alarm name, sub-alarm name, root alarm signal level, and sub-alarm signal level.

[0077] 11) Alarm frequency: Statistics on the number and frequency of alarm events within a period of time.

[0078] 12) Circuit name: The name of the circuit where the alarm, fault, service, or equipment is located.

[0079] 13) Equipment Name: The specific name of the equipment, including the model and manufacturer of the equipment. For example, the network element model: OptiX OSN 1800 is a network element model of the OptiX OSN series of a certain mobile phone manufacturer.

[0080] 14) Equipment location: The specific installation location or deployment location of the equipment in the physical space. This location information is crucial for fault diagnosis and positioning, and helps to quickly determine the area and scope where the alarm or fault occurs.

[0081] 15) Equipment status: The current operating status of the equipment, including normal, fault, alarm, maintenance and other status.

[0082] 16) Circuit name carried by the device: The circuit name carried by the device refers to the identifier of the specific circuit or service channel carried or connected by each device in the OTN.

[0083] 17) Circuit ID: A code that uniquely identifies the circuit name. Each circuit has a unique code ID.

[0084] 18) Alarm analysis rules: rules for analyzing alarm events, including signal flow analysis, correlation analysis between signal flow alarm and signal protection switching alarm, correlation analysis between hardware alarm and signal flow, correlation analysis between power supply alarm and signal flow, correlation analysis between system alarm and signal flow, etc.

[0085] 19) Alarm rules: Currently there are two types: transmission and derivative.

[0086] 20) Alarm ID association: Record the unique identifier (ID) association between different alarm events. Through the alarm ID, you can track and locate the specific alarm event and establish a logical relationship between them.

[0087] 21) Time association: Record the time sequence and relationship between alarm events. By analyzing the occurrence time of alarm events, the sequence of alarm events can be identified, and then the propagation path and impact range of the fault can be inferred.

[0088] 22) Equipment association: record the association between the equipment involved in the alarm event, including the connection relationship, dependency relationship and mutual influence between the equipment. Through equipment association, the propagation path and potential impact of the fault between different equipment can be analyzed.

[0089] 23) Business association: record the impact of alarm events on the business or service carried by OTN. Including the correspondence between alarm events and specific business, alarm identification of business interruption or performance degradation, etc. Through business association, the impact of alarm events on business can be accurately evaluated, providing decision support for fault recovery.

[0090] In some embodiments, the entity types in the embodiments of the present disclosure include at least one of the following: alarm type, fault object, service, equipment, wherein the alarm type is further divided into root alarm and sub-alarm; the fault object includes links and nodes; OTN service entities include customer data, optical data units, optical transmission units, optical channels, optical multiplexing layers, and optical transmission layers; the equipment entities include: management entity, port entity, rack entity, slot entity, board entity, etc.

[0091] In some embodiments, each entity has its own attributes. The alarm type entity includes attributes such as alarm name, alarm ID, alarm object type, alarm level, alarm occurrence time, alarm layer rate, alarm code, alarm device, alarm location, alarm description, alarm reason, etc.; the fault object entity includes attributes such as device name, fault name, fault occurrence time, circuit name, etc.; the service entity includes circuit name, OTN service type, bearer relationship, equipment type, etc.; the equipment entity includes equipment name, equipment location, equipment status, and circuit name carried by the equipment. The relationship between entities is the core of the alarm knowledge graph. In the alarm knowledge graph, it is necessary to define and extract the relationship between alarm and fault object, alarm and alarm, alarm and service, alarm and fault object, service and service, equipment and equipment, and equipment and alarm. Specifically, the relationship between entities includes:

[0092] 1) Alarm type and alarm type: When a device fails, the first alarm triggered is the root alarm, which can derive or transfer other sub-alarms. There are two relationships between sub-alarms and root alarms: derivation and transfer.

[0093] 2) Alarm type and fault object: The "caused by..." relationship between the alarm and the faulty device. When a device fails, the alarm mechanism will be triggered and the alarm description and alarm cause will be recorded.

[0094] 3) Device and device: There is a "connection" relationship or "belongs to" relationship between two devices. For example, network element A and network element B are connected through a link, and port A belongs to board A.

[0095] 4) Service and service: There is a relationship between carrying and being carried. For example, in OTN services, OTU carries ODU and ODU is carried.

[0096] 5) Alarm type and service: The alarm "occurs" on a certain service, for example, the optical transport network unit signal loss alarm occurs on the OTU service.

[0097] 6) Equipment and alarm type: Changes in equipment status may trigger alarms, generate alarm information, and notify the management system. Alarms can be associated with equipment entities through alarm devices.

[0098] In some embodiments, the embodiments of the present disclosure construct a corresponding alarm knowledge graph based on the triple information of each alarm data, including: setting the two entities contained in the triple information of each alarm data as two nodes of the alarm knowledge graph to be constructed; setting the relationship between the two entities contained in the triple information of each alarm data as the edge of the alarm knowledge graph to be constructed; and constructing the corresponding alarm knowledge graph based on the two nodes and edges set in the triple information of each alarm data. Specifically, the nodes in the alarm knowledge graph in the embodiments of the present disclosure represent entities, and the edges represent the relationship between these entities. The alarm knowledge graph can be used to uniformly process the acquired alarm data to form a structured knowledge representation system, which provides rich data support for fault location, thereby achieving more accurate positioning of the fault location.

[0099] In some embodiments, the disclosed embodiments input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the probability of fault occurrence corresponding to each entity in the alarm knowledge graph, including: inputting the pre-built alarm knowledge graph into the pre-trained gated graph neural network model, and outputting the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph; using the attention mechanism to process the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph, and determining the probability of occurrence of faults corresponding to each node in the alarm knowledge graph. Specifically, the alarm knowledge graph can uniformly model various alarm data sources in the optical network to form a structured knowledge representation system, thereby achieving more accurate positioning of the fault location; using the gated graph neural network model to learn the temporal dependency of the relationship between entities in the alarm knowledge graph, greatly improving the real-time performance of fault location. In a communication network, the grasp of time is crucial to the recovery of services. This advantage in the disclosed embodiments can significantly reduce the communication interruption time caused by faults.

[0100] In some embodiments, Figure 3 As shown, the embodiment of the present disclosure initializes the input alarm knowledge graph through the gated graph neural network model. Specifically, the alarm knowledge graph is used as the input of the gated graph neural network model. Formally, the input graph model is defined as G = {V, A}, where V is a node set, A is an adjacency matrix representing the graph structure, and for each node v∈V, at time step t, there is a hidden state h v (t), when t = 0, each node (i.e., alarm event) has an initial state vector, and then updates its state through iteration. According to the alarm knowledge graph, the hidden state of entity v in the alarm knowledge graph is initialized. in, Represents the characteristics of each entity node v in the alarm knowledge graph at time T.

[0101] In some embodiments, the disclosed embodiments update the state of a node through message passing and a gating mechanism between nodes. Each node updates its representation according to the information of neighboring nodes in each iteration, thereby being able to capture the complex associations between alarm events. In each iteration of the gated graph neural network model, the state of a node is updated according to the state of its neighboring nodes and the relationship between them. This update process is usually implemented by formula (1):

[0102]

[0103] Among them, a v (t) represents the state of node v in the alarm knowledge graph after iteration; represents a two-column matrix corresponding to node v; Represents the state of node 1 at time t-1; represents the state of node |v| at time t-1; b represents the bias term.

[0104] In some embodiments, b in formula (1) in the embodiments of the present disclosure is generally a vector used to add a fixed offset when the state is updated.

[0105] In some embodiments, before the alarm knowledge graph of each alarm data is input into a pre-trained gated graph neural network model and the fault occurrence probability corresponding to each entity in the alarm knowledge graph is output, the optical network fault location method in the embodiment of the present disclosure also includes: using an attention mechanism to decompose the alarm knowledge graph input into the initialized gated graph neural network model into a causal attention graph and a trivial attention graph; constructing a target loss function based on the causal attention graph and the trivial attention graph; optimizing the initialized gated graph neural network model through the target loss function to obtain a trained gated graph neural network model. Specifically, the embodiment of the present disclosure introduces an attention mechanism to divide the alarm knowledge graph into a causal attention graph and a trivial attention graph, and constructs an optical network fault location method, which can effectively avoid the influence of confounding factors in the reasoning graph on the reasoning results, accurately capture the causal relationship between alarms, and provide a new solution for optical network fault location.

[0106] In some embodiments, in order to avoid the non-causal features in the alarm knowledge graph from being used as shortcut features and having a negative impact on the prediction results, the present disclosure introduces an attention mechanism into the gated graph neural network model: by calculating the causal probability between alarms, the causal relationship between alarms is accurately captured, and the impact of confounding factors on the result prediction is reduced, such as Figure 4As shown, the embodiment of the present disclosure introduces an attention mechanism to decompose the alarm knowledge graph into a causal attention graph and a trivial attention graph. Fault classification is performed through the causal attention graph, while the trivial attention graph is regarded as a graph without causal feature information. The attention mechanism can learn the corresponding attention score based on the feature information of the nodes and edges in the alarm knowledge graph. For example, for node v i And the edge (v i ,v j ), the disclosed embodiment can calculate the node v by using (2) and (3). i And the edge (v i ,v j )’s attention score:

[0107] αci,αti=σ(MLPnode(h i )) (2)

[0108] βci j, βti j=σ(MLPedge(h i ||h j )) (3)

[0109] Among them, αci is the attention score of node v_i in the causal attention graph; αti is the attention score of node v i The attention score in the trivial attention map; σ is the softmax function; MLPnode is a multi-layer perceptron; h i is node v i The state vector of βci j is the state vector of the node v in the causal attention graph. i and v j The attention score of the edge of βti j is the edge that connects node v in the trivial attention graph. i and v j The edge attention score; MLPedge is a multi-layer perceptron; h j is node v j The state vector of node v i and v j The state vector h i and h j Stitched together.

[0110] In more detail, αci is the i ) is calculated by the softmax function σ, and MLPnode accepts node v i The state vector h i As input, it generates a scalar output, which becomes a probability value after passing through the softmax function σ, indicating v iThe relative importance in the causal attention graph; βci j is given by MLPedge(h i ||h j ) is calculated by the softmax function σ, where || represents the concatenation operation, that is, node v i and v j The state vector h i and h j spliced ​​together as the input of MLPedge, similarly, βci j is also a probability value, indicating that the edge (v i ,v j ) in the causal attention graph; αti is determined by MLPnode(h i ) is calculated by the softmax function σ; βti j is calculated by MLPedge(h i ||h j ) is calculated by the softmax function σ.

[0111] By calculating the above attention scores, the embodiment of the present disclosure can divide the alarm knowledge graph into a causal attention graph and a trivial attention graph represented by formulas (4) and (5):

[0112] G c ={A⊙Ma,X⊙Mx} (4)

[0113] G t ={A⊙Ma,X⊙Mx} (5)

[0114] Among them, G c represents the causal attention graph; A represents the adjacency matrix of the alarm knowledge graph; Ma represents the mask matrix, which is used to filter out the edges related to the causal relationship; ⊙ represents the element-wise multiplication, which multiplies the elements of the corresponding positions of two matrices of the same shape; X represents the node feature matrix; Mx represents the mask matrix, which is used to filter out the node features related to the causal relationship; G t represents a trivial attention map.

[0115] In some embodiments, the causal attention graph in the embodiments of the present disclosure is composed of the result of element-wise multiplication of the original adjacency matrix A and the causal mask matrix Ma, and the result of element-wise multiplication of the node feature matrix X and the causal feature mask matrix Mx; the trivial attention graph is also composed of the result of element-wise multiplication of the original adjacency matrix A and the trivial mask matrix Ma, and the result of element-wise multiplication of the node feature matrix X and the trivial feature mask matrix Mx. In this way, two sub-graphs can be constructed separately, one emphasizing the causal relationship and the other may emphasize the details outside the causal relationship. These sub-graphs can be used for further analysis, such as anomaly detection, fault location and other tasks.

[0116] The graph representation is obtained through two Graph Neural Network layers (GNN), and the aggregation (readout) function and classifier are used for prediction. The prediction results of the causal attention graph and the trivial attention graph are obtained through formulas (6) and (7):

[0117] HkD c =freadout(GConvc(A⊙Ma,X⊙Mx)),zG c =Φ c (hG c ) (6)

[0118] HkD t =freadout(GConvc(A⊙Ma,X⊙Mx)),zG t =Φ t (hG t ) (7)

[0119] Among them, hG c Represents the causal attention graph G c The final representation vector of ; freadout means summarizing the node representation of the entire causal attention graph into a global graph representation; GConvc represents the graph convolution layer, which is used to update the state of each node in the graph; zG c Represents the classifier Φ c The representation vector hG of the causal attention graph c The result of prediction; Φ c represents the classifier; hG t Denotes the trivial attention graph G t The final representation vector of t Represents the classifier Φ t The representation vector hG of the trivial attention map t The result obtained by prediction; Φ t Represents a classifier.

[0120] The causal attention graph is used to extract information for classification. According to the prediction results of the causal attention graph, the first loss function L is constructed by formula (8): SUP Specifically, the embodiment of the present disclosure may use the cross entropy loss function:

[0121]

[0122] Among them, |D| represents the number of graphs in the dataset; G represents a single graph; D represents the dataset; y G Represents the true label vector of graph G.

[0123] In some embodiments, the disclosed embodiments calculate the predicted probability zG of the causal attention graph c and the true label y G The cross entropy loss between is designed to allow the model to better classify on the causal attention graph.

[0124] For trivial attention graphs, KL divergence is used as the second loss function. KL divergence is used to measure the similarity between two distributions. The output of KL divergence is closer to uniform distribution. The second loss function L is obtained by formula (9). unif :

[0125] L unif =1∣D∣∑G∈DKL(yunif,zG t ) (9)

[0126] Among them, KL represents Kullback-Leibler divergence, which is used to measure the difference between two probability distributions; yunif represents a uniformly distributed vector.

[0127] In some embodiments, the disclosed embodiments measure the prediction probability zG of the trivial attention graph by KL divergence. t The difference between the uniform distribution yunif aims to make the prediction distribution of the trivial attention map more uniform, thereby reducing the impact of trivial information on the model.

[0128] The causal attention map and the trivial attention map are randomly matched to form an intervention map. According to the intervention map, the third loss function L is determined by formulas (10) and (11): caus :

[0129] zG′=Φ(hG c +hG t ) (9)

[0130]

[0131] Among them, zG′ represents the new prediction probability vector obtained by adding the representation vectors of the causal attention graph and the randomly matched trivial attention graph, and then passing it through the classifier Φ; |T| represents the number of graphs in the set of trivial attention graphs; T represents the set of trivial attention graphs; t′ represents the trivial attention graph.

[0132] In some embodiments, the disclosed embodiments combine the representation vectors of the causal attention graph and the randomly matched trivial attention graph to obtain a new prediction probability zG′, and calculate the new prediction probability zG′ and the true label y G The cross entropy loss between is designed to evaluate the performance of the model when causal information is mixed with trivial information, thereby strengthening the model's understanding of causal relationships.

[0133] Add the first loss function, the second loss function and the third loss function, and obtain the target loss function L through formula (11):

[0134] L=L SUP +λ 1 L unif +λ 2 L caus (11)

[0135] Among them, λ 1 A hyperparameter representing the strength of the disentanglement intervention; λ 2 A hyperparameter representing the strength of the causal intervention.

[0136] In some embodiments, after a single fault triggers an alarm in the embodiments of the present disclosure, no matter how the alarm is propagated in the optical network, each group of training alarms corresponds to a fault label, and the possibility of label distribution is obtained through a simple fully connected neural network. In this way, after the model outputs the alarm data corresponding to the fault object entity, the alarm entity connected to the fault object entity in the alarm knowledge graph is compared with the alarm data reported on the network to obtain the root alarm. The "alarm description" and "alarm cause" in the attribute fields of the root alarm entity record the detailed location and cause of the fault. The embodiments of the present disclosure use the cross entropy loss function to optimize the model. When the model converges to within the threshold, the gated graph neural network model is considered to be optimal.

[0137] In some embodiments, the triplet information in the disclosed embodiments also includes: entity attribute information, determining the location of the fault in the optical network according to the probability of fault occurrence corresponding to each entity in the alarm knowledge graph, including: determining the node as the root fault node when the probability of fault occurrence corresponding to any node in the alarm knowledge graph is greater than or / equal to a preset threshold; determining the location of the fault in the optical network according to the entity attribute information corresponding to the root fault node. Specifically, the probability of fault occurrence corresponding to each entity is output through the gated graph neural network model, thereby determining the root fault node, realizing rapid and accurate positioning of faults in the optical network, and improving the operation and maintenance efficiency and service quality of the communication network.

[0138] In some embodiments, when a new alarm event occurs in the optical network, the alarm interface of the optical network management system is called to obtain real-time alarm information, including: alarm type, fault object, equipment, network topology, etc., and an alarm knowledge graph is constructed with the alarm event as the entity, and the relationship matrix of the current node and edge is defined. The trained gated graph neural network model is used for reasoning. The gated graph neural network model can infer potential fault nodes related to the alarm event by iteratively updating the state of the node. These fault nodes may represent faulty equipment or links. Finally, the specific fault location is determined according to the output result of the gated graph neural network model. The output result can be a probability distribution, indicating the possibility of failure of each node. According to this probability distribution, the node most likely to fail is determined, and further troubleshooting and processing are performed.

[0139] In some embodiments, as the network environment and business needs change, the optical network will also change dynamically. The disclosed embodiments update the alarm knowledge graph and graph neural network model in real time, and through statistical analysis of the causal attention subgraphs of multiple samples, it can update the expert knowledge base such as the "alarm association table summarized by experts", improve the effectiveness of the alarm knowledge graph construction, quickly adapt to changes, and ensure the accuracy and efficiency of fault location. Moreover, traditional optical network fault diagnosis often relies on manual experience or fixed rules, with low diagnostic efficiency and prone to errors. The disclosed embodiments automatically construct an alarm knowledge graph based on the alarm data acquired in real time, and automatically train the constructed alarm knowledge graph as the input of the gated graph neural network model to determine the location of the fault, which not only improves the speed of diagnosis, but also reduces errors caused by human factors.

[0140] In some embodiments, after obtaining at least one alarm data of the optical network, the optical network fault location method in the embodiment of the present disclosure further includes: standardizing the at least one alarm data of the optical network obtained, wherein the standardization includes at least one of the following: cleaning, integration, and normalization. Specifically, in the embodiment of the present disclosure, the cleaning of the alarm data is to remove duplicates according to the alarm unique identification ID; for missing alarm information, the relevant records can be deleted or filled with default values ​​according to the actual situation, and the alarm data that is obviously invalid or wrong can be identified and filtered according to the alarm rules; the integration of the alarm data is to merge multiple related alarms into one record to reduce redundant information, and the alarm data is associated with other data sources such as device information, network topology, and business data to enrich the alarm context information; the normalization of the alarm data is to ensure that all alarm data follows a unified format and naming convention, which is convenient for subsequent processing and analysis, and some fields in the alarm data can be standardized, for example, the timestamp is converted to a unified format, or the alarm level is uniformly converted to numerical data.

[0141] In some embodiments, after constructing the alarm knowledge graph and the gated graph neural network model, the embodiments of the present disclosure can also achieve sustainable improvement of the model accuracy through the following steps:

[0142] 1) Gated graph neural network combined with operation and maintenance expert experience: In the fault reasoning stage, by combining the gated graph neural network with the operation and maintenance expert experience, such as the expert summary: IN_PWR_LOW weak light alarm -> optical transmission unit signal loss, these network operation and maintenance expert experiences are supplemented in the causal reasoning graph. For example, in the trained causal reasoning graph, if the model has not learned the above expert rule experience, the expert rule experience is supplemented in the model, and its conditional probability is set higher (such as 0.9). Through the above implementation, problems such as insufficient generalization in the model prediction process can be better avoided, and the reasoning accuracy can be further improved.

[0143] 2) Construct an alarm association table summarized by experts: Through statistical analysis of the causal attention subgraphs of multiple samples, an expert knowledge base such as the "Causal Association Statistical Analysis Table" can be constructed. Through statistical analysis, the causal relationships in the alarm knowledge graph with a higher probability of occurrence can be automatically sorted out. When the number of samples reaches a certain scale, the causal relationships summarized in the "Causal Association Statistical Analysis Table" can be confirmed by experts, and some causal relationships can be marked as expert experience, thereby improving the effectiveness of the alarm knowledge graph construction, thereby achieving the effect of the model becoming more accurate with use.

[0144] In some embodiments, the embodiments of the present disclosure can also visualize the diagnostic results on the user interface, specifically to certain fault points or fault links, and provide operation and maintenance personnel with detailed fault information and solution suggestions to facilitate fault handling and network optimization operations.

[0145] In some embodiments, the embodiments of the present disclosure are combined with a certain operator's existing network OTN fault and alarm data to conduct technical research. The OTN six-layer service bearing model is specifically as follows: Figure 5As shown in the figure, the optical layer consists of an optical transmission section layer (OTS), an optical multiplexing layer and an optical channel (OCH). The optical channel spans a group of equipment boards, which span one or more optical multiplexing layers, and an optical multiplexing layer contains multiple optical transmission layers in series. Due to the hierarchical relationship between OTS, OMS and OCH, any fault affecting the bottom layer will propagate to the upper layer. OTN provides rich monitoring signals in the optical layer overhead. When a single-board sensor detects a fault, a strict alarm mechanism is introduced on each single board. For example, the optical fiber interface unit board will identify the upstream optical fiber cutting fault and report the alarm to the network management system. Another example is that when any abnormality related to the receiving optical path is sensed, the network management system will receive an alarm reported by the optical transport network unit board.

[0146] In some embodiments, Figure 6 As shown, when a unidirectional link of an OTN circuit in a certain province fails, the optical network fault location method in the disclosed embodiment is used to first obtain the optical network alarm data for preprocessing operations and then construct an alarm knowledge graph; use the alarm knowledge graph to train the gated graph neural network model for training and optimization; integrate the trained gated graph neural network model into the operator's operation system; construct a series of alarm knowledge graphs related to the failure of a link in the backbone network circuit of the certain province, and send them to the gated graph neural network model of the system for fault location, and finally visualize the location of the link fault point on the interface, and provide detailed fault information and solution suggestions. The specific implementation process is as follows:

[0147] 1) Use the operator's operation system to call the northbound interface of the manufacturer's network management system to obtain alarm data (the alarm data records the alarm name, alarm ID, alarm object type, alarm level, alarm location, alarm occurrence time, alarm code, alarm level, alarm device, alarm location, alarm description, alarm reason, etc.), collect alarm log files (record the alarms and reasons, alarm types, alarm levels, and alarm locations generated by each network topology layer device under the OTN service) and the alarm association table summarized by the operator's industry experts (derivation and transmission rule table between alarms, equipment association, service association, and attribute association, some of which are listed in Figure 7 ), obtain alarm-related data from the alarm description documents of each manufacturer's products (alarm name, alarm business association), and pre-process the alarm data, including data cleaning, data integration, and data normalization.

[0148] 2) Define and extract entities of processed alarm data: the four types of entities are alarm type, fault object, service, and equipment, among which the alarm type is divided into root alarm and sub-alarm; fault objects include links and nodes; OTN service entities include customer data, optical data units, optical transmission units, optical channels, optical multiplexing layers, and optical transmission layers; equipment entities include: management entities, port entities, rack entities, slot entities, board entities, etc.; ② Relationship definition and extraction: each entity has its own attributes. The alarm entity includes attributes such as alarm name, alarm ID, alarm object type, alarm level, alarm occurrence time, alarm layer rate, alarm code, alarm device, alarm location, alarm description, and alarm cause; the fault object entity includes attributes such as equipment name, fault name, fault occurrence time, and circuit name; the service entity The entity includes circuit name, OTN service type, bearer relationship, equipment type, etc.; the equipment entity includes equipment name, equipment location, equipment status, circuit name carried by the equipment, etc. In the OTN alarm knowledge graph, the relationship between alarm and faulty equipment, alarm and alarm, alarm and service, equipment and equipment, and service and service are defined and extracted. Among them, the relationship between alarm and alarm, and the relationship between alarm and service are derived from the alarm association table summarized by experts and the manufacturer's product alarm manual. The relationship between alarm and faulty equipment, and the relationship between equipment and equipment are derived from the OTN network management system, alarm log file, and alarm database. A graph database (Neo4j) is selected to store and query the alarm knowledge graph. With the generation of new alarm data and the update of old data, the alarm knowledge graph is continuously updated and optimized.

[0149] 3) Use a deep learning framework (such as PyTorch) to build a gated graph neural network model and initialize the hidden state h of entity v in the alarm knowledge graph. v (0), after a single fault triggers an alarm, no matter how the alarm is propagated in the OTN, each group of training alarms corresponds to a fault label. The possibility of label distribution is obtained through a simple fully connected neural network. After the model outputs the alarm data corresponding to the fault entity, the alarm entity connected to the fault entity in the alarm knowledge graph is compared with the alarm data reported by the network to obtain the root alarm. The cross entropy loss function is used to optimize the model, and the loss function threshold is set. When the model converges to the threshold, the model is considered to be optimal.

[0150] 4) Integrate the trained gated graph neural network model into the operator's operation system to realize the automatic construction of the alarm knowledge graph, the automatic training of the graph neural network model, and the automatic execution of OTN fault location, such as Figure 8When a link of a provincial backbone network circuit fails, the operator system calls the northbound alarm interface of the manufacturer's network management system to obtain real-time alarm information, including alarm fault equipment, alarm details and network topology, etc. The link failure causes the device to report MUT_LOS. Since MUT_LOS derives and transmits a series of alarms such as R_LOS, R_LOF, AIS, OTUk_TIM, OTUk_LOFLOM, SSF, ODU_RDI, LINK_ERR along the service and signal flow ( Figure 8 Only some alarm examples are given, and the actual network management collects more alarms). According to the alarm derivation transmission relationship, alarm product manual and business association relationship, an alarm knowledge graph is constructed, and the relationship matrix between the current node and the edge is defined. The trained gated graph neural network model is used for reasoning. The gated graph neural network model can infer the potential fault nodes related to the alarm event by iteratively updating the state of the node. When the root alarm is located, the alarm fault range will be shortened according to the alarm description phenomenon, and the diagnosis phenomenon and results will be reported at the front end. Finally, the link (SNC) between the network element 7 port 1 of a certain A computer room and the network element 5 port 3 of a certain B computer room is located. The fault is located at a certain position. The embodiment of the present disclosure can visualize the diagnosis results on the user interface and give solution suggestions, specifically Figure 8 The SNC fault location is shown in the figure, and the OTN operation and maintenance personnel perform fault processing and network optimization operations based on the detailed fault information and solution suggestions. Through the embodiments of the present disclosure, it is possible to quickly and accurately locate faults in the OTN network, improve the operation and maintenance efficiency and service quality of the communication network, and at the same time, the embodiments of the present disclosure also have broad application prospects and can be extended to other types of communication networks for fault location.

[0151] In some embodiments, the disclosed embodiments can integrate the gated graph neural network model into a unified system to realize the automatic construction of the alarm knowledge graph, the automatic training of the graph neural network model, and the automated execution of fault location. By simulating different fault scenarios and alarm data, a complete optical network fault location system is tested, designed and implemented. The system can collect and process alarm information in the optical network in real time, automatically construct an alarm knowledge graph, and use a gated graph neural network model to perform automated fault location.

[0152] In some embodiments, Fig. 9 As shown, the embodiment of the present disclosure solves the problems of low accuracy, lack of dynamic adaptability and limited fault location capability of traditional optical network fault location methods by introducing alarm knowledge graph and graph neural network technology, and provides a new and effective method for optical network fault location, which specifically includes the following steps:

[0153] S902, obtaining alarm data in the optical network can standardize the alarm data. The alarm data can be obtained through the OTN network management system, alarm log files, alarm database, alarm association table summarized by experts and manufacturer product alarm manual.

[0154] S904, construct and store an alarm knowledge graph based on the acquired alarm data. The entity types in the alarm data include at least one of the following: alarm type, fault object, service, and equipment. By defining and extracting entities in the alarm data, and defining and extracting relationships between entities, an alarm knowledge graph is constructed based on the extracted entities and the relationships between entities.

[0155] S906, designing a gated graph neural network model, and training the gated graph neural network model to obtain a trained gated graph neural network model. In this, an attention mechanism is introduced into the gated graph neural network model, the constructed alarm knowledge graph is used as the input of the gated graph neural network model, and the fault occurrence probability corresponding to each entity in the alarm knowledge graph is output.

[0156] S908, integrate the trained gated graph neural network model into a unified system to realize the automatic construction of the alarm knowledge graph, the automatic training of the graph neural network model, and the automatic execution of fault location.

[0157] In some embodiments, the disclosed embodiments combine the alarm knowledge graph and graph neural network technologies for the first time and apply them to optical network fault diagnosis. This innovative combination makes fault location more accurate and efficient. Different from traditional fault diagnosis methods, the optical network fault location method in the disclosed embodiments can continuously optimize the diagnostic capabilities of the model, realize automated and intelligent diagnosis of optical network faults, adapt to the development needs of optical networks, and can also be extended to optical communication networks in other fields. It has broad application prospects.

[0158] Based on the same inventive concept, the present disclosure also provides an optical network fault location device, such as the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0159] Fig.10 A schematic diagram of an optical network fault locating device in an embodiment of the present disclosure is shown, and the device includes:

[0160] The alarm data acquisition module 1001 is used to acquire at least one alarm data of the optical network;

[0161] A triplet information determination module 1002, configured to extract triplet information of each alarm data, wherein the triplet information includes at least two entities and a relationship between the two entities;

[0162] The alarm knowledge graph construction module 1003 is used to construct a corresponding alarm knowledge graph according to the triple information of each alarm data;

[0163] The fault probability output module 1004 is used to input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the fault occurrence probability corresponding to each entity in the alarm knowledge graph;

[0164] The fault location determination module 1005 is used to determine the fault location in the optical network according to the fault probability corresponding to each entity in the alarm knowledge graph.

[0165] An optical network fault locating device provided in an embodiment of the present disclosure obtains at least one alarm data of the optical network through an alarm data acquisition module; extracts triple information of each alarm data through a triple information determination module, wherein the triple information contains at least two entities and the relationship between the two entities; constructs a corresponding alarm knowledge graph according to the triple information of each alarm data through an alarm knowledge graph construction module; inputs the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model through a fault probability output module, and outputs the fault occurrence probability corresponding to each entity in the alarm knowledge graph; determines the fault occurrence location in the optical network through a fault location determination module according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph. Compared with the related art, when a fault occurs in the optical network, the network management system will receive a series of alarms reported by multiple devices. Even if these alarms contain location information, it is difficult to identify the root alarm from the alarm storm, so fault location becomes difficult. The disclosed embodiment combines the alarm knowledge graph with the graph neural network, constructs an alarm knowledge graph by acquiring the alarm data in the optical network, and correlates the entities in the alarm data with each other. The deep learning ability of the graph neural network is used to determine the probability of failure of each entity in the alarm knowledge graph. Not only can the occurrence of potential faults be determined, but also the location of the fault can be accurately located according to the size of the probability of failure corresponding to each entity.

[0166] In some embodiments, the entity type in the alarm data in the embodiments of the present disclosure includes at least one of the following: alarm type, fault object, service, and equipment. The triplet information determination module in the embodiments of the present disclosure is also used to set the alarm type, fault object, service, and equipment in each alarm data as entities in the triplet information; set the relationship between the alarm type, fault object, service, and equipment in each alarm data as the relationship between entities in the triplet information; determine the triplet information of each alarm data based on the entities and the relationship between entities.

[0167] In some embodiments, the alarm knowledge graph construction module in the embodiments of the present disclosure is also used to set the two entities contained in the triple information of each alarm data as two nodes of the alarm knowledge graph to be constructed; set the relationship between the two entities contained in the triple information of each alarm data as the edge of the alarm knowledge graph to be constructed; and construct the corresponding alarm knowledge graph according to the two nodes and edges set in the triple information of each alarm data.

[0168] In some embodiments, the fault probability output module in the embodiments of the present disclosure is also used to input a pre-built alarm knowledge graph into a pre-trained gated graph neural network model, and output the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph; the attention mechanism is used to process the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph, and determine the probability of occurrence of faults corresponding to each node in the alarm knowledge graph.

[0169] In some embodiments, the optical network fault location device in the embodiments of the present disclosure also includes: an alarm knowledge graph decomposition module, which is used to input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and before outputting the fault occurrence probability corresponding to each entity in the alarm knowledge graph, use an attention mechanism to decompose the alarm knowledge graph input into the initialized gated graph neural network model into a causal attention graph and a trivial attention graph; a target loss function construction module, which is used to construct a target loss function based on the causal attention graph and the trivial attention graph; a model optimization module, which is used to optimize the initialized gated graph neural network model through the target loss function to obtain a trained gated graph neural network model.

[0170] In some embodiments, the triplet information in the disclosed embodiment also includes: entity attribute information. The fault location determination module in the disclosed embodiment is also used to determine that a node is a root fault node when the probability of a fault occurrence corresponding to any node in the alarm knowledge graph is greater than or / equal to a preset threshold; determine the fault location in the optical network based on the entity attribute information corresponding to the root fault node.

[0171] In some embodiments, the optical network fault locating device in the embodiments of the present disclosure further includes: a data processing module, which is used to perform standardized processing on at least one alarm data of the target optical network after obtaining the at least one alarm data of the target optical network, wherein the standardized processing includes at least one of the following: cleaning processing, integration processing, and normalization processing.

[0172] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0173] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present disclosure, the electronic device comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above optical network fault location methods by executing the executable instructions. Since the principle of solving the problem in the electronic device embodiment is similar to that in the above method embodiment, the implementation of the electronic device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0174] Refer to the following Fig.11 1100 according to this embodiment of the present disclosure is described. Fig.11 The electronic device 1100 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0175] like Fig.11 As shown, the electronic device 1100 is in the form of a general computing device. The components of the electronic device 1100 may include but are not limited to: at least one processing unit 1101, at least one storage unit 1102, and a bus 1103 connecting different system components (including the storage unit 1102 and the processing unit 1101).

[0176] The storage unit stores program codes, which can be executed by the processing unit 1101, so that the processing unit 1101 executes the steps described in the above “exemplary method” section of this specification according to various exemplary embodiments of the present disclosure.

[0177] In some embodiments, when the electronic device is used to control, for example, the optical network fault location method disclosed above, the processing unit 1101 may perform the following steps of the above method embodiment:

[0178] Acquire at least one alarm data of the optical network; extract triple information of each alarm data, wherein the triple information contains at least two entities and the relationship between the two entities; construct a corresponding alarm knowledge graph according to the triple information of each alarm data; input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the fault probability corresponding to each entity in the alarm knowledge graph; determine the fault location in the optical network according to the fault probability corresponding to each entity in the alarm knowledge graph.

[0179] The storage unit 1102 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 11021 and / or a cache storage unit 11022 , and may further include a read-only storage unit (ROM) 11023 .

[0180] The storage unit 1102 may also include a program / utility 11024 having a set (at least one) of program modules 11025, such program modules 11025 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0181] The bus 1103 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0182] The electronic device 1100 may also communicate with one or more external devices 1104 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 1100, and / or may communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 1105. Furthermore, the electronic device 1100 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 1106. As shown, the network adapter 1106 communicates with other modules of the electronic device 1100 via a bus 1103. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0183] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0184] Based on the same inventive concept, a computer-readable storage medium is also provided in the embodiment of the present disclosure, on which a computer program is stored, and when the computer program is executed by a processor, any one of the above optical network fault location methods is implemented. Since the principle of solving the problem in the embodiment of the computer-readable storage medium is similar to that in the above method embodiment, the implementation of the embodiment of the computer-readable storage medium can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0185] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0186] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0187] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0188] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0189] Based on the same inventive concept, a computer program product is also provided in the embodiments of the present disclosure, including a computer program product, including: a computer program or an instruction, and when the computer program or the instruction is executed by a processor, the optical network fault location method of any one of the above method embodiments is implemented. Since the principle of solving the problem in the computer program product embodiment is similar to that in the above method embodiment, the implementation of the computer program product embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0190] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0191] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0192] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0193] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

Claims

1. A method for locating an optical network fault, characterized in that: include: Acquire at least one alarm data of the optical network; Extracting triple information of each alarm data, wherein the triple information includes at least two entities and a relationship between the two entities; According to the triple information of each alarm data, the corresponding alarm knowledge graph is constructed; Input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the probability of fault occurrence corresponding to each entity in the alarm knowledge graph; The fault location in the optical network is determined according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph.

2. The optical network fault location method according to claim 1, characterized in that: The entity type in the alarm data includes at least one of the following: alarm type, fault object, service, and equipment. The triplet information of each alarm data is extracted, including: Setting the alarm type, the fault object, the service, and the device in each alarm data as entities in triplet information; Setting the relationship between the alarm type, the fault object, the service, and the device in each alarm data as the relationship between entities in the triplet information; According to the entities and the relationships between the entities, triplet information of each alarm data is determined.

3. The optical network fault location method according to claim 1, characterized in that: According to the triple information of each alarm data, the corresponding alarm knowledge graph is constructed, including: The two entities contained in the triple information of each alarm data are respectively set as two nodes of the alarm knowledge graph to be constructed; Setting the relationship between two entities contained in the triple information of each alarm data as an edge of the alarm knowledge graph to be constructed; According to the two nodes and edges set in the triple information of each alarm data, the corresponding alarm knowledge graph is constructed.

4. The optical network fault location method according to claim 1, characterized in that: The alarm knowledge graph of each alarm data is input into a pre-trained gated graph neural network model, and the fault occurrence probability corresponding to each entity in the alarm knowledge graph is output, including: Input the pre-built alarm knowledge graph into the pre-trained gated graph neural network model, and output the probability of occurrence of the pending fault corresponding to each entity in the alarm knowledge graph; The attention mechanism is used to process the probability of occurrence of pending faults corresponding to each entity in the alarm knowledge graph, and the probability of occurrence of faults corresponding to each node in the alarm knowledge graph is determined.

5. The optical network fault location method according to claim 1, characterized in that: Before inputting the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model and outputting the probability of a fault occurrence corresponding to each entity in the alarm knowledge graph, the method further includes: Using an attention mechanism, the warning knowledge graph input into the initialized gated graph neural network model is decomposed into a causal attention graph and a trivial attention graph; Constructing a target loss function based on the causal attention map and the trivial attention map; The initialized gated graph neural network model is optimized by the target loss function to obtain a trained gated graph neural network model.

6. The optical network fault location method according to claim 3, characterized in that: The triple information also includes: entity attribute information, and determining the location of the fault in the optical network according to the fault occurrence probability corresponding to each entity in the alarm knowledge graph, including: When the probability of a fault corresponding to any node in the alarm knowledge graph is greater than or equal to a preset threshold, the node is determined to be a root fault node; The fault location in the optical network is determined according to the entity attribute information corresponding to the root fault node.

7. The optical network fault location method according to claim 1, characterized in that: After acquiring at least one alarm data of the optical network, the method further comprises: The at least one alarm data of the optical network obtained is subjected to standardization processing, wherein the standardization processing includes at least one of the following: cleaning processing, integration processing, and normalization processing.

8. An optical network fault location device, characterized in that: include: An alarm data acquisition module, used to acquire at least one alarm data of the optical network; A triplet information determination module, used to extract triplet information of each alarm data, wherein the triplet information includes at least two entities and a relationship between the two entities; The alarm knowledge graph construction module is used to construct the corresponding alarm knowledge graph according to the triple information of each alarm data; A fault probability output module is used to input the alarm knowledge graph of each alarm data into a pre-trained gated graph neural network model, and output the fault occurrence probability corresponding to each entity in the alarm knowledge graph; A fault location determination module is used to determine the fault location in the optical network according to the fault probability corresponding to each entity in the alarm knowledge graph.

9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the optical network fault location method according to any one of claims 1 to 7 by executing the executable instructions.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the optical network fault locating method according to any one of claims 1 to 7 is implemented.

11. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed by a processor, the optical network fault locating method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Fault positioning method and device and computer storable medium

    CN114785674A

  • Network fault analysis method and device, electronic equipment and storage medium

    CN115996169A

  • Methods and apparatuses for generating peptides by synthesizing a portion of a design space to identify peptides having non-canonical amino acids

    US20230161844A1

Cited By

  • Safety production intelligent supervision system based on artificial intelligence

    CN119740989A

  • Group obstacle identification method and device and electronic equipment

    CN120075857A

  • Data processing method and system based on large table model

    CN120723900A

  • Data processing method and system based on table large model

    CN120723900B