Root cause location method, device, computer equipment and storage medium

Through the dynamic root cause positioning method, the LOESS algorithm and the STL period component residual value are used to calculate the similarity of alarm indicators, which solves the problem of root cause identification errors under traditional static rules and achieves more accurate fault cause analysis and rapid repair.

CN111459695BActive Publication Date: 2024-09-27PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010170390.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-12
Publication Date
2024-09-27
Estimated Expiration
2040-03-12

AI Technical Summary

Technical Problem

The traditional root cause analysis system is based on static rules and cannot accurately identify the root cause when multiple alarms occur at the device level. This results in errors in the root cause identification results and cannot truly reflect the cause of the device failure.

Method used

The dynamic root cause positioning method is used to receive abnormal information, search for associated alarm indicators according to the call chain, perform smoothing processing and similarity calculation, and calculate the similarity of each alarm indicator by combining the LOESS algorithm and the residual value of the historical STL period component. value, sort and output the alarm indicators with higher similarity as root causes.

Benefits of technology

It improves the accuracy and completeness of root cause identification, can more accurately reflect the causes of equipment failures, reduces manual troubleshooting time, and achieves rapid repair of failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111459695B
    Figure CN111459695B
Patent Text Reader

Abstract

The present invention relates to a root cause positioning method, device, computer equipment and storage medium, which are used to locate the root cause of faults in the operation and maintenance system. After receiving abnormal information and issuing alarm information, all alarm indicators associated with the alarm information are searched according to the call chain; the numerical values ​​of all alarm indicators are smoothed, and similarity calculations are performed respectively to obtain similarity values ​​of alarm indicators with higher lag values; the similarity values ​​of the alarm indicators with higher lag values ​​are summarized, and after the alarm indicators with higher similarity values ​​are sorted in combination with the call chain hierarchical relationship, the call chain device corresponding to the alarm indicator with the higher sorting is output as the root cause. The determination of the root cause of the present invention is based on multiple dimensions such as alarm indicator similarity, abnormal information, alarm time and call relationship, which ensures the integrity and accuracy of root cause identification, and can dig out more complex root cause relationships. The operation and maintenance personnel can quickly check according to the alarm indicators and perform fault repair work.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of equipment testing, and in particular to a root cause locating method, device, computer equipment and storage medium. Background Art

[0002] When it comes to the operation and maintenance of computer information systems, quickly resolving equipment failures is the primary goal. This work is divided into two main parts: anomaly detection and root cause identification. Anomaly detection generates alerts based on various monitoring indicators, prompting staff to promptly address and resolve them. Root cause identification, based on these alerts, recommends the root cause of the failure or device, eliminating the time-consuming manual investigation of each issue. The accuracy of anomaly detection and root cause identification effectively helps operations and maintenance teams identify and quickly resolve failures.

[0003] Traditional root cause analysis systems rely solely on the hierarchical call chain of O&M equipment and anomaly detection alerts. This approach uses static rules. When multiple alarms occur at the device level, the system prioritizes indicators downstream in the call chain as the root cause. Static rule-based methods are relatively rigid. If the root cause indicator does not generate an alarm or the root cause does not conform to the call chain logic, the root cause identification results may be erroneous and fail to accurately reflect the cause of the equipment failure.

[0004] Therefore, the existing technology needs to be improved. Summary of the Invention

[0005] Based on this, it is necessary to provide a dynamic root cause location method, device, computer equipment and storage medium to address the defect of traditional root cause analysis systems that only perform static analysis rules.

[0006] A root cause location method is provided, wherein the root cause location method is used for locating the root cause of a fault in operation and maintenance work by a root cause analysis system, and comprises the following steps:

[0007] Receive abnormal information and issue alarm information;

[0008] Search for all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0009] Smoothing the values ​​of all the alarm indicators, and performing similarity calculations on all the alarm indicators in combination with preset lag values ​​to obtain similarity values ​​of alarm indicators with higher lag values;

[0010] Summarize the similarity values ​​of the alarm indicators with higher lag values, and sort the alarm indicators with higher similarity values ​​based on the call chain hierarchical relationship;

[0011] The alarm indicators with higher similarity values ​​are output as root cause alarm indicators.

[0012] In one embodiment, the value of the collection and alarm indicator is the value of the alarm indicator collected between 1 to 2 hours before the alarm and 10 minutes after the alarm.

[0013] In one embodiment, the smoothing of the values ​​of all the alarm indicators and the similarity calculation of all the alarm indicators in combination with a preset lag value to obtain the similarity value of the alarm indicator with a higher lag value specifically include the following steps:

