Traffic alert event root cause analysis method and apparatus

By constructing a fault cause-effect graph and data flow topology for the traffic monitoring system, and combining a large language model and historical event database, the system automatically outputs root cause nodes and handling steps, solving the problems of alarm redundancy and inaccurate root cause location in the traffic monitoring system, and realizing intelligent fault analysis and rapid handling.

CN123161384APending Publication Date: 2026-11-24QINGDAO HISENSE TRANS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611177862.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

In existing technologies, traffic monitoring systems generate massive and redundant alarm data, making it difficult to identify the causal propagation relationship of alarms, resulting in inaccurate root cause localization. Fault handling relies on human experience, which is inefficient, error-prone, and lacks automated processing mechanisms.

Method used

Construct a fault cause-effect graph based on the business topology and data flow topology of the traffic monitoring system, generate alarm events, and automatically output root cause nodes and handling steps by combining historical event vector library and large language model. Accurately locate root cause nodes through data flow detection operators to realize the clustering and automated handling of alarm events.

Benefits of technology

Accurately identify alarm propagation relationships, improve the accuracy of root cause analysis, reduce reliance on manual intervention, achieve intelligent fault analysis and rapid handling, and improve the accuracy and automation level of fault management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123161384A_ABST
    Figure CN123161384A_ABST
Patent Text Reader

Abstract

This application relates to a method and device for root cause analysis of traffic alarm events, comprising: acquiring a set of target alarms to be processed reported by a traffic monitoring system; generating at least one alarm event based on a fault cause-effect graph and the target alarm set; the fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system, and includes a set of nodes, a set of edges, and a set of propagation probabilities; generating a causal subgraph, a topology subgraph, and historical case information based on the target alarm event, the fault cause-effect graph, and a historical event vector library; the historical case information includes multiple historical alarm events, their similarity to the target alarm event, the actual root cause node corresponding to each historical alarm event, the handling steps, and the resolution result; the target alarm event is any one of at least one alarm event; inputting the causal subgraph, the topology subgraph, and the historical case information into a large language model, and outputting the target actual root cause node and the target handling steps corresponding to the target alarm event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of traffic operation and maintenance technology. More specifically, it relates to a method and device for root cause analysis of traffic alarm events. Background Technology

[0002] As information systems continue to expand in scale, IT infrastructure becomes increasingly complex and distributed, with intricate dependencies between various servers, network devices, and application systems. During system operation, a large number of monitoring metrics and log information generate massive amounts of alarm data.

[0003] In related technologies, maintenance personnel typically analyze and process alarms manually, which presents the following problems: the number of alarms is huge, with a large number of duplicate and invalid alarms, increasing the processing burden; there is a lack of unified analysis of multi-source data, making it difficult to accurately locate the root cause of the fault; there are correlations and propagation relationships between alarms, but existing methods are difficult to identify; the handling process relies on human experience, which is inefficient and prone to errors; and there is a lack of automated processing mechanisms, making it impossible to achieve rapid response. Summary of the Invention

[0004] To solve the above-mentioned technical problems, or at least partially solve them, this application provides a method and device for root cause analysis of traffic alarm events.

[0005] In a first aspect, embodiments of this application provide a method for root cause analysis of traffic alarm events, comprising: acquiring a set of target alarms to be processed reported by a traffic monitoring system, the set of target alarms including multiple alarm data, each alarm data including alarm source, alarm content, and alarm time; generating at least one alarm event based on a fault cause-effect graph and the target alarm set, different alarm events corresponding to different faults, the alarm event including the root node of the corresponding fault, a set of sub-alarms, the cumulative propagation probability on the propagation path, and the scope of influence; the fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system, the fault cause-effect graph including a node set, an edge set, and a propagation probability set; the node set including business nodes and data flow nodes; the edge set including topological edges between business nodes, topological edges between data flow nodes, and binding edges between data flow nodes and the business nodes they serve; the propagation probability graph including the root cause graph. The propagation probability set includes the fault propagation probability corresponding to each edge in the edge set; based on the target alarm event, the fault cause-effect graph, and the historical event vector library, a cause-effect subgraph, a topology subgraph, and historical case information are generated; the cause-effect subgraph is the subgraph in the fault cause-effect graph associated with the target alarm event; the topology subgraph includes all subtrees in the fault cause-effect graph with the target root node of the target alarm event as the root node; the historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution results corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event; the cause-effect subgraph, the topology subgraph, and the historical case information are input into the large language model, and the target actual root cause node and target handling steps corresponding to the target alarm event are output.

[0006] In this embodiment, addressing the shortcomings of existing distributed monitoring systems such as massive redundancy and mixing of alarms, difficulty in identifying alarm causal propagation relationships, inaccurate root cause localization, and high reliance on human experience in fault handling, resulting in low efficiency, error-proneness, and difficulty in automated rapid response, this application constructs a fault causal graph containing nodes, topological edges, and fault propagation probabilities by combining the business topology and data flow topology of the traffic monitoring system. It clusters the target alarm set to generate alarm events corresponding to different faults, clearly defining the root node, propagation path probability, and impact range of each fault, effectively achieving alarm noise reduction and fault differentiation, and solving the problem of difficulty in effectively identifying and processing massive alarms; this application further focuses on... By connecting the cause-effect graph of the fault, a cause-effect subgraph and a topology subgraph are obtained. Combined with the historical event vector library, similar historical cases, historical root causes, and handling information are matched. This fully integrates real-time topology causal characteristics and historical operation and maintenance experience to accurately discover alarm propagation correlations and hidden faults, improving the accuracy of root cause analysis. Finally, the cause-effect subgraph, topology subgraph, and historical case information are input into a large language model, which automatically outputs the actual root cause node and standardized handling steps. This eliminates the reliance on human experience, reduces judgment errors and handling risks, and realizes a closed loop of intelligent fault judgment, automatic analysis, and rapid handling, effectively improving the accuracy, standardization, and automation level of fault management in traffic monitoring systems.

[0007] In some embodiments of this application, before generating the causal subgraph, topological subgraph, and historical case information based on the target alarm event, the fault causal graph, and the historical event vector library, the method further includes: when the entry node of the target business topology corresponding to the target alarm event is an abnormal business indicator, based on the data flow detection operator, initiating a reverse topological order root cause search for the target data flow topology associated with the target business topology to determine the search root cause node of the target alarm event; using the search root cause node as the mounting node of the target alarm event, and associating the target alarm event with the fault causal graph; the causal subgraph is a subgraph extracted from the fault causal graph, centered on the search root cause node, extending a preset number of nodes to each edge where the search root cause node is located.

[0008] In this embodiment, under abnormal business indicator scenarios, a reverse topological order root cause search is performed on the associated data flow topology using a data flow detection operator to accurately locate the root cause node corresponding to the alarm event. The alarm event is then attached to the corresponding root cause node to achieve a precise association and binding between the alarm and the causal topology. This ensures that fault tracing aligns with the actual data flow anomaly propagation logic, effectively solving the problem that traditional root cause location is superficial and cannot trace the underlying data flow anomalies. Simultaneously, this application uses the root cause node as the center and extracts a local causal subgraph within a preset node range. This allows for precise focus on the core fault propagation area, filtering out interference from irrelevant topological nodes, and significantly improving the effectiveness and relevance of the subgraph features. Consequently, the large language model can learn from the causal subgraph, the topological subgraph, and the historical case information, making the output of the target alarm event's corresponding target actual root cause node and target handling steps more accurate.

[0009] In some embodiments of this application, the step of initiating a reverse topological order root cause search for the target data flow topology associated with the target service topology based on the data flow detection operator to determine the root cause node of the target alarm event includes: initiating a reverse topological order root cause search for the target data flow topology based on the data flow detection operator to determine the root cause result of the target alarm event, wherein the root cause result includes the root cause node, and the node status and node data status of each search node corresponding to the reverse topological order root cause search; before associating the root cause node as the mounting node of the target alarm event and associating the target alarm event with the fault cause-effect graph, the step further includes: associating the root cause result with the target alarm event.

