Fault root cause handling method, system, device, medium and product
By performing structured analysis and fault propagation graph verification on multi-source heterogeneous fault data, and adjusting the handling plan in conjunction with the handling knowledge graph, the accuracy and efficiency problems of core network fault root cause analysis in existing technologies have been solved, and efficient root cause localization and accurate handling plan generation have been achieved.
Patent Information
- Application Number
- CN202611462220.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-18
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for core network fault root cause analysis suffer from problems such as long troubleshooting cycles, high misjudgment rates, lack of causal inference, insufficient data parsing capabilities, difficulty in knowledge accumulation, imbalance between retrieval efficiency and semantic understanding, and overly coarse-grained handling suggestions. In particular, it is difficult to achieve accurate root cause location and handling under heterogeneous alarm and log data from multiple vendors and in multiple formats.
By performing structured analysis on multi-source heterogeneous fault data, a structured fault profile is generated. Based on the fault propagation graph and historical similar faults, the profile is verified. Combined with the handling knowledge graph, the handling plan is adjusted, realizing the leap from statistical correlation to causal inference, and improving the accuracy of root cause location results and the accuracy of handling plans.
It improves the accuracy of root cause localization and the stability of handling solutions, reduces the probability of misjudgment, enhances the interpretability of root cause localization results and the accuracy of handling solutions, and can adapt to complex scenarios with multi-source heterogeneous data.
Smart Images