[0014] The regression value is obtained by performing local weighted regression using the LOESS algorithm to obtain the smoothed value of the sequence;

[0015] The preset lag value is 0 to 90 minutes;

[0016] Calculate the similarity between all alarm indicators and the entry indicator at each preset lag value, and obtain the lag value alarm indicators of all alarm indicators at each lag value;

[0017] The lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values.

[0018] In one embodiment, the calculation of the alarm indicator similarity value further includes the following steps:

[0019] Collect the residual value of the smoothed value of the sequence obtained by the LOESS algorithm and the historical STL period component of the alarm indicator;

[0020] Similarity calculation is performed on the alarm indicators with STL period component residual values ​​to obtain similarity values ​​of the STL residual value alarm indicators;

[0021] If the similarity values ​​of the STL residual value alarm indicator and the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

[0022] A root cause locating device, which is used in a root cause analysis system to locate the root cause of a fault in operation and maintenance work, and includes: an anomaly detection unit, an alarm indicator value calculation unit, an alarm indicator similarity calculation unit, and a root cause alarm indicator output unit;

[0023] Anomaly detection unit, used to receive abnormal information and issue alarm information;

[0024] An alarm indicator value calculation unit is used to search for all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0025] An alarm indicator similarity calculation unit is used to smooth the values ​​of all the alarm indicators and perform similarity calculation on all the alarm indicators in combination with a preset lag value to obtain similarity values ​​of alarm indicators with higher lag values;

[0026] The root cause alarm indicator output unit is used to summarize the similarity values ​​of the alarm indicators with higher lag values, sort the alarm indicators with higher similarity values ​​in combination with the call chain hierarchical relationship, and output the alarm indicators with higher similarity values ​​as the root cause alarm indicators.

[0027] In one embodiment, when collecting the values ​​of the alarm indicators, the alarm indicator value calculation unit collects the values ​​of the alarm indicators between 1 to 2 hours before the alarm and 10 minutes after the alarm.

[0028] In one embodiment, the alarm indicator similarity calculation unit is used to calculate the similarity value of the alarm indicator by: first, performing local weighted regression through the LOESS algorithm to obtain the regression value to obtain the sequence smoothing value; presetting the lag value to 0 to 90 minutes; then calculating the similarity of all alarm indicators with the entry indicator at each preset lag value to obtain the lag value alarm indicator of all alarm indicators at each lag value; finally, merging the similarity values ​​of the lag value alarm indicators with a similarity value greater than 0.65 to obtain alarm indicators with higher similarity values.

[0029] In one embodiment, the alarm indicator similarity calculation unit is used to calculate the similarity value of the alarm indicator by: first collecting the residual value of the sequence smoothing value and the historical STL periodic component obtained by the LOESS algorithm of the alarm indicator, and performing similarity calculation on the alarm indicators with STL periodic component residual values ​​to obtain the similarity value of the STL residual value alarm indicator; if the similarity value of the STL residual value alarm indicator and the similarity value of the corresponding lag value alarm indicator are both greater than 0.65, then the similarity value of the alarm indicator is merged to obtain an alarm indicator with a higher similarity value.

[0030] A computer device includes a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the above-mentioned root cause location method.

[0031] A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the root cause location method described above.

[0032] Compared with the static rule method of the existing technology that determines the root cause of the operation and maintenance system based solely on the abnormal detection alarms of the operation and maintenance equipment and the hierarchical call chain, the above-mentioned root cause positioning method calculates the similarity values ​​of the corresponding alarm indicators according to the LOESS algorithm after the operation and maintenance system receives the abnormal alarm information, and performs smoothing processing. It can further calculate the similarity values ​​of each alarm indicator through the residual of the historical STL periodic component to accurately reflect the degree of change of the alarm indicator, and can also accurately reflect the degree of influence of different indicators; after obtaining the alarm indicator with a higher similarity value, the similarity values ​​of the alarm indicator are weighted and sorted in combination with the call chain hierarchical information, and the call chain device corresponding to the alarm indicator with a higher similarity value is output as the root cause. What is output is the device with the risk root cause rather than the alarm indicator, which ensures the diversity of the output root cause; and the determination of the root cause is based on multiple dimensions such as the similarity of the alarm indicator, abnormal information, alarm time and call relationship, which ensures the completeness and accuracy of the root cause identification. Compared with the static rules of the prior art, the method of the present invention can dig out more complex root cause relationships. Through the root cause identification results, operation and maintenance personnel can quickly investigate according to the alarm indicators and quickly repair the faults. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A diagram illustrating an implementation environment of a root cause location method provided in one embodiment;

[0034] Figure 2 is a block diagram of the internal structure of a computer device in one embodiment;

