Method and device for determining root cause, storage medium and electronic equipment

By comprehensively analyzing the similarity and abnormality of monitoring indicators, combined with the anomaly detection algorithm model, the root cause in the operation and maintenance data is determined, which solves the problem of low accuracy of root cause analysis in the existing technology and realizes the identification of the root cause of the fault. Fast and precise positioning reduces the failure rate and service interruption time during operation and maintenance.

CN118748636APending Publication Date: 2024-10-08JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410733283.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

Existing root cause analysis methods have low accuracy in network operation and maintenance, cannot adapt to different scenarios and changes in operation and maintenance data distribution, and cannot respond to new operation and maintenance data in real time, resulting in low fault location efficiency and long service interruption time.

Method used

By comprehensively analyzing the similarity and abnormality of monitoring indicators, combined with the anomaly detection algorithm model, assigning abnormal patterns, adjusting weights to determine the root cause, the root cause of the fault can be quickly and accurately located.

Benefits of technology

It improves the accuracy and reliability of root cause analysis, reduces system failure rate and service interruption time, and improves operation and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118748636A_ABST
    Figure CN118748636A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for determining a root cause, a storage medium and electronic equipment, and the method comprises the steps: determining the operation and maintenance data of each monitoring index in a time history according to a collected operation and maintenance data set of a target operation and maintenance object; performing similarity analysis according to the operation and maintenance data of each monitoring index, and determining a monitoring index pair based on an analysis result; for each monitoring index pair, inputting corresponding operation and maintenance data forming the monitoring index pair in the time history into the anomaly detection algorithm model to obtain an anomaly analysis result; determining an abnormal mode of the monitoring index pair based on abnormal operation and maintenance data obtained from an abnormal analysis result, and carrying out weight assignment on the abnormal mode according to similarity analysis and an abnormal analysis result; and based on the number of the abnormal operation and maintenance data of each abnormal mode and the total number of the operation and maintenance data contained in the operation and maintenance data set, adjusting the weight assignment of each abnormal mode, and based on each abnormal mode of the adjusted weight assignment, determining the root cause. The determination accuracy of the root cause can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of fault detection, and in particular to a method, device, storage medium and electronic device for determining a root cause. Background Art

[0002] Network operation and maintenance involves multiple applications. The multiple services provided by each application may have relatively complex calling relationships. Therefore, during the network operation and maintenance process, if a service exception occurs, analyzing the cause of the exception, that is, performing exception analysis based on operation and maintenance data and determining the root cause, is an effective technical means to ensure the normal operation of network operation and maintenance.

[0003] In the related technology, the technical solutions for root cause analysis mainly include association rule mining, cluster analysis and Bayesian network analysis. Among them, association rule mining mines the correlation between abnormal phenomena and finds the root cause by analyzing the operation and maintenance data. However, in this method, the association rules generally only consider the key indicators of the operation and maintenance data for mining, resulting in the omission of some important features and related information in the operation and maintenance data, and the accuracy of the root cause obtained is low; cluster analysis groups similar operation and maintenance data together through clustering, and quickly identifies abnormal patterns in the operation and maintenance data based on clustering, thereby narrowing the scope of the problem. However, in this method, the clustering algorithm is a static algorithm and cannot adapt to different scenarios and changes in the distribution of operation and maintenance data, so that the accuracy of the root cause obtained by clustering is not high; Bayesian network analysis is based on the reasoning method of the probabilistic graph model, analyzes the causal relationship between multiple variables of the operation and maintenance data, and calculates the probability of different root causes in the operation and maintenance scenario. However, in this method, the probabilistic graph model is trained based on historical operation and maintenance data, and cannot respond to new operation and maintenance data in real time and quickly. There is delay and lag in processing real-time operation and maintenance data, which also reduces the accuracy of root cause analysis. Summary of the invention

[0004] In view of this, the present disclosure provides a method, apparatus, storage medium and electronic device for determining a root cause.

[0005] Specifically, the present disclosure is achieved through the following technical solutions:

[0006] According to a first aspect of the present disclosure, a method for determining a root cause is provided. The method for determining a root cause includes:

[0007] According to the acquired operation and maintenance data set of the target operation and maintenance object, determine the operation and maintenance data corresponding to each pre-set monitoring indicator over the time course;

[0008] According to the operation and maintenance data corresponding to each of the aforementioned monitoring indicators over the time course, a similarity analysis is performed on each of the aforementioned monitoring indicators, and a monitoring indicator pair is determined based on the similarity analysis result;

[0009] For each of the aforementioned monitoring indicator pairs, the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history are respectively input into a preset anomaly detection algorithm model to obtain an anomaly analysis result output by the aforementioned anomaly detection algorithm model;

[0010] Based on the abnormal operation and maintenance data obtained from the above abnormal analysis results, determine the abnormal mode of the above monitoring indicator pair, and assign weights to the above abnormal mode according to the above similarity analysis and the above abnormal analysis results;

[0011] Based on the number of abnormal operation and maintenance data corresponding to each of the aforementioned abnormal patterns and the total number of operation and maintenance data included in the aforementioned operation and maintenance data set, the weight assignment of each of the aforementioned abnormal patterns is adjusted, and the root cause is determined based on each of the aforementioned abnormal patterns with the adjusted weight assignment.

[0012] According to a second aspect of the present disclosure, a device for determining a root cause is provided, and the device for determining a root cause includes:

[0013] A data analysis module is used to determine the operation and maintenance data corresponding to each preset monitoring indicator over a time course based on the acquired operation and maintenance data set of the target operation and maintenance object;

[0014] A similarity analysis module, for performing similarity analysis on each of the aforementioned monitoring indicators according to the operation and maintenance data corresponding to each of the aforementioned monitoring indicators over a time course, and determining a monitoring indicator pair based on the similarity analysis result;

[0015] The anomaly analysis module is used to input the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history into a preset anomaly detection algorithm model for each of the aforementioned monitoring indicator pairs, and obtain the anomaly analysis results output by the aforementioned anomaly detection algorithm model;

[0016] An assignment module, used to determine the abnormal mode of the monitoring indicator pair based on the abnormal operation and maintenance data obtained from the abnormal analysis result, and to assign weights to the abnormal mode according to the similarity analysis and the abnormal analysis result;

