A method and device for intelligent operation and maintenance-based causal analysis, and a medium

By identifying and protecting the causal dependencies of the cloud platform, constructing a consensus causal graph and calculating causal strength parameters, the problems of inconsistent causal graph structures and incomparable cross-domain causal strength are solved, improving the accuracy of anomaly attribution in intelligent operation and maintenance and supporting enterprise-level fault management.

CN122395015APending Publication Date: 2026-07-14北京远舢智能科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610498848.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-04-15
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Existing federated learning + AIOps solutions are insufficient in terms of consistency of causal graph structure and alignment of cross-domain causal strength, which makes it impossible to achieve interpretable root cause reasoning and difficult to meet the actual application needs of enterprise intelligent operation and maintenance.

Method used

By receiving raw telemetry data from various cloud platforms, the system identifies directed causal dependencies between variables, generates graph structure information and performs differential privacy protection, aggregates local causal structure information, constructs a consensus causal graph, calculates causal strength parameters, and generates a causal analysis report when system anomalies are detected.

Benefits of technology

It achieves the construction of highly consistent consensus causal graphs and quantifiable alignment of global causal strength estimation, improving the accuracy of anomaly attribution in intelligent operation and maintenance, and supporting compliant, reliable, and efficient fault management in enterprise-level hybrid cloud scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122395015A_ABST
    Figure CN122395015A_ABST
Patent Text Reader

Abstract

The application provides a kind of based on intelligent operation and maintenance's causal analysis method, device, equipment and medium, receive the original telemetry data of each cloud platform, the directed causal dependence relationship between variables is identified based on the original telemetry data, generate the graph structure information of local causal structure, and the graph structure information is differentially private protection processing, to output the local causal structure information after adding noise;Based on the aggregation weight of each cloud platform, the local causal structure information is aggregated, and the consensus causal graph is obtained, and the causal strength parameter is determined based on the consensus causal graph;When detecting system exception, based on the consensus causal graph and the causal strength parameter, the root cause score of each entity in consensus causal graph is calculated, the main root cause entity is identified based on the root cause score of each entity ordering, and a causal analysis report is generated according to the main root cause entity. Through the method and device, the accuracy of abnormal attribution in intelligent operation and maintenance is significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent operation and maintenance technology, and in particular to a causal analysis method, apparatus, equipment and medium based on intelligent operation and maintenance. Background Technology

[0002] With the popularization of cloud computing technology, enterprises are adopting multi-cloud and hybrid cloud architectures to carry out business. One of the core requirements of intelligent operations and maintenance (AIOps) is to realize explainable root cause reasoning after anomaly detection, so as to quickly locate the source of the fault and ensure the stable operation of business.

[0003] To address the anomaly detection problem in AIOps, Federated Learning (FL) has been applied to this field, offering the advantage of model training without sharing raw data. However, existing Federated Learning + AIOps solutions are imperfect, remaining at the level of simple statistical aggregation—that is, only performing basic statistical summaries on the data from each node—without solving two key problems: the consistency of the causal graph structure and the alignment of cross-domain causal strength. This prevents these solutions from achieving interpretable root cause reasoning; even if anomalies are detected, it is difficult to explain the cause and propagation logic of the anomalies.

[0004] In summary, the core technical problem with existing technologies is that although federated learning has been applied to anomaly detection scenarios in the AIOps field, existing technical solutions have failed to effectively solve the key issues of consistency of causal graph structure and alignment of cross-domain causal strength, thus failing to support interpretable root cause reasoning and making it difficult to meet the actual application needs of enterprise intelligent operation and maintenance. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a causal analysis method, device, equipment and medium based on intelligent operation and maintenance. Under the premise of strictly ensuring that the original telemetry data does not leave the domain and satisfying differential privacy, it realizes the construction of a highly consistent consensus causal graph, the estimation of global causal strength that can be quantified and aligned, and the accurate root cause location based on counterfactual intervention and multidimensional credibility weighting, which significantly improves the accuracy of anomaly attribution in intelligent operation and maintenance.

[0006] In a first aspect, embodiments of this application provide a causal analysis method based on intelligent operation and maintenance, the causal analysis method comprising: The system receives raw telemetry data from various cloud platforms, identifies directed causal dependencies between variables based on the raw telemetry data, generates graph structure information representing the local causal structure, and performs differential privacy protection processing on the graph structure information to output noisy local causal structure information. Based on the aggregation weights of each cloud platform, the local causal structure information is aggregated to obtain a consensus causal graph, and the causal strength parameter is determined based on the consensus causal graph. When a system anomaly is detected, the root cause score of each entity in the consensus causal graph is calculated based on the consensus causal graph and the causal strength parameter. The main root cause entities are identified by ranking based on the root cause scores of each entity, and a causal analysis report is generated based on the main root cause entities.