[0035] Figure 3 is a flow chart of a root cause location method in one embodiment;

[0036] Figure 4 A flowchart of calculating an alarm indicator with a higher similarity value based on a lag value for an alarm indicator in one embodiment;

[0037] Figure 5 A flowchart of an embodiment for obtaining an alarm indicator with a high similarity value based on a lag value combined with a residual value of a historical STL period component;

[0038] Figure 6 is a structural block diagram of a root cause locating device in one embodiment; DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0040] Figure 1 FIG. 1 is an implementation environment diagram of a root cause location method provided in one embodiment, such as Figure 1 As shown, in this implementation environment, a computer device 110 and a terminal 120 are included.

[0041] Computer device 110 is a testing device, such as a computer used by testers. An automated testing tool, such as Appium, is installed on computer device 110. Terminal 120 is installed with an application under test that requires root cause location. When testing is required, the tester can issue a root cause location request from computer device 110. This request carries a location request identifier. Computer device 110 receives the request and, based on the location request identifier, retrieves a root cause location script from computer device 110 that corresponds to the location request identifier. The automated testing tool then executes the root cause location script, testing the application under test on terminal 120 and obtaining a root cause location result corresponding to the root cause location script.

[0042] It should be noted that the terminal 120 and the computer device 110 may be, but are not limited to, a smartphone, a tablet computer, a laptop computer, a desktop computer, etc. The computer device 110 and the terminal 110 may be connected via Bluetooth, USB (Universal Serial Bus), or other communication connection methods, and the present invention does not impose any limitation thereto.

[0043] Figure 2 FIG. 1 is a schematic diagram of the internal structure of a computer device in one embodiment. Figure 2 As shown, the computer device includes a processor, a non-volatile storage medium, a memory and a network interface connected via a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor may implement a gesture testing method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor may execute a root cause location method. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art will understand that Figure 2 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0044] like Figure 3As shown, in one embodiment, a root cause location method is proposed. The root cause location method can be applied to the above-mentioned computer device 110 and can specifically include the following steps 302 to 310:

[0045] Step 302: Receive abnormal information and issue an alarm;

[0046] In this embodiment, the detection of abnormal information is based on the existing STL algorithm to decompose the time series to obtain periodic components and store them. When a certain collected value and the corresponding periodic component are higher than the threshold, an alarm information can be issued. The STL (Seasonal-Trend decomposition procedure based on LOESS) algorithm is an algorithm for time series decomposition. Based on LOESS, the data at a certain moment is decomposed into trend component, seasonal component and remainder component: Yv=Tv+Sv+Rvv=1,…,NYv=Tv+Sv+Rvv=1,…,N

[0047] STL consists of an inner loop and an outer loop. The inner loop mainly performs trend fitting and periodic component calculations. Assume that T(k)vTv(k) and Sv(k)Sv(k) are the trend component and periodic component at the end of the k-1th pass in the inner loop, and that T(k)v=0Tv(k)=0 initially. The following parameters are used:

[0048] n(i)n(i)Number of inner loops,

[0049] n(o)n(o)Number of outer loops,

[0050] n(p)n(p) is the number of samples in one cycle,

[0051] n(s)n(s) is the LOESS smoothing parameter in Step 2,

[0052] n(l)n(l) is the LOESS smoothing parameter in Step 3,

[0053] n(t)n(t) is the LOESS smoothing parameter in Step 6.

[0054] The sample points at the same position in each cycle form a subsequence. It is easy to see that there are n(p)n(p) such subsequences in total, which are called cycle-subseries. The inner loop is mainly divided into the following 6 steps:

[0055] Step 1: Detrending: Subtract the trend component of the previous result, Yv-T(k)vYv-Tv(k);

[0056] Step 2: Cycle-subseries smoothing: regress each subsequence using LOESS (q = nn(s), d = 1) and extend it forward and backward by one cycle. The smoothed results form a temporary seasonal series, denoted as C(k+1)v, v = -n(p)+1, ..., -N+n(p).

[0057] Step 3: Low-Pass Filtering of the periodic subsequences. Perform moving averages of lengths n(p)n(p), n(p)n(p), and 33 on the result sequence C(k+1)vCv(k+1) from the previous step. Then perform LOESS (q=nn(l)q=nn(l), d=1d=1) regression to obtain the result sequence L(k+1)v, v=1, …, NLv(k+1), v=1, …, N. This is equivalent to extracting the low-pass filter of the periodic subsequences.

[0058] Step 4: Detrending of Smoothed Cycle-subseries: S(k+1)v = C(k+1)vL(k+1)vSv(k+1) = Cv(k+1) - Lv(k+1).