[0010] In this embodiment, when an abnormal business indicator occurs at the entry node of the target business topology, a reverse topological order root cause search of the target data flow topology is initiated through a data flow detection operator. This not only accurately locates the root cause node but also completely acquires the node status and node data status of each search node during the search process, forming a complete root cause search result. This root cause result, which contains multi-dimensional status information, is then associated with the target alarm event, binding the alarm event with complete tracing process data and underlying data flow anomaly details. This overcomes the shortcomings of traditional root cause localization, which only outputs a single node, lacks process status data, has insufficient tracing basis, and cannot reconstruct the fault evolution process. Furthermore, this application uses root cause search... By capturing local causal subgraphs centered on nodes and within a preset node range, the core fault propagation area can be accurately focused, filtering out interference from irrelevant topological nodes and significantly improving the effectiveness and relevance of subgraph features. This application further integrates causal subgraphs and topological subgraph features with historical event vector databases to match similar historical cases, historical root causes, and handling information. It fully integrates real-time topological causal features, data flow anomaly features, node status features, and historical operation and maintenance experience to accurately uncover alarm propagation correlations and hidden faults, significantly improving the accuracy of root cause analysis. It can further improve the accuracy of the actual root cause node and target handling steps corresponding to the target alarm event output by the large language model.

[0011] In some embodiments of this application, the root cause search result further includes: indicator anomaly-related information corresponding to the root cause node, which includes the status log of the data flow operator corresponding to the root cause node, the pre- and post-processing results of the data, and the status of related middleware.

[0012] In this embodiment, for scenarios where business topology entry node indicators are abnormal, a reverse topology sequence root cause search is triggered by the data flow detection operator. This not only accurately locates the core root cause node and obtains the status and data status of all search nodes across the entire chain, but also simultaneously binds refined indicator anomaly information such as the data flow operator status logs, data pre- and post-processing results, and associated middleware status corresponding to the root cause node. This forms a comprehensive root cause result covering topology status, data flow, operator operation, and middleware working conditions, and links it to alarm events. Compared to traditional solutions that only output a single fault node and lack detailed underlying anomalies, this application can accurately distinguish the fault occurrence level, effectively identify different fault types such as business anomalies, data processing anomalies, operator execution anomalies, and middleware operation anomalies, and completely reconstruct the entire process of fault propagation and anomaly evolution. This overcomes the shortcomings of traditional root cause tracing, such as weak basis, inability to locate deep hidden faults, and ambiguous fault attribution. By providing comprehensive, refined, and traceable underlying fault features, the accuracy and reliability of the target actual root cause node and target handling steps output by the large language model are further improved.

[0013] In some embodiments of this application, generating at least one alarm event based on the fault cause-effect graph and the target alarm set includes: determining the mounting node corresponding to each alarm data in the target alarm set to obtain a mounting node set; classifying the mounting node set to obtain at least one sub-mounted node set, wherein the mounting nodes included in each sub-mounted node set have the highest similarity in the tracing path on the fault cause-effect graph; performing a reverse topological traversal on the fault cause-effect graph based on each mounting node included in the first sub-mounted node set to determine the ancestor set corresponding to each mounting node, thereby obtaining multiple ancestor sets corresponding to the first sub-mounted node set, wherein the ancestor set includes... The first set of child mount nodes includes the corresponding mount node and all nodes upstream of the mount node. The first set of child mount nodes is any one of the at least one set of child mount nodes. The global intersection of the multiple ancestor sets is obtained to obtain the ancestor intersection set. In the ancestor intersection set, the node closest to the first set of child mount nodes is selected in reverse topological order to obtain the first root node of the first set of child mount nodes. Based on the first set of child mount nodes and the first root node, the first alarm event corresponding to the first set of child mount nodes is generated. The root node included in the first alarm event is the first root node, and the sub-alarm set included in the first alarm event is the sub-alarm set corresponding to the first set of child mount nodes.

[0014] In this embodiment, the target alarm set is used to generate independent alarm events through a precise topological clustering and source tracing fusion mechanism: First, the mounting nodes of each alarm data are matched to obtain a set of mounting nodes. The mounting nodes are then clustered and grouped according to the similarity of the source tracing path in the fault cause-effect graph, realizing the aggregation of alarms from the same source and the separation of alarms from different sources. Furthermore, the entire upstream ancestor set is obtained by reverse topological traversal of each group of mounting nodes. The common fault source interval is locked by global intersection operation of multiple ancestor sets, and the optimal root node closest to the alarm cluster is selected by combining the reverse topological order. In this way, the corresponding independent alarm event is generated, and the event splitting and fault merging of multiple mixed alarm data are accurately completed. This mechanism abandons the traditional, crude clustering method of simply aggregating time and labels. Relying on the similarity of topological tracing paths and the intersection constraints of common ancestors, it can accurately distinguish between alarms derived from the same source and independent fault alarms from different sources. It completely solves the problems of alarm storms, multiple faults overlapping, and disordered event classification in scenarios with massive alarms. It achieves accurate normalization of alarm events and accurate locking of fault sources, providing a regular and reliable event granularity basis for subsequent refined tracing and analysis.

[0015] In some embodiments of this application, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: generating a target historical alarm event in response to user input on the target resolution result of the target handling steps, the target historical alarm event including the target alarm event, the target actual root cause node, the target handling steps and the target resolution result; and attaching the target historical alarm event to the target actual root cause node of the fault cause-effect graph.

[0016] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the system can automatically integrate the alarm event, actual root cause node, handling steps, and final resolution result to generate target historical alarm events in response to the user-input target resolution result. These events are then accurately mounted onto the actual root cause node corresponding to the fault cause-effect graph, achieving topological, structured, and normalized retention of fault cases. This overcomes the shortcomings of traditional operation and maintenance scenarios, such as fragmented fault handling experience, lack of a unified archiving carrier, and difficulty in accumulating and reusing data. This solution continuously accumulates real fault handling review data into the cause-effect topology system, continuously iterating and expanding the historical event vector library. This provides continuously updated real sample prior support for subsequent fault similarity matching, root cause reasoning, and intelligent handling solution generation, forming a positive iterative optimization closed loop for fault governance and continuously improving the adaptability and accuracy of system fault judgment.

[0017] In some embodiments of this application, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: generating a target historical alarm event in response to user input on the target resolution result of the target handling steps, the target historical alarm event including the target alarm event, the target actual root cause node, the target handling steps and the target resolution result; and storing the target historical alarm event in the historical event vector library.

[0018] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the system can respond to the target resolution result input by the user, integrate the target alarm event, target actual root cause node, target handling steps, and target resolution result to generate a structured target historical alarm event, and store it in the historical event vector library. This achieves standardized archiving and dynamic incremental updates of real fault handling cases, solving the problems of fragmented traditional operation and maintenance experience, lack of standardized accumulation channels, and difficulty in reuse and iteration. Continuously adding real fault review data to the vector library can continuously enrich the dimensions of case samples, optimize the distribution of fault feature vectors, and improve the accuracy of subsequent fault similarity matching. This provides continuous iterative real prior support for root cause reasoning and intelligent handling solution generation, constructing a complete positive iterative closed loop of fault judgment, intelligent handling, experience accumulation, and model optimization, continuously improving the adaptability and accuracy of system fault judgment.

[0019] In some embodiments of this application, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: updating the fault propagation probability corresponding to each edge on the propagation path corresponding to the target alarm event based on the fault propagation probability update formula.

[0020] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the fault propagation probability of each side on the propagation path of the target alarm event can be dynamically updated based on the fault propagation probability update formula. This breaks the drawback of the fixed propagation probability of the traditional causal graph, which cannot adapt to the dynamic changes in the system operation. It enables the fault propagation probability to dynamically iterate with the actual fault occurrence, propagation and handling conditions, accurately adapt to the dynamic changes in the status of traffic monitoring system equipment, data flow links and business load, and improve the fit and accuracy of subsequent fault propagation inference, fault risk assessment and event clustering.

[0021] In some embodiments of this application, the input of the causal subgraph, the topological subgraph, and the historical case information into a large language model to output the target actual root cause node and target handling steps corresponding to the target alarm event includes: serializing the causal subgraph, the topological subgraph, and the historical case information to obtain a global knowledge subgraph; inputting the global knowledge subgraph into a large language model to output the target actual root cause node and target handling steps.