Figure CN123185057A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of data processing technology, and in particular relates to a method, system, device, medium and product for handling root causes of faults. Background Technology
[0002] As the core network is used more frequently, the frequency and causes of errors also increase. Fault analysis is necessary to develop accurate solutions for handling these faults.
[0003] In existing technologies, the root cause analysis of core network faults in current telecommunications operators mainly relies on solutions such as expert experience-driven, association rule mining, topology propagation analysis, and large language model log analysis. Among them, the expert experience-driven mode relies on engineers' deep understanding of network topology and equipment characteristics; the association rule mining method uses algorithms such as FP-Growth to mine statistical correlations between alarms; the topology-based fault propagation analysis method constructs a network physical topology map and locates the root cause node through temporal and spatial constraints; and the large language model method directly inputs logs and alarms into the model and asks for analysis conclusions through prompt words.
[0004] However, the process suffers from long investigation cycles and high misjudgment rates, making it difficult to pass on experience. The analysis process mainly involves correlation analysis rather than causal inference, which can easily lead to false associations and high rule base maintenance costs. It also has limited ability to model complex nonlinear faults and heavily relies on the integrity of topology information. Furthermore, it lacks explicit modeling of core network-specific topology relationships and business process constraints, which is insufficient in scenarios with many faulty components and poses data security risks. Summary of the Invention
[0005] This application provides a method, system, device, medium, and product for handling root causes of faults, which can perform root cause analysis on fault data and improve the accuracy of fault data analysis.
[0006] In a first aspect, embodiments of this application provide a method for handling the root cause of a fault, the method comprising: The received multi-source heterogeneous fault data is subjected to structured analysis to obtain a structured fault profile; Based on structured fault profiles, fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data are determined. Based on structured fault profiles and fault modes, similar historical faults are retrieved from the historical fault knowledge base. The structured fault profile is mapped to the fault propagation graph to obtain candidate root causes based on the fault propagation graph. The candidate root causes are then verified by historical similar faults to obtain the root cause localization results of the fault event. Based on the root cause localization results and the handling knowledge graph, the historical handling plans for similar faults are adjusted to generate handling plans corresponding to the fault events.
[0007] Secondly, embodiments of this application provide a root cause analysis system, the system comprising: The fault event parsing intelligent agent is used to perform structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile. A fault event classification agent is used to determine the fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data based on structured fault profiles. A fault record detection agent is used to retrieve similar historical faults from a historical fault knowledge base based on structured fault profiles and fault patterns. The fault root cause analysis agent is used to map the structured fault profile to the fault propagation graph, so as to obtain candidate root causes based on the fault propagation graph. The candidate root causes are verified by historical similar faults to obtain the root cause localization result of the fault event. The fault handling and localization intelligent agent is used to adjust the historical handling plans for similar faults based on the root cause localization results and the handling knowledge graph, and generate the handling plan corresponding to the fault event.
[0008] Thirdly, embodiments of this application provide a root cause analysis device, the device comprising: The parsing module is used to perform structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile. The classification module is used to determine the fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data based on structured fault profiles. The detection module is used to retrieve similar historical faults from the historical fault knowledge base based on structured fault profiles and fault modes. The root cause module is used to map the structured fault profile to the fault propagation graph, so as to obtain candidate root causes based on the fault propagation graph. The candidate root causes are verified by historical similar faults to obtain the root cause localization result of the fault event. The handling module is used to adjust historical handling plans for similar faults based on root cause localization results and handling knowledge graphs, and generate handling plans corresponding to fault events.
[0009] Fourthly, embodiments of this application provide a terminal device, the device including: a processor, and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the fault root cause handling method as described in the first aspect.
[0010] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the fault root cause handling method as described in the first aspect.
[0011] Sixthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the fault root cause handling method as described in the first aspect.
[0012] The fault root cause handling method, system, device, medium, and product of this application embodiment perform structured analysis on received multi-source heterogeneous fault data to obtain a structured fault profile. This structured fault profile improves the robustness of fault data. Based on the structured fault profile, the fault classification label and fault mode of the fault event corresponding to the multi-source heterogeneous fault data are determined. Historical similar faults are retrieved from the historical fault knowledge base. The structured fault profile is mapped to a fault propagation graph, thereby obtaining candidate root causes based on the fault propagation graph. The candidate root causes are verified by historical similar faults to obtain the root cause location result of the fault event. Reverse tracing can be performed through the fault propagation graph and topological constraints, realizing the leap from statistical correlation to causal inference, improving the accuracy of the root cause location result. Based on the root cause location result and the handling knowledge graph, the historical handling schemes for historical similar faults are adjusted to generate the handling scheme corresponding to the fault event, improving the accuracy of the handling scheme. Furthermore, the handling knowledge graph and historical fault knowledge base can be continuously optimized with the accumulation of fault data, improving the stability and accuracy of handling fault events. Attached Figure Description
[0013] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a flowchart illustrating a method for handling the root cause of a fault, as provided in an embodiment of this application. Figure 2 This is a schematic diagram of the structure of a fault root cause handling system provided in an embodiment of this application; Figure 3 This is a schematic diagram of a fault root cause handling device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. Detailed Implementation
[0015] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.
[0016] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.
[0017] It should be noted that the acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of laws and regulations.
[0018] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.
[0019] In existing technologies, root cause analysis of core network failures in telecommunications operators is mainly conducted through the following methods: The expert-driven troubleshooting model allows network engineers to determine the fault type based on their personal experience after receiving an alarm. They can then log into the network element and execute query commands (such as displaying alarms, showing interface information, and tracing users) to analyze each alarm step by step. By combining equipment manuals and historical experience, they can locate the root cause. However, this method relies on engineers' deep understanding of network topology, equipment characteristics, and business logic. In complex fault scenarios, the troubleshooting cycle is long, the misjudgment rate is high, and personnel turnover makes it difficult to pass on experience.
[0020] Root cause analysis based on association rule mining can use association rule algorithms such as the frequent pattern growth algorithm FP-Growth and the Apriori algorithm to mine frequent patterns in historical alarm data, find statistical correlations between alarms and between alarms and root causes. When a new alarm occurs, it recommends possible root causes by matching association rules in the rule base, thereby discovering and statistically analyzing co-occurrence patterns with significant characteristics. However, it is essentially a correlation analysis rather than causal inference, which can easily lead to false associations between alarms or between alarms and root causes. In addition, the rule base containing association rules needs to be updated regularly to adapt to network evolution, resulting in high maintenance costs.
[0021] Topology-based fault propagation analysis can construct a physical or logical topology diagram of the core network, map alarm information to topology nodes, and then analyze the propagation relationship of alarms in time and space. By using temporal constraints (such as the time window for fault propagation along the link) and spatial constraints (such as upstream and downstream dependencies), the most likely root cause node can be located. This includes Bayesian network-based inference and backtracking based on fault propagation models, which can handle chain propagation scenarios well. However, it has limited ability to model complex nonlinear faults (such as multiple causes and one effect, implicit dependencies) and is heavily dependent on the completeness and accuracy of topology information.
[0022] Log analysis based on large language models involves operators or systems directly inputting core network logs and alarm texts into large models such as Generative Pre-trained Transformers (GPT) and Large Language Model Meta AI (Llama). Through prompt word engineering, these models are required to output root cause analysis conclusions, understand fault phenomena described in natural language, and generate relatively coherent analysis reports. However, large models lack explicit modeling of core network-specific topology relationships, device instruction specifications, and business process constraints, which can easily lead to seemingly plausible but ultimately flawed analytical conclusions. Furthermore, their accuracy is insufficient in fault scenarios involving multi-network element collaboration and long-term time-series reasoning, and they also pose certain data security and privacy risks.
[0023] In summary, existing technologies suffer from several shortcomings, including insufficient data parsing capabilities, difficulties in knowledge accumulation, an imbalance between retrieval efficiency and semantic understanding, a lack of causal reasoning in root cause localization, and overly coarse-grained handling suggestions. Among these, insufficient data parsing capabilities manifest in the lack of a unified and standardized parsing capability when faced with heterogeneous alarm and log data from multiple vendors and in various formats. Regular expressions struggle to cover non-fixed format text, and Natural Language Processing (NLP) extraction lacks optimization for specific domains such as network element entities and error codes, leading to inconsistent parsing results and significant information loss. Difficulty in knowledge accumulation means that expert experience and historical cases exist in the form of unstructured text or tacit knowledge, lacking standardized knowledge extraction, encoding and reuse mechanisms. This makes it difficult to pass on experience, the classification granularity is coarse and cannot continue to evolve with the emergence of new fault types. At the same time, the classification results lack interpretability, making it difficult for operation and maintenance personnel to trust and verify them. The imbalance between retrieval efficiency and semantic understanding means that traditional keyword retrieval is efficient but has weak semantic understanding, while pure vector retrieval has strong semantics but insufficient precise matching ability, making it difficult to discover deep cases of causal relationships. Operation and maintenance personnel need to read the original cases obtained from the retrieval one by one, which is inefficient. The lack of causal reasoning in root cause localization indicates that existing solutions are mostly based on statistical correlation or rule matching, which results in poor localization accuracy in fault scenarios such as multiple concurrent faults and multiple causes with a single effect. The confidence output lacks interpretable analytical basis, making it difficult to locate the true root cause of complex faults. The coarse granularity of the handling suggestions indicates that the handling solutions in historical cases are mostly described in natural language. Successful or unsuccessful handling experiences cannot be effectively accumulated into knowledge base updates, and maintenance personnel still need to manually convert a large amount of information.
[0024] To address the problems in the prior art, embodiments of this application provide a method, system, device, medium, and product for handling root causes of faults.
[0025] The following section first introduces the fault root cause handling method provided in the embodiments of this application.
[0026] Figure 1 A flowchart illustrating a fault root cause handling method provided in one embodiment of this application is shown. Figure 1 As shown, the method may include the following steps: S101: Perform structured analysis on the received multi-source heterogeneous fault data to obtain a structured fault profile.
[0027] Specifically, during the operation of the core network, it receives multi-source heterogeneous fault data.
[0028] Among them, multi-source heterogeneous fault data refers to the original fault information from different network elements, transmitted through different protocols or with different data formats. The multi-source heterogeneous fault data can be preprocessed by the adapter, such as format verification, deduplication, and time alignment. The multi-source heterogeneous fault data includes alarm data, performance indicators, configuration files and operation logs.
[0029] The adapter can be configured to support multiple data protocols, including Simple Network Management Protocol Trap (SNMP Trap), Syslog, Kafka, and Java Database Connectivity (JDBC).
[0030] In addition, the preprocessed multi-source heterogeneous fault data is subjected to structured analysis to obtain a structured fault profile. The structured fault profile is a multi-dimensional feature structure formed by fusing alarm information, performance indicators, tool analysis results and topology relationships. Its dimensions can include network element attributes, abnormal behavior, time series characteristics and impact range. Among them, network element attributes can include network element identifier, type, manufacturer and location; fault type can distinguish between signaling plane, user plane, interface or resource; abnormal behavior can include alarm code, error code and abnormal performance indicators; time series characteristics can include first occurrence time, duration and frequency of occurrence; impact range can include the type of service affected and the number of affected users.
[0031] This application embodiment obtains a structured fault profile by performing structured analysis on multi-source heterogeneous fault data, which can be expressed on a unified spatial dimension and data format, reducing the amount of redundant calculations that may occur due to heterogeneous fault data.
[0032] S102: Based on structured fault profiles, determine the fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data.
[0033] Specifically, based on the structured fault profile, the fault classification labels and fault modes of the fault events corresponding to the multi-source heterogeneous fault data are determined. The fault classification label identifies the category to which the fault event belongs. Its granularity is relatively coarse and is used to distinguish the nature of the fault event. The fault classification label can include a primary label and a secondary label. At the same time, a fault event can correspond to at least one specific fault classification label.
[0034] Fault modes can represent more specific fault scenarios. Each fault mode can correspond to a clear mode identifier, mode name, fault category, typical alarm code combination, characteristic parameter threshold, common root causes, and typical handling methods.
[0035] In addition, a multi-label classification model can be used to process the structured fault profile to obtain fault classification labels, and the corresponding fault patterns can be matched in the fault pattern knowledge base using the fault classification labels as indexes.
[0036] The multi-label classification model can be a text convolutional neural network or a bidirectional encoder architecture based on the transformer, thereby obtaining the probability value of each fault classification label, that is, the confidence level of the fault event as a certain fault classification label, and thus determining the fault classification label of the fault event.
[0037] The embodiments of this application determine the fault classification label and fault mode of the fault event, which can determine the category and mode of the fault event from multiple dimensions, and provide scenario basis and index basis for subsequent processes such as fault root cause analysis.
[0038] S103: Based on structured fault profiles and fault modes, retrieve similar historical faults from the historical fault knowledge base.
[0039] Specifically, based on the structured fault profile and fault mode, similar historical faults are retrieved from the historical fault knowledge base. The historical fault knowledge base represents a data set that stores information related to historical fault records. The historical fault knowledge base can include structured field information of historical fault events, or it can include unstructured text information.
[0040] Historical similar faults include fault identifiers and corresponding fault classification information, fault phenomenon description data, root cause localization path data, tool call sequence data, handling plans and handling steps data, handling correlation data, and feedback and confidence level data.
[0041] Among them, the fault phenomenon description data represents the multi-source heterogeneous fault data when similar historical faults occurred, which may include alarm codes, error codes, abnormal values of performance indicators, timestamps of the occurrence of the anomalies, and durations. The root cause localization path data represents the analysis process of tracing back from the fault phenomenon to the root cause node of the similar historical fault. The tool call sequence data represents the tool call order in the process of rooting the similar historical fault, including the logged-in network element, the executed query command, and the key results returned by the query.
[0042] This application embodiment retrieves historical similar faults that are similar to the current structured fault profile from the historical fault knowledge base, which can reduce the retrieval bias caused by a single retrieval data and a single retrieval mode. Historical similar faults can provide reference experience for operation and maintenance personnel to handle fault events corresponding to multi-source heterogeneous fault data.
[0043] S104: Map the structured fault profile to the fault propagation graph to obtain candidate root causes based on the fault propagation graph. Verify the candidate root causes through historical similar faults to obtain the root cause localization results of the fault event.
[0044] Specifically, the structured fault profile is mapped to a fault propagation graph, which is a directed graph constructed based on the topology of the core network and the service dependencies between network elements. The nodes in the fault propagation graph include network elements, interfaces and service flows, and the edges represent the dependencies or call relationships between nodes. Thus, the corresponding topology can be described based on the fault propagation graph and the business process, which is used to represent the actual business interaction path.
[0045] Based on the corresponding node mapped in the fault propagation graph of the structured fault profile, we can trace upstream along the direction of the edge in the fault propagation graph, starting from that node. The upstream abnormal nodes on the tracing path are taken as candidate root causes. For multiple candidate root causes, we can sort them by their abnormal performance.
[0046] Furthermore, by verifying candidate root causes through root cause localization paths in similar historical faults, the root cause localization results of the fault event can be determined from the candidate root causes, thereby reducing the probability of misjudgment of root cause localization results.
[0047] This application embodiment uses a fault propagation graph to reverse trace the structured fault profile to obtain candidate root causes, reducing misjudgments. At the same time, it verifies the candidate root causes by using historical similar faults to obtain root cause location results, improving the accuracy of root cause location results. Furthermore, the root cause location results determined by the fault propagation graph improve the interpretability of the root cause location results.
[0048] S105: Based on the root cause localization results and the handling knowledge graph, adjust the historical handling plans for similar faults and generate the handling plan corresponding to the fault event.
[0049] Specifically, the root cause localization result can be used as a query condition to find the target action node that matches the root cause localization result in the action knowledge graph, and then use it as the standard operation to be performed to deal with the root cause.
[0050] The disposal knowledge graph represents a directed knowledge graph in which nodes include disposal actions, dependencies between nodes, and causal relationships as edges. Nodes may also include fault modes, root cause types, network elements, and invoked tools.
[0051] Simultaneously, historical handling plans for similar faults are obtained, corresponding handling step sequences are extracted from the historical handling plans, the historical handling step sequences are compared with the target handling action nodes, the difference data is determined, the historical handling plans are adjusted based on the difference data, and the handling plan corresponding to the fault event is generated.
[0052] The discrepancies include steps that are included in the historical handling plan but not in the target handling action node, steps that exist in the target handling action node but are missing in the historical handling plan, or steps that are included in both but executed in different orders.
[0053] This application embodiment determines the handling action for the current fault event through root cause localization results and handling knowledge graph, and adjusts the historical handling plan for similar faults based on the handling action, reducing the mismatch and differences caused by directly reusing historical handling plans. At the same time, by adjusting the historical handling plan, a handling plan for the fault event is obtained, which can retain historical experience and improve the efficiency of fault recovery.
[0054] This application embodiment performs event parsing, event classification, record retrieval, root cause analysis, and handling location on multi-source heterogeneous fault data. It can use the retrieved historical similar faults as a basis for verifying the root cause analysis, and the historical handling plans it carries can also provide a basis for adjusting the handling plan. It can trigger the receipt of multi-source heterogeneous fault data and complete an executable handling plan that matches the current fault event. In the process of generating the handling plan, it can perform reverse tracing through fault propagation graphs and topological constraints, which can realize the leap from statistical correlation to causal inference, improve the accuracy of root cause location results, and thus improve the stability and accuracy of the generated handling plan.
[0055] In some embodiments, the received multi-source heterogeneous fault data is subjected to structured parsing to obtain a structured fault profile, including: The received multi-source heterogeneous fault data is preprocessed to obtain standardized format data; Based on the regular expression rule base, standardized format data conforming to the preset standard format is extracted to obtain the first parsing result; The second parsing result is obtained by extracting entity information from standardized format data that does not conform to the preset standard format based on the named entity recognition model; Based on the first and second analysis results, a structured fault profile is obtained.
[0056] Specifically, the received multi-source heterogeneous fault data is preprocessed to obtain standardized format data. The preprocessing process may include format verification, deduplication, and time alignment.
[0057] Standardized format data conforming to a preset standard format can be extracted using a regular expression rule base. The preset standard format can represent alarm text with a relatively fixed format, such as standardized format data including alarm code field, network element identifier field and timestamp field.
[0058] The regular expression rule base can be categorized by manufacturer, device type, alarm category, and alarm type to form a multi-level organizational structure. Each rule corresponds to an extraction template for a field. When an alarm text arrives, the system locates the corresponding manufacturer and device type branch based on its source identifier. Then, under that branch, the system matches the alarm category and alarm type level by level, thereby calling the corresponding regular expression to complete the field extraction and obtain the first parsing result. Device types include Mobility Management Entity (MME), Serving Gateway (SGW), Packet Data Network Gateway (PGW), and Home Subscriber Server (HSS). Alarm categories include communication alarms, device alarms, and processing alarms.
[0059] The first parsing result includes alarm code, network element identifier, timestamp, and error code.
[0060] In addition, for semi-structured or unstructured standardized format data, that is, entity information in standardized format data that does not conform to the preset standard format, the named entity recognition model is used to extract the information, thereby obtaining the second parsing result.
[0061] Among them, the named entity recognition model can identify entities such as network element names, time, network addresses, error codes, device models, and port information from natural language text. The recognition process obtains entity information through contextual semantic features and sequence dependencies.
[0062] In some embodiments, an NLP named entity recognition model is used as a supplement and fallback mechanism. For semi-structured or unstructured log text, pre-trained models such as BERT-BiLSTM-CRF are used to fully capture the contextual semantic features and sequence dependencies of multi-source heterogeneous fault data. Fine-tuning is performed on the annotated core network corpus to identify entity information such as network element names, time, IP addresses, error codes, device models, and port information. This information is then determined as the second parsing result. Thus, the entity naming recognition model can further process standardized format data that cannot be extracted by the regular expression rule base, covering parsing scenarios of non-fixed format logs.
[0063] Furthermore, field standardization mapping is performed, that is, a mapping relationship library between manufacturer-specific alarm codes and standard fault codes is established. For example, alarm code 1010101 from manufacturer A and alarm code 200001 from manufacturer B are both mapped to the unified standard fault code LINK-DOWN-001, thereby eliminating semantic differences between alarms across manufacturers. The mapping relationship library can be dynamically expanded, and manufacturers or alarm types can be added through incremental updates.
[0064] Furthermore, a structured fault profile is obtained based on the first and second parsing results. The first and second parsing results can be aligned and merged at the field level. According to the pre-established field mapping table, regular expression field names and entity category names can be uniformly mapped to the same set of standard field names. During the merging process, when the same field has values in both the first and second parsing results, priority can be set according to the reliability of the data source. For example, the regular expression parsing result takes precedence over the named entity recognition result, or the newer one is taken according to the timestamp.
[0065] The structured fault profile includes network element attributes (network element ID, type, vendor, location), fault type (signaling plane, user plane, interface, resource), abnormal behavior (alarm code, error code, abnormal performance indicators), time sequence characteristics (first occurrence time, duration, frequency), and impact scope (affected services, number of affected users).
[0066] Furthermore, the process of obtaining a structured fault profile can be achieved through a fault event analysis agent. This agent can also extract and structurally label the thought chain of the expert analysis process accumulated in the historical records by combining a large model with preset prompts. Specifically, the prompts guide the large model to output the tool call order, feature judgment basis, and root cause localization path in the thought chain.
[0067] The tool invocation order is as follows: first, log in to the MME and execute the display command, then query the HSS user status; The criteria for feature-based judgment are, for example: judging that the N2 interface timed out based on error code 101; Root cause localization path, for example: tracing back from PGW to MME to find that the resource pool is full.
[0068] Structured annotation involves labeling the extracted results as reusable analytical path knowledge, thereby improving the traceability and interpretability of tool selection and node judgment in subsequent stages.
[0069] The embodiments of this application can transform multi-source heterogeneous fault data into a structured fault profile with unified field definitions through preprocessing, event parsing, and other methods, enabling subsequent processes to perform classification, retrieval, and root cause analysis on a unified data basis, thereby improving robustness.
[0070] In some embodiments, based on structured fault profiles, fault classification labels and fault modes for fault events corresponding to multi-source heterogeneous fault data are determined, including: By processing structured fault profiles using a multi-label classification model, the initial classification labels and classification confidence of fault events corresponding to multi-source heterogeneous fault data are obtained. If the classification confidence does not exceed the preset confidence threshold, the fault event is judged by the fault rule engine to obtain the fault classification label. The fault rule engine is built based on the fault mode knowledge base. If the classification confidence exceeds the preset confidence threshold, the initial classification label will be determined as the fault classification label; Based on fault classification tags, the fault mode corresponding to the fault event is matched in the fault mode knowledge base.
[0071] Specifically, the structured fault profile is processed by a multi-label classification model. The processing of the multi-label classification model is a mapping process from multi-dimensional features to category space. Through the multi-label classification model, the scattered features are integrated to output initial classification labels with probability values, and the classification confidence corresponding to each initial classification label is also output.
[0072] Among them, classification confidence reflects the degree of confidence of the multi-label classification model in its judgment of the initial classification label.
[0073] In some embodiments, a multi-label classification model can be built based on the TextCNN or BERT architecture, while enabling the multi-label classification model to support the same fault event belonging to multiple fault categories, such as simultaneously belonging to signaling plane faults and interface faults.
[0074] The fault classification labels include primary labels and secondary labels. Primary labels may include, but are not limited to, signaling plane faults, user plane faults, interface faults, resource overload, configuration errors, and hardware faults. Secondary labels may include, but are not limited to, N2 interface interruptions, CPU overloads, and memory leaks.
[0075] Furthermore, if the classification confidence exceeds the preset confidence threshold, it indicates that the multi-label classification model has a high degree of confidence in the initial classification label, and the initial classification label is determined as the fault classification label.
[0076] If the classification confidence does not exceed the preset confidence threshold, it indicates that the reliability of the initial classification labels given by the multi-label classification model is insufficient, and the fault event can be re-evaluated by the fault rule engine.
[0077] The fault rule engine is built based on the fault mode knowledge base and stores deterministic rules. Each fault rule can include the combination conditions of fault features and the corresponding classification conclusion. When the fault features in the structured fault profile meet any combination conditions, the corresponding classification conclusion is determined as the fault classification label.
[0078] The preset reliability threshold can be set to 0.6, and the fault rule is represented as follows: Alarm code = 1010101 AND Network element type = MME → Classification = Signaling plane fault / N2 interface interruption.
[0079] In addition, the triggering conditions of the fault rule engine may also include mutual exclusion conflicts between multiple initial classification labels, or feature combinations that are marked as high-priority alarms in the fault rule engine and already exist in the structured fault profile.
[0080] In addition, after obtaining the fault classification label, the fault classification label is used as the query condition to match the fault mode corresponding to the fault event in the fault mode knowledge base. The fault mode includes mode ID, mode name, fault category, typical alarm code combination, characteristic parameter threshold, common root causes, and typical handling solution.
[0081] The fault mode knowledge base is stored in a graph database to support fine-grained fault scenario matching, and can form a two-level collaborative mechanism with multi-label classification models for coarse-grained classification and fine-grained matching.
[0082] Furthermore, while outputting fault modes and fault classification labels, keywords based on the classification or rule indexes of the corresponding fault rules can be added to facilitate understanding and verification by operations and maintenance personnel. In addition, attention weight visualization technology can be applied to the initial classification labels obtained by the multi-label classification model to show the input segments that contribute the most to the classification decision and enhance the credibility of the initial classification labels.
[0083] Furthermore, after manually confirming the fault classification label and fault mode of the fault event, all relevant data of the fault event are included in the training set to update the multi-label classification model based on the training set, so that it can continuously adapt to new fault modes.
[0084] This application embodiment determines the fault classification labels of the structured fault profile through a multi-label classification model and a fault rule engine. The output results of the multi-label classification model and the fault rule engine complement each other, improving the accuracy and reliability of the fault classification labels. At the same time, based on the fault classification labels, the corresponding fault modes are matched in the fault mode knowledge base, which can simultaneously obtain coarse-grained fault classification information and fine-grained scenario information, improve the accuracy of retrieving similar historical faults, and thus improve the accuracy of root cause analysis and handling solutions.
[0085] In some embodiments, based on structured fault profiles and fault modes, historically similar faults are retrieved from a historical fault knowledge base, including: Based on the preset fault fields corresponding to the fault modes, the candidate record set is obtained by filtering in the historical fault knowledge base. Determine the fault semantic vector of the structured fault profile; Determine the semantic similarity between the fault semantic vector and the historical semantic vector corresponding to each historical fault record in the candidate record set, and determine the first retrieval result in the candidate record set based on the semantic similarity; Based on the fault association relationships of each historical fault record in the first search result, the second search result is obtained by querying the associated records that have a fault association relationship with the first search result in the historical fault knowledge base. By combining the first and second search results, historical similar faults are obtained.
[0086] Specifically, the fault field data corresponding to the fault mode in the preset fault fields is determined, and the fault field data is filtered in the historical fault knowledge base to obtain a candidate record set.
[0087] For example, a specified alarm code can be explicitly included in the structured fault profile, and historical records that do not include the specified alarm code in the historical fault knowledge base can be determined as irrelevant, thereby achieving filtering.
[0088] Among them, the preset fault fields can be determined according to the definition of the fault mode in the fault mode knowledge base. For example, if the current fault mode is defined as a response timeout caused by the exhaustion of the resource pool of a certain interface, its preset fault fields may include interface type identifier, resource utilization threshold and specific alarm code.
[0089] Furthermore, if a certain preset fault field does not exist in the structured fault profile, then the condition corresponding to the structured fault profile will not be included in the filtering, thereby reducing the possibility of incorrectly excluding relevant historical records due to incomplete information.
[0090] In addition, the fault semantic vector of the structured fault profile is determined, thereby converting the fault description text in the structured fault profile into a fixed-dimensional numerical vector, so that it can be compared with the historical semantic vectors corresponding to each historical fault record in the candidate record set in the same vector space.
[0091] Among them, fault semantic vectors and historical semantic vectors can be determined by an encoding model, which can be an embedding model obtained by fine-tuning the operation and maintenance corpus.
[0092] The semantic similarity between the fault semantic vector and the historical semantic vector is determined. Semantic similarity can be calculated using cosine similarity or Euclidean distance. The semantic similarity can be sorted from high to low, and the historical fault records corresponding to the historical semantic vectors preceding a preset number of these sorted records are selected as the first search results.
[0093] There are also fault associations among the historical fault records in the historical fault knowledge base. Based on the fault associations of each historical fault record in the first search result, the related records that have a fault association with the first search result can be queried in the historical fault knowledge base to obtain the second search result.
[0094] For example, the analysis path and handling experience of derivative records caused by the same alarm code on different network elements, or secondary alarm records caused by the same root cause in the cascading process, are of reference value for judging the current fault event.
[0095] Searching can be done using a graph approach, which means starting with the record in the first search result and querying other records in the historical fault knowledge base that have a fault relationship with it.
[0096] Among them, the fault correlation relationship can be established by establishing a derivative relationship between historical records with the same alarm code but involving different network elements, establishing a common root cause relationship between historical records with the same root cause label but different fault manifestations, and establishing a time-series fault correlation relationship between multiple historical records that occur successively within a preset time window.
[0097] Furthermore, by fusing the first and second search results, historical similar faults can be obtained. The fusion method can be to use the second search result as a supplement to the first search result, or to use a ranking fusion algorithm to perform a weighted calculation on the ranking position of the same historical record in different search paths to obtain historical similar faults.
[0098] In some embodiments, a dual-channel indexing mechanism can be constructed. This mechanism can utilize the LightRAG framework, simultaneously building a knowledge graph channel and a vector semantic channel. The knowledge graph channel extracts structured information from historical records (e.g., network element type, alarm code, interface type, fault mode, handling steps, etc.) into knowledge triples and stores them in a graph database. The vector semantic channel transforms unstructured text from historical records (e.g., fault descriptions, handling records, analysis reports, etc.) into vectors using an embedding model, establishing a vector index. The indexes of the knowledge graph channel and the vector semantic channel can be linked through a unified record ID, enabling cross-channel joint queries.
[0099] Case knowledge encoding involves uniformly encoding multi-source information in historical records through a data-enabled platform. The structured tags of historical records are converted into node attributes in a knowledge graph. While generating semantic vectors for each historical record, information such as alarm text, handling records, scope of impact, and recovery time are encoded to obtain a multi-dimensional representation of historical records.
[0100] A hybrid retrieval strategy is implemented, which includes keyword coarse screening, semantic similarity retrieval, and graph relationship enhancement. Keyword coarse screening refers to filtering based on preset fault fields such as alarm code, network element type, and interface type through Elasticsearch to narrow down the range of candidate record sets.
[0101] Semantic similarity retrieval involves performing an approximate nearest neighbor search between the semantic vector of the current fault event and the vector index corresponding to the historical records. It can support millisecond-level high-dimensional vector retrieval through the HNSW index structure and return the top-K first search results.
[0102] Knowledge graph relationship enhancement means that the first search result returned by semantic retrieval is used to query its associated records through the knowledge graph channel. The associated records include, for example, derivative cases of the same alarm code in different network elements, and secondary alarm cases caused by the same root cause. The second search result is then added to the first search result.
[0103] LightRAG retrieval fusion and re-ranking is performed by using the Reciprocal Rank Fusion algorithm to fuse and rank keyword retrieval, first retrieval results, and second retrieval results. Adjustable weights are assigned to retrieval results from different channels. A lightweight cross-encoder is constructed and used as the re-ranking model. The current fault event and candidate records are concatenated as input, and a similarity score is calculated. The re-ranking model is continuously fine-tuned based on historical user feedback data.
[0104] The system enhances retrieval generation and interpretation by generating comparative summaries from the retrieved Top-K historical similar faults using a lightweight LLM model. These summaries include similarities to the current fault event, key differences, and historical handling suggestions. The system can also annotate the matching dimensions of each historical record with the current fault event, such as complete alarm code matching, 92% semantic similarity of the fault description, and involvement of the same network element model. This yields matching keyword fragments. Simultaneously, the system records the adoption status of historical similar faults by maintenance personnel, incorporating positive and negative feedback into the semantic similarity retrieval and graph relationship enhancement for continuous training.
[0105] This application embodiment excludes irrelevant historical records before semantic calculation by filtering the preset fault field, reducing the computational data for vector similarity calculation and improving efficiency. At the same time, it can determine the second search result through the fault association relationship of the first search result, enhancing the recall scope of the search, thereby increasing the number of historical records and providing a broader reference for root cause verification and adjustment of the handling plan.
[0106] In some embodiments, a structured fault profile is mapped to a fault propagation graph to obtain candidate root causes based on the fault propagation graph. The candidate root causes are then verified by historical similar faults to obtain the root cause localization result of the fault event, including: The structured fault profile is mapped to the corresponding propagation node in the fault propagation graph, which is constructed based on the topology of the core network and the service dependency relationship between network elements. Based on the propagation nodes, candidate root causes are obtained by tracing along the fault impact path in the fault propagation graph. Obtain root cause association rules based on historical similar faults, process the structured fault profile based on the root cause association rules, and obtain the verified root cause; Based on the candidate root causes and the verified root causes, the root cause localization results of the fault event are obtained.
[0107] Specifically, the structured fault profile is mapped to the corresponding node in the fault propagation graph. The fault propagation graph is constructed based on the topology of the core network and the service dependencies between network elements. That is, the fault propagation graph includes physical connection relationships and service dependencies and invocation relationships.
[0108] The topology includes N2 / N3 / N4 / N6 interfaces, and the network elements in the nodes of the fault propagation graph can include MME, SGW, PGW, HSS, PCRF, NRF, SMF, AMF, etc. In addition, the service flows in the fault propagation graph can include registration, session establishment, handover, etc.
[0109] During the mapping process, mapping can be performed based on the network element identifier, interface identifier, or service flow identifier recorded in the structured fault profile. A single alarm in the structured fault profile may be associated with multiple nodes simultaneously. For example, in the case of an interface timeout alarm, it is necessary to associate the interface node, the propagation node using that interface, and the service flow nodes passing through that interface. After mapping is completed, the abnormal characteristics of the current fault event represented by the corresponding node in the structured fault profile can be displayed through a fault propagation graph, including alarm level, degree of indicator deviation, and time of anomaly occurrence.
[0110] Furthermore, based on the propagation nodes, tracing along the fault impact path in the fault propagation graph can identify abnormal nodes on the tracing path, thereby obtaining candidate root causes.
[0111] Furthermore, multiple candidate root causes can be sorted according to the severity and chronological order of their abnormal manifestations. The abnormal node that appears earlier in the time sequence is more likely to be the root cause than the abnormal node that appears later. Here, the time sequence refers to the time sequence of the abnormal node itself, not the time sequence that appears on the tracing path.
[0112] Furthermore, root cause association rules determined based on historical similar failures are obtained. These rules are mappings between conditions and conclusions; the conditions consist of combinations of failure features, and the conclusions represent the corresponding root cause types. Root cause association rules can be derived through inductive analysis of historical similar failures. They can originate from existing rule records in historical data or be derived by reverse engineering from root cause annotations and failure features in historical records.
[0113] The features in the current structured fault profile can be matched with the conditions of the root cause association rule. The conclusion of the root cause association rule that matches successfully is the root cause.
[0114] Furthermore, based on the verified root cause and candidate root causes, the root cause localization result of the fault event is obtained, which may involve adjusting the confidence level or weight of the candidate root cause by verifying the root cause.
[0115] The root cause localization results can include the root cause network element, the root cause type, and the confidence level, where the confidence level combines the contributions of both topology tracing and rule verification evidence.
[0116] This application's embodiments map a structured fault profile to a fault propagation graph and trace along the fault's impact path to obtain candidate root causes. Then, root cause association rules are used to independently verify the candidate root causes. Finally, the two sets of evidence are combined to output a root cause localization result with confidence. This makes the root cause judgment complementary between structural analysis and empirical verification, improving the accuracy and reliability of root cause localization.
[0117] In some embodiments, based on propagation nodes, candidate root causes are obtained by tracing along the fault impact path in the fault propagation graph, including: Identify anomalous information in the structured fault profile; The propagation node corresponding to the abnormal information is identified as the abnormal node; Starting from the abnormal node, trace upstream based on the direction of the edge in the fault propagation graph until the upper limit of the preset hop count range is reached to obtain the tracing path; Candidate root causes are determined based on the node information corresponding to the abnormal nodes in the tracing path.
[0118] Specifically, the abnormal information in the structured fault profile is identified. The abnormal information includes alarm records, performance indicator deviations, and tool analysis results. An alarm record may include network element identifiers and alarm codes, which can be used to locate the corresponding propagation node in the fault propagation graph. An abnormal performance indicator may be associated with a certain interface or a certain service flow, which can be used to locate the corresponding interface node or service flow node, i.e., the propagation node.
[0119] Meanwhile, the same fault event may correspond to multiple abnormal messages, each pointing to a different propagation node. Marking the propagation node as an abnormal node will yield the set of starting points for the tracing path.
[0120] In addition, starting from the abnormal node, trace upstream along the edges in the fault propagation graph, where upstream refers to the upstream of the business dependency relationship.
[0121] For example, in a fault propagation graph, there is an edge pointing from node A to node B, indicating that node A's service or output is dependent on node B. If node B fails, node A, as its dependent object, may cause node B to behave abnormally due to its own failure. Therefore, the direction of reverse tracing is to travel in the opposite direction of the edge.
[0122] The tracing process proceeds step by step. At each propagation node, it is checked whether the propagation node carries abnormal information. If the propagation node is marked as an abnormal node in the structured fault profile, then the tracing path will also start from the abnormal node and continue to trace forward along its upstream edge to obtain the tracing path.
[0123] In addition, the tracing range can be constrained by the upper limit of the preset hop count range. The hop count represents the number of edges traversed from the initial abnormal node to the current propagation node. The upper limit of the preset hop count range can be set according to the network size and fault type of the core network, and can be set to 3 hops.
[0124] The tracing path consists of nodes and edges connecting the nodes. The terminal node of the tracing path, that is, the abnormal node that cannot continue to trace upstream within the upper limit of the preset number of hops, can be used as a candidate root cause.
[0125] This application embodiment determines abnormal information in the structured fault profile, traces back along the edges in the fault propagation graph and filters according to node information, extracts the tracing path including abnormal information from the fault propagation graph, thereby determining candidate root causes, and providing a range-controlled set of candidate root causes with analysis paths for verification through historical similar faults.
[0126] In some embodiments, after processing the structured fault profile based on root cause association rules to obtain the verified root cause, the method further includes: Obtain the tool call order corresponding to the analysis path knowledge in historical similar faults; Based on the order of tool invocation, tool query operations are performed on candidate root causes to obtain tool query results; Based on candidate root causes, verified root causes, and tool query results, update the root cause localization results of the fault event.
[0127] Specifically, the tool call order corresponding to the historical similar fault analysis path knowledge is obtained. During the tool query process, it is necessary to perform the query according to the query target, query order and query items to obtain the analysis path knowledge corresponding to the historical similar faults. The analysis path knowledge is extracted and structured and labeled from the expert analysis process of historical records in the implicit thinking chain mining stage.
[0128] The tool call order corresponding to the analysis path knowledge indicates the tool operations that the expert performs sequentially during the process of troubleshooting similar historical faults. For example, in the historical record, the expert logs into the mobility management entity to perform a status query, queries the user status of the home user server, and then checks the resource pool occupancy of the packet data gateway. The corresponding troubleshooting logic is to confirm whether the access side is normal, and then check the user data upstream to locate the resource side.
[0129] The tool invocation sequence includes the query object, query command, and query parameters. The query object represents the logged-in network element or the accessed interface, the query command represents the operation performed by the query action, and the query parameters are used to represent the scope or conditions of the query.
[0130] Furthermore, if there are multiple historically similar faults and the order of tool calls in their corresponding historical records differs, the union of the query terms can be taken, or the high-frequency query terms can be selected based on their frequency of occurrence.
[0131] In addition, based on the order in which the tools are invoked, the tool query operation is performed with the candidate root causes as the main target of the query, and the tool query results are obtained.
[0132] In cases where the network element corresponding to the candidate root cause is inconsistent with the query object in the historical record, the query instructions and query parameters in the tool call sequence are adapted to the current candidate root cause. The tool query operation can be executed through the management interface or command line channel provided by the network element, and the query result can be in the form of structured data or text echo.
[0133] In addition, the root cause localization results of the fault event are updated based on the candidate root cause, the verified root cause, and the tool query results. The candidate root cause is derived from the reverse tracing of the topology and is structural evidence. The verified root cause is derived from the rule matching summarized from historical experience and is empirical evidence. The tool query results are derived from the real-time network status of the current core network and are on-site evidence.
[0134] When the candidate root cause, the verified root cause, and the tool query results all point to the same anomalous node, the root cause confidence of that anomalous node is enhanced. However, when there are discrepancies among the candidate root cause, the verified root cause, and the tool query results, the timeliness and reliability of the evidence can be weighed, and the weights corresponding to each anomalous node can be assigned to update the root cause localization results of the fault event.
[0135] Among them, the tool query results directly reflect the real state at the current moment, and are superior to the candidate root causes and verified root causes inferred from historical data in terms of timeliness, which can increase the weight of the abnormal nodes corresponding to the tool query results.
[0136] If the tool query results show that the abnormal node corresponding to the candidate root cause is indeed abnormal, the confidence level of the abnormal node can be maintained or increased. If the tool query results show that the abnormality occurs in another abnormal node, the abnormal node can be included in the root cause localization results or the confidence level distribution of the original results can be adjusted.
[0137] In some embodiments, association rules are mined. Using the FP-Growth algorithm, the association relationships between fault features and root causes are discovered based on historical similar faults, forming a rule knowledge base. Each rule in the rule knowledge base includes antecedent (i.e., combinations of fault features), consequent (i.e., root cause type), confidence, and support. During actual analysis, the current fault features are matched with rules in the rule knowledge base to help generate candidate root causes and their basis. When topological information is insufficient or effective location is not possible, the rule results serve as a supplementary means in the analysis.
[0138] To achieve multi-evidence fusion decision-making, candidate root causes, verification root causes, and tool query results are used to conduct unified evaluation and fusion decision-making on candidate root causes. The decision-making process can be carried out through a weighted voting mechanism, setting the weight of candidate root causes to 0.5, the weight of verification root causes to 0.3, and the weight of tool query results to 0.2, and dynamically adjusting the corresponding weights.
[0139] This application embodiment obtains the tool call sequence from historical similar faults and performs real-time queries on candidate root causes accordingly. The tool query results, along with candidate root causes and verified root causes, are used together to update the root cause localization results. This adds on-site verification to the root cause localization result determination process, improves the reliability of the root cause localization results, and enhances the adaptability to the current network state of the core network.
[0140] In some embodiments, based on root cause localization results and a handling knowledge graph, historical handling plans for similar faults are adjusted to generate handling plans corresponding to fault events, including: Based on the handling knowledge graph, target handling action nodes that match the root cause localization results are identified. The nodes in the handling knowledge graph include handling action nodes, and the edges include the handling relationships between nodes. The nodes also include fault phenomena, root cause types, network elements, and tools. The handling relationships include manifestation, root cause, handling method, involved network elements, and tools used. The handling knowledge graph can extract fault information such as fault phenomena, root causes, handling plans, and network element types from historical records, thereby supporting the discovery of implicit relationships and cross-case reasoning.
[0141] Obtain historical handling plans for similar faults and determine the sequence of handling steps corresponding to the historical handling plans; Determine the difference data between the handling actions and the target handling action node in the sequence of handling steps; The sequence of handling steps is adjusted based on the difference data, and a handling plan corresponding to the fault event is generated based on the adjusted sequence of handling steps.
[0142] Specifically, a disposal knowledge graph is obtained, and the corresponding target disposal action node is matched in the disposal knowledge graph based on the root cause localization result. The disposal knowledge graph includes disposal action nodes, and its edges represent the disposal association relationship between each disposal action node. The disposal association relationship represents the logical connection between disposal actions.
[0143] The action node is the standard action method for the root cause localization results. The root cause localization results include the root cause type, root cause network element and confidence level, so the target action node can be screened based on the root cause localization results.
[0144] In addition, historical handling plans for similar faults are obtained, and a sequence of handling steps is extracted from the historical handling plans. The sequence of handling steps can be recorded in the form of an ordered list, with each handling step including the operation object, operation instructions and expected results, or it can be stored in the form of natural language paragraphs. Sentence segmentation and action recognition are performed on the paragraphs to obtain the sequence of handling steps.
[0145] In addition, the discrepancy data between the handling actions in the sequence of handling steps and the target handling action node is identified, that is, the inconsistencies between the sequence of handling steps and the target handling node, including missing steps, redundant actions, inconsistent order, and inconsistent action descriptions.
[0146] The sequence of handling steps is adjusted based on the difference data to generate a handling plan corresponding to the current fault event.
[0147] In cases where actions are missing, the action corresponding to the target action node can be added to an appropriate position in the sequence of action steps. The specific position can be determined based on the action association relationship between the action node and other action nodes in the action knowledge graph.
[0148] In cases of redundant actions, the action should be removed from the sequence of actions, provided that the action is not directly related to the current root cause before removal.
[0149] In cases of inconsistency in the descriptions, the actions in the historical sequence of actions will be replaced with the descriptions of the actions corresponding to the target action node, so that the operational descriptions of the action plan are unified under the standard terminology system.
[0150] In cases of discrepancies in order, the processing steps are rearranged according to the order indicated by the processing relationships in the processing knowledge graph.
[0151] In some embodiments, unstructured actions at different granularities in the historical records can be described. By combining root cause information with standardized operation and maintenance specifications through a large language model, these actions can be broken down into a sequence of executable action steps. Prompt word templates are used to guide the output of the large model. The output content can include operation objectives, preconditions, execution steps (each step includes operation instructions, expected results, and exception handling), verification methods, and rollback schemes, thereby realizing the conversion from natural language to standardized steps.
[0152] This application embodiment uses the target handling action node in the handling knowledge graph as a reference to identify and adjust the differences in the historical handling step sequence, and generates a handling plan that is adapted to the current root cause localization result and has standardized operation description, so that operation and maintenance personnel can perform handling operations according to a clear handling step sequence, reducing the probability of handling operation failure.
[0153] In some embodiments, after generating the handling plan corresponding to the fault event, the method further includes: Obtain feedback data on the handling plan; In cases where the feedback data indicates execution failure, determine the discrepancy between the feedback data and the proposed solution. Update at least one of the historical fault knowledge base and the handling knowledge graph based on the handling difference data.
[0154] Specifically, the data obtained is the feedback data of the handling plan. This feedback data is the feedback from the operation and maintenance personnel based on the generated handling plan. It can be marked directly based on experience after the handling plan is generated, such as adoption and success, adoption but partial success, or rejection. Alternatively, it can be based on the actual execution results after the handling plan is executed. It can also be obtained by monitoring the handling effect, that is, monitoring the alarm status and performance indicators of relevant network elements.
[0155] Furthermore, monitoring can be conducted in parallel with manual annotation. If the conclusions are consistent, it indicates that the confidence level of the response data is high. If they are inconsistent, further confirmation can be carried out.
[0156] If the feedback data indicates execution failure, the specific manifestation of the failure and the difference data between the handling plan are determined based on the feedback data. The failure includes operational failure, that is, a step of a certain handling action in the handling plan is not completed during actual execution, such as the command being rejected by the device, the target parameter not existing in the current version, or insufficient operating permissions.
[0157] It also includes failures at the effect level, that is, all the action steps in the treatment plan are executed successfully, but the fault is not restored or only partially restored. This indicates that there may be a deviation in the root cause judgment or treatment logic on which the treatment plan is based. The difference data can be the gap between the expected effect and the actual effect.
[0158] In addition, based on the handling difference data, at least one of the historical fault knowledge base and the handling knowledge graph is updated. The update may be to add applicable condition annotations to the historical record in the historical fault knowledge base, or to add the correct operation method as a new entry to the historical record. Alternatively, it may be to correct the handling association relationship between the root cause type node and the handling action node in the handling knowledge graph. Or it may be to add the actual effective operation as a new handling action node in the handling knowledge graph and establish the handling association relationship between it and the corresponding root cause type node.
[0159] This application embodiment collects execution feedback of the handling plan, identifies discrepancies in data and updates the historical fault knowledge base and handling knowledge graph in the event of execution failure, and can accumulate experience and correct deviations based on handling feedback data after handling fault events, thereby improving the accuracy and applicability of the generated handling plan.
[0160] Figure 2 This is a schematic diagram of the system structure of a fault root cause handling system provided in an embodiment of this application, such as... Figure 2As shown, the fault root cause handling system includes a fault event parsing agent 210, a fault event classification agent 220, a fault record detection agent 230, a fault root cause analysis agent 240, and a fault handling location agent 250.
[0161] The fault event parsing intelligent agent 210 is used to perform structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile. The fault event classification agent 220 is used to determine the fault classification label and fault mode of fault events corresponding to multi-source heterogeneous fault data based on structured fault profiles. The fault record detection agent 230 is used to retrieve similar historical faults from the historical fault knowledge base based on structured fault profiles and fault patterns. The fault root cause analysis agent 240 is used to map the structured fault profile to the fault propagation graph, obtain candidate root causes based on the fault propagation graph, verify the candidate root causes through historical similar faults, and obtain the root cause localization result of the fault event. The fault handling and localization intelligent agent 250 is used to adjust the historical handling plans for similar faults based on the root cause localization results and the handling knowledge graph, and generate the handling plan corresponding to the fault event.
[0162] Figure 3 This is a schematic diagram of a fault root cause handling device provided in an embodiment of this application. Figure 3 As shown, the fault root cause handling device may include an analysis module 310, a classification module 320, a detection module 330, a root cause module 340, and a handling module 350.
[0163] The parsing module 310 is used to perform structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile. The classification module 320 is used to determine the fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data based on structured fault profiles. The detection module 330 is used to retrieve similar historical faults from the historical fault knowledge base based on structured fault profiles and fault modes. The root cause module 340 is used to map the structured fault profile to the fault propagation graph, so as to obtain candidate root causes based on the fault propagation graph, and to verify the candidate root causes through historical similar faults to obtain the root cause localization result of the fault event. The handling module 350 is used to adjust the historical handling plans for similar faults based on the root cause localization results and the handling knowledge graph, and generate the handling plan corresponding to the fault event.
[0164] In some embodiments, the parsing module 310 performs structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile, used for: The received multi-source heterogeneous fault data is preprocessed to obtain standardized format data; Based on the regular expression rule base, standardized format data conforming to the preset standard format is extracted to obtain the first parsing result; The second parsing result is obtained by extracting entity information from standardized format data that does not conform to the preset standard format based on the named entity recognition model; Based on the first and second analysis results, a structured fault profile is obtained.
[0165] In some embodiments, the classification module 320, based on structured fault profiles, determines the fault classification labels and fault modes of fault events corresponding to multi-source heterogeneous fault data, for the purpose of: By processing structured fault profiles through a multi-label classification model, the initial classification labels and classification confidence of fault events corresponding to multi-source heterogeneous fault data are obtained. If the classification confidence does not exceed the preset confidence threshold, the fault event is judged by the fault rule engine to obtain the fault classification label. The fault rule engine is built based on the fault mode knowledge base. If the classification confidence exceeds the preset confidence threshold, the initial classification label will be determined as the fault classification label; Based on fault classification tags, the fault mode corresponding to the fault event is matched in the fault mode knowledge base.
[0166] In some embodiments, the detection module 330 retrieves historical similar faults from a historical fault knowledge base based on structured fault profiles and fault modes, for the purpose of: Based on the preset fault fields corresponding to the fault modes, the candidate record set is obtained by filtering in the historical fault knowledge base. Determine the fault semantic vector of the structured fault profile; Determine the semantic similarity between the fault semantic vector and the historical semantic vector corresponding to each historical fault record in the candidate record set, and determine the first retrieval result in the candidate record set based on the semantic similarity; Based on the fault association relationships of each historical fault record in the first search result, the second search result is obtained by querying the associated records that have a fault association relationship with the first search result in the historical fault knowledge base. By combining the first and second search results, historical similar faults are obtained.
[0167] In some embodiments, the root cause module 340 maps a structured fault profile to a fault propagation graph to obtain candidate root causes based on the fault propagation graph. The candidate root causes are then verified using historical similar faults to obtain the root cause localization result of the fault event, which is used for: The structured fault profile is mapped to the corresponding propagation node in the fault propagation graph, which is constructed based on the topology of the core network and the service dependency relationship between network elements. Based on the propagation nodes, candidate root causes are obtained by tracing along the fault impact path in the fault propagation graph. Obtain root cause association rules based on historical similar faults, process the structured fault profile based on the root cause association rules, and obtain the verified root cause; Based on the candidate root causes and the verified root causes, the root cause localization results of the fault event are obtained.
[0168] In some embodiments, the root cause module 340 traces along the fault impact path in the fault propagation graph based on propagation nodes to obtain candidate root causes, for use in: Identify anomalous information in the structured fault profile; The propagation node corresponding to the abnormal information is identified as the abnormal node; Starting from the abnormal node, trace upstream based on the direction of the edge in the fault propagation graph until the upper limit of the preset hop count range is reached to obtain the tracing path; Candidate root causes are determined based on the node information corresponding to the abnormal nodes in the tracing path.
[0169] In some embodiments, after processing the structured fault profile based on root cause association rules to obtain the verified root cause, the root cause module 340 is further configured to: Obtain the tool call order corresponding to the analysis path knowledge in historical similar faults; Based on the order of tool invocation, tool query operations are performed on candidate root causes to obtain tool query results; Based on candidate root causes, verified root causes, and tool query results, update the root cause localization results of the fault event.
[0170] In some embodiments, the handling module 350 adjusts historical handling plans for similar faults based on root cause localization results and a handling knowledge graph, generating a handling plan corresponding to the fault event, for the following purposes: Based on the disposal knowledge graph, target disposal action nodes that match the root cause localization results are identified. The nodes in the disposal knowledge graph include disposal action nodes, and the edges include the disposal association relationships between the nodes. Obtain historical handling plans for similar faults and determine the sequence of handling steps corresponding to the historical handling plans; Determine the difference data between the handling actions and the target handling action node in the sequence of handling steps; The sequence of handling steps is adjusted based on the difference data, and a handling plan corresponding to the fault event is generated based on the adjusted sequence of handling steps.
[0171] In some embodiments, after generating a handling plan corresponding to a fault event, the handling module 350 is further configured to: Obtain feedback data on the handling plan; In cases where the feedback data indicates execution failure, determine the discrepancy between the feedback data and the proposed solution. Update at least one of the historical fault knowledge base and the handling knowledge graph based on the handling difference data.
[0172] Figure 4 A schematic diagram of the hardware structure of the terminal device provided in an embodiment of this application is shown.
[0173] The terminal device may include a processor 401 and a memory 402 storing computer program instructions.
[0174] Specifically, the processor 401 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.
[0175] Memory 402 may include mass storage for data or instructions. For example, and not limitingly, memory 402 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 402 may include removable or non-removable (or fixed) media, or memory 402 may be non-volatile solid-state memory. Memory 402 may be internal or external to the integrated gateway disaster recovery device.
[0176] In one instance, memory 402 may be read-only memory (ROM). In one instance, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
[0177] Memory 402 may include read-only memory (ROM), random access memory (RAM), disk storage media device, optical storage media device, flash memory device, electrical, optical, or other physical / tangible memory storage device. Therefore, generally, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to the first aspect of this disclosure.
[0178] The processor 401 reads and executes computer program instructions stored in the memory 402 to achieve... Figure 1 The root cause handling method in the illustrated embodiment.
[0179] In one example, the terminal device may also include a communication interface 403 and a bus 404. Wherein, as... Figure 4 As shown, the processor 401, memory 402, and communication interface 403 are connected through bus 404 and complete communication with each other.
[0180] The communication interface 403 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.
[0181] Bus 404 includes hardware, software, or both, that couples components of an online data traffic metering device together. For example, and not as a limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 404 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.
[0182] Furthermore, in conjunction with the fault root cause handling methods in the above embodiments, this application embodiment can provide a computer-readable storage medium for implementation. This computer-readable storage medium stores computer program instructions; when executed by a processor, these computer program instructions implement any of the fault root cause handling methods in the above embodiments.
[0183] This application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the fault root cause handling methods in the above embodiments.
[0184] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.
[0185] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0186] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0187] The aspects of this disclosure have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by special-purpose hardware performing the specified functions or actions, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0188] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.
Claims
1. A method for handling the root cause of a fault, characterized in that, include: The received multi-source heterogeneous fault data is subjected to structured analysis to obtain a structured fault profile; Based on the structured fault profile, the fault classification labels and fault modes of the fault events corresponding to the multi-source heterogeneous fault data are determined. Based on the structured fault profile and the fault mode, similar historical faults are retrieved from the historical fault knowledge base. The structured fault profile is mapped to a fault propagation graph to obtain candidate root causes based on the fault propagation graph. The candidate root causes are then verified by the historical similar faults to obtain the root cause localization result of the fault event. Based on the root cause localization results and the handling knowledge graph, the historical handling schemes for the historically similar faults are adjusted to generate the handling schemes corresponding to the fault events.
2. The method according to claim 1, characterized in that, The process of performing structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile includes: The received multi-source heterogeneous fault data is preprocessed to obtain standardized format data; Based on the regular expression rule base, the standardized format data conforming to the preset standard format is extracted to obtain the first parsing result; Based on the named entity recognition model, entity information in the standardized format data that does not conform to the preset standard format is extracted to obtain the second parsing result; Based on the first and second analysis results, a structured fault profile is obtained.
3. The method according to claim 1, characterized in that, The step of determining the fault classification labels and fault modes of the fault events corresponding to the multi-source heterogeneous fault data based on the structured fault profile includes: The structured fault profile is processed by a multi-label classification model to obtain the initial classification labels of the fault events corresponding to the multi-source heterogeneous fault data and the classification confidence of the initial classification labels. If the classification confidence does not exceed a preset confidence threshold, the fault event is judged by the fault rule engine to obtain a fault classification label, wherein the fault rule engine is built based on a fault mode knowledge base; If the classification confidence level exceeds the preset confidence threshold, the initial classification label is determined as the fault classification label; Based on the fault classification label, the fault mode corresponding to the fault event is matched in the fault mode knowledge base.
4. The method according to claim 1, characterized in that, Based on the structured fault profile and the fault mode, historical similar faults are retrieved from the historical fault knowledge base, including: Based on the preset fault fields corresponding to the fault modes, the candidate record set is obtained by filtering in the historical fault knowledge base. Determine the fault semantic vector of the structured fault profile; Determine the semantic similarity between the fault semantic vector and the historical semantic vector corresponding to each historical fault record in the candidate record set, and determine the first search result in the candidate record set based on the semantic similarity; Based on the fault association relationships of each historical fault record in the first search result, the associated records that have the fault association relationship with the first search result are queried in the historical fault knowledge base to obtain the second search result; By combining the first search result and the second search result, historical similar faults are obtained.
5. The method according to claim 1, characterized in that, The process of mapping the structured fault profile to a fault propagation graph to obtain candidate root causes based on the fault propagation graph, and verifying the candidate root causes through historical similar faults to obtain the root cause localization result of the fault event includes: The structured fault profile is mapped to the corresponding propagation node in the fault propagation graph, wherein the fault propagation graph is constructed based on the topology of the core network and the service dependency relationship between network elements; Based on the propagation nodes, candidate root causes are obtained by tracing along the fault impact path in the fault propagation graph. Obtain the root cause association rules determined based on the historical similar faults, process the structured fault profile based on the root cause association rules, and obtain the verified root cause; Based on the candidate root causes and the verified root causes, the root cause localization result of the fault event is obtained.
6. The method according to claim 5, characterized in that, Based on the propagation node, tracing along the fault impact path in the fault propagation graph to obtain candidate root causes includes: Identify the abnormal information in the structured fault profile; The propagation node corresponding to the abnormal information is identified as an abnormal node; Starting from the abnormal node, trace upstream based on the direction of the edge in the fault propagation graph until the upper limit of the preset number of hops is reached to obtain the tracing path; Based on the node information corresponding to the abnormal nodes in the tracing path, candidate root causes are determined.
7. The method according to claim 5, characterized in that, After processing the structured fault profile based on the root cause association rules to obtain the verified root cause, the method further includes: Obtain the tool call order corresponding to the analysis path knowledge in the historical similar faults; Based on the tool invocation order, a tool query operation is performed on the candidate root causes to obtain the tool query results; Based on the candidate root causes, the verified root causes, and the tool query results, the root cause localization results of the fault event are updated.
8. The method according to claim 1, characterized in that, The step of adjusting historical handling schemes for similar historical faults based on the root cause localization results and the handling knowledge graph to generate a handling scheme corresponding to the fault event includes: Based on the disposal knowledge graph, target disposal action nodes that match the root cause localization results are determined, wherein the nodes in the disposal knowledge graph include disposal action nodes, and the edges include the disposal association relationships between the nodes; Obtain historical handling plans for similar faults and determine the sequence of handling steps corresponding to the historical handling plans; Determine the difference data between the treatment actions in the treatment step sequence and the target treatment action node; The sequence of handling steps is adjusted based on the difference data, and a handling plan corresponding to the fault event is generated based on the adjusted sequence of handling steps.
9. The method according to claim 1, characterized in that, After generating the handling plan corresponding to the fault event, the method further includes: Obtain the processing feedback data of the aforementioned processing plan; If the handling feedback data indicates an execution failure, determine the handling difference data between the handling feedback data and the handling plan; Update at least one of the historical fault knowledge base and the handling knowledge graph based on the handling difference data.
10. A root cause analysis system for faults, characterized in that, include: The fault event parsing intelligent agent is used to perform structured parsing on the received multi-source heterogeneous fault data to obtain a structured fault profile. A fault event classification agent is used to determine the fault classification label and fault mode of the fault events corresponding to the multi-source heterogeneous fault data based on the structured fault profile. A fault record detection intelligent agent is used to retrieve similar historical faults from the historical fault knowledge base based on the structured fault profile and the fault pattern. A fault root cause analysis agent is used to map the structured fault profile to a fault propagation graph, obtain candidate root causes based on the fault propagation graph, verify the candidate root causes through historical similar faults, and obtain the root cause localization result of the fault event. A fault handling and localization intelligent agent is used to adjust the historical handling schemes for the historically similar faults based on the root cause localization results and the handling knowledge graph, and generate a handling scheme corresponding to the fault event.
11. A terminal device, characterized in that, The device includes: a processor and a memory storing computer program instructions; the processor reads and executes the computer program instructions to implement the root cause handling method as described in any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, implement the fault root cause handling method as described in any one of claims 1-9.
13. A computer program product, characterized in that, It includes a computer program that, when executed by a processor, implements the root cause handling method as described in any one of claims 1-9.