[0017] The root cause determination module is used to adjust the weight assignment of each of the aforementioned abnormal modes based on the number of abnormal operation and maintenance data corresponding to each of the aforementioned abnormal modes and the total number of operation and maintenance data contained in the aforementioned operation and maintenance data set, and determine the root cause based on each of the aforementioned abnormal modes with the adjusted weight assignment.

[0018] According to a third aspect of the present disclosure, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the steps of the method for determining a root cause in any possible implementation manner of the first aspect are implemented.

[0019] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the method for determining a root cause in any possible implementation of the first aspect are implemented.

[0020] The fifth exemplary embodiment of the present disclosure further provides a computer program product. When the computer program code contained in the above computer program product is executed by the processor, the above method for determining the root cause is implemented. The above computer program product may include but is not limited to: a code snippet, a program package, a software product, etc. transmitted, distributed, downloaded, uploaded, and deployed in the form of a signal via the Internet.

[0021] The root cause determination scheme provided by the present disclosure collects the operation and maintenance data of the target operation and maintenance object, performs similarity analysis based on the operation and maintenance data corresponding to each monitoring indicator in the time history, and determines the monitoring indicator pair; then performs abnormal analysis based on the abnormal detection algorithm model, determines the abnormal mode based on the abnormal operation and maintenance data obtained from the abnormal analysis result, and assigns weights to the abnormal mode based on the similarity analysis and the abnormal analysis result; adjusts the weight assignment of each abnormal mode based on the number of abnormal operation and maintenance data corresponding to each abnormal mode and the total number of operation and maintenance data contained in the operation and maintenance data set, and determines the root cause based on each abnormal mode with the adjusted weight assignment. In this way, the abnormal mode is determined based on the abnormal operation and maintenance data, and the weight assignment of the abnormal mode is determined by combining the similarity analysis of the operation and maintenance data corresponding to the monitoring indicator with the abnormal degree analysis, and then the weight assignment of the abnormal mode is adjusted based on the probability of occurrence of abnormal operation and maintenance data of different abnormal modes, which can effectively improve the accuracy and reliability of the determined root cause, and then can realize the rapid and accurate positioning of the root cause of the fault, effectively reduce the failure rate and service interruption time of the target monitoring system, and improve the efficiency of operation and maintenance work. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0024] Figure 1 A flowchart of a method for determining a root cause provided by an embodiment of the present disclosure;

[0025] Figure 2A schematic diagram of a flow chart of obtaining an anomaly detection algorithm model in a method for determining a root cause provided in an embodiment of the present disclosure;

[0026] Figure 3 A schematic diagram of a device for determining a root cause provided by an embodiment of the present disclosure;

[0027] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0029] In the related art, the methods for determining the root cause in the network operation and maintenance process, whether based on association rule mining, cluster analysis, or Bayesian network analysis, are because the association rules only consider the key indicators of the operation and maintenance data, and the clustering algorithm is a static algorithm that cannot adapt to different scenarios and changes in the distribution of operation and maintenance data. Bayesian network analysis is trained based on historical operation and maintenance data and cannot respond to new operation and maintenance data in real time and quickly. There are delays and lags in processing real-time operation and maintenance data, which will lead to low accuracy of the determined root cause. Furthermore, in the operation and maintenance scenario, the operation and maintenance data is multi-dimensional, and there are more complex correlations between the multi-dimensional operation and maintenance data. Moreover, due to the low accuracy of the determined root cause, the accuracy of abnormality location based on the determined root cause is also low, which in turn makes the efficiency of eliminating the root cause low.

[0030] In this embodiment, a method for determining the root cause by performing comprehensive calculation based on the similarity and abnormality degree of operation and maintenance data is proposed. By combining the similarity analysis of the operation and maintenance data corresponding to the monitoring indicators with the abnormality degree analysis, a similarity analysis is performed on the monitoring indicators to obtain monitoring indicators that perform similarly under abnormal conditions, and an abnormality degree analysis is performed on the obtained monitoring indicators to evaluate the operation and maintenance data. A score is calculated for the abnormal pattern mapped to each monitoring indicator based on the evaluation result to reflect the degree of influence of the abnormal pattern on the system performance to determine the root cause. At the same time, by calculating the probability of occurrence of different abnormal patterns in the operation and maintenance data, the accuracy and reliability of the root cause analysis are improved, and thus, by combining technical means such as similarity analysis and abnormality degree analysis, the root cause of the fault is quickly and accurately located, effectively reducing the system failure rate and service interruption time, and improving the efficiency of operation and maintenance work.

[0031] See also Figure 1 , the present disclosure provides a method for determining a root cause, which may include the following steps:

[0032] S101, determining the operation and maintenance data corresponding to each preset monitoring indicator over a time course according to the acquired operation and maintenance data set of the target operation and maintenance object;

[0033] In this embodiment, the operation and maintenance data of the target operation and maintenance object in the target monitoring system is collected based on a preset time period, for example, the operation and maintenance data of the monitoring system is collected every hour, every day or every week in units of hours, days or weeks. The target operation and maintenance object may be a service provided by the target monitoring system, for example, an application program that needs to be monitored and runs in the target monitoring system. For each target operation and maintenance object, a corresponding operation and maintenance data set is set.

[0034] In this embodiment, the operation and maintenance data is obtained based on the time history, so that the change traces of the operation and maintenance data can be more intuitively obtained.

[0035] In this embodiment, in order to facilitate the management of the operation and maintenance data set, as an optional embodiment, the method further includes:

[0036] Pre-setting operation and maintenance data categories in the aforementioned operation and maintenance data set, and under each of the aforementioned operation and maintenance data categories, setting one or more monitoring indicator subcategories corresponding to the operation and maintenance data category;

[0037] Determine the aforementioned monitoring indicator subcategory corresponding to the collected operation and maintenance data, and store the operation and maintenance data in the corresponding monitoring indicator subcategory in the aforementioned operation and maintenance data set.

[0038] In this embodiment, as an optional embodiment, the operation and maintenance data category includes but is not limited to: performance indicator category, resource usage category, business flow category, etc. Each monitoring indicator corresponds to a monitoring indicator subcategory.

[0039] In this embodiment, as an optional embodiment, the performance indicator categories include but are not limited to: top percentile (TP) time-consuming subcategory, TCP retransmission time-consuming subcategory, wherein the operation and maintenance data stored in the TP time-consuming subcategory, for example, can be the 50th percentile (50th percentile) time-consuming data, the 90th percentile time-consuming data, the 99th percentile time-consuming data, etc. Among them, the TP time-consuming data refers to the time consumed by each call within a time period, and the statistical consumption time is sorted in order from small to large. Taking the 99th percentile time-consuming data as an example, after configuring the corresponding alarm threshold, it is necessary to ensure that within the pre-set time period, at least 99% of the consumption time of all calls is less than the alarm threshold.