[0022] In this embodiment, before inputting into the large language model, the discrete causal subgraph, topological subgraph, and historical case information are uniformly serialized and a global knowledge subgraph is constructed. This achieves the structured fusion and unified representation of topological structure, fault features, and prior case knowledge, avoiding the problems of scattered multi-source information, inconsistent formats, and feature loss. This allows the large language model to read global fault association knowledge completely, in a standardized and accurate manner, effectively improving the logic and reliability of model reasoning, and further enhancing the accuracy and rationality of the output target root cause nodes and target handling steps.

[0023] Secondly, embodiments of this application provide a traffic alarm event root cause analysis device, comprising: a controller configured to: acquire a set of target alarms to be processed reported by a traffic monitoring system, the target alarm set including multiple alarm data, each alarm data including alarm source, alarm content, and alarm time; generate at least one alarm event based on a fault cause-effect graph and the target alarm set, different alarm events corresponding to different faults, the alarm event including the root node of the corresponding fault, a sub-alarm set, the cumulative propagation probability on the propagation path, and the scope of influence; the fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system, the fault cause-effect graph including a node set, an edge set, and a propagation probability set; the node set includes business nodes and data flow nodes; the edge set includes topological edges between business nodes, topological edges between data flow nodes, and bindings between data flow nodes and the business nodes they serve. The propagation probability set includes the fault propagation probability corresponding to each edge in the edge set; based on the target alarm event, the fault cause-effect graph, and the historical event vector library, a cause-effect subgraph, a topology subgraph, and historical case information are generated; the cause-effect subgraph is the subgraph in the fault cause-effect graph associated with the target alarm event; the topology subgraph includes all subtrees in the fault cause-effect graph with the target root node of the target alarm event as the root node; the historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution results corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event; the cause-effect subgraph, the topology subgraph, and the historical case information are input into the large language model, and the target actual root cause node and target handling steps corresponding to the target alarm event are output.

[0024] Thirdly, embodiments of this application provide a computer-readable storage medium, including: storing a computer program on the computer-readable storage medium, wherein when the computer program is executed by a processor, it implements the traffic alarm event root cause analysis method as shown in the second aspect.

[0025] Fourthly, embodiments of this application provide a computer program product, including: when the computer program product is run on a computer, causing the computer to implement the traffic alarm event root cause analysis method as shown in the second aspect. Attached Figure Description

[0026] To more clearly illustrate the implementation methods in the embodiments of this application or related technologies, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings.

[0027] Figure 1 A structural block diagram of a traffic alarm event root cause analysis device 100 according to some embodiments is shown; Figure 2 A structural block diagram of a data acquisition module 101 according to some embodiments is shown; Figure 3 One of the flowcharts for a traffic alarm event root cause analysis method according to some embodiments is shown; Figure 4 A simplified schematic diagram of a fault cause-effect graph according to some embodiments is shown; Figure 5 A second schematic flowchart of a traffic alarm event root cause analysis method according to some embodiments is shown; Figure 6 The third flowchart illustrates a traffic alarm event root cause analysis method according to some embodiments; Figure 7 The fourth flowchart illustrates a traffic alarm event root cause analysis method according to some embodiments; Figure 8 Fifth of a series of flowcharts illustrating a traffic alarm event root cause analysis method according to some embodiments; Figure 9 A flowchart of a traffic alarm event root cause analysis method according to some embodiments is shown in diagram six. Figure 10 The seventh flowchart illustrates a traffic alarm event root cause analysis method according to some embodiments. Detailed Implementation

[0028] To make the objectives and implementation methods of this application clearer, the exemplary implementation methods of this application will be clearly and completely described below with reference to the accompanying drawings of the exemplary embodiments of this application. Obviously, the exemplary embodiments described are only some embodiments of this application, and not all embodiments.

[0029] It should be noted that the brief descriptions of terms in this application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of this application. Unless otherwise stated, these terms should be understood in their ordinary and common meaning.

[0030] The terms "first," "second," "third," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar or related objects or entities, and do not necessarily imply a specific order or sequence, unless otherwise specified. It should be understood that such terms are interchangeable where appropriate.

[0031] The terms “comprising” and “having”, and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device that includes a range of components is not necessarily limited to all of the components that are clearly listed, but may include other components that are not clearly listed or that are inherent to such product or device.

[0032] Traditional traffic equipment monitoring systems typically only monitor the online status of front-end equipment such as traffic signals, electronic police systems, and checkpoints, relying on fixed thresholds to determine offline status. These systems treat equipment as isolated monitoring objects, failing to connect it to upstream or downstream data links or model the topological relationships between devices.

[0033] General APM / AIOps platforms, such as Prometheus+Grafana, Zabbix, and SkyWalking, have strong capabilities in metric collection and visualization. However, their alarm judgments are mostly based on PromQL expressions and fixed thresholds, lacking an understanding of the semantics of traffic industry metrics (delay, queue length, saturation, etc.) and business topology (intersection-lane-turn, etc.), and root cause location relies on manual intervention.

[0034] The initial application of large models in the field of operations and maintenance has seen explorations in recent years of applying large language models to general IT operations and maintenance scenarios, but there are few end-to-end solutions that deeply integrate with front-end equipment in the transportation industry, Flink computing links, and traffic indicator data quality.

[0035] like Figure 1 As shown in some embodiments of this application, the traffic alarm event root cause analysis device 100 mainly includes three modules: a data acquisition module 101, an alarm management module 102, and an intelligent enhancement module 103. The data acquisition module 101 is used to collect multi-source heterogeneous data in parallel and complete data preprocessing to obtain a target alarm set to be processed, which includes multiple alarm data. The alarm management module 102 is used to analyze the target alarm set based on a fault cause-effect graph and a historical event vector library to obtain model input data for intelligent analysis. The intelligent enhancement module 103 is used to analyze the model input data to obtain the target actual root cause node and target handling steps of the alarm events corresponding to the target alarm set, and based on the target resolution results input by the user, generate new target historical alarm events, and attach the target historical alarm events to the corresponding target actual root cause node in the fault cause-effect graph and / or store the target historical alarm events in the historical event vector library to enhance the root cause analysis and handling step generation of subsequent alarm events.

[0036] The data acquisition module can access traffic equipment data (signals, electronic police, edge devices, radar, etc.), monitor data anomalies and generate alarms, laying the foundation for the subsequent alarm management module.

[0037] In some embodiments of this application, the data acquisition module 101 is a module for parallel acquisition of multi-source heterogeneous monitoring data, such as... Figure 2 As shown, the data acquisition module includes multiple types of collectors: (1) Internet data collector 201, periodically acquires data from the Internet based on floating car calculation; (2) Electronic police equipment collector 202 obtains data such as vehicle passage data, green damage data, and queue length by calling the API of electronic police, radar, geomagnetic and other equipment; (3) Flink Information Collector 203 monitors the running status of Flink tasks and the data related to the exposed metrics through the API; (4) Middleware information collector 204, to obtain data metrics of related middleware such as Prometheus, Kafka, and Redis; (5) Other data collectors 205 collect other data indicators related to traffic indicator calculation.

[0038] Each data collector outputs a unified package as candidate alarm data. Each candidate alarm data can record fields such as alarm source, alarm content, and alarm time. The candidate alarm data collected by each data collector is written into the candidate alarm queue for processing.

[0039] In some embodiments of this application, each candidate alarm data can also record alarm rules. Alarm rules can carry classification information. Based on the classification metadata carried by the alarm rules, alarms can be classified into three levels. For example, major categories include business indicator alarms, data flow middleware alarms, and hardware device alarms; medium categories include traffic business (queue length / green loss), real-time computing (Flink), message queues (Kafka), and hardware data collection (AD temperature and humidity); minor categories include intersection queuing anomalies, operator latency, message backlog, and high equipment temperature.

[0040] In some embodiments of this application, candidate alarm queues can be classified into three levels based on alarm rules and then stored in the database. After storage, some alarm data can be processed and eliminated, and unprocessed alarm data can be used to generate a target alarm set to be processed, which is then processed by the alarm management module 102 and the intelligent enhancement module 103.