[0007] Furthermore, the step of identifying directed causal dependencies between variables based on raw telemetry data and generating graph structure information representing the local causal structure includes: For each observation variable in the original telemetry data, pairwise combinations are made, the HSIC statistic of the observation variable pair is calculated, and it is compared with a preset threshold. Observation variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs. For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence. A directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

[0008] Furthermore, the differential privacy protection processing of the graph structure information to output noisy local causal structure information includes: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplace noise based on the preset privacy algorithm and the sensitivity; Laplacian noise conforming to the scale parameters is superimposed on the graph structure information to generate noisy local causal structure information.

[0009] Furthermore, the aggregation of the local causal structure information based on the aggregation weights of each cloud platform to obtain a consensus causal graph includes: The local causal structure information is subjected to structure normalization processing. According to the aggregation weight of each cloud platform, the normalized local causal structure information is subjected to weighted aggregation operation. For graph nodes with the same identifier and graph edges with the same dependency relationship in each local causal structure, the weighted sum is performed according to the aggregation weight of the corresponding cloud platform to obtain the aggregated node attribute value and edge dependency strength value. The weighted aggregated data is filtered for validity, and invalid nodes and edges whose node attribute values ​​and edge dependency strength values ​​exceed the preset reasonable range are removed. Data deviations generated during the aggregation process are also corrected. The consensus causal graph structure is constructed based on the filtered and corrected aggregated data to obtain the consensus causal graph. Furthermore, based on the consensus causal graph and the causal strength parameter, the root cause score of each entity in the consensus causal graph is calculated; the main root cause entities are identified by ranking based on the root cause scores of each entity; and a causal analysis report is generated based on the main root cause entities, including: For each entity, the change in the indicator after intervention is calculated based on the observed values ​​of that entity. The root cause score of an entity is obtained by comprehensively weighting the change in the indicator with the degree of betweenness centrality of the entity in the consensus causal graph, the time difference between the time when the entity's indicator anomaly occurs and the time when the system as a whole is triggered by an anomaly, and the stability of the entity as a root cause in the past federated training rounds. Sort all entities by root cause scores from highest to lowest, and select entities with scores exceeding a preset threshold as primary root cause entities. Starting from the primary root cause entity, a forward traversal is performed along the directed edges in the consensus causal graph to identify all causal paths that start from the primary entity and end at the anomalous entity. For each causal path, the influence strength of the causal path is calculated based on the causal strength parameters corresponding to each causal edge on the path. Multiple complete paths are sorted from high to low according to their impact intensity, and at least one causal path is identified as the key causal path according to the sorting. The causal analysis report is then generated using the key causal path.

[0010] Secondly, embodiments of this application also provide a causal analysis device based on intelligent operation and maintenance, the causal analysis device comprising: The structure information generation module is used to receive raw telemetry data from various cloud platforms, identify directed causal dependencies between variables based on the raw telemetry data, generate graph structure information representing the local causal structure, and perform differential privacy protection processing on the graph structure information to output the local causal structure information with added noise. The causal strength parameter determination module is used to aggregate the local causal structure information based on the aggregation weight of each cloud platform to obtain a consensus causal graph, and determine the causal strength parameter based on the consensus causal graph. The causal analysis report generation module is used to calculate the root cause score of each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter when a system anomaly is detected, sort and identify the main root cause entities based on the root cause scores of each entity, and generate a causal analysis report based on the main root cause entities.

[0011] Furthermore, when the structure information generation module is used to identify directed causal dependencies between variables based on the original telemetry data and generate graph structure information representing the local causal structure, the structure information generation module is also used to: For each observation variable in the original telemetry data, pairwise combinations are made, the HSIC statistic of the observation variable pair is calculated, and it is compared with a preset threshold. Observation variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs. For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence. A directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

[0012] Furthermore, when the causal strength parameter determination module performs differential privacy protection processing on the graph structure information to output noisy local causal structure information, the causal strength parameter determination module is also used for: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplace noise based on the preset privacy algorithm and the sensitivity; Laplacian noise conforming to the scale parameters is superimposed on the graph structure information to generate noisy local causal structure information.

[0013] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the memory via the bus, and when the machine-readable instructions are executed by the processor, the steps of the xx method described above are performed.

[0014] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the xx method described above.