[0040] Resource usage categories include but are not limited to: CPU usage subcategory, memory usage subcategory, disk usage subcategory; business traffic categories include but are not limited to: 200 status code subcategory, 400 status code subcategory, 500 status code subcategory, etc.

[0041] In this embodiment, the operation and maintenance data corresponding to the resource usage category includes CPU usage data, corresponding CPU usage subcategory, memory usage data, corresponding memory usage subcategory, disk usage data, corresponding disk usage subcategory as an example, wherein the CPU usage data, memory usage data, and disk usage data respectively correspond to a monitoring indicator (subcategory), for example, a CPU usage indicator (CPU usage subcategory), a memory usage indicator (memory usage subcategory), and a disk usage indicator (disk usage subcategory).

[0042] In this embodiment, since the formats of the acquired operation and maintenance data are inconsistent, or the acquired operation and maintenance data has missing data values, as another optional embodiment, the method further includes:

[0043] Preprocess the operation and maintenance data in the aforementioned operation and maintenance data set.

[0044] In this embodiment, the acquired original operation and maintenance data is preprocessed. As an optional embodiment, the preprocessing includes but is not limited to: data cleaning, format conversion and normalization. The preprocessing of data can facilitate subsequent analysis.

[0045] S102, performing similarity analysis on each of the aforementioned monitoring indicators according to the operation and maintenance data corresponding to each of the aforementioned monitoring indicators over time, and determining a monitoring indicator pair based on the similarity analysis result;

[0046] In this embodiment, a similarity algorithm is used to calculate the similarity between monitoring indicators for the preprocessed operation and maintenance data. As an optional embodiment, the similarity algorithm includes but is not limited to: Pearson correlation coefficient algorithm, dynamic time warping (DTW) algorithm, Jaccard similarity coefficient algorithm, etc.

[0047] In this embodiment, as an optional embodiment, a similarity analysis is performed on each of the aforementioned monitoring indicators according to the operation and maintenance data corresponding to each of the aforementioned monitoring indicators over a time course, including:

[0048] Extracting first operation and maintenance data corresponding to the first monitoring indicator over a time course and second operation and maintenance data corresponding to the second monitoring indicator over a time course from the aforementioned operation and maintenance data set;

[0049] According to a preset similarity algorithm, based on the first operation and maintenance data and the second operation and maintenance data, a similarity value between the first monitoring indicator and the second monitoring indicator is calculated.

[0050] In this embodiment, the first monitoring indicator and the second monitoring indicator form a monitoring indicator pair. The correlation between the monitoring indicators is evaluated by calculating the similarity values ​​between the monitoring indicators. The higher the similarity value, the more correlated the two monitoring indicators are. As an optional embodiment, from each calculated similarity value, the monitoring indicator pair whose similarity value exceeds the similarity threshold is extracted, or, from each calculated similarity value, the monitoring indicator pair whose similarity value is ranked in the top n places is extracted.

[0051] In this embodiment, for each monitoring indicator included in the resource usage category in the operation and maintenance data set, the correlation between the monitoring indicators is calculated respectively. For example, assuming that a certain operation and maintenance data category includes three monitoring indicators, namely monitoring indicator 1, monitoring indicator 2 and monitoring indicator 3, based on the operation and maintenance data corresponding to monitoring indicator 1, monitoring indicator 2 and monitoring indicator 3 respectively in the time history, the correlation (similarity value) between monitoring indicator 1 and monitoring indicator 2, the correlation between monitoring indicator 2 and monitoring indicator 3, and the correlation between monitoring indicator 1 and monitoring indicator 3 are calculated. Among them, the similarity value includes but is not limited to: cosine similarity value, sine similarity value, etc.

[0052] In this embodiment, as an optional embodiment, the similarity value is a numerical value between 0 and 100, that is, [0, 100]. The larger the similarity value, the higher the similarity.

[0053] S103, for each of the aforementioned monitoring indicator pairs, inputting the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history into a preset anomaly detection algorithm model, and obtaining an anomaly analysis result output by the aforementioned anomaly detection algorithm model;

[0054] In this embodiment, as an optional embodiment, the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history are respectively input into a preset anomaly detection algorithm model to obtain an anomaly analysis result output by the aforementioned anomaly detection algorithm model, including:

[0055] Based on the operation and maintenance data corresponding to the first monitoring indicator in the aforementioned monitoring indicator pair over time and the operation and maintenance data corresponding to the second monitoring indicator over time, a pre-set anomaly detection algorithm model is used to obtain the abnormality degree of the abnormal operation and maintenance data in the aforementioned operation and maintenance data.

[0056] In this embodiment, as an optional embodiment, the anomaly detection algorithm includes but is not limited to: an autoregressive moving average model detection algorithm, an isolated forest detection algorithm, and the anomaly detection algorithm model has an anomaly detection algorithm built in. By performing anomaly detection on the operation and maintenance data of the monitoring indicator pair whose similarity value exceeds the similarity threshold, the abnormal indicator value is identified.

[0057] In this embodiment, as an optional embodiment, the abnormality level is a value between 0 and 100, that is, [0, 100]. The larger the abnormality level value is, the greater the probability that the corresponding operation and maintenance data is the root cause.

[0058] Figure 2 A flowchart of obtaining an anomaly detection algorithm model in a method for determining a root cause provided in an embodiment of the present disclosure is provided. In this embodiment, as an optional embodiment, obtaining the aforementioned anomaly detection algorithm model includes:

[0059] S201, selecting a plurality of different base models, wherein the plurality of different base models are based on different anomaly detection algorithms or based on different parameter settings of the same anomaly detection algorithm;

[0060] In this embodiment, when performing abnormality degree analysis, base model training is performed. As an optional embodiment, multiple different base models can be selected, wherein the multiple different base models can be based on different abnormality detection algorithms or based on different parameter settings of the same abnormality detection algorithm.

[0061] S202, training the aforementioned multiple different base models respectively according to a preset operation and maintenance sample training data set containing different sample operation and maintenance objects, to obtain a prediction model corresponding to each of the aforementioned base models;