[0041] To illustrate this solution in more detail, the following will use an exemplary approach. Figures 3 to 10 To explain, it is understandable that Figures 3 to 10The steps involved may include more or fewer steps in actual implementation, and the order of these steps may also differ, as long as the traffic alarm event root cause analysis method provided in this application embodiment can be achieved. The executing entity of this traffic alarm event root cause analysis method can be a traffic alarm event root cause analysis device, or a functional module or entity within the traffic alarm event root cause analysis device capable of implementing the traffic alarm event root cause analysis method; no limitation is made here. Furthermore, a detailed description of the traffic alarm event root cause analysis method provided in this application embodiment can be found in the relevant description of the aforementioned display device, and the same or similar technical effects can be achieved; further details are omitted here.

[0042] Figure 3 The flowchart illustrates the steps of a traffic alarm event root cause analysis method according to one or more embodiments of this application. The traffic alarm event root cause analysis method may include the following steps S301 to S304.

[0043] S301. Obtain the set of target alarms to be processed reported by the traffic monitoring system. The set of target alarms includes multiple alarm data.

[0044] Each alarm data entry includes the alarm source, alarm content, and alarm time.

[0045] S302. Based on the fault cause-effect graph and the target alarm set, generate at least one alarm event.

[0046] Different alarm events correspond to different faults. Each alarm event includes the root node of the corresponding fault, a set of sub-alarms, the cumulative propagation probability on the propagation path, and the scope of impact. The fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system. The fault cause-effect graph includes a set of nodes, a set of edges, and a set of propagation probabilities. The set of nodes includes business nodes and data flow nodes. The set of edges includes topological edges between business nodes, topological edges between data flow nodes, and binding edges between data flow nodes and the business nodes they serve. The set of propagation probabilities includes the fault propagation probability corresponding to each edge in the set of edges.

[0047] The cumulative propagation probability can be the product of the probabilities of each edge and its corresponding upstream edge in the subgraph that matches the corresponding alarm event in the fault causal graph. The root node of an alarm event is the root node on the business topology corresponding to the alarm event.

[0048] The sub-alarm set includes at least one alarm data, wherein the at least one alarm data is an alarm data generated by the same fault among the multiple alarm data.

[0049] The scope of impact refers to the range of nodes that can be affected by the fault of the corresponding alarm event.

[0050] For example, the business topology diagram can be device-lane-turn-direction-intersection-road segment-region; the data flow topology diagram can be collection→Kafka→Flink→Doris→metrics.

[0051] In some embodiments of this application, a unified fault cause graph with propagation probability can be constructed based on cause graph construction rules and historical co-occurrence statistics. The construction of a fault cause graph integrating the "data flow-service" dual topology is illustrated as follows: Figure 4 As shown, with traffic indicators as the core, data flows are linked on one side, and business processes are linked on the other, connecting the entire chain of traffic indicator collection, calculation, and storage. A unified fault cause-effect graph is defined. .

[0052] Among them, the node set It is formed by merging two types of nodes, namely business nodes. This includes lanes, turns, lane flow, and electronic police equipment, which primarily reflect the "physical level of the monitored object"; data flow nodes. Vehicle data acquisition, radar data acquisition, Flink lane calculation tasks, etc., mainly reflect the "logical link of data processing".

[0053] Among them, the edge set Includes: Topological edges between business nodes Examples include [lane] → [lane flow] → [lane saturation], which mainly declare the relationships between business nodes and the topological edges between data flow nodes. Examples include [Vehicle Passage Data Collection] → [Vehicle Passage Data Topic] → [Flink Lane Calculation Task], which mainly declare the relationships between data flow nodes and the binding edges between data flow nodes and business nodes. Bind the "data flow node" to the "business node" it serves (e.g., [lane index table] → [lane]).

[0054] Among them, the propagation probability Initially on each edge Assignment based on rule templates (e.g., [Vehicle Passage Data Collection] → [Vehicle Passage Data Topic]) The subsequent updates are performed using the fault propagation probability update formula.

[0055] In the cold start phase of the fault cause-effect graph: edges can be read from the configuration library and initialized according to the rule template. In the incremental learning phase of the fault cause-effect graph: listen for events such as adding / removing devices and creating / discarding Flink components, and automatically maintain the graph. The nodes and edges are updated dynamically as the system solves problems. .

[0056] In some embodiments of this application, alarm nodes corresponding to target alarms can be filtered in the fault cause-effect graph and denoted as alarm node subsets; causal connectivity between alarm nodes is calculated based on the fault cause-effect graph; alarm node connected component partitioning (topology-based clustering) is performed, using causal reachability as the connection condition, and an undirected connected subgraph is constructed for the alarm node subsets: mutually reachable alarm nodes form a connected component; each connected component initially corresponds to an independent fault propagation chain, at which point preliminary clustering groups are obtained; temporal feature secondary verification of grouping (eliminating cross-time window mis-aggregation), relying solely on topology has defects—if two independent faults occur on the same link after a long interval, the topology remains connected and will be incorrectly merged; time constraints are added, if the difference in the alarm start time of two alarms within the same connected component exceeds a preset time threshold, they are divided into different groups, different groups correspond to different faults, and sub-alarm sets corresponding to different faults are obtained based on different groups, and the root nodes corresponding to different sub-alarm sets, the cumulative propagation probability and impact range on the propagation paths corresponding to different faults are determined based on the fault cause-effect graph.

[0057] S303. Based on the target alarm event, the cause-effect graph of the fault, and the historical event vector library, generate the cause-effect subgraph, topology subgraph, and historical case information.

[0058] Wherein, the causal subgraph is a subgraph associated with the target alarm event in the fault causal graph; the topological subgraph includes all subtrees in the fault causal graph with the target root node of the target alarm event as the root node; the historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution results corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event.

[0059] The cause-effect subgraph can be a local subgraph in the fault cause-effect graph that is associated with the target alarm event, or it can be the fault cause-effect graph itself; there is no limitation here.

[0060] The topological subgraph consists of the target root node and all nodes in the subtrees under the target root node. Specifically, it includes the target root node, all nodes in the subtrees, and the topological edges between the nodes.

[0061] Among them, historical case information consists of information on multiple historical alarm events that are most similar to the target alarm event, retrieved from the historical event vector library.

[0062] Among them, the actual root cause node is the data stream node that caused the corresponding historical alarm event.

[0063] The resolution result can include whether the fault was resolved through the corresponding handling steps, or it can include the actual fault-solving solution if the fault was not resolved.

[0064] In some embodiments of this application, multiple historical alarm events can be obtained by matching historical alarm events in the historical event vector library with the target alarm event; multiple historical alarm events can also be obtained by matching historical alarm events in the historical event vector library with sub-alarm sets; alternatively, graph embedding can be performed on the topology of the causal subgraph and the sub-alarm set to obtain the graph-embedded alarm feature vector, and then multiple historical alarm events that best match the alarm feature vector can be retrieved in the historical event vector library; multiple historical alarm events can also be obtained through other feasible methods, which are not limited here.

[0065] In this embodiment, graph embedding is performed on the topology of the causal subgraph and the sub-alarm set to obtain the graph-embedded alarm feature vector. Then, multiple historical alarm events that best match the alarm feature vector are retrieved from the historical event vector library. This enables further graph embedding representation learning of the causal subgraph topology and the corresponding sub-alarm set, fusing the fault topology association features and alarm multidimensional features into a low-dimensional dense vector. Relying on the vector similarity retrieval mechanism, multiple most similar historical alarm events are selected from the historical event vector library to accurately recall the handling steps and fault resolution result sequences corresponding to similar faults. This approach overcomes the shortcomings of traditional solutions such as fuzzy keyword matching, poor retrieval relevance, and inability to refer to historical real handling loop situations. It achieves accurate case matching driven by dual features of topology and alarms, providing comparable and traceable real handling experience and review results for subsequent model inference.

[0066] S304. Input the cause-effect subgraph, the topology subgraph, and the historical case information into the large language model, and output the target actual root cause node and target handling steps corresponding to the target alarm event.

[0067] It is understandable that the large language model, through learning from causal subgraphs, topological subgraphs, and historical case information, outputs the target actual root cause node and target handling steps corresponding to the target alarm event. Thus, users can determine the target fault that caused the target alarm event based on the target actual root cause node, as well as the target handling steps to resolve the target fault.