[0059] Step 5: Deseasonalizing: Subtract the periodic component, Yv-S(k+1)vYv-Sv(k+1);

[0060] Step 6: Trend smoothing: Perform LOESS (q = nn(t)q = nn(t), d = 1d = 1) regression on the series after removing the period to obtain the trend component T(k+1)vTv(k+1).

[0061] Step 304: Search all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0062] In an embodiment of the present invention, the values ​​of the collected and alarm indicators are the values ​​of the alarm indicators collected between 1 to 2 hours before the alarm and 10 minutes after the alarm. The associated alarm indicators here refer to the calling relationships between different alarm objects (each object has multiple monitoring indicators), and thus can affect each other. When an application in the system issues an alarm, since the alarm may occur in multiple indicators, the multiple indicators found are averaged and aggregated in time sequence to obtain a comprehensive entry indicator for subsequent similarity value calculations. When the alarm indicator is a single indicator, the single indicator is used as the entry indicator for subsequent similarity value calculations. The above collection of alarm indicator values ​​between 1 to 2 hours before the alarm and 10 minutes after the alarm is an optimized time interval to ensure that the root cause can be identified quickly after the alarm is triggered.

[0063] In some embodiments, if it is necessary to expand the search for alarm indicators, the above time interval can also be set to 1 to 6 hours before the alarm and within 10 minutes after the alarm.

[0064] Step 306: Smoothing the values ​​of all the alarm indicators, and performing similarity calculations on all the alarm indicators in combination with a preset lag value, to obtain similarity values ​​of alarm indicators with higher lag values;

[0065] In this embodiment, according to the above-mentioned related alarm indicators, similarity processing needs to be performed on the values ​​of the related alarm indicators, such as Figure 4 This is a flow chart of calculating an alarm indicator with a higher similarity value based on a lag value in an embodiment, specifically including the following steps 402 to 408:

[0066] Step 402: Perform local weighted regression using the LOESS algorithm to obtain regression values ​​and obtain sequence smoothing values; use the LOESS algorithm to smooth the values ​​of the associated alarm indicators to remove noise.

[0067] Step 404, preset the lag value to 0 to 90 minutes; the lag value in the LOESS algorithm preferably set in this embodiment is 0 to 90 minutes. When it is necessary to expand the associated alarm indicator value for calculation, the lag value can also be preset to 0 to 120 minutes for calculation.

[0068] Step 406: Calculate the similarity between all alarm indicators and the entry indicator at each preset lag value to obtain the lag value alarm indicators of all alarm indicators at each lag value; take the preset lag value of 60 minutes as an example, that is, the entry indicator is the interval from 1 hour before the alarm start time to 10 minutes after the alarm, according to the range of the lag value, the alarm indicator interval is moved forward in steps of 1 minute, and then the similarity is calculated with the original interval of the entry indicator to obtain the similarity value calculation results at each lag value. Among them, the similarity value is calculated using the Pearson correlation coefficient, and the calculation formula of the Pearson correlation coefficient is: The calculation of the Pearson correlation coefficient is a prior art and will not be described in detail here.

[0069] In step 408, the lag values ​​of alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values. As in the example above, the preset lag value is 60 minutes. From 60 minutes before the alarm to 10 minutes after the alarm, there are 70 intervals of lag values ​​with a 1-minute step. The similarity values ​​at each lag value are calculated using the Pearson correlation coefficient with the original interval of the entry indicator. There may be multiple similarities greater than the 0.65 similarity threshold. Some lag values ​​with similarities greater than 0.65 may be clustered in nearby locations. The lag values ​​are merged based on the maximum value, retaining the lag values ​​with the highest similarity values ​​to obtain the alarm indicators with higher similarity values. This calculation process is based on the fact that the root cause indicator change may not occur simultaneously with the entry indicator, but will generally occur earlier. If the change occurs at different locations within the time window, the similarity will be reduced. Therefore, the time window is shifted forward and multiple calculations are performed with the entry indicator to obtain a higher similarity. The time window refers to the time period from a certain moment before the alarm to 10 minutes after the alarm.

[0070] In some embodiments, there may be an inverse relationship between the various alarm indicators, or the root cause indicator may have a small degree of variation, resulting in the inability to directly perform similarity calculations. For example, in actual operation and maintenance scenarios, two indicators may have the same change but the magnitude of the change is quite different, resulting in a low similarity correlation value. In addition, some alarm indicators and entry indicators may have the same change, but this change is normal for these indicators and cannot be used as the root cause of the fault. Therefore, in addition to using the above-mentioned LOESS algorithm to calculate the similarity value, the calculation input model also needs to add the residual value calculation of the historical STL cycle component, and perform similarity calculations on the residuals of each alarm indicator to comprehensively reflect the degree of change. Figure 5 In one embodiment, a flowchart of obtaining an alarm indicator with a high similarity value based on a lag value combined with a residual value of a historical STL period component specifically includes steps 502 to 506:

[0071] Step 502: Collect the residual value of the smoothed value of the sequence obtained by the LOESS algorithm and the historical STL periodic component of the alarm indicator;

[0072] Step 504: performing similarity calculation on each of the alarm indicators having STL period component residual values ​​to obtain similarity values ​​of the STL residual value alarm indicators;

[0073] Step 506: If the similarity value of the STL residual value alarm indicator and the similarity value of the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

[0074] By adding STL value calculations to alarm indicators, similarities are calculated for both the smoothed and residual values ​​of the alarm indicator. If the similarity in both cases exceeds a threshold of 0.65, the alarm indicator is considered a potential root cause. Residuals better reflect abnormal changes compared to historical data while reducing the impact of normal changes.

[0075] Step 308: Summarize the similarity values ​​of the alarm indicators with higher lag values, and sort the alarm indicators with higher similarity values ​​based on the call chain hierarchical relationship;

[0076] In an embodiment of the present invention, one alarm indicator may correspond to multiple groups of results, and then all related alarm indicators are sorted in combination with the call chain hierarchical relationship, ensuring the diversity of the output root causes. The similarity value of the alarm indicator obtained in this way can obtain the highest numerical similarity mean and delay amount. For the call chain hierarchical relationship information, the more downstream the object is, the more it will affect the upstream object, and the greater the possibility of the root cause. After sorting by similarity, the number of upstream call chains in the call chain will decrease accordingly. If an object has a potential root cause of a downstream object, then the object may be an affected object, and this object can be directly excluded, and finally the alarm indicator with the highest ranking will be output as the root cause indicator.

[0077] Step 310: Output the call chain device corresponding to the alarm indicator with the highest similarity value as the root cause.

[0078] In an embodiment of the present invention, finding and locating the root cause requires determining the root cause device of the fault. Therefore, according to the alarm indicator output confirmed as the root cause indicator in the above steps, the corresponding call chain device is found in the call chain hierarchy relationship to determine that it is the root cause of the fault.

[0079] like Figure 6As shown, in one embodiment, a structural block diagram of a root cause location device is provided. The root cause location device can be integrated into the above-mentioned computer device 110, and specifically can include an anomaly detection unit 602, an alarm indicator value calculation unit 604, an alarm indicator similarity calculation unit 606, and a root cause alarm indicator output unit 608;

[0080] Anomaly detection unit 602, configured to receive anomaly information and issue an alarm;

[0081] In this embodiment, the detection of abnormal information is based on the existing STL algorithm to decompose the time series to obtain periodic components and store them. When a certain collected value and the corresponding periodic component are higher than the threshold, an alarm information can be issued. The STL (Seasonal-Trend decomposition procedure based on LOESS) algorithm is an algorithm for time series decomposition. Based on LOESS, the data at a certain moment is decomposed into trend component, seasonal component and remainder component: Yv=Tv+Sv+Rvv=1,…,NYv=Tv+Sv+Rvv=1,…,N

[0082] STL consists of an inner loop and an outer loop. The inner loop mainly performs trend fitting and periodic component calculations. Assume that T(k)vTv(k) and Sv(k)Sv(k) are the trend component and periodic component at the end of the k-1th pass in the inner loop, and that T(k)v=0Tv(k)=0 initially. The following parameters are used:

[0083] n(i)n(i)Number of inner loops,

[0084] n(o)n(o)Number of outer loops,

[0085] n(p)n(p) is the number of samples in one cycle,

[0086] n(s)n(s) is the LOESS smoothing parameter in Step 2,

[0087] n(l)n(l) is the LOESS smoothing parameter in Step 3,

[0088] n(t)n(t) is the LOESS smoothing parameter in Step 6.

[0089] The sample points at the same position in each cycle form a subsequence. It is easy to see that there are n(p)n(p) such subsequences in total, which are called cycle-subseries. The inner loop is mainly divided into the following 6 steps:

[0090] Step 1: Detrending: Subtract the trend component of the previous result, Yv-T(k)vYv-Tv(k);

[0091] Step 2: Cycle-subseries smoothing: regress each subsequence using LOESS (q = nn(s), d = 1) and extend it forward and backward by one cycle. The smoothed results form a temporary seasonal series, denoted as C(k+1)v, v = -n(p)+1, ..., -N+n(p).