[0062] In this embodiment, an operation and maintenance sample training data set containing different operation and maintenance objects is used, and each base model is trained separately based on a pre-set neural network algorithm, such as a feedforward neural network (FNN) algorithm, a feedback neural network (FBNN) algorithm, a recurrent neural network (RNN) algorithm, a long short-term memory network (LSTM) algorithm, and a fully connected neural network (FCN) algorithm to obtain multiple independent prediction models. Among them, the operation and maintenance object is a service provided by the target monitoring system, and each service corresponds to an operation and maintenance object. In this embodiment, as an optional embodiment, the operation and maintenance object corresponds to the operation and maintenance data category.

[0063] S203, evaluating the aforementioned prediction models respectively according to a preset operation and maintenance sample verification data set containing different sample operation and maintenance objects, obtaining a balanced F score for each of the aforementioned prediction models, selecting the aforementioned prediction models whose balanced F score is higher than a preset first F score threshold, and obtaining a model to be optimized;

[0064] In this embodiment, the prediction model is evaluated. As an optional embodiment, the balanced F score of each prediction base model is evaluated using the operation and maintenance sample verification data set of different operation and maintenance objects, and the base model with a high F1 score under the operation and maintenance sample verification data of different operation and maintenance objects is selected as the model to be optimized, for example, the prediction model with the top n F1 scores or the prediction model with an F1 score higher than the first threshold of the F score is selected.

[0065] S204, constructing an integrated weighted model based on the aforementioned model to be optimized, and training the aforementioned integrated weighted model using a preset integrated learning algorithm and the aforementioned operation and maintenance sample training data set of different sample operation and maintenance objects;

[0066] In this embodiment, an integrated learning algorithm is used, such as a stacking algorithm, a random forest algorithm, and a boosting algorithm, and the outputs of multiple models to be optimized obtained by performing prediction model evaluation are used as inputs for weighted voting, and an integrated weighted model constructed based on the models to be optimized is trained, thereby obtaining a new model to output the root cause analysis results through an integrated method. As an optional embodiment, multiple models to be optimized can be based on different combinations to obtain multiple integrated weighted models, and the outputs of the combined models to be optimized are weighted and used as inputs for training as the integrated weighted model.

[0067] S205, obtaining a parameter initialization model based on the balanced F-score of each of the aforementioned integrated weighted models being trained;

[0068] In this embodiment, as an optional embodiment, based on the evaluation results of each integrated weighted model, the integrated weighted model with the best F1 score performance or the integrated weighted model with an F1 score exceeding a preset score threshold is selected for subsequent optimization.

[0069] S206, based on the gradient variance method and the operation and maintenance sample training data set of the above-mentioned different sample operation and maintenance objects, adjusting the parameter weights in the above-mentioned parameter initialization model to obtain a parameterized model;

[0070] In this embodiment, the weight of the selected model or model combination (optimal model) is adjusted to optimize the performance of the integrated weighted model. In this embodiment, a gradient variance-based method is used to adaptively adjust the parameter weights of each model to be optimized in the optimal model based on an operation and maintenance sample training data set of different operation and maintenance objects.

[0071] S207. Based on the operation and maintenance sample training data set of the aforementioned different sample operation and maintenance objects, the aforementioned parameterized model is integratedly trained, and based on the balanced F-score of the parameterized model after the integrated training and the pre-set F-score second threshold, the aforementioned anomaly detection algorithm model is obtained.

[0072] In this embodiment, the selected model combination (parameterized model) is integratedly trained using the operation and maintenance sample training data set of different sample operation and maintenance objects. Then, based on the integrated trained parameterized model, the operation and maintenance sample test data set of different sample operation and maintenance objects is used to evaluate the integrated trained parameterized model: if the F1 score is lower than the second threshold of the F score, return to the parameter weight adjustment step and perform iterative optimization; if the F1 score is not lower than the second threshold of the F score, the integrated trained parameterized model is used as the anomaly detection algorithm model.

[0073] In this embodiment, anomaly detection is based on reasoning of the anomaly detection algorithm model. According to the input data format requirements of the anomaly detection algorithm, the operation and maintenance data corresponding to the first monitoring indicator over time and the operation and maintenance data corresponding to the second monitoring indicator over time are combined into an operation and maintenance data pair. For example, the operation and maintenance data of the first monitoring indicator and the second monitoring indicator collected and acquired in the last 30 minutes are used as input, and the anomaly analysis result (abnormality degree value) is output: a value between 0 and 100, and the operation and maintenance data determined to be abnormal is output.

[0074] S104, based on the abnormal operation and maintenance data obtained from the abnormal analysis result, determining the abnormal mode of the monitoring indicator pair, and assigning weights to the abnormal mode according to the similarity analysis and the abnormal analysis result;

[0075] In this embodiment, based on the keywords contained in the abnormal operation and maintenance data, the correspondence between each pre-set abnormal mode and the keyword set is matched to determine one or more abnormal modes corresponding to the abnormal operation and maintenance data. As an optional embodiment, based on the results of the similarity analysis and abnormality analysis of the operation and maintenance data (abnormality degree value), weights are assigned to each abnormal mode mapped to the monitoring indicator corresponding to the operation and maintenance data, that is, based on the results of the similarity analysis and abnormality analysis of the operation and maintenance data, a corresponding score is assigned to each abnormal mode, and the score is used to characterize the degree of influence of the abnormal mode on the performance of the target monitoring system. The higher the score, the greater the influence of the abnormal mode on the performance of the target monitoring system, and the greater the probability of being determined as the root cause.

[0076] In this embodiment, as an optional embodiment, by combining similarity analysis with anomaly analysis, root cause investigation of relevant monitoring indicators is achieved, that is, similarity analysis is performed on the monitoring indicators, monitoring indicators that perform similarly under abnormal conditions are obtained, and anomaly analysis is performed on the obtained indicators to determine the impact of the anomaly.

[0077] In this embodiment, as an optional embodiment, the abnormal mode includes but is not limited to: burr abnormality, periodic abnormality, and continuous trend abnormality.

[0078] In this embodiment, as an optional embodiment, the weight assignment of the abnormal mode is obtained using the following formula:

[0079] w1*a+w2*d