[0068] In this embodiment, addressing the shortcomings of existing distributed monitoring systems such as massive redundancy and mixing of alarms, difficulty in identifying alarm causal propagation relationships, inaccurate root cause localization, and high reliance on human experience in fault handling, resulting in low efficiency, error-proneness, and difficulty in automated rapid response, this application constructs a fault causal graph containing nodes, topological edges, and fault propagation probabilities by combining the business topology and data flow topology of the traffic monitoring system. It clusters the target alarm set to generate alarm events corresponding to different faults, clearly defining the root node, propagation path probability, and impact range of each fault, effectively achieving alarm noise reduction and fault differentiation, and solving the problem of difficulty in effectively identifying and processing massive alarms; this application further focuses on... By connecting the cause-effect graph of the fault, a cause-effect subgraph and a topology subgraph are obtained. Combined with the historical event vector library, similar historical cases, historical root causes, and handling information are matched. This fully integrates real-time topology causal characteristics and historical operation and maintenance experience to accurately discover alarm propagation correlations and hidden faults, improving the accuracy of root cause analysis. Finally, the cause-effect subgraph, topology subgraph, and historical case information are input into a large language model, which automatically outputs the actual root cause node and standardized handling steps. This eliminates the reliance on human experience, reduces judgment errors and handling risks, and realizes a closed loop of intelligent fault judgment, automatic analysis, and rapid handling, effectively improving the accuracy, standardization, and automation level of fault management in traffic monitoring systems.

[0069] In some embodiments of this application, combined with Figure 3 ,like Figure 5 As shown, prior to S303, the traffic alarm event root cause analysis method provided in this application embodiment may further include the following S305 and S306.

[0070] S305. If the entry node of the target business topology corresponding to the target alarm event is an abnormal business indicator, based on the data flow detection operator, initiate a reverse topological root cause search for the target data flow topology associated with the target business topology to determine the root cause node of the target alarm event.

[0071] S306. Use the root cause node of the search as the mount node of the target alarm event, and associate the target alarm event with the fault cause-effect graph.

[0072] The causal subgraph is a subgraph extracted from the fault causal graph, centered on the root cause node, and extending to each edge containing the root cause node by a predetermined number of nodes.

[0073] It should be noted that if only one node extends from an edge containing the root cause node, then only that one node extends from that edge in the final causal subgraph; if only two nodes extend from an edge containing the root cause node, then only those two nodes extend from that edge in the final causal subgraph.

[0074] In traffic monitoring systems, a single underlying failure often triggers multiple, multi-type alarm data (device offline, data stream interruption, abnormal business statistics, etc.). Multiple alarm data belong to the same fault and are therefore considered as the same alarm data. The system needs to first aggregate the massive amount of alarms, then output a unique entry node, and determine whether this entry node indicates an abnormal business metric, thereby deciding whether to initiate a reverse topology root cause search.

[0075] In some embodiments of this application, for multiple alarm data belonging to the same fault, a unified entry node can be determined according to the fault causal topology propagation hierarchy by adopting the rule of "taking the most downstream and the last business result node". The specific logic is as follows: For all alarm data under the same fault, they are mapped to the corresponding business nodes in the fault causal graph to obtain a set of business nodes corresponding to multiple alarms; according to the topology propagation direction (upstream device / data flow → downstream business indicators), the node set with the most downstream topology level is selected as the last node for final business presentation; the downstream last node is defined as the unique entry node of this unified alarm event.

[0076] It is understandable that an upstream failure at the bottom layer will propagate upstream and downstream, eventually resulting in abnormal results at the business indicator layer. Downstream indicator abnormalities can encompass all scattered devices and data stream alarms upstream. With the end node as the entry point, the entire impact of this failure can be fully covered.

[0077] In some embodiments of this application, for the unique entry node obtained by aggregation, a dual determination is made based on node type attribute and an anomaly triggering mechanism to determine whether it belongs to the category of abnormal business indicators. The criteria for determining whether an entry node is an abnormal business indicator are as follows: Node type determination: Query the preset node attributes of the entry node to determine whether the node is a business indicator node, including business quantitative statistical nodes such as traffic flow statistics, video online rate statistics, checkpoint vehicle passage statistics, and equipment online statistics; Anomaly mechanism determination: The anomaly of the entry node is not due to a fault error of the node itself, but is a business result derived from anomalies caused by abnormalities in upstream equipment, data flow, and service status, resulting in node statistical values ​​exceeding limits, values ​​returning to zero, data update timeouts, and statistical distortion; Final determination: When both the indicator node type and business result anomaly characteristics are met, the entry node is determined to belong to the category of abnormal business indicators, and a reverse topology root cause search is triggered; if the entry node is an abnormal entity node such as a device node, data flow node, or service node, this reverse tracing logic is not initiated.

[0078] For example, the same alarm event generates multiple alarms: camera offline alarm, video data stream interruption alarm, and abnormal traffic flow statistics alarm. System topology hierarchy determination: The traffic flow statistics node is the most downstream node, thus it is determined to be the unique entry node. This entry node is a business quantification statistics node, and the abnormal result is caused by upstream fault propagation. Therefore, the entry node is determined to be an abnormal business indicator, and a reverse topology tracing is initiated to find the root node of the fault.

[0079] In some embodiments of this application, for multiple alarm data belonging to the same alarm event, each alarm is mapped to the corresponding business node in the fault cause-effect graph, and the downstream end business node of the topology propagation layer is selected as the unified entry node of the alarm event; by identifying the node type and anomaly generation mechanism of the entry node, if the entry node is a business indicator statistics node and the anomaly is a deviation of the business result caused by the upstream fault propagation, then the entry node is determined to be a business indicator anomaly.

[0080] The data stream detection operator can register a monitoring interface implementation for each data stream node type. After being called in the order of node status and node data status, it will return the node status and node data status. Failed nodes can then be identified sequentially. A node is considered failed if it cannot return a status, returns a failure, or if the data status returns no data consumption for a preset duration (e.g., 5 minutes). When any node is considered a failure, it is recorded as the root cause node, and the traversal is terminated, ending the subsequent reverse search; otherwise, the upstream search continues.

[0081] Understandably, for alarm events where the entry node is an abnormal business metric, the target business topology node associated with the event is identified, and the data flow link corresponding to the business entity is matched based on the fused cause-effect graph. The data flow detection operator is then activated to perform a reverse topological order root cause search along the data flow topology. During the traversal, the monitoring interfaces of each data flow node are called sequentially to verify the node status and data flow status, and to locate the problematic data flow node that caused the metric abnormality.

[0082] In this embodiment, under abnormal business indicator scenarios, a reverse topological order root cause search is performed on the associated data flow topology using a data flow detection operator to accurately locate the root cause node corresponding to the alarm event. The alarm event is then attached to the corresponding root cause node to achieve a precise association and binding between the alarm and the causal topology. This ensures that fault tracing aligns with the actual data flow anomaly propagation logic, effectively solving the problem that traditional root cause location is superficial and cannot trace the underlying data flow anomalies. Simultaneously, this application uses the root cause node as the center and extracts a local causal subgraph within a preset node range. This allows for precise focus on the core fault propagation area, filtering out interference from irrelevant topological nodes, and significantly improving the effectiveness and relevance of the subgraph features. Consequently, the large language model can learn from the causal subgraph, the topological subgraph, and the historical case information, making the output of the target alarm event's corresponding target actual root cause node and target handling steps more accurate.

[0083] In some embodiments of this application, combined with Figure 5 ,like Figure 6 As shown, the above S305 can be implemented by the following S305a. Before the above S306, the traffic alarm event root cause analysis method provided in this application embodiment may also include the following S307.

[0084] S305a. If the entry node of the target business topology corresponding to the target alarm event is an abnormal business indicator, based on the data flow detection operator, a reverse topology order root cause search is initiated for the target data flow topology to determine the search root cause result of the target alarm event.

[0085] The root cause search results include the root cause node, as well as the node status and node data status of each search node corresponding to the reverse topological order root cause search.

[0086] S307. Associate the root cause search result with the target alarm event.

[0087] It is understandable that after the root cause search result is associated with the target alarm event, the target alarm event will include the root cause search result.