[0015] This application provides a causal analysis method, apparatus, device, and medium based on intelligent operation and maintenance. First, it receives raw telemetry data from various cloud platforms, identifies directed causal dependencies between variables based on the raw telemetry data, generates graph structure information representing the local causal structure, and performs differential privacy protection processing on the graph structure information to output noisy local causal structure information. Then, based on the aggregation weights of each cloud platform, it aggregates the local causal structure information to obtain a consensus causal graph, and determines causal strength parameters based on the consensus causal graph. Finally, when a system anomaly is detected, based on the consensus causal graph and the causal strength parameters, it calculates the root cause score of each entity in the consensus causal graph, identifies the main root cause entities based on the root cause scores of each entity, and generates a causal analysis report based on the main root cause entities.

[0016] This application addresses three major technical challenges in multi-cloud environments: inconsistent causal graph structures, incomparable cross-domain causal strength, and lack of interpretability in root cause reasoning caused by data silos across platforms. By integrating federated learning, differential privacy, and structural causal modeling, this application achieves highly consistent consensus causal graph construction, quantifiable and aligned global causal strength estimation, and precise root cause localization based on counterfactual intervention and multi-dimensional credibility weighting. This significantly improves the accuracy of anomaly attribution in intelligent operations and maintenance, effectively supporting compliant, reliable, and efficient fault management in enterprise-level hybrid cloud scenarios.

[0017] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 A flowchart illustrating a causal analysis method based on intelligent operation and maintenance provided in an embodiment of this application; Figure 2 A schematic diagram of the structure of a cause-effect analysis device based on intelligent operation and maintenance provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.

[0021] First, the applicable application scenarios for this application will be introduced. This application can be applied to the field of intelligent operation and maintenance technology.

[0022] With the popularization of cloud computing technology, enterprises are adopting multi-cloud and hybrid cloud architectures to carry out business. One of the core requirements of intelligent operations and maintenance (AIOps) is to realize explainable root cause reasoning after anomaly detection, so as to quickly locate the source of the fault and ensure the stable operation of business.

[0023] To address the anomaly detection problem in AIOps, Federated Learning (FL) has been applied to this field, offering the advantage of model training without sharing raw data. However, research has revealed that existing Federated Learning + AIOps solutions are incomplete, remaining at a simple statistical aggregation level—that is, only performing basic statistical summaries of data from each node—and failing to address two key issues: the consistency of the causal graph structure and the alignment of cross-domain causal strength. This prevents these solutions from achieving interpretable root cause reasoning; even when anomalies are detected, it is difficult to explain the cause and propagation logic of the anomalies.

[0024] In summary, the core technical problem with existing technologies is that although federated learning has been applied to anomaly detection scenarios in the AIOps field, existing technical solutions have failed to effectively solve the key issues of consistency of causal graph structure and alignment of cross-domain causal strength, thus failing to support interpretable root cause reasoning and making it difficult to meet the actual application needs of enterprise intelligent operation and maintenance.

[0025] Based on this, the embodiments of this application provide a causal analysis method based on intelligent operation and maintenance, which significantly improves the accuracy of anomaly attribution in intelligent operation and maintenance.

[0026] Please see Figure 1 , Figure 1 This is a flowchart illustrating a causal analysis method based on intelligent operation and maintenance provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the causal analysis method includes: S101: Receive raw telemetry data from various cloud platforms, identify directed causal dependencies between variables based on the raw telemetry data, generate graph structure information representing the local causal structure, and perform differential privacy protection processing on the graph structure information to output noisy local causal structure information.

[0027] Regarding step S101 above, in specific implementation, raw telemetry data from each cloud platform is received. Based on the raw telemetry data, directed causal dependencies between variables are identified, and graph structure information representing the local causal structure is generated. Specifically, in step S101, local causal discovery (Privacy-Preserving Causal Discovery) is performed. Raw telemetry data from each cloud platform, such as traces, metrics, and logs, are input. Causal discovery based on an additive noise model (ANM-LiNGAM) is used to extract a directed acyclic graph (DAG), and a local causal adjacency matrix is ​​output. , where d is the entity dimension (Pod, Service, Node, etc.). Then, differential privacy protection processing is performed on the graph structure information to output noisy local causal structure information.

[0028] As an optional embodiment, regarding step S101 above, the step of identifying directed causal dependencies between variables based on the original telemetry data and generating graph structure information representing the local causal structure includes: Step 1011: Combine each observed variable in the original telemetry data in pairs, calculate the HSIC statistic of the observed variable pair, and compare it with a preset threshold. Observed variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs.

[0029] Regarding step 1011 above, in specific implementation, the HSIC kernel independence test is used to screen potential causal variables. Each observed variable in the original telemetry data is paired, the HSIC statistic of the observed variable pair is calculated, and it is compared with a preset threshold. Observed variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs.

[0030] Step 1012: For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence.