[0080] Wherein, a is the similarity value, d is the abnormality value, w1 is the similarity weight coefficient, and w2 is the abnormality weight coefficient. As an optional embodiment, the value ranges of the similarity weight coefficient and the abnormality weight coefficient are both [0,1]. The specific values ​​can be obtained through training with supervised data. For example, the value combination of the similarity weight coefficient w1 and the abnormality weight coefficient w2 of each abnormal mode under different operation and maintenance objects such as hosts and different monitoring indicators such as CPU can be obtained based on historical operation and maintenance data. In this way, the value combination of the specific similarity weight coefficient w1 and the abnormality weight coefficient w2 for different operation and maintenance scenarios and time periods can be dynamically obtained, so that the value combination of the similarity weight coefficient w1 and the abnormality weight coefficient w2 is updated with the iterative training of the abnormality detection algorithm model, so as to better adapt to the root cause analysis of different operation and maintenance scenarios and time periods and improve the robustness of the model.

[0081] In this embodiment, for the historical operation and maintenance data corresponding to the monitoring index, the combined value of the similarity weight coefficient w1 and the abnormality weight coefficient w2 is obtained. In this way, the weight assignment of similarity and abnormality in the comprehensive calculation can be dynamically adjusted according to the historical operation and maintenance data and the real-time operation and maintenance data. In this way, the weight assignment can be adjusted according to the change of operation and maintenance data, which can adapt to the analysis of different operation and maintenance scenarios and time periods, and improve the robustness of the root cause probability calculation.

[0082] S105. Based on the number of abnormal operation and maintenance data corresponding to each of the aforementioned abnormal patterns and the total number of operation and maintenance data included in the aforementioned operation and maintenance data set, adjust the weight assignment of each of the aforementioned abnormal patterns, and determine the root cause based on each of the aforementioned abnormal patterns with the adjusted weight assignment.

[0083] In this embodiment, in order to further improve the accuracy of the root cause analysis, the weight assignment of each abnormal mode is adjusted. As an optional embodiment, based on the number of abnormal operation and maintenance data corresponding to each of the aforementioned abnormal modes and the total number of operation and maintenance data contained in the aforementioned operation and maintenance data set, the weight assignment of each of the aforementioned abnormal modes is adjusted, including:

[0084] Counting the first number of abnormal operation and maintenance data corresponding to the first abnormal pattern from the aforementioned operation and maintenance data set;

[0085] Calculate the ratio of the first number to the total number of operation and maintenance data included in the operation and maintenance data set to obtain a weight coefficient of the first abnormal mode;

[0086] The product of the weight coefficient of the first abnormal mode and the weight value assigned to the first abnormal mode is calculated.

[0087] In this embodiment, the probability (weight coefficient) of abnormal modes appearing in different operation and maintenance objects is counted in the supervised data (operation and maintenance data set), and the weight assignment of the abnormal mode is adjusted. As an optional embodiment, for each abnormal mode, the probability of the abnormal mode is multiplied by the weight assignment of the abnormal mode, so as to adjust the weight assignment of the abnormal mode.

[0088] In this embodiment, for each abnormal pattern, the probability of occurrence of the abnormal pattern is calculated based on the abnormal operation and maintenance data after the abnormal degree analysis, so as to quantify the root cause analysis results and improve the accuracy and reliability of the analysis by calculating the probability of occurrence of different abnormal patterns in the abnormal operation and maintenance data. Among them, the probability (weight coefficient) of the abnormal pattern is obtained by counting the ratio of the number of abnormal operation and maintenance data corresponding to the abnormal pattern to the total number of operation and maintenance data to obtain the probability of occurrence of the abnormal pattern in the operation and maintenance data.

[0089] In this embodiment, based on the final assignment of each abnormal mode with adjusted weight assignment, that is, the product of the weight coefficient and the weight assignment, the products are sorted from high to low, and the abnormal mode with the highest ranking or the top n rankings is selected as the determined root cause.

[0090] In this embodiment, based on the above steps, a root cause probability calculation model including an anomaly detection algorithm model can be constructed, with operation and maintenance data as the input of the root cause probability calculation model, and the root cause probability or sorting result as the output of the root cause probability calculation model. The operation and maintenance data include historical operation and maintenance data and real-time operation and maintenance data. The operation and maintenance data in operation of the target monitoring system is obtained and input into the root cause probability calculation model to obtain the root cause probability of the abnormal operation and maintenance data in the running operation and maintenance data. According to the root cause actually corresponding to the abnormal operation and maintenance data, the parameters of the root cause probability calculation model are adjusted, so that the root cause probability calculation model can update the calculation results in real time according to data changes, and automatically learn and adjust parameters.

[0091] In this embodiment, as an optional embodiment, the experience and knowledge of operation and maintenance experts in different fields can also be integrated to formulate anomaly detection and root cause analysis sorting strategies for operation and maintenance scenarios. For example, taking the host analysis scenario as an example, based on the expert experience and knowledge, 12 monitoring indicators such as the host's CPU, memory, load, network retransmission, etc. are selected to participate in the root cause probability calculation, and the trend change characteristics, dimensional fluctuation characteristics, periodic characteristics, etc. are extracted and input into the root cause probability calculation model. Different weight coefficients are assigned to different monitoring indicators of the host. According to the operation and maintenance data of the current target monitoring system, the root cause probability calculation sorting model is input to obtain the potential root cause of the fault.

[0092] In this embodiment, the root cause probability calculation model is applied in actual operation and maintenance scenarios. By observing the performance of the root cause probability calculation model in fault location and resolution, the results of the online root cause analysis are verified every week. The verification includes algorithm accuracy verification and user annotation of the accuracy of the analysis results. If the accuracy is lower than 0.9, the root cause probability calculation model is triggered to perform a retraining task to ensure a higher accuracy rate, thereby improving the accuracy of root cause judgment and reducing the misjudgment rate.

[0093] In this embodiment, the root cause probability calculation model can also be verified based on the recalled root cause results. As an optional embodiment, the root causes output by the root cause probability calculation model are manually checked. By evaluating the ratio of the accurate root factors recalled to the total number of root causes recalled, the accuracy of the root cause probability calculation model is evaluated to determine whether to retrain the root cause probability calculation model.

[0094] In this embodiment, as an optional embodiment, the method further includes:

[0095] Query the mapping relationship between the preset root cause and the troubleshooting strategy, and obtain the troubleshooting strategy of the determined root cause mapping;

[0096] Obtain log information of abnormal operation and maintenance data corresponding to the aforementioned determined root cause, locate the location of the aforementioned root cause, and perform processing at the located location according to the aforementioned acquired troubleshooting strategy.