[0088] In this embodiment, when an abnormal business indicator occurs at the entry node of the target business topology, a reverse topological order root cause search of the target data flow topology is initiated through a data flow detection operator. This not only accurately locates the root cause node but also completely acquires the node status and node data status of each search node during the search process, forming a complete root cause search result. This root cause result, which contains multi-dimensional status information, is then associated with the target alarm event, binding the alarm event with complete tracing process data and underlying data flow anomaly details. This overcomes the shortcomings of traditional root cause localization, which only outputs a single node, lacks process status data, has insufficient tracing basis, and cannot reconstruct the fault evolution process. Furthermore, this application uses root cause search... By capturing local causal subgraphs centered on nodes and within a preset node range, the core fault propagation area can be accurately focused, filtering out interference from irrelevant topological nodes and significantly improving the effectiveness and relevance of subgraph features. This application further integrates causal subgraphs and topological subgraph features with historical event vector databases to match similar historical cases, historical root causes, and handling information. It fully integrates real-time topological causal features, data flow anomaly features, node status features, and historical operation and maintenance experience to accurately uncover alarm propagation correlations and hidden faults, significantly improving the accuracy of root cause analysis. It can further improve the accuracy of the actual root cause node and target handling steps corresponding to the target alarm event output by the large language model.

[0089] In some embodiments of this application, the root cause search result further includes: indicator anomaly-related information corresponding to the root cause node, which includes the status log of the data flow operator corresponding to the root cause node, the pre- and post-processing results of the data, and the status of related middleware.

[0090] It is understandable that while locating the problematic data stream node that caused the abnormal indicator, relevant operational information (i.e., information related to the abnormal indicator) is also collected.

[0091] In this embodiment, for scenarios where business topology entry node indicators are abnormal, a reverse topology sequence root cause search is triggered by the data flow detection operator. This not only accurately locates the core root cause node and obtains the status and data status of all search nodes across the entire chain, but also simultaneously binds refined indicator anomaly information such as the data flow operator status logs, data pre- and post-processing results, and associated middleware status corresponding to the root cause node. This forms a comprehensive root cause result covering topology status, data flow, operator operation, and middleware working conditions, and links it to alarm events. Compared to traditional solutions that only output a single fault node and lack detailed underlying anomalies, this application can accurately distinguish the fault occurrence level, effectively identify different fault types such as business anomalies, data processing anomalies, operator execution anomalies, and middleware operation anomalies, and completely reconstruct the entire process of fault propagation and anomaly evolution. This overcomes the shortcomings of traditional root cause tracing, such as weak basis, inability to locate deep hidden faults, and ambiguous fault attribution. By providing comprehensive, refined, and traceable underlying fault features, the accuracy and reliability of the target actual root cause node and target handling steps output by the large language model are further improved.

[0092] In some embodiments of this application, combined with Figure 6 ,like Figure 7 As shown, the above S302 can be specifically implemented by the following S302a to S302f.

[0093] S302a. Determine the mounting node corresponding to each alarm data in the target alarm set to obtain the mounting node set.

[0094] S302b: Classify the set of mounted nodes to obtain at least one set of sub-mounted nodes.

[0095] Among them, the similarity of the tracing paths of the mount nodes included in each set of sub-mount nodes on the fault cause-effect graph is the highest.

[0096] S302c: Based on the first set of mounted nodes, perform a reverse topological traversal on the fault cause-effect graph to determine the ancestor set corresponding to each mounted node, and obtain multiple ancestor sets corresponding to the first set of mounted nodes.

[0097] The ancestor set includes the corresponding mount node and all upstream nodes of the mount node, and the first child mount node set is any one of the at least one child mount node set.

[0098] S302d. Find the global intersection of the multiple ancestor sets to obtain the ancestor intersection set.

[0099] S302e. In the ancestor intersection set, the node closest to the first child mount node set is selected in reverse topological order to obtain the first root node of the first child mount node set.

[0100] S302f: Based on the first set of child mount nodes and the first root node, generate the first alarm event corresponding to the first set of child mount nodes.

[0101] The first alarm event includes the first root node, and the first alarm event includes the sub-alarm set corresponding to the first sub-mounted node set.

[0102] It is understandable that step 1 involves finding the mounting node for each alarm data in the target alarm set within the fault cause-effect graph. Construct the target alarm set corresponding to the set of mounted nodes. Step 2: Trace the upstream nodes of the downstream nodes to obtain all uplink propagation paths, select the optimal tracing path with the highest cumulative probability, and divide the mounted nodes in the mounted node set that are on the optimal tracing path into a sub-mounted node set; Step 3: Determine the mounted nodes in the mounted node set other than the sub-mounted node set as the mounted node set, return and repeat Step 2 above to obtain another sub-mounted set, and so on, by repeating Step 2 and Step 3 to obtain multiple sub-mounted node sets. There is no intersection between any two sub-mounted node sets in the multiple sub-mounted node sets, and the number of mounted nodes included in the multiple sub-mounted node sets is the same as the number of mounted nodes in the mounted node set; Step 4: Taking any first sub-mounted node set as an example, on the fault cause-effect graph, for each mounted node Perform reverse topological order traversal (along the incoming edges) (Upstream direction), find the corresponding ancestor set Find the global intersection of all ancestor sets. ;exist The nearest common ancestor node is obtained by filtering the nodes closest to the first set of child-mounted nodes in reverse topological order. Step 5, with For the root node and the set of child alarms corresponding to the first set of child mounted nodes, a first alarm event is generated. The attributes of the first alarm event include: root node The data includes the sub-alarm set, the cumulative probability on the propagation path, and the scope of impact. At least one alarm event is generated in this way. (If a sub-mounted node set includes only one mounted node, then that mounted node is the corresponding root node, and the alarm data corresponding to that mounted node is the corresponding sub-alarm set.)

[0103] In this embodiment, the target alarm set is used to generate independent alarm events through a precise topological clustering and source tracing fusion mechanism: First, the mounting nodes of each alarm data are matched to obtain a set of mounting nodes. The mounting nodes are then clustered and grouped according to the similarity of the source tracing path in the fault cause-effect graph, realizing the aggregation of alarms from the same source and the separation of alarms from different sources. Furthermore, the entire upstream ancestor set is obtained by reverse topological traversal of each group of mounting nodes. The common fault source interval is locked by global intersection operation of multiple ancestor sets, and the optimal root node closest to the alarm cluster is selected by combining the reverse topological order. In this way, the corresponding independent alarm event is generated, and the event splitting and fault merging of multiple mixed alarm data are accurately completed. This mechanism abandons the traditional, crude clustering method of simply aggregating time and labels. Relying on the similarity of topological tracing paths and the intersection constraints of common ancestors, it can accurately distinguish between alarms derived from the same source and independent fault alarms from different sources. It completely solves the problems of alarm storms, multiple faults overlapping, and disordered event classification in scenarios with massive alarms. It achieves accurate normalization of alarm events and accurate locking of fault sources, providing a regular and reliable event granularity basis for subsequent refined tracing and analysis.

[0104] In some embodiments of this application, combined with Figure 6 ,like Figure 8 As shown, after S304 above, the traffic alarm event root cause analysis method provided in this application embodiment may further include S308 and S309 as described below.

[0105] S308. In response to the user's input on the target resolution result for the target handling steps, generate a target historical alarm event.

[0106] The historical alarm events for this target include the alarm event for this target, the actual root cause node for this target, the handling steps for this target, and the resolution result for this target.

[0107] The target resolution result may include whether the fault corresponding to the target alarm event is resolved through the target handling steps, and may also include the actual fault resolution plan if the fault corresponding to the target alarm event is not resolved.

[0108] In some embodiments of this application, the target historical alarm event may further include a timestamp indicating the resolution of the fault corresponding to the target alarm event.

[0109] S309. Mount the target's historical alarm events to the target's actual root cause node in the fault cause-effect graph.

[0110] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the system can automatically integrate the alarm event, actual root cause node, handling steps, and final resolution result to generate target historical alarm events in response to the user-input target resolution result. These events are then accurately mounted onto the actual root cause node corresponding to the fault cause-effect graph, achieving topological, structured, and normalized retention of fault cases. This overcomes the shortcomings of traditional operation and maintenance scenarios, such as fragmented fault handling experience, lack of a unified archiving carrier, and difficulty in accumulating and reusing data. This solution continuously accumulates real fault handling review data into the cause-effect topology system, continuously iterating and expanding the historical event vector library. This provides continuously updated real sample prior support for subsequent fault similarity matching, root cause reasoning, and intelligent handling solution generation, forming a positive iterative optimization closed loop for fault governance and continuously improving the adaptability and accuracy of system fault judgment.