[0092] Step 3: Low-Pass Filtering of the periodic subsequences. Perform moving averages of lengths n(p)n(p), n(p)n(p), and 33 on the result sequence C(k+1)vCv(k+1) from the previous step. Then perform LOESS (q=nn(l)q=nn(l), d=1d=1) regression to obtain the result sequence L(k+1)v, v=1, …, NLv(k+1), v=1, …, N. This is equivalent to extracting the low-pass filter of the periodic subsequences.

[0093] Step 4: Detrending of Smoothed Cycle-subseries: S(k+1)v = C(k+1)vL(k+1)vSv(k+1) = Cv(k+1) - Lv(k+1).

[0094] Step 5: Deseasonalizing: Subtract the periodic component, Yv-S(k+1)vYv-Sv(k+1);

[0095] Step 6: Trend Smoothing: Perform LOESS (q=nn(t)q=nn(t), d=1d=1) regression on the series after removing the period to obtain the trend component T(k+1)vTv(k+1).

[0096] The alarm indicator value calculation unit 604 is used to search for all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0097] In this embodiment, when the alarm indicator value calculation unit 604 collects the values ​​of the alarm indicators, it collects the values ​​of the alarm indicators between 1 to 2 hours before the alarm and 10 minutes after the alarm. The associated alarm indicators here refer to the calling relationship between different alarm objects (each object has multiple monitoring indicators), and thus can affect each other. When an application in the system issues an alarm, since the alarm may occur in multiple indicators, the multiple indicators found are averaged and aggregated in time sequence to obtain a comprehensive entry indicator for the subsequent calculation of similarity values. When the alarm indicator is a single indicator, the single indicator is used as the entry indicator for the subsequent calculation of similarity values. The above collection of alarm indicator values ​​within 1 to 2 hours before the alarm and 10 minutes after the alarm is an optimized time interval to ensure that the root cause can be identified quickly after the alarm is triggered.

[0098] In some embodiments, if it is necessary to expand the search for alarm indicators, the above time interval can also be set to 1 to 6 hours before the alarm and within 10 minutes after the alarm.

[0099] The alarm indicator similarity calculation unit 606 is used to smooth the values ​​of all the alarm indicators and perform similarity calculation on all the alarm indicators in combination with a preset lag value to obtain similarity values ​​of alarm indicators with higher lag values;

[0100] In this embodiment, the alarm indicator similarity calculation unit 606 is used to calculate the similarity values ​​of the alarm indicators by first performing a local weighted regression using the LOESS algorithm to obtain a regression value to obtain a sequence smoothing value; a lag value is preset from 0 to 90 minutes; then, similarities are calculated for all alarm indicators at each preset lag value with the entry indicator to obtain lag value alarm indicators for all alarm indicators at each lag value; finally, lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values. The specific calculation process is the same as step 306 in the above method embodiment and is not repeated here.

[0101] In some embodiments, there may be inverse relationships between alarm indicators, or the root cause indicator may have a small degree of variation, making it impossible to directly calculate similarity. For example, in actual O&M scenarios, two indicators may experience the same change but with significantly different magnitudes, resulting in a low similarity correlation value. Furthermore, some alarm indicators may experience the same changes as entry indicators, but such changes are normal for these indicators and cannot be considered the root cause of the fault. Therefore, in addition to using the aforementioned LOESS algorithm, the similarity calculation input model also needs to incorporate the residual value calculation of the historical STL cycle component. Similarity calculations are performed on the residuals of each alarm indicator to comprehensively reflect the degree of variation. The alarm indicator similarity calculation unit 606 is used to calculate the similarity value of the alarm indicator. Specifically, the following steps are adopted: first, the residual value of the sequence smoothing value obtained by the LOESS algorithm of the alarm indicator and the historical STL periodic component is collected, and similarity calculation is performed on the alarm indicators with STL periodic component residual values ​​to obtain the similarity value of the STL residual value alarm indicator; if the similarity value of the STL residual value alarm indicator and the similarity value of the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

[0102] The root cause alarm indicator output unit 608 is used to summarize the similarity values ​​of the alarm indicators with higher lag values, sort the alarm indicators with higher similarity values ​​in combination with the call chain hierarchical relationship, and output the call chain devices corresponding to the alarm indicators with higher similarity values ​​as the root causes.