[0031] Regarding step 1012 above, in specific implementation, the causal order of variables is identified based on the non-Gaussianity assumption. For all potential causal variable pairs, the non-Gaussianity measure of each observed variable is calculated, and the observed variables are sorted in descending order of the non-Gaussianity measure to obtain the causal order sequence.

[0032] Step 1013: Construct a directed acyclic graph based on the causal sequence, and output the binarized adjacency matrix corresponding to the directed acyclic graph as the graph structure information.

[0033] Regarding step 1013 above, in specific implementation, a directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

[0034] As an optional embodiment, regarding step S101 above, the differential privacy protection processing of the graph structure information to output noisy local causal structure information includes: A: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplacian noise based on the preset privacy algorithm and the sensitivity.

[0035] B: Add Laplacian noise conforming to the scale parameters to the graph structure information to generate noisy local causal structure information.

[0036] Regarding step A above, in specific implementation, the sensitivity of the graph structure information is determined, and the scale parameter of the Laplacian noise is calculated based on a preset privacy algorithm and the sensitivity. Then, the Laplacian noise conforming to the scale parameter is superimposed on the graph structure information to generate noisy local causal structure information. Specifically, differential privacy noise is applied to... Adding Laplace noise to the matrix yields the noise scale:

[0037]

[0038] in, For the sensitivity of the cause-effect graph, To budget for privacy, control the level of privacy protection. This is the causal adjacency matrix after adding noise.

[0039] Simultaneously, sparsification is performed: only causal relationships with significance greater than the threshold τ are retained, and zero-knowledge proofs are performed: proof of the correctness of the causal graph is generated without exposing the original data.

[0040] S102, based on the aggregation weights of each cloud platform, the local causal structure information is aggregated to obtain a consensus causal graph, and the causal strength parameter is determined based on the consensus causal graph.

[0041] Regarding step S102 above, in specific implementation, the local causal structure information is aggregated based on the aggregation weight of each cloud platform to obtain a consensus causal graph, and the causal strength parameter is determined based on the consensus causal graph.

[0042] As an optional embodiment, regarding step S102 above, the aggregation of the local causal structure information based on the aggregation weights of each cloud platform to obtain a consensus causal graph includes: Step 1021: Perform structure normalization processing on the local causal structure information. According to the aggregation weight of each cloud platform, perform weighted aggregation operation on the normalized local causal structure information. For graph nodes with the same identifier and graph edges with the same dependency relationship in each local causal structure, perform weighted summation according to the aggregation weight of the corresponding cloud platform to obtain the aggregated node attribute value and edge dependency strength value.

[0043] Step 1022: Perform validity screening on the weighted aggregated data, remove invalid nodes and invalid edges whose node attribute values ​​and edge dependency strength values ​​exceed the preset reasonable range after aggregation, and correct the data deviations generated during the aggregation process.

[0044] Step 1023: Construct a causal graph structure based on the filtered and corrected aggregated data to obtain the consensus causal graph.

[0045] Specifically, the FedCausal aggregation algorithm is used, with the objective function being:

[0046] Where SHD is the structural Hamming distance. The client-side credibility weight (dynamically adjusted based on data volume and label consistency) is calculated using the following formula:

[0047] in, For the node in the causal graph of client i The edge. The state (0 / 1) of the corresponding edge in the global consensus graph is used. A differential privacy mechanism is introduced. right Add noise to prevent member inference attacks. SHD(·): Structural Hamming Distance, measures the structural differences in the graph; w_i: Dynamic Weight = α·Data Quality + β·Historical Consistency + γ·Label Alignment; R(·): Sparse Regularization, encourages concise causal structures.

[0048] Client weights are dynamically adjusted using the following formula:

[0049] The sliding window mechanism is introduced to avoid weight oscillations. The client detects data distribution drift and dynamically adjusts the weights. The sliding window mechanism is as follows:

[0050] Formulas for calculating each component: Data quality score:

[0051] Consistency score: 。

[0052] in, For the client Based on predictions made on the validation set by the local model.

[0053] Historical contributions:

[0054] Among them, the temperature parameter is To control the smoothness of the weight distribution The larger the weight, the more evenly weighted the distribution.

[0055] Weighting calculation strategy:

[0056] The definitions and data volume percentages of each component are expressed by the following formula:

[0057] in, For the client The number of local data samples. Used to reward clients with abundant data.

[0058] Label consistency is expressed by the following formula:

[0059] in, For the client Predicted labels on the validation set. The global true label is used to measure the generalization ability of the client's local model.

[0060] Historical contributions are expressed by the following formula:

[0061] in, Indicates client The causal diagram and the first The structure of the global graph is represented by the Hamming distance. Using a distance threshold, the number of rounds with similar graph structures in historical rounds is accumulated to encourage stable contributions.