[0111] In some embodiments of this application, combined with Figure 8 ,like Figure 9 As shown, after S304 above, the traffic alarm event root cause analysis method provided in this application embodiment may also include S308 above and S310 below.

[0112] S310. Store the target's historical alarm events into the historical event vector library.

[0113] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the system can respond to the target resolution result input by the user, integrate the target alarm event, target actual root cause node, target handling steps, and target resolution result to generate a structured target historical alarm event, and store it in the historical event vector library. This achieves standardized archiving and dynamic incremental updates of real fault handling cases, solving the problems of fragmented traditional operation and maintenance experience, lack of standardized accumulation channels, and difficulty in reuse and iteration. Continuously adding real fault review data to the vector library can continuously enrich the dimensions of case samples, optimize the distribution of fault feature vectors, and improve the accuracy of subsequent fault similarity matching. This provides continuous iterative real prior support for root cause reasoning and intelligent handling solution generation, constructing a complete positive iterative closed loop of fault judgment, intelligent handling, experience accumulation, and model optimization, continuously improving the adaptability and accuracy of system fault judgment.

[0114] In some embodiments of this application, combined with Figure 9 ,like Figure 10 As shown, after S304 above, the traffic alarm event root cause analysis method provided in this application embodiment may also include S311 above.

[0115] S311. Based on the fault propagation probability update formula, update the fault propagation probability corresponding to each edge on the propagation path corresponding to the target alarm event.

[0116] The fault propagation probability update formula can be Bayesian formula, Thompson sampling, UCB, Bayesian Kalman filtering, etc. The specific formula can be determined based on the actual situation and is not limited here.

[0117] For example, the fault propagation probability update formula is a Bayesian formula, and the time required is as follows: ,in, This represents the historical number of successful hits on this side. This refers to the number of times this side has passed through historically. These are prior parameters.

[0118] In this embodiment, after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the fault propagation probability of each side on the propagation path of the target alarm event can be dynamically updated based on the fault propagation probability update formula. This breaks the drawback of the fixed propagation probability of the traditional causal graph, which cannot adapt to the dynamic changes in the system operation. It enables the fault propagation probability to dynamically iterate with the actual fault occurrence, propagation and handling conditions, accurately adapt to the dynamic changes in the status of traffic monitoring system equipment, data flow links and business load, and improve the fit and accuracy of subsequent fault propagation inference, fault risk assessment and event clustering.

[0119] In some embodiments of this application, the above-mentioned S304 can be specifically implemented by the following S304a and S304b.

[0120] S304a. Serialize the causal subgraph, the topological subgraph, and the historical case information to obtain the global knowledge subgraph.

[0121] S304b: Input the global knowledge subgraph into the large language model and output the actual root cause node of the target and the handling steps of the target.

[0122] For example, the causal subgraph, topological subgraph, and historical case information can be serialized into a JSON-LD knowledge subgraph as input to the large language model. The large language model is then forced to output in a streaming manner using JSON Schema decoding constraints, following the fields "Problem Overview—Scope of Impact—Root Cause Inference—Remedial Recommendations—Priority". Here, root cause inference refers to the actual root cause node, remedial recommendations, and target remedial steps. Priority refers to the processing priority of the corresponding fault, etc.

[0123] In this embodiment, before inputting into the large language model, the discrete causal subgraph, topological subgraph, and historical case information are uniformly serialized and a global knowledge subgraph is constructed. This achieves the structured fusion and unified representation of topological structure, fault features, and prior case knowledge, avoiding the problems of scattered multi-source information, inconsistent formats, and feature loss. This allows the large language model to read global fault association knowledge completely, in a standardized and accurate manner, effectively improving the logic and reliability of model reasoning, and further enhancing the accuracy and rationality of the output target root cause nodes and target handling steps.

[0124] This application provides a traffic alarm event root cause analysis device, including: a controller configured to: acquire a set of target alarms to be processed reported by a traffic monitoring system, the target alarm set including multiple alarm data, each alarm data including alarm source, alarm content, and alarm time; generate at least one alarm event based on a fault cause-effect graph and the target alarm set, different alarm events corresponding to different faults, the alarm event including the root node of the corresponding fault, a set of sub-alarms, the cumulative propagation probability on the propagation path, and the scope of influence; the fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system, the fault cause-effect graph including a node set, an edge set, and a propagation probability set; the node set includes business nodes and data flow nodes; the edge set includes topological edges between business nodes, topological edges between data flow nodes, and binding edges between data flow nodes and the business nodes they serve; The propagation probability set includes the fault propagation probability corresponding to each edge in the edge set; based on the target alarm event, the fault cause-effect graph, and the historical event vector library, a cause-effect subgraph, a topology subgraph, and historical case information are generated; the cause-effect subgraph is the subgraph in the fault cause-effect graph associated with the target alarm event; the topology subgraph includes all subtrees in the fault cause-effect graph with the target root node of the target alarm event as the root node; the historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution results corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event; the cause-effect subgraph, the topology subgraph, and the historical case information are input into the large language model, and the target actual root cause node and target handling steps corresponding to the target alarm event are output.

[0125] In some embodiments of this application, the controller based on the target alarm event is further configured to: before generating the causal subgraph, topology subgraph, and historical case information in the fault causal graph and historical event vector library, if the entry node of the target business topology corresponding to the target alarm event is an abnormal business indicator, initiate a reverse topology order root cause search for the target data flow topology associated with the target business topology based on the data flow detection operator to determine the search root cause node of the target alarm event; use the search root cause node as the mounting node of the target alarm event, and associate the target alarm event with the fault causal graph; the causal subgraph is a subgraph extracted from the fault causal graph, centered on the search root cause node, extending a preset number of nodes to each edge where the search root cause node is located.

[0126] In some embodiments of this application, the controller is specifically configured to: initiate a reverse topological order root cause search for the target data flow topology based on the data flow detection operator, determine the root cause search result of the target alarm event, the root cause search result including the root cause node, and the node status and node data status of each search node corresponding to the reverse topological order root cause search; the controller is further configured to: associate the root cause search result with the target alarm event before associating the target alarm event with the root cause node as the mounting node of the target alarm event and associating the target alarm event with the fault cause-effect graph.

[0127] In some embodiments of this application, the root cause search result further includes: indicator anomaly-related information corresponding to the root cause node, which includes the status log of the data flow operator corresponding to the root cause node, the pre- and post-processing results of the data, and the status of related middleware.

[0128] In some embodiments of this application, the controller is specifically configured to: determine the mounting node corresponding to each alarm data in the target alarm set, thereby obtaining a mounting node set; classify the mounting node set to obtain at least one sub-mounted node set, wherein the mounting nodes included in each sub-mounted node set have the highest similarity in the tracing path of the fault cause-effect graph; perform a reverse topological traversal on the fault cause-effect graph based on each mounting node included in the first sub-mounted node set, thereby determining the ancestor set corresponding to each mounting node, thereby obtaining multiple ancestor sets corresponding to the first sub-mounted node set, wherein the ancestor set includes the corresponding mounting nodes... The first set of child mount nodes includes all nodes upstream of the mount node, and any one of the at least one set of child mount nodes is the first set of child mount nodes. The global intersection of the multiple ancestor sets is obtained to obtain the ancestor intersection set. In the ancestor intersection set, the node closest to the first set of child mount nodes is selected in reverse topological order to obtain the first root node of the first set of child mount nodes. Based on the first set of child mount nodes and the first root node, a first alarm event corresponding to the first set of child mount nodes is generated. The root node included in the first alarm event is the first root node, and the sub-alarm set included in the first alarm event is the sub-alarm set corresponding to the first set of child mount nodes.

[0129] In some embodiments of this application, the controller is further configured to: after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, generate a target historical alarm event in response to user input on the target resolution result of the target handling steps, the target historical alarm event including the target alarm event, the target actual root cause node, the target handling steps and the target resolution result; and attach the target historical alarm event to the target actual root cause node of the fault cause-effect graph.