[0097] In this embodiment, the log information records the time when the abnormal operation and maintenance data occurred and the source of the abnormal operation and maintenance data. The source is the location where the root cause occurred. Based on the operation and maintenance data before and after the occurrence time, combined with the acquired troubleshooting strategy, the root cause of the fault can be quickly and accurately located and resolved, effectively reducing the system failure rate and service interruption time, improving the operation and maintenance work efficiency, and having a high accuracy rate.

[0098] In this embodiment, after the fault is repaired at the located position according to the acquired fault elimination strategy, due to the possible inaccuracy of the root cause analysis, after the fault is repaired, the target operation and maintenance object may still have the same fault during the operation and maintenance process, indicating that the aforementioned root cause analysis of the fault is biased. Therefore, as an optional embodiment, the method further includes:

[0099] If the target operation and maintenance object still has the same fault during the operation and maintenance process after processing at the located position according to the acquired fault elimination strategy, obtain the operation and maintenance data in the process of eliminating the same fault;

[0100] Based on the root cause determined above and the operation and maintenance data obtained above in the process of eliminating the same fault, the anomaly detection algorithm model is retrained.

[0101] In this embodiment, after troubleshooting based on the root cause, if the target operation and maintenance object still has the same fault during the operation and maintenance process, the fault is eliminated through technical analysis by the operation and maintenance personnel, and the operation and maintenance data of the target operation and maintenance object during the process of eliminating the fault is obtained through log information, and the anomaly detection algorithm model is retrained to improve the anomaly recognition accuracy of the anomaly detection algorithm model. Of course, in actual applications, the integrated weighted model can also be retrained, and the integrated weighted model with the best accuracy can be obtained as the anomaly detection algorithm model. Therefore, as another optional embodiment, the method also includes:

[0102] If the target operation and maintenance object still has the same fault during the operation and maintenance process after processing at the located position according to the acquired fault elimination strategy, obtain the operation and maintenance data in the process of eliminating the same fault;

[0103] Based on the root cause determined above and the operation and maintenance data obtained in the process of eliminating the same fault, the step of training the integrated weighted model is performed.

[0104] In this embodiment, the abnormal modes after adjusting the weight assignment are sorted to rank the potential root causes of the fault, and solutions can be recommended according to the urgency or ranking, such as troubleshooting strategies, to help operation and maintenance personnel prioritize important problems, improve work efficiency and optimize resource allocation.

[0105] Based on the same public concept, Figure 3 As shown, the embodiment of the present disclosure also provides a device for determining a root cause, the device comprising:

[0106] The data analysis module 301 is used to determine the operation and maintenance data corresponding to each preset monitoring indicator in the time course according to the acquired operation and maintenance data set of the target operation and maintenance object;

[0107] In this embodiment, as an optional embodiment, the data analysis module 301 is further used to:

[0108] Pre-set operation and maintenance data categories in the aforementioned operation and maintenance data set, and under each of the aforementioned operation and maintenance data categories, set one or more monitoring indicator subcategories corresponding to the operation and maintenance data category; determine the aforementioned monitoring indicator subcategory corresponding to the collected operation and maintenance data, and store the operation and maintenance data in the corresponding monitoring indicator subcategory in the aforementioned operation and maintenance data set.

[0109] In this embodiment, as an optional embodiment, the operation and maintenance data category includes but is not limited to: performance indicator category, resource usage category, business traffic category, etc.

[0110] A similarity analysis module 302 is used to perform similarity analysis on each of the aforementioned monitoring indicators according to the operation and maintenance data corresponding to each of the aforementioned monitoring indicators over a time course, and determine a monitoring indicator pair based on the similarity analysis result;

[0111] In this embodiment, as an optional embodiment, the similarity analysis module 302 includes:

[0112] A data extraction unit, used to extract first operation and maintenance data corresponding to the first monitoring indicator over a time course and second operation and maintenance data corresponding to the second monitoring indicator over a time course from the aforementioned operation and maintenance data set;

[0113] The similarity calculation unit is used to calculate the similarity value between the first monitoring indicator and the second monitoring indicator based on the first operation and maintenance data and the second operation and maintenance data according to a preset similarity algorithm.

[0114] In this embodiment, as an optional embodiment, the similarity algorithm includes but is not limited to: Pearson correlation coefficient algorithm, DTW algorithm, Jaccard similarity coefficient algorithm, etc.

[0115] In this embodiment, as an optional embodiment, from each calculated similarity value, the monitoring indicator pairs whose similarity values ​​exceed the similarity threshold are extracted, or, from each calculated similarity value, the monitoring indicator pairs ranked in the top n positions in similarity value are extracted.

[0116] The abnormality analysis module 303 is used to input the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history into a preset abnormality detection algorithm model for each of the aforementioned monitoring indicator pairs, and obtain the abnormality analysis results output by the aforementioned abnormality detection algorithm model;

[0117] In this embodiment, as an optional embodiment, the abnormality analysis module 303 includes:

[0118] The abnormality analysis unit is used to obtain the abnormality degree of the abnormal operation and maintenance data in the aforementioned operation and maintenance data based on the operation and maintenance data corresponding to the first monitoring indicator in the aforementioned monitoring indicator pair over the time course and the operation and maintenance data corresponding to the second monitoring indicator over the time course, using a pre-set anomaly detection algorithm model.

[0119] In this embodiment, as an optional embodiment, the anomaly detection algorithm includes but is not limited to: an autoregressive moving average model detection algorithm and an isolation forest detection algorithm.

[0120] The value assignment module 304 is used to determine the abnormal mode of the monitoring indicator pair based on the abnormal operation and maintenance data obtained from the abnormal analysis result, and to assign weights to the abnormal mode according to the similarity analysis and the abnormal analysis result;

[0121] In this embodiment, as an optional embodiment, the abnormal mode includes but is not limited to: burr abnormality, periodic abnormality, and continuous trend abnormality.

[0122] The root cause determination module 305 is used to adjust the weight assignment of each of the aforementioned abnormal patterns based on the number of abnormal operation and maintenance data corresponding to each of the aforementioned abnormal patterns and the total number of operation and maintenance data contained in the aforementioned operation and maintenance data set, and determine the root cause based on each of the aforementioned abnormal patterns with the adjusted weight assignment.

[0123] In this embodiment, as an optional embodiment, the root cause determination module 305 includes:

[0124] A number counting unit, used to count a first number of abnormal operation and maintenance data corresponding to the first abnormal mode from the aforementioned operation and maintenance data set;

[0125] A coefficient calculation unit, used to calculate the ratio of the first number to the total number of operation and maintenance data included in the operation and maintenance data set, to obtain a weight coefficient of the first abnormal mode;

[0126] The value assignment adjustment unit is used to calculate the product of the weight coefficient of the first abnormal mode and the weight assignment of the first abnormal mode.

[0127] In this embodiment, as an optional embodiment, the device further includes:

[0128] An anomaly detection algorithm model building module (not shown in the figure), used to select multiple different base models, the aforementioned multiple different base models are based on different anomaly detection algorithms or based on different parameter settings of the same anomaly detection algorithm;

[0129] According to a pre-set operation and maintenance sample training data set containing different sample operation and maintenance objects, the aforementioned multiple different base models are trained respectively to obtain a prediction model corresponding to each of the aforementioned base models;

[0130] According to a preset operation and maintenance sample verification data set containing different sample operation and maintenance objects, the aforementioned prediction models are evaluated respectively to obtain a balanced F score of each of the aforementioned prediction models, and the aforementioned prediction models whose balanced F scores are higher than a preset first F score threshold are selected to obtain a model to be optimized;

[0131] Building an integrated weighted model based on the aforementioned model to be optimized, and training the aforementioned integrated weighted model using a preset integrated learning algorithm and the aforementioned operation and maintenance sample training data set of different sample operation and maintenance objects;

[0132] Obtaining a parameter initialization model based on the balanced F-score of each of the aforementioned integrated weighted models being trained;

[0133] Based on the gradient variance method and the operation and maintenance sample training data set of the above-mentioned different sample operation and maintenance objects, the parameter weights in the above-mentioned parameter initialization model are adjusted to obtain a parameterized model;

[0134] Based on the operation and maintenance sample training data set of the aforementioned different sample operation and maintenance objects, the aforementioned parameterized model is integratedly trained, and based on the balanced F-score of the aforementioned parameterized model after the integrated training and the pre-set F-score second threshold, the aforementioned anomaly detection algorithm model is obtained.

[0135] In this embodiment, as another optional embodiment, the device further includes:

[0136] The root cause location module is used to query the mapping relationship between the pre-set root cause and the troubleshooting strategy, and obtain the troubleshooting strategy mapped to the determined root cause; obtain the log information of the abnormal operation and maintenance data corresponding to the aforementioned determined root cause, locate the position of the aforementioned root cause, and process it at the located position according to the aforementioned obtained troubleshooting strategy.

[0137] Based on the same disclosed concept, an embodiment of the present disclosure further provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method for determining the root cause in any possible implementation manner described above are implemented.

[0138] Alternatively, the storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0139] Based on the same public concept, see Figure 4The embodiment of the present disclosure also provides an electronic device, including a memory 101 (such as a non-volatile memory), a processor 102, and a computer program stored in the memory 101 and executable on the processor 102. When the processor 102 executes the program, the steps of the method for determining the root cause in any possible implementation manner described above can be equivalent to the device for determining the root cause as described above. Of course, the processor can also be used to process other data or operations. The electronic device can be a PC, a server, a terminal, and other devices.

[0140] like Figure 4 As shown, the electronic device may also generally include: a memory 103, a network interface 104, and an internal bus 105. In addition to these components, other hardware may also be included, which will not be described in detail.

[0141] It should be pointed out that the above-mentioned device for determining the root cause can be implemented by software. As a device in a logical sense, it is formed by the processor 102 of the electronic device in which it is located reading the computer program instructions stored in the non-volatile memory into the memory 103 for execution.

[0142] The embodiments of the subject matter and functional operations described in this specification may be implemented in the following: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware including the structures disclosed in this specification and their structural equivalents, or a combination of one or more of them. The embodiments of the subject matter described in this specification may be implemented as one or more computer programs, i.e., one or more modules in computer program instructions encoded on a tangible non-temporary program carrier to be executed by a data processing device or to control the operation of the data processing device. Alternatively or additionally, the program instructions may be encoded on an artificially generated propagation signal, such as a machine-generated electrical, optical or electromagnetic signal, which is generated to encode information and transmit it to a suitable receiver device for execution by a data processing device. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or a combination of one or more of them.

[0143] The processes and logic flows described in this specification can be performed by one or more programmable computers executing one or more computer programs to perform the corresponding functions by operating on input data and generating output. The processes and logic flows can also be performed by special purpose logic circuits, such as FPGAs (field programmable gate arrays) or ASICs (application specific integrated circuits), and the apparatus can also be implemented as special purpose logic circuits.

[0144] Computers suitable for executing computer programs include, for example, general and / or special microprocessors, or any other type of central processing unit. Typically, the central processing unit will receive instructions and data from a read-only memory and / or a random access memory. The basic components of a computer include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, the computer will also include one or more large-capacity storage devices for storing data, such as magnetic disks, magneto-optical disks, or optical disks, or the computer will be operably coupled to this large-capacity storage device to receive data from it or to transmit data to it, or both. However, the computer does not necessarily have such a device. In addition, the computer can be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name a few.

[0145] Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, for example, semiconductor memory devices (e.g., EPROM, EEPROM and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.

[0146] The exemplary embodiments of the present disclosure also provide a computer program product. The computer program code contained in the above computer program product implements the above method for determining the root cause when executed by a processor. The above computer program product may include but is not limited to: a code snippet, a program package, a software product, etc. transmitted, distributed, downloaded, uploaded, and deployed in the form of a signal via the Internet.

[0147] Although this specification includes many specific implementation details, these should not be interpreted as limiting any disclosed scope or the scope of protection claimed, but are mainly used to describe the features of specific disclosed specific embodiments. Certain features described in multiple embodiments in this specification may also be implemented in combination in a single embodiment. On the other hand, the various features described in a single embodiment may also be implemented separately in multiple embodiments or implemented in any suitable sub-combination. In addition, although the features may work as above in certain combinations and even initially claim protection, one or more features from the claimed combination may be removed from the combination in some cases, and the claimed combination may point to a sub-combination or a variation of a sub-combination.

[0148] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that these operations be performed in the particular order shown or performed sequentially, or requiring that all illustrated operations be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product, or packaged into multiple software products.

[0149] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In some implementations, multitasking and parallel processing may be advantageous.

[0150] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0151] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features applied herein.