[0062] The verification pass rate, used to defend against malicious clients uploading forged cause-effect graphs, is expressed by the following formula:

[0063] Furthermore, causal strength is extracted by causal strength alignment in the following manner. : Each client in the consensus graph Retrain the structural equation model (SEM) and extract causal strength. .

[0064] Details of the causal strength parameters include: Linear SEM: Includes path coefficient matrix Nonlinear extension: using neural network parameterization Uncertainty quantification: Each parameter is accompanied by a confidence interval. .

[0065] The global causality parameters are obtained by aligning causal strengths using a federated weighted average (FedAvg). .

[0066] In this stage, Bayesian causality strength estimation is introduced:

[0067] in; This represents the local causal strength parameter, the strength value of each edge in the causal graph of the client-side II, indicating the degree of causal influence between variables; This represents local observation data, from the client. The time-series observation data held includes indicators, logs, and tracking data; Represents a global consensus causal graph, and the directed acyclic graph (DAG) obtained after federated aggregation represents a cross-domain consistent causal relationship structure; This represents the posterior distribution, the probability distribution of causal strength given observed data and a global causal graph. This represents the likelihood function, which, given the causal structure and strength, represents the likelihood of observed data. The probability of; This represents the prior distribution, prior knowledge of the causal strength, and the sparsity assumption.

[0068] Verification using variational inference approximation The output is:

[0069] in, Let represent the variational posterior distribution and the probability density function. represents a multivariate Gaussian distribution, and represents the probability distribution of the causal strength parameter; represents the posterior mean vector, and the expected causal strength of client ii; Let represent the posterior covariance matrix, which represents the uncertainty of causal strength. The diagonal represents the variance, and the off-diagonal represents the correlation between parameters.

[0070] When performing federated aggregation, use Bayesian model averaging (BMA):

[0071] in, This represents the global causal strength parameter, while the causal strength after federation alignment represents the degree of consistent causal influence across domains. This represents the collection of data from all clients, and the local data from all participants. This represents the global posterior distribution, the probability distribution of causal strength after integrating information from all clients, and the probability density function. Indicates client weight, client The contribution in the federated aggregation is obtained by the weighting calculation strategy; Represents the client's posterior distribution, client The local causal strength distribution and probability density function.

[0072] Furthermore, quality assessment metrics for causal strength alignment include: Alignment consistency score:

[0073] in, Indicates client The causal strength matrix; Represents the globally aligned causal strength matrix; · represents the Frobenius norm, with values ​​≥ 0, and indicates the overall difference of the matrix; This indicates the number of clients participating in the alignment, ranging from 1 to 100, representing the number of participants in the federated learning process.

[0074] Causal stability index:

[0075] in, Indicates the length of the time window, the total number of time steps for evaluating stability, and its value ranges from [2, 1000]. This represents the current time index, the t-th observation, with a value range of [1, T]. This represents the causal intensity matrix at time t, and the causal effect value at the current time, with a value range of [-1, 1]. This represents the causal intensity matrix of the previous time step, with values ​​ranging from [-1, 1]. This represents the causal direction at time t, and the direction state of all causal edges.

[0076] Prediction consistency:

[0077] in; This represents the predicted value for client i, based on the prediction from the alignment model; ) represents the Pearson correlation coefficient, with a value range of [-1, 1], indicating predictive consistency; This indicates the number of clients participating in the alignment, ranging from 1 to 100, representing the number of participants in the federated learning process.

[0078] S103, when a system anomaly is detected, the root cause score of each entity in the consensus causal graph is calculated based on the consensus causal graph and the causal strength parameter. The main root cause entities are identified by ranking based on the root cause scores of each entity, and a causal analysis report is generated based on the main root cause entities.

[0079] Regarding step S103 above, in specific implementation, when a system anomaly is detected, the root cause score of each entity in the consensus causal graph is calculated based on the consensus causal graph and the causal strength parameter. The main root cause entities are identified by ranking based on the root cause scores of each entity, and a causal analysis report is generated based on the main root cause entities.

[0080] As an optional embodiment, regarding step S103 above, the step of calculating the root cause score of each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter, identifying the main root cause entities based on the root cause scores of each entity, and generating a causal analysis report based on the main root cause entities includes: Step 1031: For each entity, calculate the change in the indicator after intervention based on the observed values ​​of that entity using simulation.

[0081] Step 1032: The change in the indicator is weighted by the degree of the entity's betweenness centrality in the consensus causal graph, the time difference between the time when the entity's indicator anomaly occurs and the time when the system as a whole is triggered by an anomaly, and the stability of the entity being identified as a root cause in the past federated training rounds, to obtain the root cause score of the entity.