[0130] In some embodiments of this application, the controller is further configured to: after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, generate a target historical alarm event in response to the user's input on the target resolution result of the target handling steps, the target historical alarm event including the target alarm event, the target actual root cause node, the target handling steps and the target resolution result; and store the target historical alarm event in the historical event vector library.

[0131] In some embodiments of this application, the controller is further configured to: after outputting the target actual root cause node and target handling steps corresponding to the target alarm event, update the fault propagation probability corresponding to each edge on the propagation path corresponding to the target alarm event based on the fault propagation probability update formula.

[0132] In some embodiments of this application, the controller is specifically configured to: serialize the causal subgraph, the topological subgraph, and the historical case information to obtain a global knowledge subgraph; input the global knowledge subgraph into a large language model and output the actual root cause node of the target and the handling steps of the target.

[0133] The present invention also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described traffic alarm event root cause analysis method and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0134] The computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0135] The present invention provides a computer program product, comprising: when the computer program product is run on a computer, causing the computer to implement the above-mentioned traffic alarm event root cause analysis method.

[0136] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

[0137] For ease of explanation, the above description has been provided in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. Various modifications and variations can be obtained based on the above teachings. The selection and description of the above embodiments are for the purpose of better explaining the principles and practical applications, thereby enabling those skilled in the art to better utilize the described embodiments and various different variations of embodiments suitable for specific use considerations.

Claims

1. A traffic alert event root cause analysis method, characterized by, include: Obtain the set of target alarms to be processed reported by the traffic monitoring system. The set of target alarms includes multiple alarm data, and each alarm data includes the alarm source, alarm content, and alarm time. Based on the fault cause-effect graph and the target alarm set, at least one alarm event is generated. Different alarm events correspond to different faults. Each alarm event includes the root node of the corresponding fault, a sub-alarm set, the cumulative propagation probability on the propagation path, and the scope of impact. The fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system. The fault cause-effect graph includes a node set, an edge set, and a propagation probability set. The node set includes business nodes and data flow nodes. The edge set includes topological edges between business nodes, topological edges between data flow nodes, and binding edges between data flow nodes and the business nodes they serve. The propagation probability set includes the fault propagation probability corresponding to each edge in the edge set. Based on the target alarm event, the fault cause-effect graph, and the historical event vector library, a cause-effect subgraph, a topology subgraph, and historical case information are generated; the cause-effect subgraph is a subgraph in the fault cause-effect graph associated with the target alarm event; the topology subgraph includes all subtrees in the fault cause-effect graph with the target root node of the target alarm event as the root node; The historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution result corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event; Input the causal subgraph, the topological subgraph, and the historical case information into the large language model, and output the target actual root cause node and target handling steps corresponding to the target alarm event.

2. The method of claim 1, wherein, Before generating the causal subgraph, topology subgraph, and historical case information based on the target alarm event, the fault cause-effect graph, and the historical event vector library, the method further includes: If the entry node of the target business topology corresponding to the target alarm event is an abnormal business indicator, based on the data flow detection operator, a reverse topological order root cause search is initiated for the target data flow topology associated with the target business topology to determine the search root cause node of the target alarm event. The root cause node is used as the mounting node for the target alarm event, and the target alarm event is associated with the fault cause-effect graph. The causal subgraph is a subgraph extracted from the fault causal graph, centered on the root cause node, and extending to each edge containing the root cause node by a predetermined number of nodes.

3. The method of claim 2, wherein, The data flow detection operator initiates a reverse topological root cause search for the target data flow topology associated with the target service topology to determine the root cause node of the target alarm event, including: Based on the data stream detection operator, a reverse topological order root cause search is initiated for the target data stream topology to determine the search root cause result of the target alarm event. The search root cause result includes the search root cause node, as well as the node status and node data status of each search node corresponding to the reverse topological order root cause search. Before associating the root cause node as the mounting node for the target alarm event and linking the target alarm event to the fault cause-effect graph, the method further includes: The search root cause results are associated with the target alarm event.

4. The method of claim 3, wherein, The root cause search results also include: abnormal indicator information related to the root cause node, which includes the status log of the data flow operator corresponding to the root cause node, the pre- and post-processing results of the data, and the status of related middleware.

5. The method of claim 1, wherein, Based on the fault cause-effect graph and the target alarm set, at least one alarm event is generated, including: Determine the mounting node corresponding to each alarm data in the target alarm set to obtain the mounting node set; The set of mounted nodes is classified to obtain at least one set of sub-mounted nodes, and the mounted nodes included in each set of sub-mounted nodes have the highest similarity in the tracing path on the fault cause-effect graph. Based on the first set of mounted nodes, a reverse topological traversal is performed on the fault cause-effect graph to determine the ancestor set corresponding to each mounted node, thereby obtaining multiple ancestor sets corresponding to the first set of mounted nodes. The ancestor set includes the corresponding mounted node and all nodes upstream of the mounted node. The first set of mounted nodes is any one of the at least one set of mounted nodes. Find the global intersection of the multiple ancestor sets to obtain the ancestor intersection set; In the ancestor intersection set, the node closest to the first child-mounted node set is selected in reverse topological order to obtain the first root node of the first child-mounted node set; Based on the first set of sub-mounted nodes and the first root node, a first alarm event corresponding to the first set of sub-mounted nodes is generated. The root node included in the first alarm event is the first root node, and the sub-alarm set included in the first alarm event is the sub-alarm set corresponding to the first set of sub-mounted nodes.

6. The method of claim 1, wherein, After outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: In response to user input regarding the target resolution result of the target handling steps, a target historical alarm event is generated, which includes the target alarm event, the target actual root cause node, the target handling steps, and the target resolution result; The target historical alarm events are attached to the target actual root cause node in the fault cause-effect graph.

7. The method of claim 1, wherein, After outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: In response to user input regarding the target resolution result of the target handling steps, a target historical alarm event is generated, which includes the target alarm event, the target actual root cause node, the target handling steps, and the target resolution result; The target historical alarm events are stored in the historical event vector library.

8. The method of claim 1, wherein, After outputting the target actual root cause node and target handling steps corresponding to the target alarm event, the method further includes: Based on the fault propagation probability update formula, the fault propagation probability corresponding to each edge on the propagation path from the target alarm event is updated.

9. The method of claim 1, wherein, The step of inputting the causal subgraph, the topological subgraph, and the historical case information into the large language model, and outputting the target actual root cause node and target handling steps corresponding to the target alarm event, includes: The causal subgraph, the topological subgraph, and the historical case information are serialized to obtain a global knowledge subgraph. The global knowledge subgraph is input into the large language model, which outputs the target's actual root cause node and the target's handling steps.

10. A traffic alert event root cause analysis device, characterized by, include: The controller is configured to acquire a set of target alarms to be processed reported by the traffic monitoring system. The set of target alarms includes multiple alarm data, each alarm data including alarm source, alarm content, and alarm time. Based on the fault cause-effect graph and the target alarm set, at least one alarm event is generated. Different alarm events correspond to different faults. Each alarm event includes the root node of the corresponding fault, a sub-alarm set, the cumulative propagation probability on the propagation path, and the scope of impact. The fault cause-effect graph is constructed based on the business topology graph and data flow topology graph of the traffic monitoring system. The fault cause-effect graph includes a node set, an edge set, and a propagation probability set. The node set includes business nodes and data flow nodes. The edge set includes topological edges between business nodes, topological edges between data flow nodes, and binding edges between data flow nodes and the business nodes they serve. The propagation probability set includes the fault propagation probability corresponding to each edge in the edge set. Based on the target alarm event, the fault cause-effect graph, and the historical event vector library, a cause-effect subgraph, a topology subgraph, and historical case information are generated; the cause-effect subgraph is a subgraph in the fault cause-effect graph associated with the target alarm event; the topology subgraph includes all subtrees in the fault cause-effect graph with the target root node of the target alarm event as the root node; The historical case information includes multiple historical alarm events in the historical event vector library that are most similar to the target alarm event, the similarity between each historical alarm event and the target alarm event, and the actual root cause node, handling steps, and resolution result corresponding to each historical alarm event; the target alarm event is any one of the at least one alarm event; Input the causal subgraph, the topological subgraph, and the historical case information into the large language model, and output the target actual root cause node and target handling steps corresponding to the target alarm event.