Alarm correlation analysis and fault root cause positioning method based on large model
By establishing a multi-level dependency model and large-scale model analysis, reverse tracing and quantitative scoring were performed, solving the problems of scattered alarms and difficulties in correlation in information systems, and achieving accurate location of the root cause of the fault and verifiability of the results.
Patent Information
- Application Number
- CN202611523484.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-29
- Publication Date
- 2026-11-27
AI Technical Summary
In existing technologies, alarms in multi-level information systems are scattered and difficult to correlate, making it difficult to determine the actual source of failure from multiple related abnormal components, and the identified source of failure is difficult to verify with the dependency relationship between components.
By establishing a multi-level dependency model, collecting and standardizing real-time alarm information, forming an alarm association chain, and using a large model analysis module combined with anomaly logs and operation and maintenance knowledge base, we can trace back and quantitatively score to determine the root cause node of the fault.
It effectively reduces duplicate alarms, improves the accuracy and efficiency of root cause location, reduces manual troubleshooting, and the results can be reproduced and verified segment by segment along the dependency relationship.
Smart Images

Figure CN123185061A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of information system operation and maintenance technology, specifically to a method for alarm correlation analysis and fault root cause localization based on a large model. Background Technology
[0002] The statements in this section are merely background information related to the present invention and do not necessarily constitute prior art.
[0003] As information systems continue to expand in scale, system architectures are evolving towards distributed, multi-component, and multi-layered architectures, forming complex dependencies between components such as servers, network devices, databases, middleware, and application services. During system operation, a large number of monitoring metrics, log information, and alarm events are continuously generated. When one component fails, the anomaly propagates along the dependencies to components that depend on it, resulting in multiple components generating alarms in succession. Operations personnel often see the first apparent component that is perceived by the business.
[0004] Current alarm analysis typically relies on fixed rules, threshold judgments, or manual experience: alarms within a certain time window are filtered and aggregated, and the correlation between alarms is analyzed by combining device connection relationships or service call relationships. Then, operations and maintenance personnel investigate layer by layer by combining system topology, alarm information, and operation logs. Different devices and components have different alarm formats and types. Keywords and fixed rules are difficult to combine with alarm context, anomaly logs, and historical fault information to analyze complex anomalies, which easily leads to duplicate alarms, isolated alarms, missing correlations, or incorrect correlations.
[0005] Methods for locating root causes of faults using large language models already exist. For example, a large language model uses a topology query tool to query associated instances of alarm nodes and the relationships between these instances, and then uses an alarm query tool to query alarm information of associated instances within a certain period before and after the alarm, before analyzing and reasoning to determine the root cause. Another example is using a root cause localization large language model, based on a topology dependency graph, indicator triples, and a historical operation and maintenance knowledge base to obtain candidate root cause fault information. In these methods, the root cause is determined by the model through reasoning based on the obtained topology and alarm information.
[0006] Other methods are graph-based root cause localization methods. For example, anomaly services are marked on a service dependency graph to form an anomaly propagation graph. Starting from the anomaly service, a depth-first search is used to find candidate root cause nodes and their propagation paths, calculating and ranking the root cause scores. Another method involves traversing the fault impact graph along the backpropagation path from the anomaly node, evaluating the suspicion score of each node, and identifying the node with the highest score as the root cause node. These methods calculate node scores based on anomaly indicators and dependencies. Summary of the Invention
[0007] To address the problems in existing multi-level information systems where alarms are scattered and difficult to correlate, making it hard to identify the actual fault source from multiple associated abnormal components, and the identified fault source is difficult to verify with the dependencies between components, this invention provides an alarm correlation analysis and fault root cause localization method based on a large model. The large model analysis module provides candidate fault nodes, and then the fault root cause node is determined by tracing back from the fault manifestation nodes and quantitatively scoring them on the multi-level dependency model.
[0008] To achieve the above objectives, the present invention adopts the following technical solution:
[0009] In a first aspect, the present invention provides a method for alarm correlation analysis and fault root cause localization based on a large model, comprising:
[0010] Based on the network connection relationships, service call relationships, data access relationships and business dependencies between components in the information system, establish the dependency relationships between component nodes to form a multi-level dependency relationship model, with the dependent party as the upstream and the dependent party as the downstream.
[0011] Collect real-time alarm information from the information system and standardize it. Aggregate multiple alarm messages according to preset time windows, alarm types and component relationships to form a set of related alarms.
[0012] The alarm information in the associated alarm set is mapped to the corresponding component node. The component node with the mapped alarm information is an abnormal node. When multiple abnormal nodes are in the same business link or have upstream and downstream dependencies, the relevant alarm information is associated to form an alarm association chain.
[0013] Input alarm association chains, anomaly logs, dependencies, historical fault cases, and operation and maintenance knowledge base information into the large model analysis module, and the large model analysis module will output the fault cause analysis results, including candidate fault nodes.
[0014] Starting from the fault manifestation node in the alarm association chain, a graph search algorithm is used to traverse its upstream associated nodes according to the dependency relationship. Candidate root cause nodes are determined from the fault manifestation node and the traversed upstream associated nodes. The candidate root cause nodes must include at least the nodes in the upstream associated nodes that correspond to the candidate fault node. The candidate root cause nodes are scored and sorted according to their impact on downstream services, historical fault occurrence frequency, importance level of the corresponding service, and the degree of matching between abnormal indicators and alarm events. The candidate root cause node with the highest score is determined as the fault root cause node, and the abnormal propagation path from the fault root cause node to the fault manifestation node is output.
[0015] Furthermore, component nodes have unique component identifiers, and the large model analysis module outputs candidate fault nodes based on these unique component identifiers. When determining candidate root cause nodes, candidate fault nodes that do not exist in the multi-level dependency model, or that are neither traversed upstream related nodes nor fault manifestation nodes, are removed. If there are candidate fault nodes that have not been removed, the candidate root cause nodes are composed of the candidate fault nodes that have not been removed.
[0016] Furthermore, when all candidate faulty nodes are eliminated, the faulty node and the abnormal nodes among the upstream related nodes traversed are used as candidate root cause nodes.
[0017] Furthermore, in the scoring and ranking process, for each candidate root cause node, an impact range score, a historical fault score, a importance level score, and a matching degree score are calculated, and these scores are weighted and summed according to configurable weights to obtain the final score. The impact range score is determined by the number of business systems within the node itself and those directly or indirectly dependent on it. The historical fault score is determined by the number of times the node appeared as a root cause in historical fault cases within the statistical period. The importance level score is determined by the business priority of the business systems within the node itself and those directly or indirectly dependent on it. The matching degree score is determined by the proportion of monitoring indicators for which the node exhibits anomalies that have corresponding alarm information within the alarm association chain.
[0018] Furthermore, a time consistency check is performed on each candidate root cause node: if the earliest time of an anomaly in the candidate root cause node is later than the earliest time of an anomaly in any abnormal node on the path from the candidate root cause node to the fault manifestation node recorded during traversal, and the later time exceeds the detection delay tolerance of the component type to which the candidate root cause node belongs, the score of the candidate root cause node is reduced or it is removed.
[0019] Furthermore, the scoring also includes a coverage score, which is determined by the proportion of the number of anomalous nodes in the candidate root cause node itself and the nodes that directly or indirectly depend on it to the total number of anomalous nodes in the alarm association chain.
[0020] Furthermore, a fault manifestation node is an abnormal node in the alarm association chain that does not have any abnormal nodes that directly or indirectly depend on it; when there are multiple fault manifestation nodes in the alarm association chain, each fault manifestation node is traversed as a starting point, and the upstream associated nodes traversed are merged; when a fault manifestation node is a candidate fault node, it is also considered a candidate root cause node.
[0021] Furthermore, the components include servers, network devices, databases, middleware, application services, and business systems; the parameters of the multi-level dependency model include component type, unique component identifier, upstream and downstream dependencies, service call relationships, business priority, and the component's level; the data used to establish the multi-level dependency model includes configuration management data, device topology data, application call relationship data, and operation monitoring data; when standardizing real-time alarm information, the alarm time, alarm source, abnormal component, alarm type, alarm level, abnormal description, and impact scope are extracted; when forming an alarm association chain, the correlation and impact relationship between multiple alarm messages are determined based on the topological relationship, business dependency relationship, and alarm occurrence time sequence between abnormal nodes.
[0022] Furthermore, the fault cause analysis results also include anomaly descriptions, potentially affected components, and fault risk levels; the large model analysis module generates fault cause analysis results based on alarm text semantics, anomaly context information, and historical fault experience.
[0023] Furthermore, it also includes: generating fault analysis results based on the root cause node of the fault, combined with historical fault handling records, operation and maintenance knowledge base information and preset handling rules. The fault analysis results include the root cause node of the fault, the scope of the fault impact, the abnormal propagation path, related alarm information and recommended handling measures.
[0024] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0025] (1) Alarms are first aggregated by time window, alarm type and component relationship, and then mapped to a multi-level dependency model. Alarms on the same business link or abnormal nodes with upstream and downstream dependencies are linked into an alarm association chain. Multiple isolated alarms are converted into a fault event with upstream and downstream relationship, reducing duplicate alarms and invalid alarms.
[0026] (2) The large model analysis module combines alarm text, anomaly logs, historical fault cases, and operation and maintenance knowledge base to provide candidate fault nodes, making up for the shortcomings of fixed rules and keyword matching in the analysis of complex anomalies; the root cause node is determined by traversing upstream from the fault manifestation node according to the dependency relationship, and quantitatively scoring among the candidate root cause nodes. The determined node falls on the fault manifestation node or its upstream dependency path, and the anomaly propagation path from the node to the fault manifestation node is given. The location conclusion can be checked segment by segment along the dependency relationship. When the candidate fault nodes given by the large model are determined, the scoring and ranking are calculated by the dependency relationship model and statistics, and the results can be reproduced.
[0027] (3) The matching degree and historical failure frequency in the scoring make the root cause node of the failure consistent with the current alarm and historical failure situation; the scope of impact and importance level are calculated by the business systems and business priorities in the node itself and the nodes that directly or indirectly depend on the node in the dependency relationship model, reflecting the business scope that may be affected when the failure of the node propagates downstream.
[0028] (4) In the implementation of checking candidate fault nodes, candidates given by the large model that do not exist in the dependency model or are neither upstream of the fault manifestation node nor the fault manifestation node are eliminated, and the final conclusion falls on the fault manifestation node or its upstream dependency path in the dependency model; in the implementation of time consistency checking, candidates that do not conform to the order of "fault first occurs upstream and then propagates downstream" are downgraded or eliminated; in the implementation of using coverage score, candidates that can explain more abnormal nodes in this case are ranked higher.
[0029] (5) Combine historical fault handling records, operation and maintenance knowledge base and preset handling rules to generate fault analysis results including root cause, scope of impact, propagation path, related alarms and handling measures, reducing manual investigation layer by layer. Attached Figure Description
[0030] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0031] Figure 1 A flowchart of the alarm correlation analysis and fault root cause localization method based on a large model provided in the embodiments of the present invention; Figure 2 This is a schematic diagram of a multi-level dependency model in an embodiment of the present invention; Figure 3 This is a flowchart of step S5, reverse tracing and scoring, in an embodiment of the present invention; Figure 4 This is a schematic diagram of the alarm association chain and anomaly propagation path in an embodiment of the present invention. Detailed Implementation
[0032] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0033] It should be noted that the following detailed description is illustrative and intended to provide further explanation of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains.
[0034] It should be noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of exemplary embodiments according to the invention. As used herein, the singular form is intended to include the plural form as well, unless the context clearly indicates otherwise. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.
[0035] Where there is no conflict, the embodiments and features described in this application may be combined with each other.
[0036] Example 1
[0037] like Figure 1 As shown, this embodiment provides a method for alarm correlation analysis and fault root cause localization based on a large model, which is executed by an operations and maintenance analysis server and includes the following steps:
[0038] In this embodiment, the operation and maintenance analysis server is connected to the configuration management database, topology acquisition system, call chain system, monitoring system, log system, alarm system, historical fault database, operation and maintenance knowledge base, and large model service. The large model service can be deployed locally or externally.
[0039] Step S1: Based on the network connection relationships, service call relationships, data access relationships and business dependencies between components in the information system, establish the dependency relationships between component nodes to form a multi-level dependency relationship model, with the dependent party as the upstream and the dependent party as the downstream.
[0040] In this embodiment, configuration management data, device topology data, application call relationship data, and operation monitoring data from the information system are acquired to create a unified model for various components within the system. Components include servers, network devices, databases, middleware, application services, and business systems. Each component is a component node, and node attributes include component type, unique component identifier, business priority, and component hierarchy.
[0041] In this invention, the component node that is depended upon is called the upstream, and the component node that depends on it is called the downstream. In this embodiment, the dependency relationship is represented by directed edges, with the dependent party pointing to the dependent party. For example, a business system depends on an application service that provides services to it, and the business system points to that application service; an application service calls other application services or middleware, and the caller points to the callee; an application service accesses a database, and the application service points to the database; the database and server are connected to other components via network devices, and the edges point to those network devices. This embodiment also incorporates deployment relationships as directed edges into the model: application services, middleware, and databases are deployed on servers, and the deployed components point to the server hosting them, so that server failures can also be accessed during traversal. Dependencies can also be stored as edges in the opposite direction, i.e., from the dependent party to the dependent party, or the upstream and downstream can be recorded by edge attributes, with the traversal direction adjusted accordingly.
[0042] like Figure 2 As shown, the multi-level dependency model is divided into business layer, application layer, data and middleware layer, and infrastructure layer according to the component's layer. When a component goes offline or its call relationship changes, the corresponding component nodes and directed edges are updated according to the new configuration management data, topology data, and call relationship data.
[0043] Step S2: Collect and standardize real-time alarm information from the information system. Aggregate multiple alarm messages according to preset time windows, alarm types, and component relationships to form a set of related alarms.
[0044] In this embodiment, real-time alarm information generated during the operation of the information system is collected, including equipment anomaly alarms, performance indicator anomaly alarms, application anomaly alarms, database anomaly alarms, and log anomaly events. The collected alarm information is parsed and standardized to extract alarm time, alarm source, abnormal component, alarm type, alarm level, anomaly description, and scope of impact. For performance indicator anomaly alarms, the indicator name is also extracted, so that alarm information from different devices, components, and formats has unified fields.
[0045] During aggregation, for example, alarm information generated by components within the same time window and separated by no more than a preset number of hops in a multi-level dependency model are grouped into the same associated alarm set. Alarm time windows, alarm levels, alarm type classification rules, alarm aggregation rules, and alarm association conditions can all be configured according to the information system architecture.
[0046] Step S3: Map the alarm information in the associated alarm set to the corresponding component node. The component node with the mapped alarm information is an abnormal node. When multiple abnormal nodes are in the same business link or have upstream and downstream dependencies, associate the relevant alarm information to form an alarm association chain.
[0047] In this embodiment, each alarm message in the associated alarm set is mapped to a corresponding component node according to its abnormal component. The component node mapped with alarm messages is considered an abnormal node. The topological relationship, business dependency relationship, and alarm occurrence time sequence between abnormal nodes are analyzed to determine whether there is a correlation between multiple alarm messages. When multiple abnormal nodes are in the same business link or have upstream and downstream dependencies, the relevant alarm messages are associated to form an alarm association chain oriented towards fault events. A business link refers to a link consisting of component nodes that can be reached upstream from the same business system along the dependency relationship. The node association distance, dependency weight, time association window, and alarm association scoring rules used in the judgment are configurable. For example, when the number of hops between two abnormal nodes does not exceed the node association distance and the alarm time difference does not exceed the time association window, the association score is accumulated according to the dependency weight, and alarm messages with scores reaching the threshold are associated with each other.
[0048] A fault manifestation node is an abnormal node in the alarm association chain where a fault is observed. In this embodiment, a fault manifestation node is an abnormal node in the alarm association chain that has no directly or indirectly dependent abnormal nodes, typically a component node in the business layer or application layer. Alternatively, an abnormal node on a business layer component node, or the component node where the user first perceives the abnormality, can also be considered a fault manifestation node. When multiple fault manifestation nodes exist in an alarm association chain, step S5 is performed starting from each fault manifestation node, merging the upstream associated nodes encountered, and the abnormal propagation path is output to each fault manifestation node that reaches the root cause node during the traversal. If the dependencies between abnormal nodes form a cycle, and a fault manifestation node cannot be obtained according to the above definition, an abnormal node on a business layer component node is taken as the fault manifestation node; otherwise, the abnormal node with the latest alarm time is taken.
[0049] Step S4: Input the alarm association chain, anomaly log, dependency relationship, historical fault cases and operation and maintenance knowledge base information into the large model analysis module, and the large model analysis module outputs the fault cause analysis results including candidate fault nodes.
[0050] In this embodiment, alarm information from the alarm association chain, related abnormal log content, component dependencies, historical fault cases, and operation and maintenance knowledge base information are input into the large model analysis module. The input component dependencies can be the entire multi-level dependency model; in this embodiment, to control the input length, a subgraph is taken consisting of the abnormal node in the alarm association chain and its upstream component nodes within a preset number of hops, with each component node represented by a unique component identifier and component type. Historical fault cases and operation and maintenance knowledge base entries are retrieved and selected according to the component type and alarm type of the abnormal node.
[0051] The large model analysis module comprehensively analyzes the current abnormal event based on the semantics of the alarm text, the abnormal context information, and historical fault experience. It identifies potential correlations between alarm information and outputs the fault cause analysis results, including an anomaly cause description, potentially affected components, fault risk level, and candidate fault nodes. In this embodiment, the prompt requires the large model analysis module to list candidate fault nodes using unique component identifiers. The output is structured text, including fields such as "candidate fault node," "anomaly cause description," "potentially affected components," and "fault risk level," facilitating correspondence with component nodes in the multi-level dependency model. The anomaly cause description and fault risk level are output along with the fault analysis results from step S6. If the output of the large model analysis module cannot be parsed, is empty, or fails to be called, all candidate fault nodes are considered to have been removed, and the following rollback method is applied. The unique component identifier of the root cause component for each fault is recorded in historical fault cases for step S5 to statistically analyze the frequency of historical fault occurrences.
[0052] Step S5: Starting from the fault manifestation node in the alarm association chain, traverse its upstream associated nodes according to the dependency relationship using a graph search algorithm; determine the candidate root cause node from the fault manifestation node and the traversed upstream associated nodes. The candidate root cause node shall at least include the node corresponding to the candidate fault node in the upstream associated nodes; sort the candidate root cause nodes according to their impact on downstream services, historical fault occurrence frequency, importance level of the corresponding service, and the degree of matching between abnormal indicators and alarm events, determine the candidate root cause node with the highest score as the fault root cause node, and output the abnormal propagation path from the fault root cause node to the fault manifestation node.
[0053] like Figure 3 As shown, starting from the fault manifestation node in the alarm association chain, a graph search algorithm, such as breadth-first search or depth-first search, is used according to the dependency relationship to traverse the upstream related nodes of the fault manifestation node, that is, the component nodes that the fault manifestation node directly or indirectly depends on, and record the path from the fault manifestation node to each traversed node; nodes that have been visited are not visited again, and the traversal can also end when the dependency relationship is circular; when the same node can be reached by multiple paths, the path that passes through the most abnormal nodes is recorded.
[0054] Candidate root cause nodes are determined from the fault manifestation nodes and the upstream related nodes traversed, including at least the upstream related nodes corresponding to the candidate fault nodes. In this embodiment, candidate root cause nodes are determined and scored during the traversal process: for each node visited (including the fault manifestation node as the starting point), it is determined whether its component unique identifier corresponds to a certain candidate fault node; the corresponding node is then designated as a candidate root cause node, and its four scores and overall score are calculated. After the traversal is complete, each candidate fault node output by the large model analysis module is checked: if its component unique identifier does not exist in the multi-level dependency model, it is removed and recorded as "this component does not exist in the model"; if it exists in the model but is neither a traversed upstream related node nor a fault manifestation node, it is removed and recorded as "not upstream of the fault manifestation node". Thus, candidate root cause nodes consist of the candidate fault nodes that were not removed, and when the fault manifestation node itself is a candidate fault node, it is also considered a candidate root cause node, to cover the situation where the fault occurs within the fault manifestation node itself. When all candidate fault nodes are eliminated and no candidate root cause node is obtained, the fault-manifesting node and the abnormal nodes among the upstream related nodes traversed are used as candidate root cause nodes, and then they are scored and inserted into the candidate queue.
[0055] Of course, in other embodiments, the faulty node and all abnormal nodes in the upstream associated nodes traversed, as well as the node corresponding to the candidate faulty node, are all regarded as candidate root cause nodes, wherein the node corresponding to the candidate faulty node is given a preset bonus value in the score.
[0056] For each candidate root cause node, calculate four scores:
[0057] a) Impact range score: The impact range of this node on downstream business is determined by the number of business systems in the node itself and the nodes that directly or indirectly depend on this node (if the node itself is a business system, it is included in itself), for example, by dividing this number by the total number of business systems in the information system.
[0058] b) Historical Fault Score: The frequency of historical faults of this node is determined by the number of times this node appears as the root cause of faults in historical fault cases within the statistical period. For example, this number is divided by the maximum number of times each component appears as the root cause of faults within the statistical period. When the maximum number is zero, the historical fault score is zero.
[0059] c) Importance level score: The importance level of the business corresponding to this node is determined by the business priority of the business system in the node itself and the nodes that directly or indirectly depend on this node. For example, take the highest business priority and divide it by the highest level of business priority.
[0060] d) Matching Degree Score: The degree of matching between the abnormal indicators and alarm events of this node, expressed as the proportion of monitoring indicators that show abnormalities at this node and have corresponding alarm information within the alarm association chain. Whether a monitoring indicator is abnormal is determined by the monitoring system based on a threshold or historical baseline; the correspondence between alarm information and monitoring indicators is determined by the indicator name for performance indicator anomaly alarms, and by the preset keyword-indicator correspondence rules for alarms without indicator names, such as log anomaly events. When there are no abnormal monitoring indicators at this node but alarm information, the matching degree score is a preset value, such as 0.5; when there are no abnormalities at this node, the matching degree score is zero.
[0061] The four scores mentioned above depend only on the node itself, the dependency model, the alarm association chain, and the global statistics within the statistical period. Therefore, they can be calculated node by node during the traversal. The four scores are weighted and summed according to configurable weights to obtain the score of the candidate root cause node. This candidate root cause node is then inserted into a candidate queue arranged from highest to lowest score, thus completing the score sorting during the traversal. After traversal and verification, the candidate root cause node at the head of the candidate queue, i.e., the one with the highest score, is determined as the fault root cause node. If scores are the same, the node that first exhibited an anomaly is selected. Following the path recorded during traversal, the anomaly propagation path from the fault root cause node to the fault-manifesting node is output.
[0062] In other embodiments, the traversal and verification are completed first to determine all candidate root cause nodes before the scores are calculated uniformly. At this time, the historical fault scores can also be calculated by dividing the number of times by the maximum number of times among the candidate root cause nodes. If the maximum number of times is zero, the score is zero, and then the nodes are sorted uniformly.
[0063] In some embodiments, a time consistency check is also performed on each candidate root cause node. Faults typically occur first in upstream components and then propagate downstream along dependencies. Different types of components have different detection latency from the occurrence of an anomaly to the generation of an alarm. Therefore, a detection latency tolerance is configured according to component type. The earliest time when an anomaly occurs in a candidate root cause node, i.e., the alarm time of the earliest alarm message of that node, is taken and compared with the earliest time when an anomaly occurs in each abnormal node on the path from the candidate root cause node to the fault manifestation node recorded during traversal. If the candidate root cause node is later than any of the abnormal nodes, and the later time exceeds the detection latency tolerance of the component type to which the candidate root cause node belongs, its score is reduced or it is removed. If no candidate root cause nodes remain after removal, the process is handled in the manner described above.
[0064] In some embodiments, the scoring also includes a coverage score: the number of anomalous nodes among the candidate root cause node itself and nodes directly or indirectly dependent on it, divided by the total number of anomalous nodes in the alarm association chain. A higher coverage score indicates that the node can explain more of the current anomaly. The coverage score is then summed together with the above four scores using weighted averages.
[0065] Step S6: Based on the root cause node of the fault, combined with historical fault handling records, operation and maintenance knowledge base information and preset handling rules, generate fault analysis results. The fault analysis results include the root cause node of the fault, the scope of the fault impact, the abnormal propagation path, related alarm information and recommended handling measures.
[0066] In this embodiment, the fault analysis results include: the root cause node of the fault; the scope of the fault's impact; the abnormal propagation path; associated alarm information; and recommended remedial measures. The scope of the fault's impact includes, for example, component nodes and business systems that directly or indirectly depend on the root cause node. Recommended remedial measures can be generated by matching remedial measures from historical fault handling records and the operation and maintenance knowledge base with remedial measures that match the component type and alarm type of the root cause node, according to historical remedial plan matching rules; alternatively, the matched remedial measures can be input along with the fault analysis results into the large model analysis module, and remedial measures can be generated according to the remedial suggestion generation rules.
[0067] Example 2
[0068] This embodiment uses an information system as an example to further illustrate the method of Embodiment 1.
[0069] In a certain information system, the business system BS1 "Online Payment" depends on the application service AS1 "Payment Service". AS1 calls the application service AS2 "Account Service", and AS2 accesses the database DB1. DB1 is connected to other components via the network through switch SW1. There is also a message middleware MQ1, used only by another business system and not upstream of BS1. None of the servers hosting these components generated any alarms in this instance, and will be omitted from the following text. The information system has four business systems, with business priorities divided into levels 1 to 3, and BS1 is level 3. Three business systems directly or indirectly depend on SW1, two depend on DB1, and one depends on AS2.
[0070] Within the same time window, the following alarms occurred sequentially: SW1 port packet loss (device anomaly), DB1 connection surge (database anomaly), AS2 database access timeout log anomaly, AS1 response timeout performance indicator anomaly, and BS1 payment success rate decline (application anomaly). Step S2 aggregated these alarms into a related alarm set; step S3 mapped them to SW1, DB1, AS2, AS1, and BS1. These five abnormal nodes are located in the same business link, forming an alarm association chain. There are no abnormal nodes dependent on BS1; BS1 is the fault manifestation node, such as... Figure 4 As shown.
[0071] In step S4, the candidate fault nodes output by the large model analysis module are AS2, DB1, SW1, and MQ1. Step S5 traverses upstream from BS1, sequentially reaching AS1, AS2, DB1, and SW1. AS2, DB1, and SW1 correspond to the candidate fault nodes and are candidate root cause nodes. After traversal, the candidate fault nodes are checked: MQ1 exists in the model but is neither upstream of BS1 nor BS1 itself, so it is removed and recorded as "not upstream of the fault manifestation node". During the statistical period, SW1 appeared twice as a root cause in historical fault cases, the most among all components; DB1 appeared once; AS2 did not appear. SW1 has only one abnormal indicator (port packet loss rate), which has a corresponding alarm. DB1 has two abnormal indicators: connection count and slow query count, with the connection count having a corresponding alarm. AS2 has two abnormal indicators: database call timeout and active thread count, with the database call timeout corresponding to the "database access timeout" log abnormal event according to the keyword correspondence rule.
[0072] With weights of 0.3, 0.2, 0.2, and 0.3 corresponding to the scope of impact, historical faults, importance level, and matching degree, the scores and ratings for each node are as follows: SW1's four scores are 0.75, 1, 1, and 1, with a rating of 0.925; DB1's are 0.5, 0.5, 1, and 0.5, with a rating of 0.6; AS2's are 0.25, 0, 1, and 0.5, with a rating of 0.425. SW1 has the highest score and is identified as the root cause node of the fault. The abnormal propagation path is output as SW1→DB1→AS2→AS1→BS1. Step S6 generates the fault analysis results based on this: the root cause node is SW1, the scope of impact includes three business systems including BS1, and the corresponding port and link handling measures for SW1 are given according to the operation and maintenance knowledge base.
[0073] When using coverage scores, there are 5 anomalous nodes in the alarm chain: SW1 itself and its direct or indirect dependencies each have 5 anomalous nodes, resulting in a coverage score of 1; DB1 has 4 anomalous nodes, resulting in a coverage score of 0.8; and AS2 has 3 anomalous nodes, resulting in a coverage score of 0.6. The order is consistent with the above results. In this example, the alarms appear sequentially, with upstream nodes' anomalies occurring before downstream nodes. All three candidate root cause nodes pass the time consistency check.
[0074] The graph search algorithm, the calculation method and weight of each score, the time window, etc. in the above embodiments can all be replaced with other methods commonly used in the field as needed.
[0075] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for alarm correlation analysis and fault root cause localization based on a large model, characterized in that, include: Based on the network connection relationships, service call relationships, data access relationships and business dependencies between components in the information system, establish the dependency relationships between component nodes to form a multi-level dependency relationship model, with the dependent party as the upstream and the dependent party as the downstream. Collect and standardize the real-time alarm information of the information system, and aggregate multiple alarm messages according to a preset time window, alarm type and component association to form an associated alarm set; The alarm information in the associated alarm set is mapped to the corresponding component node, and the component node with the mapped alarm information is an abnormal node; when multiple abnormal nodes are in the same business link or have upstream and downstream dependencies, the relevant alarm information is associated to form an alarm association chain. The alarm association chain, anomaly log, dependency relationship, historical fault cases and operation and maintenance knowledge base information are input into the large model analysis module, and the large model analysis module outputs the fault cause analysis results including candidate fault nodes; Starting from the fault manifestation node in the alarm association chain, a graph search algorithm is used to traverse its upstream associated nodes according to the dependency relationship; candidate root cause nodes are determined from the fault manifestation node and the traversed upstream associated nodes, and the candidate root cause nodes include at least the nodes in the upstream associated nodes that correspond to the candidate fault node; the candidate root cause nodes are scored and sorted according to their impact range on downstream services, historical fault occurrence frequency, importance level of the corresponding service, and the degree of matching between abnormal indicators and alarm events, and the candidate root cause node with the highest score is determined as the fault root cause node, and the abnormal propagation path from the fault root cause node to the fault manifestation node is output.
2. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, The component node has a unique component identifier, and the large model analysis module outputs the candidate fault node with the unique component identifier. When determining the candidate root cause node, the candidate fault node that does not exist in the multi-level dependency relationship model, or that is neither a traversed upstream related node nor a fault manifestation node, is removed. If there are candidate fault nodes that have not been removed, the candidate root cause node is composed of the candidate fault nodes that have not been removed.
3. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 2, characterized in that, When all candidate fault nodes are eliminated, the faulty node and the abnormal nodes among the upstream associated nodes are used as the candidate root cause nodes.
4. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, In the scoring and ranking process, for each candidate root cause node, an impact range score, a historical fault score, an importance level score, and a matching degree score are calculated, and these scores are weighted and summed according to configurable weights to obtain the final score. The impact range score is determined by the number of business systems within the node itself and its directly or indirectly dependent nodes. The historical fault score is determined by the number of times the node appears as a root cause in historical fault cases within the statistical period. The importance level score is determined by the business priority of the business systems within the node itself and its directly or indirectly dependent nodes. The matching degree score is determined by the proportion of monitoring indicators for which the node exhibits anomalies that have corresponding alarm information within the alarm association chain.
5. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, For each candidate root cause node, a time consistency check is performed: if the earliest time of an anomaly of the candidate root cause node is later than the earliest time of an anomaly of any abnormal node on the path from the candidate root cause node to the fault manifestation node recorded during traversal, and the later time exceeds the detection delay tolerance of the component type to which the candidate root cause node belongs, the score of the candidate root cause node is reduced or it is removed.
6. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, The scoring also includes a coverage score, which is determined by the proportion of the number of abnormal nodes in the candidate root cause node itself and the nodes that directly or indirectly depend on the node to the total number of abnormal nodes in the alarm association chain.
7. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, The fault manifestation node is an abnormal node in the alarm association chain that does not have any directly or indirectly dependent abnormal nodes; when there are multiple fault manifestation nodes in the alarm association chain, the upstream associated nodes are merged, starting from each fault manifestation node; when the fault manifestation node belongs to the candidate fault node, the fault manifestation node is also regarded as the candidate root cause node.
8. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, The components include servers, network devices, databases, middleware, application services, and business systems. The parameters of the multi-level dependency model include component type, unique component identifier, upstream and downstream dependencies, service call relationships, business priority, and the component's level. The data used to establish the multi-level dependency model includes configuration management data, device topology data, application call relationship data, and operation monitoring data. When standardizing the real-time alarm information, the alarm time, alarm source, abnormal component, alarm type, alarm level, abnormal description, and impact scope are extracted. When forming the alarm association chain, the topological relationship, business dependency relationship, and alarm occurrence time sequence between the abnormal nodes are used to determine whether there is a correlation or impact relationship between multiple alarm messages.
9. The alarm correlation analysis and fault root cause localization method based on a large model as described in claim 1, characterized in that, The fault cause analysis results also include an anomaly cause description, potentially affected components, and fault risk level; the large model analysis module generates the fault cause analysis results based on alarm text semantics, anomaly context information, and historical fault experience.
10. The alarm correlation analysis and fault root cause localization method based on a large model as described in any one of claims 1 to 9, characterized in that, Also includes: Based on the root cause node of the fault, combined with historical fault handling records, the operation and maintenance knowledge base information and preset handling rules, a fault analysis result is generated. The fault analysis result includes the root cause node of the fault, the scope of the fault impact, the abnormal propagation path, related alarm information and recommended handling measures.