[0082] When an anomaly occurs, the system is based on ( Implement counterfactual intervention.

[0083]

[0084] The higher the score, the more likely the entity is to be the root cause.

[0085] The formula for calculating root cause scores has been expanded to:

[0086] in, The degree of improvement in system indicators after intervention is calculated using the following formula:

[0087] Centrality of nodes in a causal graph Time priority score, calculated based on the time difference of anomaly occurrence.

[0088] Causal stability score, calculated based on historical root cause consistency.

[0089] The weighting coefficients are optimized and tuned using grid search or Bayesian methods.

[0090] Step 1033: Sort all entities by root cause scores from high to low, and select entities with scores exceeding a preset threshold as primary root cause entities.

[0091] Step 1034: Starting from the primary root cause entity, perform a forward traversal along the directed edges in the consensus causal graph to identify all causal paths that start from the primary root cause entity and end at the anomalous entity.

[0092] Regarding steps 1033-1034 above, in specific implementation, all entities are sorted from highest to lowest root cause score, and entities with scores exceeding a preset threshold are selected as primary root cause entities. Starting from the root cause, propagation proceeds along the causal edges. Taking the primary root cause entity as the starting point, a forward traversal is performed along the directed edges in the consensus causal graph to identify all causal paths that start from this starting point and end at an anomalous entity.

[0093] Step 1035: For each causal path, calculate the influence intensity of the causal path based on the causal intensity parameters corresponding to each causal edge on the path.

[0094] Regarding step 1035 above, in practical implementation, for each causal path, the influence strength of the causal path is calculated based on the causal strength parameters corresponding to each causal edge on the path. Specifically, the influence strength of the causal path is the product of the causal strengths on the path.

[0095] Step 1036: Sort the multiple complete paths from high to low according to their impact intensity, determine at least one causal path as the key causal path according to the sorting, and generate the causal analysis report using the key causal path.

[0096] Regarding step 1036 above, in specific implementation, multiple complete paths are sorted from high to low according to their impact intensity, and at least one causal path is determined as a key causal path according to the sorting, and the causal analysis report is generated using the key causal path.

[0097] As an optional implementation, after generating the causal analysis report, privacy and compliance mechanisms are also supported. Specifically, the data does not leave the domain; only the causal graph structure and model parameters are uploaded, not the raw logs. Noise is added to the graph structure and causal strength, and an adjustable privacy budget is supported. The uploaded structure is verified using zero-knowledge proofs (zk-SNARK) to prevent malicious clients from forging causal graphs. All federated rounds are written to an immutable log (such as a blockchain) to support post-event compliance auditing.

[0098] The causal analysis method based on intelligent operation and maintenance provided in this application first receives raw telemetry data from various cloud platforms, identifies directed causal dependencies between variables based on the raw telemetry data, generates graph structure information representing the local causal structure, and performs differential privacy protection processing on the graph structure information to output noisy local causal structure information; then, based on the aggregation weights of each cloud platform, the local causal structure information is aggregated to obtain a consensus causal graph, and causal strength parameters are determined based on the consensus causal graph; finally, when a system anomaly is detected, the root cause score of each entity in the consensus causal graph is calculated based on the consensus causal graph and the causal strength parameters, the main root cause entities are identified by ranking based on the root cause scores of each entity, and a causal analysis report is generated based on the main root cause entities.

[0099] This application addresses three major technical challenges in multi-cloud environments: inconsistent causal graph structures, incomparable cross-domain causal strength, and lack of interpretability in root cause reasoning caused by data silos across platforms. By integrating federated learning, differential privacy, and structural causal modeling, this application achieves highly consistent consensus causal graph construction, quantifiable and aligned global causal strength estimation, and precise root cause localization based on counterfactual intervention and multi-dimensional credibility weighting. This significantly improves the accuracy of anomaly attribution in intelligent operations and maintenance, effectively supporting compliant, reliable, and efficient fault management in enterprise-level hybrid cloud scenarios.

[0100] Please see Figure 2 , Figure 2 This is a schematic diagram of a causal analysis device based on intelligent operation and maintenance, provided as an embodiment of this application. Figure 2 As shown, the causal analysis device 200 includes: The structure information generation module 201 is used to receive raw telemetry data from various cloud platforms, identify directed causal dependencies between variables based on the raw telemetry data, generate graph structure information representing the local causal structure, and perform differential privacy protection processing on the graph structure information to output the local causal structure information with added noise. The causal strength parameter determination module 202 is used to aggregate the local causal structure information based on the aggregation weight of each cloud platform to obtain a consensus causal graph, and determine the causal strength parameter based on the consensus causal graph. The causal analysis report generation module 203 is used to calculate the root cause score of each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter when a system anomaly is detected, sort and identify the main root cause entities based on the root cause scores of each entity, and generate a causal analysis report based on the main root cause entities.

[0101] Furthermore, when the structure information generation module 201 is used to identify directed causal dependencies between variables based on the original telemetry data and generate graph structure information representing the local causal structure, the structure information generation module 201 is also used to: For each observation variable in the original telemetry data, pairwise combinations are made, the HSIC statistic of the observation variable pair is calculated, and it is compared with a preset threshold. Observation variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs. For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence. A directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

[0102] Furthermore, when the structure information generation module 201 performs differential privacy protection processing on the graph structure information to output noisy local causal structure information, the structure information generation module 201 is also used for: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplace noise based on the preset privacy algorithm and the sensitivity; Laplacian noise conforming to the scale parameters is superimposed on the graph structure information to generate noisy local causal structure information.

[0103] Furthermore, when the causal strength parameter determination module 202 aggregates the local causal structure information based on the aggregation weights of each cloud platform to obtain a consensus causal graph, the causal strength parameter determination module 202 is also used for: The local causal structure information is subjected to structure normalization processing. According to the aggregation weight of each cloud platform, the normalized local causal structure information is subjected to weighted aggregation operation. For graph nodes with the same identifier and graph edges with the same dependency relationship in each local causal structure, the weighted sum is performed according to the aggregation weight of the corresponding cloud platform to obtain the aggregated node attribute value and edge dependency strength value. The weighted aggregated data is filtered for validity, and invalid nodes and edges whose node attribute values ​​and edge dependency strength values ​​exceed the preset reasonable range are removed. Data deviations generated during the aggregation process are also corrected. The consensus causal graph structure is constructed based on the filtered and corrected aggregated data to obtain the consensus causal graph.

[0104] Furthermore, when the causal analysis report generation module 203 is used to calculate the root cause score of each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter, sort and identify the main root cause entities based on the root cause scores of each entity, and generate a causal analysis report based on the main root cause entities, the causal analysis report generation module 203 is also used to: For each entity, the change in the indicator after intervention is calculated based on the observed values ​​of that entity. The root cause score of an entity is obtained by comprehensively weighting the change in the indicator with the degree of betweenness centrality of the entity in the consensus causal graph, the time difference between the time when the entity's indicator anomaly occurs and the time when the system as a whole is triggered by an anomaly, and the stability of the entity as a root cause in the past federated training rounds. Sort all entities by root cause scores from highest to lowest, and select entities with scores exceeding a preset threshold as primary root cause entities. Starting from the primary root cause entity, a forward traversal is performed along the directed edges in the consensus causal graph to identify all causal paths that start from the primary entity and end at the anomalous entity. For each causal path, the influence strength of the causal path is calculated based on the causal strength parameters corresponding to each causal edge on the path. Multiple complete paths are sorted from high to low according to their impact intensity, and at least one causal path is identified as the key causal path according to the sorting. The causal analysis report is then generated using the key causal path.

[0105] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device 300 includes a processor 310, a memory 320, and a bus 330.

[0106] The memory 320 stores machine-readable instructions executable by the processor 310. When the electronic device 300 is running, the processor 310 and the memory 320 communicate via the bus 330. When the machine-readable instructions are executed by the processor 310, they can perform the operations described above. Figure 1 The steps of the cause-effect analysis method based on intelligent operation and maintenance in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.

[0107] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 The steps of the cause-effect analysis method based on intelligent operation and maintenance in the method embodiment shown are described in detail in the method embodiment, and will not be repeated here.

[0108] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0111] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0112] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0113] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A causal analysis method based on intelligent operation and maintenance, characterized in that, The causal analysis method includes: The system receives raw telemetry data from various cloud platforms, identifies directed causal dependencies between variables based on the raw telemetry data, generates graph structure information representing the local causal structure, and performs differential privacy protection processing on the graph structure information to output noisy local causal structure information. Based on the aggregation weights of each cloud platform, the local causal structure information is aggregated to obtain a consensus causal graph, and the causal strength parameter is determined based on the consensus causal graph. When a system anomaly is detected, the root cause score of each entity in the consensus causal graph is calculated based on the consensus causal graph and the causal strength parameter. The main root cause entities are identified by ranking based on the root cause scores of each entity, and a causal analysis report is generated based on the main root cause entities.