[0103] In this embodiment, one alarm indicator may correspond to multiple groups of results. Combined with the call chain hierarchical relationship, all related alarm indicators are sorted to ensure the diversity of the output root causes. The similarity values ​​of the alarm indicators obtained in this way can obtain the highest numerical similarity average and delay amount. For the call chain hierarchical relationship information, the more downstream the object is, the more it will affect the upstream object, and the greater the possibility of the root cause. After sorting according to similarity, the number of upstream call chains in the call chain will decrease accordingly. If an object has a potential root cause of a downstream object, then the object may be an affected object, and this object can be directly excluded. Finally, the alarm indicator with the highest ranking will be output as the root cause indicator. Finding and locating the root cause requires determining the root cause device of the fault. Therefore, after confirming the alarm indicator as the root cause indicator, the corresponding call chain device is found in the call chain hierarchical relationship to determine that it is the root cause of the fault.

[0104] In one embodiment, a computer 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 computer program, the following steps are performed:

[0105] Receive abnormal information and issue alarm information;

[0106] Search for all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0107] Smoothing the values ​​of all the alarm indicators, and performing similarity calculations on all the alarm indicators in combination with preset lag values ​​to obtain similarity values ​​of alarm indicators with higher lag values;

[0108] Summarize the similarity values ​​of the alarm indicators with higher lag values, and sort the alarm indicators with higher similarity values ​​based on the call chain hierarchical relationship;

[0109] The call chain device corresponding to the alarm indicator with the highest similarity value is output as the root cause.

[0110] In one embodiment, when the processor executes the computer program, the following steps are further performed: the values ​​of the collected and alarm indicators are values ​​of the alarm indicators collected between 1 to 2 hours before the alarm and 10 minutes after the alarm.

[0111] In one embodiment, when the processor executes the computer program, the processor further performs the following steps:

[0112] The regression value is obtained by performing local weighted regression using the LOESS algorithm to obtain the smoothed value of the sequence;

[0113] The preset lag value is 0 to 90 minutes;

[0114] Calculate the similarity between all alarm indicators and the entry indicator at each preset lag value, and obtain the lag value alarm indicators of all alarm indicators at each lag value;

[0115] The lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values.

[0116] In one embodiment, when the processor executes the computer program, the processor further performs the following steps:

[0117] Collect the residual value of the smoothed value of the sequence obtained by the LOESS algorithm and the historical STL period component of the alarm indicator;

[0118] Similarity calculation is performed on the alarm indicators with STL period component residual values ​​to obtain similarity values ​​of the STL residual value alarm indicators;

[0119] If the similarity values ​​of the STL residual value alarm indicator and the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

[0120] In one embodiment, a storage medium storing computer-readable instructions is provided. When the computer-readable instructions are executed by one or more processors, the one or more processors are caused to perform the following steps:

[0121] Receive abnormal information and issue alarm information;

[0122] Search for all alarm indicators associated with the alarm information according to the call chain and collect the values ​​of the alarm indicators;

[0123] Smoothing the values ​​of all the alarm indicators, and performing similarity calculations on all the alarm indicators in combination with preset lag values ​​to obtain similarity values ​​of alarm indicators with higher lag values;

[0124] Summarize the similarity values ​​of the alarm indicators with higher lag values, and sort the alarm indicators with higher similarity values ​​based on the call chain hierarchical relationship;

[0125] The call chain device corresponding to the alarm indicator with the highest similarity value is output as the root cause.

[0126] In one embodiment, when the processor executes the computer readable instructions, it further performs the following steps:

[0127] The values ​​of the collection and alarm indicators are values ​​of the alarm indicators collected between 1 to 2 hours before the alarm and 10 minutes after the alarm.

[0128] In one embodiment, when the processor executes the computer readable instructions, it further performs the following steps:

[0129] The regression value is obtained by performing local weighted regression using the LOESS algorithm to obtain the smoothed value of the sequence;

[0130] The preset lag value is 0 to 90 minutes;

[0131] Calculate the similarity between all alarm indicators and the entry indicator at each preset lag value, and obtain the lag value alarm indicators of all alarm indicators at each lag value;

[0132] The lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values.

[0133] In one embodiment, when the processor executes the computer readable instructions, it further performs the following steps:

[0134] Collect the residual value of the smoothed value of the sequence obtained by the LOESS algorithm and the historical STL period component of the alarm indicator;

[0135] Similarity calculation is performed on the alarm indicators with STL period component residual values ​​to obtain similarity values ​​of the STL residual value alarm indicators;

[0136] If the similarity values ​​of the STL residual value alarm indicator and the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

[0137] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed, the program can include the processes in the above-described method embodiments. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0138] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0139] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.

Claims