Claims

1. A method for determining a root cause, characterized in that: include: According to the acquired operation and maintenance data set of the target operation and maintenance object, determine the operation and maintenance data corresponding to each pre-set monitoring indicator over the time course; According to the operation and maintenance data corresponding to each of the monitoring indicators over time, a similarity analysis is performed on each of the monitoring indicators, and a monitoring indicator pair is determined based on the similarity analysis result; For each monitoring indicator pair, the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history are respectively input into a preset anomaly detection algorithm model to obtain an anomaly analysis result output by the anomaly detection algorithm model; Based on the abnormal operation and maintenance data obtained from the abnormal analysis result, determining the abnormal mode of the monitoring indicator pair, and assigning a weight to the abnormal mode according to the similarity analysis and the abnormal analysis result; Based on the number of abnormal operation and maintenance data corresponding to each abnormal mode and the total number of operation and maintenance data included in the operation and maintenance data set, the weight assignment of each abnormal mode is adjusted, and the root cause of each abnormal mode after the adjusted weight assignment is determined.

2. The method for determining a root cause according to claim 1, characterized in that: Also includes: Acquiring the anomaly detection algorithm model, wherein acquiring the anomaly detection algorithm model comprises: Selecting a plurality of different base models, wherein the plurality of different base models are based on different anomaly detection algorithms or based on different parameter settings of the same anomaly detection algorithm; According to a preset operation and maintenance sample training data set containing different sample operation and maintenance objects, the plurality of different base models are trained respectively to obtain a prediction model corresponding to each of the base models; According to a preset operation and maintenance sample verification data set containing different sample operation and maintenance objects, the prediction models are evaluated respectively to obtain a balanced F score for each prediction model, and a prediction model whose balanced F score is higher than a preset F score first threshold is selected to obtain a model to be optimized; Building an integrated weighted model based on the model to be optimized, and training the integrated weighted model using a preset integrated learning algorithm and an operation and maintenance sample training data set of the different sample operation and maintenance objects; Obtaining a parameter initialization model based on the balanced F-score of each of the integrated weighted models being trained; Based on the gradient variance method and the operation and maintenance sample training data set of the different sample operation and maintenance objects, the parameter weights in the parameter initialization model are adjusted to obtain a parameterized model; Based on the operation and maintenance sample training data set of the different sample operation and maintenance objects, the parameterized model is integratedly trained, and based on the balanced F score of the parameterized model after the integrated training and the pre-set F score second threshold, the anomaly detection algorithm model is obtained.

3. The method for determining a root cause according to claim 1 or 2, characterized in that: The adjusting the weight assignment of each abnormal mode based on the number of abnormal operation and maintenance data corresponding to each abnormal mode and the total number of operation and maintenance data included in the operation and maintenance data set includes: Counting a first number of abnormal operation and maintenance data corresponding to a first abnormal pattern from the operation and maintenance data set; Calculating a ratio of the first number of items to the total number of items of operation and maintenance data included in the operation and maintenance data set to obtain a weight coefficient of the first abnormal mode; The product of the weight coefficient of the first abnormal mode and the weight value assigned to the first abnormal mode is calculated.

4. The method for determining a root cause according to claim 1 or 2, characterized in that: The method further comprises: Pre-setting operation and maintenance data categories in the operation and maintenance data set, and under each of the operation and maintenance data categories, setting one or more monitoring indicator subcategories corresponding to the operation and maintenance data category; Determine the monitoring indicator subcategory corresponding to the acquired operation and maintenance data, and store the operation and maintenance data in the monitoring indicator subcategory corresponding to the operation and maintenance data set.

5. The method for determining a root cause according to claim 2, characterized in that: The method further comprises: Query the mapping relationship between the preset root cause and the troubleshooting strategy, and obtain the troubleshooting strategy of the determined root cause mapping; The log information of the abnormal operation and maintenance data corresponding to the determined root cause is obtained, and the position of the root cause is located, so as to perform processing at the located position according to the obtained troubleshooting strategy.

6. The method for determining a root cause according to claim 5, characterized in that: The method further comprises: If the target operation and maintenance object still has the same fault during the operation and maintenance process after processing at the located position according to the acquired fault elimination strategy, obtain operation and maintenance data in the process of eliminating the same fault; Based on the determined root cause and the operation and maintenance data obtained in the process of eliminating the same fault, the anomaly detection algorithm model is retrained.

7. The method for determining a root cause according to claim 5, characterized in that: The method further comprises: If the target operation and maintenance object still has the same fault during the operation and maintenance process after processing at the located position according to the acquired fault elimination strategy, obtain operation and maintenance data in the process of eliminating the same fault; Based on the determined root cause and the operation and maintenance data obtained in the process of eliminating the same fault, the step of training the integrated weighted model is performed.

8. A device for determining a root cause, characterized in that: The device for determining the root cause includes: A data analysis module is used to determine the operation and maintenance data corresponding to each preset monitoring indicator over a time course based on the acquired operation and maintenance data set of the target operation and maintenance object; A similarity analysis module, used to perform similarity analysis on each of the monitoring indicators according to the operation and maintenance data corresponding to each of the monitoring indicators over a time course, and determine a monitoring indicator pair based on the similarity analysis result; An anomaly analysis module is used to input the operation and maintenance data corresponding to the two monitoring indicators constituting the monitoring indicator pair in the time history into a preset anomaly detection algorithm model for each monitoring indicator pair, and obtain an anomaly analysis result output by the anomaly detection algorithm model; An assignment module, configured to determine an abnormal mode of the monitoring indicator pair based on the abnormal operation and maintenance data obtained from the abnormal analysis result, and to assign a weight to the abnormal mode according to the similarity analysis and the abnormal analysis result; The root cause determination module is used to adjust the weight assignment of each abnormal mode based on the number of abnormal operation and maintenance data corresponding to each abnormal mode and the total number of operation and maintenance data contained in the operation and maintenance data set, and determine the root cause of each abnormal mode based on the adjusted weight assignment.

9. A storage medium, characterized in that: The storage medium stores a program or an instruction, and when the program or the instruction is executed by a processor, the method for determining a root cause according to any one of claims 1 to 7 is implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for determining a root cause according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that When the computer program code contained in the computer program product is executed by a processor, the method for determining a root cause according to any one of claims 1 to 7 is implemented.