2. The causal analysis method according to claim 1, characterized in that, The process of identifying directed causal dependencies between variables based on raw telemetry data and generating graph structure information representing the local causal structure includes: For each observation variable in the original telemetry data, pairwise combinations are made, the HSIC statistic of the observation variable pair is calculated, and it is compared with a preset threshold. Observation variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs. For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence. A directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

3. The causal analysis method according to claim 1, characterized in that, The differential privacy protection processing of the graph structure information to output noisy local causal structure information includes: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplace noise based on the preset privacy algorithm and the sensitivity; Laplacian noise conforming to the scale parameters is superimposed on the graph structure information to generate noisy local causal structure information.

4. The causal analysis method according to claim 1, characterized in that, The aggregation of local causal structure information based on the aggregation weights of each cloud platform yields a consensus causal graph, including: The local causal structure information is subjected to structure normalization processing. According to the aggregation weight of each cloud platform, the normalized local causal structure information is subjected to weighted aggregation operation. For graph nodes with the same identifier and graph edges with the same dependency relationship in each local causal structure, the weighted sum is performed according to the aggregation weight of the corresponding cloud platform to obtain the aggregated node attribute value and edge dependency strength value. The weighted aggregated data is filtered for validity, and invalid nodes and edges whose node attribute values ​​and edge dependency strength values ​​exceed the preset reasonable range are removed. Data deviations generated during the aggregation process are also corrected. The consensus causal graph structure is constructed based on the filtered and corrected aggregated data to obtain the consensus causal graph.