1. A root cause location method, characterized in that: The root cause location method is used for locating the root cause of a fault in operation and maintenance work by a root cause analysis system, and includes the following steps: Receive abnormal information and issue warning information; Searching for all alarm indicators associated with the alarm information according to the call chain, and collecting the values ​​of the alarm indicators; Smoothing the values ​​of all the alarm indicators, and performing similarity calculations on all the alarm indicators in combination with preset lag values, so as to obtain lag value alarm indicators with higher similarity values; wherein the lag value represents the time series before the alarm starts; Summarize the similarity values ​​of the alarm indicators with higher lag values, and sort the alarm indicators with higher similarity values ​​in combination with the call chain hierarchical relationship; Outputting the call chain devices corresponding to the alarm indicators with the highest similarity values ​​as the root causes; The step of smoothing the values ​​of all the alarm indicators and calculating the similarity of all the alarm indicators in combination with the preset lag value to obtain the similarity value of the alarm indicator with a higher lag value specifically includes the following steps: The regression value is obtained by performing local weighted regression using the LOESS algorithm to obtain the sequence smoothing value; The default lag value is 0~90 minutes; Calculate the similarity between all alarm indicators and the entry indicator at each preset lag value, and obtain the lag value alarm indicators of all alarm indicators at each lag value; The lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain alarm indicators with higher similarity values.

2. The root cause location method according to claim 1, characterized in that: Collecting the values ​​of the alarm indicators is collecting the values ​​of the alarm indicators between 1 to 2 hours before the alarm and 10 minutes after the alarm.

3. The root cause location method according to claim 1 or 2, characterized in that: The step of smoothing the values ​​of all the alarm indicators and calculating the similarity of all the alarm indicators in combination with the preset lag value to obtain the similarity value of the alarm indicator with a higher lag value also includes the following steps: Collect the residual value of the smoothed value of the sequence obtained by the LOESS algorithm and the historical STL periodic component of the alarm indicator; For the alarm indicators with STL periodic component residual values, similarity calculations are performed respectively to obtain similarity values ​​of the STL residual value alarm indicators; If the similarity value of the STL residual value alarm indicator and the similarity value of the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

4. A root cause locating device, characterized in that: The root cause locating device is used for locating the root cause of the fault in the operation and maintenance work by the root cause analysis system, and the root cause locating device comprises: an abnormality detection unit, an alarm indicator value calculation unit, an alarm indicator similarity calculation unit and a root cause alarm indicator output unit; An anomaly detection unit, used to receive anomaly information and issue an alarm message; An alarm indicator value calculation unit, used to search for all alarm indicators associated with the alarm information according to the call chain, and collect the values ​​of the alarm indicators; An alarm indicator similarity calculation unit is used to smooth the values ​​of all the alarm indicators, and perform similarity calculations on all the alarm indicators in combination with a preset lag value to obtain a lag value alarm indicator with a higher similarity value; wherein the lag value represents a time series before the alarm starts; A root cause alarm indicator output unit, used to summarize the similarity values ​​of the alarm indicators with higher lag values, sort the alarm indicators with higher similarity values ​​in combination with the call chain hierarchical relationship, and output the call chain devices corresponding to the alarm indicators with higher similarity values ​​as the root causes; Among them, the alarm indicator similarity calculation unit is used to calculate the similarity value of the alarm indicator by: first, performing local weighted regression through the LOESS algorithm to obtain the regression value to obtain the sequence smoothing value; the preset lag value is 0~90 minutes; then all the alarm indicators are calculated with the entry indicator at each preset lag value. The similarity is obtained to obtain the lag value alarm indicator of all the alarm indicators at each lag value; finally, the lag value alarm indicators with similarity values ​​greater than 0.65 are merged to obtain the alarm indicators with higher similarity values.

5. The root cause locating device according to claim 4, characterized in that: When collecting the values ​​of the alarm indicators, the alarm indicator value calculation unit collects the values ​​of the alarm indicators between 1 to 2 hours before the alarm and 10 minutes after the alarm.

6. The root cause locating device according to claim 4 or 5, characterized in that: The alarm indicator similarity calculation unit is used to calculate the similarity value of the alarm indicator by: firstly collecting the residual value of the sequence smoothing value obtained by the LOESS algorithm and the historical STL periodic component of the alarm indicator, and performing similarity calculation for the alarm indicators with the residual value of the STL periodic component respectively, so as to obtain the similarity value of the STL residual value alarm indicator; If the similarity value of the STL residual value alarm indicator and the similarity value of the corresponding lag value alarm indicator are both greater than 0.65, the similarity values ​​of the alarm indicators are merged to obtain an alarm indicator with a higher similarity value.

7. A computer device, comprising a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the root cause locating method according to any one of claims 1 to 3.

8. A storage medium storing computer-readable instructions, wherein when the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the root cause locating method according to any one of claims 1 to 3.