5. The causal analysis method according to claim 1, characterized in that, The process involves calculating the root cause score for each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter, identifying the primary root cause entities based on their root cause scores, and generating a causal analysis report based on the primary root cause entities, including: For each entity, the change in the indicator after intervention is calculated based on the observed values ​​of that entity. The root cause score of an entity is obtained by comprehensively weighting the change in the indicator with the degree of betweenness centrality of the entity in the consensus causal graph, the time difference between the time when the entity's indicator anomaly occurs and the time when the system as a whole is triggered by an anomaly, and the stability of the entity as a root cause in the past federated training rounds. Sort all entities by root cause scores from highest to lowest, and select entities with scores exceeding a preset threshold as primary root cause entities. Starting from the primary root cause entity, a forward traversal is performed along the directed edges in the consensus causal graph to identify all causal paths that start from the primary entity and end at the anomalous entity. For each causal path, the influence strength of the causal path is calculated based on the causal strength parameters corresponding to each causal edge on the path. Multiple complete paths are sorted from high to low according to their impact intensity, and at least one causal path is identified as the key causal path according to the sorting. The causal analysis report is then generated using the key causal path.

6. A causal analysis device based on intelligent operation and maintenance, characterized in that, The causality analysis device includes: The structure information generation module is used to receive raw telemetry data from various cloud platforms, identify directed causal dependencies between variables based on the raw telemetry data, generate graph structure information representing the local causal structure, and perform differential privacy protection processing on the graph structure information to output the local causal structure information with added noise. The causal strength parameter determination module is used to aggregate the local causal structure information based on the aggregation weight of each cloud platform to obtain a consensus causal graph, and determine the causal strength parameter based on the consensus causal graph. The causal analysis report generation module is used to calculate the root cause score of each entity in the consensus causal graph based on the consensus causal graph and the causal strength parameter when a system anomaly is detected, sort and identify the main root cause entities based on the root cause scores of each entity, and generate a causal analysis report based on the main root cause entities.

7. The causal analysis device according to claim 6, characterized in that, When the structure information generation module is used to identify directed causal dependencies between variables based on raw telemetry data and generate graph structure information representing the local causal structure, the structure information generation module is also used for... For each observation variable in the original telemetry data, pairwise combinations are made, the HSIC statistic of the observation variable pair is calculated, and it is compared with a preset threshold. Observation variable pairs with HSIC statistics greater than the preset threshold are retained as potential causal variable pairs. For all potential causal variable pairs, calculate the non-Gaussianity measure of each observed variable, and sort the observed variables in descending order of the non-Gaussianity measure to obtain the causal order sequence. A directed acyclic graph is constructed based on the causal sequence, and the binarized adjacency matrix corresponding to the directed acyclic graph is output as the graph structure information.

8. The causal analysis device according to claim 6, characterized in that, When the causality strength parameter determination module performs differential privacy protection processing on the graph structure information to output noisy local causal structure information, the causality strength parameter determination module is further used for: Determine the sensitivity of the graph structure information, and calculate the scale parameter of the Laplace noise based on the preset privacy algorithm and the sensitivity; Laplacian noise conforming to the scale parameters is superimposed on the graph structure information to generate noisy local causal structure information.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. The machine-readable instructions are executed by the processor to perform the steps of the causal analysis method for intelligent operation and maintenance as described in any one of claims 1 to 5.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, performs the steps of the causal analysis method for intelligent operation and maintenance as described in any one of claims 1 to 5.