Alarm decision-making method, device, equipment, medium and product
By combining the secondary decision-making method of threshold, box-whisker plot and change rate upper limit anomaly detection algorithm, the problem of insufficient accuracy of alarm decision-making in AIOps is solved, accurate anomaly detection and alarm of the operating data of the AIOps system are achieved, and errors are reduced. The occurrence of false positives and false negatives.
Patent Information
- Application Number
- CN202410675654.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-09-17
AI Technical Summary
In the existing AIOps prediction and early warning methods, if the abnormal alarm threshold is set too low, it will cause false alarms (alarm storms) in the system. If it is set too high, alarms may be missed, resulting in insufficient accuracy of alarm decisions.
A secondary decision-making method based on threshold, box-and-whisker plot and change rate upper limit anomaly detection algorithm is adopted. Through the comprehensive application of three judgment criteria, it is determined whether there are threshold anomalies, dispersion anomalies and change rate anomalies in the operating data, thereby improving the accuracy of alarm decisions. accuracy.
It effectively reduces false alarms and missed alarms, improves the accuracy of alarm decisions, makes them more consistent with actual system operation, and avoids system false alarms or missed alarms that are easily caused by one decision.
Smart Images

Figure CN118658282A
Abstract
Description
Technical Field
[0001] The present application relates to the field of operation and maintenance technology, and in particular to alarm decision methods, devices, equipment, media and products. Background Art
[0002] AIOps (Artificial Intelligence for IT Operations) is the application of artificial intelligence to the field of operation and maintenance. It uses technologies such as big data and machine learning, combined with existing operation and maintenance tools, to achieve intelligent and automated operation and maintenance, and improve the efficiency and quality of operation and maintenance. In the AIOps process, the prediction and early warning function can be used to issue early warnings for possible problems or bottlenecks, allowing operation and maintenance personnel to take measures in advance to avoid failures.
[0003] The prediction and warning in the existing technology mainly makes alarm decisions by setting an abnormal alarm threshold. In this method, if the abnormal alarm threshold is set too low, it may cause the problem of system false alarm (i.e., "alarm storm"). If the abnormal alarm threshold is set too high, the system may have the problem of missed alarms.
[0004] Therefore, it is necessary to propose a solution to improve the accuracy of alarm decisions.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0006] The main purpose of this application is to provide an alarm decision method, device, equipment, medium and product, aiming to improve the accuracy of alarm decision.
[0007] To achieve the above object, the present application provides an alarm decision method, the method comprising:
[0008] Obtain the operating data of the target system;
[0009] Based on the preset judgment criteria, a secondary decision is made on the operation data to determine the judgment result;
[0010] If there is any abnormality in the judgment result, an alarm is issued.
[0011] In one embodiment, the judgment criteria include a first judgment criteria, a second judgment criteria, and a third judgment criteria, and the step of making a secondary decision on the operation data based on the preset judgment criteria to determine the judgment result includes:
[0012] Determining whether the operating data meets the first determination criterion;
[0013] If the operating data meets the first judgment standard, determining a judgment result according to whether the operating data meets the second judgment standard and / or the third judgment standard;
[0014] If the operating data does not satisfy the first judgment standard, the judgment result is determined to be a threshold abnormality.
[0015] In one embodiment, the operating data includes a plurality of observation values, and the step of determining whether the operating data meets the first determination criterion includes:
[0016] Determine whether there is an observation value in the operating data that exceeds a preset abnormal alarm threshold;
[0017] If there is an observation value in the operating data that exceeds a preset abnormal alarm threshold, it is determined that the operating data does not meet the first judgment criterion;
[0018] If there is no observed value in the operating data that exceeds the preset abnormal alarm threshold, it is determined that the operating data meets the first judgment criterion.
[0019] In one embodiment, the step of determining the judgment result according to whether the operation data satisfies the second judgment criterion and / or the third judgment criterion comprises:
[0020] Determining whether the operating data meets a second determination criterion, and / or determining whether the operating data meets a third determination criterion;
[0021] If the operating data does not meet the second judgment standard, determining that the judgment result is abnormal dispersion;
[0022] If the operating data does not satisfy the third judgment standard, determining that the judgment result is abnormal change rate;
[0023] If the operating data does not satisfy the second judgment standard and the third judgment standard, the judgment result is determined to be abnormal in terms of dispersion and change rate.
[0024] In one embodiment, the step of determining whether the operating data meets the second determination criterion includes:
[0025] Selecting or determining the lower quartile and the upper quartile of the operating data;
[0026] Based on the box-whisker plot theory, the upper bound is calculated according to the lower quartile and the upper quartile;
[0027] Determine whether there is an observation value greater than or equal to the upper bound in the operating data;
[0028] If there is an observation value in the operating data that is greater than or equal to the upper limit, it is determined that the operating data does not meet the second judgment criterion;
[0029] If there is no observed value greater than or equal to the upper limit in the operating data, it is determined that the operating data meets the second judgment criterion.
[0030] In one embodiment, the step of determining whether the operating data meets a third determination criterion includes:
[0031] Calculate the change rate and average value corresponding to each observation value in the operation data;
[0032] Based on the change rate upper limit anomaly detection algorithm, determine the anomaly upper limit according to the change rate and the average value;
[0033] Determine whether there is an observation value whose rate of change is greater than or equal to the abnormal upper limit;
[0034] If there is an observation value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data does not meet the third judgment criterion;
[0035] If there is no observed value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data meets the third judgment criterion.
[0036] In one embodiment, after the step of making a secondary decision on the operation data based on a preset judgment standard and determining the judgment result, the step further includes:
[0037] Identify whether the judgment result includes threshold abnormality, discreteness abnormality, change rate abnormality, discreteness and change rate abnormality;
[0038] If the judgment result does not include threshold abnormality, discreteness abnormality, change rate abnormality, and discreteness and change rate abnormality, then it is determined that the judgment result does not have abnormality;
[0039] If the judgment result includes at least one of a threshold abnormality, a discreteness abnormality, a change rate abnormality, and a discreteness and change rate abnormality, it is determined that the judgment result is abnormal.
[0040] In addition, to achieve the above purpose, the present application also proposes an alarm decision device, the alarm decision device comprising:
[0041] An acquisition module is used to acquire the operation data of the target system;
[0042] A decision module, used to make a secondary decision on the operation data based on a preset judgment standard to determine a judgment result;
[0043] The alarm module is used to issue an alarm if there is an abnormality in the judgment result.
[0044] In addition, to achieve the above-mentioned purpose, the present application also proposes an alarm decision device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the alarm decision method as described above.
[0045] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the alarm decision method described above are implemented.
[0046] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the alarm decision method described above are implemented.
[0047] One or more technical solutions proposed in this application have at least the following technical effects:
[0048] By acquiring the operating data of the target system; making a secondary decision on the operating data based on preset judgment criteria to determine the judgment result; if the judgment result is abnormal, an alarm is issued. By using the preset judgment criteria, a secondary decision on the operating data of the target system is made, which can avoid the system false alarm or omission problems that are easy to occur in the first decision, and improve the accuracy of the alarm decision. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0050] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0051] Figure 1 This is a flowchart of the first embodiment of the alarm decision method of the present application;
[0052] Figure 2 This is a flow chart of the second embodiment of the alarm decision method of the present application;
[0053] Figure 3 A schematic diagram of a flow chart for constructing a secondary decision-making method in an embodiment of the present application;
[0054] Figure 4This is a flowchart of the third embodiment of the alarm decision method of the present application;
[0055] Figure 5 This is a flowchart of the fourth embodiment of the alarm decision method of the present application;
[0056] Figure 6 This is a schematic diagram of the overall process in the embodiment of the present application;
[0057] Figure 7 A schematic diagram of a data processing flow for example verification in an embodiment of the present application;
[0058] Figure 8 This is a schematic diagram of a RAM occupancy box whisker diagram model in an embodiment of the present application;
[0059] Fig. 9 This is a schematic diagram of the principle of performing fusion judgment according to three judgment criteria in an embodiment of the present application;
[0060] Fig.10 This is a schematic diagram of the module structure of the alarm decision-making device according to an embodiment of the present application;
[0061] Fig.11 A schematic diagram of the device structure of the hardware operating environment involved in the alarm decision method in the embodiment of the present application.
[0062] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0063] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0064] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0065] The main solution of the embodiment of the present application is: to obtain the operating data of the target system; to make a secondary decision on the operating data based on preset judgment criteria to determine the judgment result; if the judgment result is abnormal, an alarm is issued. By using the preset judgment criteria, a secondary decision is made on the operating data of the target system, which can avoid the system false alarm or omission problems that are easy to occur in the first decision, and improve the accuracy of the alarm decision.
[0066] In this embodiment, for ease of description, the following description is made with the alarm decision device as the execution subject.
[0067] The RUBA (Rate of Change and Upper Bound Anomaly Detection) algorithm can be used as a method for anomaly detection in time series data, and it is applicable to many types of time series data. The advantage of the RUBA algorithm is that it is simple and easy to implement. However, the algorithm also has some limitations. For example, it is very sensitive to the choice of the upper bound of the anomaly, and needs to be reasonably set according to the specific data and domain knowledge.
[0068] The box-and-whisker plot, also known as a box plot, is a statistical chart used to show the dispersion of a set of data. It is named because of its box-like shape. It is also often used in various fields, and is common in quality management. It is mainly used to reflect the characteristics of the original data distribution, and can also compare the distribution characteristics of multiple groups of data.
[0069] Since the existing technology is mainly based on threshold theory to solve alarm-related problems, it is easy to cause alarm storms or alarm omissions. In terms of alarm storm suppression, some solutions use a three-layer suppression method (heat change suppression layer, list change suppression layer, and communication media confidence suppression layer) to suppress network public opinion alarm storms. There are also solutions that use extended neighbor sets and kernel density estimation, combined with the directed density ratio of density, distance and direction, to determine the degree of local abnormality of power dispatching monitoring data samples.
[0070] This application provides a solution by integrating three mathematical tools, namely, RUBA algorithm, box-whisker plot and threshold theory, to establish a new secondary decision-making method for upper-bound abnormal alarms, so as to suppress the problem of false alarms and missed alarms of target system operation indicators.
[0071] This application is based on the RUBA algorithm, box-whisker plot and threshold theory. In terms of technical features, it looks at the blockchain system alarm data from three perspectives:
[0072] 1) The rate of change between the previous and next data;
[0073] 2) The degree of dispersion of the data distribution itself;
[0074] 3) Data upper threshold.
[0075] Technical optimization was carried out from three angles, including the comprehensive application of the upper bound anomaly judgment criteria of the three algorithms or theories with the "AND" logical rule, and a new secondary decision-making method for the upper bound anomaly alarm of the blockchain system AIOps was constructed. This provides a theoretical basis and specific data processing methods for quantitatively solving the "upper bound anomaly alarm" problem. The new method can greatly reduce the false positives and missed negatives of alarms, making it more in line with the actual situation of blockchain system operation alarms.
[0076] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, an alarm decision device, etc. The following takes the alarm decision device as an example to illustrate this embodiment and the following embodiments.
[0077] Based on this, the embodiment of the present application provides an alarm decision method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the alarm decision method of the present application.
[0078] In this embodiment, the alarm decision method includes steps S10 to S30:
[0079] Step S10, obtaining the operating data of the target system;
[0080] Specifically, the target system in this application can be a blockchain system or various IT systems. In this embodiment, the blockchain system is used as an example for explanation.
[0081] Optionally, the operating data of the target system may be operating indicators of the target system such as RAM (Random Access Memory) occupancy rate, various usage rates (such as CPU occupancy rate, storage occupancy rate, etc.), various load proportions, average time consumption, etc. In this embodiment, RAM occupancy rate is mainly used as an example for explanation.
[0082] Optionally, in the process of obtaining the operating data of the blockchain system, a middleware tool (such as Prometheus) can be used to collect the operating data of the blockchain node (such as memory occupancy, CPU occupancy, disk, etc.) every preset time interval (such as 5 minutes), and use Prometheus to store the collected time series data, and provide a query method for legitimate users.
[0083] Step S20, based on a preset judgment standard, a secondary decision is made on the operation data to determine a judgment result;
[0084] Furthermore, after the operation data of the target system is obtained, a secondary decision can be made on the operation data based on a preset judgment standard to determine the judgment result.
[0085] Optionally, the judgment criteria include a first judgment criteria, a second judgment criteria and a third judgment criteria.
[0086] Optionally, the first judgment criterion is a judgment criterion constructed based on a threshold, the second judgment criterion is a judgment criterion constructed based on a box-whisker plot theory, and the third judgment criterion is a judgment criterion constructed based on a RUBA algorithm.
[0087] Optionally, in the process of making a secondary decision on the operating data based on the first judgment criterion, the second judgment criterion and the third judgment criterion, there is no particular order in which the judgment criteria are used for judgment, and the judgment criteria can also be implemented in combination of two. This embodiment does not constitute a specific limitation on the implementation order and combination method.
[0088] Step S30: If the judgment result is abnormal, an alarm is issued.
[0089] Furthermore, based on the preset judgment criteria, a secondary decision is made on the operating data. After the judgment result is determined, it can be determined whether to issue an alarm based on whether there is an abnormality in the judgment result.
[0090] Optionally, based on a preset judgment standard, a secondary decision is made on the operation data, and after the step of determining the judgment result, the step further includes:
[0091] Identify whether the judgment result includes threshold abnormality, discreteness abnormality, change rate abnormality, discreteness and change rate abnormality;
[0092] If the judgment result does not include threshold abnormality, discreteness abnormality, change rate abnormality, and discreteness and change rate abnormality, then it is determined that the judgment result does not have abnormality;
[0093] If the judgment result includes at least one of a threshold abnormality, a discreteness abnormality, a change rate abnormality, and a discreteness and change rate abnormality, it is determined that the judgment result is abnormal.
[0094] Optionally, if the judgment result does not include threshold abnormality, discreteness abnormality, change rate abnormality, discreteness and change rate abnormality, it means that the operating data meets the first judgment standard, the second judgment standard and the third judgment standard, then it can be determined that there is no abnormality in the judgment result and no alarm is required.
[0095] Optionally, if the judgment result includes at least one of threshold abnormality, discreteness abnormality, change rate abnormality, discreteness and change rate abnormality, it means that the operating data does not meet the first judgment standard, the second judgment standard or the third judgment standard, then the judgment result is determined to be abnormal and an alarm needs to be issued.
[0096] This embodiment adopts the above scheme, specifically by acquiring the operating data of the target system; based on the preset judgment standard, a secondary decision is made on the operating data to determine the judgment result; if there is an abnormality in the judgment result, an alarm is issued. In this application, a secondary decision is made on the operating data of the target system through the preset judgment standard, which can avoid the system false alarm or omission problem that is easy to cause by the first decision, and improve the accuracy of the alarm decision.
[0097] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can refer to the above introduction, and will not be repeated later. Figure 2 In a feasible implementation manner, step S20 may include steps S21 to S23:
[0098] Step S21: determining whether the operating data meets the first determination criterion;
[0099] Step S22: if the operation data meets the first judgment standard, determining a judgment result according to whether the operation data meets the second judgment standard and / or the third judgment standard;
[0100] Step S23: If the operating data does not meet the first judgment standard, the judgment result is determined to be a threshold abnormality.
[0101] Optionally, the operating data includes a number of observations.
[0102] Optionally, the step of judging whether the operating data meets the first judgment criterion includes:
[0103] Determine whether there is an observation value in the operating data that exceeds a preset abnormal alarm threshold;
[0104] If there is an observation value in the operating data that exceeds a preset abnormal alarm threshold, it is determined that the operating data does not meet the first judgment criterion;
[0105] If there is no observed value in the operating data that exceeds the preset abnormal alarm threshold, it is determined that the operating data meets the first judgment criterion.
[0106] Optionally, the step of determining the judgment result according to whether the operation data meets the second judgment criterion and / or the third judgment criterion includes:
[0107] Determining whether the operating data meets a second determination criterion, and / or determining whether the operating data meets a third determination criterion;
[0108] If the operating data does not meet the second judgment standard, determining that the judgment result is abnormal dispersion;
[0109] If the operating data does not satisfy the third judgment standard, determining that the judgment result is abnormal change rate;
[0110] If the operating data does not satisfy the second judgment standard and the third judgment standard, the judgment result is determined to be abnormal in terms of dispersion and change rate.
[0111] Optionally, the first judgment criterion is a judgment criterion constructed based on a threshold, the second judgment criterion is a judgment criterion constructed based on a box-whisker plot theory, and the third judgment criterion is a judgment criterion constructed based on a RUBA algorithm.
[0112] In a feasible implementation, since the judgment method based on the threshold is more convenient, the first judgment criterion is used for preliminary judgment, and then the second judgment criterion and / or the third judgment criterion are used for further judgment. Among them, the results obtained by using the first judgment criterion, the second judgment criterion and the third judgment criterion have the highest accuracy, that is, the secondary decision-making method constructed with the three judgment criteria using "and" logic is the most effective. This embodiment is explained in terms of the method in which all three judgment criteria are used.
[0113] Reference Figure 3 , Figure 3 A schematic diagram of a secondary decision-making method in an embodiment of the present application is constructed as follows: Figure 3 As shown,
[0114] Optionally, based on the threshold theory, the first judgment criterion of the secondary decision-making method for the upper-bound abnormal alarm of blockchain AIOps is constructed. The existing upper-bound abnormal alarm of blockchain AIOps is based on a single threshold of 80%. As long as the threshold is exceeded, an alarm will be sounded, which may trigger an "alarm storm". In this embodiment, based on the actual situation of blockchain operation, the threshold of blockchain operation indicators is improved with a new judgment criterion. In this embodiment, 95% is used as the preset abnormal alarm threshold, that is, the threshold is increased from 80% to 95%, which may be able to better reduce the problem of false alarms. The resulting underreporting problem can be solved together through other judgment criteria.
[0115] Optionally, based on the box-whisker plot theory, a second judgment criterion for the secondary decision-making method of the blockchain AIOps upper bound anomaly alarm can be constructed; based on the RUBA algorithm, a third judgment criterion for the secondary decision-making method of the blockchain AIOps upper bound anomaly alarm can be constructed.
[0116] This embodiment uses the above scheme, specifically by using the change rate upper limit anomaly detection algorithm, box whisker plot, and threshold algorithms or theories as tools to construct a new decision-making method, and respectively constructs three judgment criteria for the new decision-making method. These three judgment criteria are integrated with the logic of "and", defining a new secondary decision-making method for the upper limit abnormal alarm of blockchain AIOps, providing a theoretical basis and specific data processing method for quantitatively determining the upper limit of the alarm and solving the problem of "false alarm omissions". The new decision-making method can be made more in line with the actual operation of the blockchain system operation indicators, and used to guide actual production and operation and maintenance work.
[0117] Based on the second embodiment of the present application, in the third embodiment of the present application, the same or similar contents as any of the above embodiments can refer to the above introduction, and will not be repeated later. Figure 4 In a feasible implementation manner, the step of determining whether the operating data meets the second determination criterion may include steps S2211 to S2215:
[0118] Step S2211: Select or determine the lower quartile and the upper quartile of the operating data;
[0119] Step S2212: Based on the box-whisker plot theory, an upper bound is calculated according to the lower quartile and the upper quartile;
[0120] Step S2213: Determine whether there is an observation value greater than or equal to the upper limit in the operating data;
[0121] Step S2214: if there is an observation value greater than or equal to the upper limit in the operating data, it is determined that the operating data does not meet the second judgment criterion;
[0122] Step S2215: If there is no observation value greater than or equal to the upper limit in the operating data, it is determined that the operating data meets the second judgment criterion.
[0123] Specifically, a boxplot is a statistical graph used to display the distribution of quantitative data. It is based on the lower limit, lower quartile, median, upper quartile and upper limit, and uses boxes and whiskers to display the interquartile range, outliers and the degree of skewness of the data distribution. The boxplot is suitable for comparison between multiple data sets or variables, which helps to find outliers and understand the overall shape of the data.
[0124] Optionally, five statistics of the running data are calculated in this embodiment: lower quartile (Q1), median (Q2), upper quartile (Q3), lower bound and upper bound.
[0125] Optionally, lower quartile (Q1): Sort the data in ascending order of size, and then find the number at position (n+1) / 4, where n is the number of observations in the data set. If (n+1) / 4 is an integer, the lower quartile is the observation at that position; if (n+1) / 4 is not an integer, the lower quartile is the average of the two observations at that position and the positions before and after it.
[0126] Alternatively, median (Q2): Sort the data in ascending order of size, and then find the number at position (n+1) / 2, where n is the number of observations in the data set. If (n+1) / 2 is an integer, then the median is the observation at that position; if (n+1) / 2 is not an integer, then the median is the average of the two observations at that position and the positions before and after it.
[0127] Optionally, upper quartile (Q3): Sort the data in ascending order of size, and then find the number at position 3(n+1) / 4, where n is the number of observations in the data set. If 3(n+1) / 4 is an integer, the upper quartile is the observation at that position; if 3(n+1) / 4 is not an integer, the upper quartile is the average of the two observations at that position and the positions before and after it.
[0128] Optionally, the upper limit is Q3+1.5*IQR, and the lower limit is Q1-1.5*IQR, wherein the interquartile range IQR=Q3-Q1.
[0129] Optionally, after determining the statistics of the running data, a box may be drawn, including drawing a rectangular box, the upper boundary of which is the upper quartile (Q3), the lower boundary of which is the lower quartile (Q1), and a line of the median (Q2) is generally drawn inside the box.
[0130] Optionally, once the box is drawn, whiskers can be drawn, extending upward from the upper boundary of the box to the maximum value within the upper quartile plus 1.5 times the interquartile range, and extending downward from the lower boundary of the box to the minimum value within the lower quartile minus 1.5 times the interquartile range. These are considered normal values in the box and whisker plot.
[0131] It should be noted that in this embodiment, what is discussed is the abnormal point that exceeds the upper limit. Therefore, if the actual collected data (i.e., the observed value) exceeds the upper limit, it is an abnormal point; if it is lower than the lower limit, it has no actual alarm significance in this embodiment.
[0132] Optionally, after the box-whisker plot is drawn, outliers can be marked, and data points exceeding the upper limit of the box-whisker plot are regarded as outliers, i.e., abnormal points, and an alarm can be issued.
[0133] This embodiment adopts the above scheme, specifically by selecting or determining the lower quartile and the upper quartile of the operating data; based on the box-whisker plot theory, calculating the upper bound according to the lower quartile and the upper quartile; judging whether there are observation values greater than or equal to the upper bound in the operating data; if there are observation values greater than or equal to the upper bound in the operating data, judging that the operating data does not meet the second judgment criterion; if there are no observation values greater than or equal to the upper bound in the operating data, judging that the operating data meets the second judgment criterion, and comparing the observation values in the operating data, which is helpful to understand the overall form of the operating data, and can quickly discover abnormal observation values, thereby issuing an alarm and reducing the risk of missed alarms.
[0134] Based on any of the above embodiments of the present application, in the fourth embodiment of the present application, the same or similar contents as any of the above embodiments can refer to the above introduction, and will not be repeated later. Figure 5 In a feasible implementation manner, the step of determining whether the operating data meets the third determination criterion may include steps S2221 to S2225:
[0135] Step S2221: Calculate the change rate and average value corresponding to each observation value in the operation data;
[0136] Step S2222: Based on the change rate upper limit anomaly detection algorithm, determine the upper limit of the anomaly according to the change rate and the average value;
[0137] Step S2223: Determine whether there is an observation value whose change rate is greater than or equal to the abnormal upper limit;
[0138] Step S2224: if there is an observation value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data does not meet the third judgment criterion;
[0139] Step S2225: If there is no observed value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data meets the third judgment criterion.
[0140] Specifically, RUBA (Rate of Change and Upper Bound Anomaly Detection) algorithm, namely rate of change and upper bound anomaly detection, is an algorithm for detecting outliers in time series data.
[0141] Optionally, for a given time series data {X1, X2...Xi...Xn}, i ranges from 1 to n. First, the rate of change between adjacent data points is calculated.
[0142] Optionally, the rate of change between adjacent data points Rate i,i+1: It can be obtained by calculating the difference between adjacent data points and is usually expressed as an absolute value or a percentage.
[0143] Rate = (later value - previous value) / previous value, that is, Rate i,i+1 =(X i+1 -X i ) / X i , i=1,2,……n-1.
[0144] Optionally, in this embodiment, the RUBA algorithm is used to determine the abnormal upper bound according to the actual data's own rate of change:
[0145] First calculate the average of the rates of change:
[0146] Rate 平均值 =(Rate 1,2 +……Rate i,i+1 +……Rate n-1,n ) / (n-1)=(Σ(Rate i,i+1 )) / (n-1),
[0147] i=1,2,……n-1
[0148] Next, calculate the sum of the squares of the differences between the rate of change and the mean of the rate of change:
[0149] (Rate 1,2 -Rate 平均值 )2+……+(Rate i,i+1 -Rate 平均值 )2+……(Rate n-1,n -Rate 平均值 )2
[0150] =Σ(Rate i,i+1 --Rate 平均值 )2, i=1,2,……n-1.
[0151] Finally, calculate the variance σ
[0152] σ=SQRT(Σ(Rate i,i+1 -Rate 平均值 )2 / (n-1)), i=1,2,...n-1.
[0153] Optionally, if the rate of change of a data point exceeds the upper limit of abnormality, the data point is marked as abnormal.
[0154] Optionally, in this embodiment, the upper limit of the abnormal value is taken as: the average value of the change rate + 2σ, that is,
[0155] (Σ(Rate i,i+1)) / (n-1)+2*SQRT((Σ(Rate i,i+1 -Rate 平均值 )2) / (n-1)),
[0156] Where i=1,2,...n-1.
[0157] Optionally, when the rate of change does not exceed the abnormal upper limit, it can be determined to be normal; otherwise, it is abnormal and an alarm can be issued.
[0158] When Rate i,i+1 ≤(Σ(Rate i,i+1 )) / (n-1)+2*SQRT((Σ(Rate i,i+1 -Rate 平均值 )2) / (n-1)), where i=1,2,…n-1.
[0159] Optionally, the RUBA algorithm can be used as a simple method for anomaly detection in time series data, but the RUBA algorithm can only detect abnormal rates of change, so it needs to be used with caution in specific applications and combined with other technologies and methods for comprehensive analysis. Therefore, in this embodiment, the box-whisker plot and threshold theory are also integrated to perform comprehensive analysis in order to make secondary decisions.
[0160] Optionally, in this embodiment, a new secondary decision-making method is constructed, based on the three theoretical tools of RUBA algorithm, box-whisker plot, and threshold, to construct a secondary decision-making method for the upper bound abnormal alarm of blockchain AIOps with the three tools integrated.
[0161] Optionally, the new decision-making method is to combine the three judgment criteria in a logical relationship of "and". The details are as follows:
[0162] 1. When the data is less than or equal to the threshold of 95%, it is normal, and when it exceeds the threshold, it is abnormal.
[0163] 2. When the data Xi≤Q3+1.5*IQR is within the upper range of the box-whisker plot, it is normal; if it is outside this range, it is abnormal. i=1,2,……,n.
[0164] 3. When the rate of change Rate i,i+1 ≤(Σ(Rate i,i+1 )) / (n-1)+2*SQRT((Σ(Rate i,i+1 -Rate 平均值 )2) / (n-1)) is normal, and out of this range is abnormal. Where i=1,2,……n-1.
[0165] If and only if all data {X1, X2…Xi…Xn}, i from 1 to n, meet the above three judgment criteria, and all three judgment criteria determine that the data is normal, the secondary decision of anomaly detection is normal and no alarm is required. If one of the judgment criteria is abnormal, an alarm is issued. The previous one-time decision method is that when all data {X1, X2…Xi…Xn}, i from 1 to n, one data exceeds 80%, an alarm is immediately issued, which may lead to frequent "alarm storms".
[0166] This embodiment adopts the above scheme, specifically by calculating the change rate and average value corresponding to each observation value in the operating data; based on the change rate upper limit abnormality detection algorithm, determining the upper limit of the abnormality according to the change rate and the average value; judging whether there is an observation value with a change rate greater than or equal to the upper limit of the abnormality; if there is an observation value with a change rate greater than or equal to the upper limit of the abnormality, judging that the operating data does not meet the third judgment standard; if there is no observation value with a change rate greater than or equal to the upper limit of the abnormality, judging that the operating data meets the third judgment standard, it can effectively detect data with abnormal change rate in the operating data, and further combine the first judgment standard and the second judgment standard to achieve accurate judgment on whether there is abnormality in the operating data, thereby improving the accuracy of the alarm decision.
[0167] For example, to help understand the implementation process of the alarm decision method obtained by combining this embodiment with the above embodiments, please refer to Figure 6 , Figure 6 It is a schematic diagram of the overall process in the embodiment of the present application, such as Figure 6 As shown in the figure, after constructing the secondary decision-making method based on threshold theory, box-whisker plot theory and RUBA algorithm, it can also be verified by examples.
[0168] Optionally, actual alarm data of the blockchain (such as BOS chain) actually operated and maintained in the production environment is collected for instance verification: the specific process of establishing the secondary decision-making method of the blockchain AIOps upper bound abnormal alarm using the "AND" logic fusion threshold, box-whisker plot, and RUBA algorithm, the process of data processing for actual data, and using the results of the analysis and decision-making to guide production practice.
[0169] Optionally, in this embodiment, the middleware tool Prometheus is used to collect the operation data of a node in the BOS chain (such as memory occupancy, CPU occupancy, disk occupancy, etc.) every 5 minutes. The raw data of 36 "RAM usage" alarms were collected: {89.26%, 89.26%, 89.26%, 89.26%, 89.27%, 89.27%, 89.27%, 89.27%, 89.27%, 89.27%, 89.28%, 89.28%, 89.28%, 89.28%, 89.29%, 89.29%, 89.29%, 89.30%, 89.30%, 89.30%, 89.30%, 89.31%, 89.31%, 89.31%, 89.32%, 89.32%, 89.32%, 89.33%, 89.33%, 89.33%, 89.33%, 89.33%, 89.34%, 89.34%, 89.34%, 89.35%, 89.35%}.
[0170] Optionally, during the data collection process, the RAM occupancy rate (RAM Used) of a node in the BOS chain is collected every 5 minutes. In the original alarm model, if RAM USED exceeds 80%, an alarm will be issued. The BOS chain has 7 block nodes and 12 business nodes. The unified authentication phase II chain has 7 block nodes and 6 business nodes. The above blockchain system has a total of 32 nodes. If the RAM Used of all 32 nodes exceeds 80%, there will be 32 alarms within 5 minutes. In just 5 minutes, there are so many alarms. If the operation and maintenance personnel handle each alarm in real time, then I am afraid that the operation and maintenance personnel will not be able to take care of other operation and maintenance work, which will lead to a serious decline in work efficiency and other operation and maintenance problems: such as customer consultation and Q&A needs, fault work orders, etc. may not be handled in time. How to solve the "alarm storm" problem is a pain point that the operation and maintenance personnel must solve. After raising the threshold, they are faced with the problem of "missing alarms". In this embodiment, the RUBA algorithm, box-whisker plot, and threshold theory are integrated to construct a secondary decision-making method for the upper limit abnormal alarm of blockchain AIOps, which can quantitatively determine the upper limit of the alarm and solve the problem of "false alarm and missed alarm".
[0171] Reference Figure 7 , Figure 7 The following is a schematic diagram of the data processing flow for example verification in the embodiment of the present application. Figure 7As shown, according to the experience accumulation of professional knowledge in the field of RAM occupancy of blockchain node servers, 95% is taken as the threshold of the new secondary decision-making method in this embodiment. Compared with the 80% threshold of the primary decision model, there is a significant improvement. In order to solve the problem of false alarms after raising the threshold, this embodiment integrates the RUBA algorithm and the box-whisker diagram theory, and adds two judgment criteria as limiting conditions: on the one hand, according to the box-whisker diagram theory, the actual alarm data value must be within the upper limit of the box-whisker diagram; on the other hand, according to the RUBA algorithm, the rate of change of the data must also be within the upper limit. By integrating these three judgment criteria, a new secondary decision-making method is defined with the logical relationship of "and" to determine whether the upper limit abnormal alarm data actually collected really needs to be alarmed, thereby minimizing the occurrence of alarm omissions and false alarms.
[0172] Optionally, in the process of optimizing the box-whisker plot theory to construct the second judgment criterion of the new decision-making method, the alarm data is first arranged in ascending order from small to large. After sorting the data, find the number at the (n+1) / 4 position, where n is the number of observations in the data set. If (n+1) / 4 is an integer, the lower quartile is the observation at that position; if (n+1) / 4 is not an integer, the lower quartile is the average of the two observations at that position and the positions before and after it. The position of the lower quartile is (n+1) / 4=9.25, which is not an integer, so the average of the two observations at that position and the positions before and after it is taken. Take the average of the three data at the 9th, 8th, and 10th positions. Lower quartile Q1=(89.27%+89.27%+89.28%) / 3=89.2733%≈89.27% (take two decimal places).
[0173] Optionally, sort the data in ascending order, and then find the number at position (n+1) / 2, where n is the number of observations in the data set. If (n+1) / 2 is an integer, the median is the observation at that position; if (n+1) / 2 is not an integer, the median is the average of the two observations at that position and the positions before and after it. Median (Q2) position: (n+1) / 2=18.5, which is not an integer, then the median is the average of the two observations at that position and the positions before and after it. Take the three data at positions 18, 19, and 20: 89.30%, 89.30%, and 89.30%. Then the median Q2=(89.30%+89.30%+89.30%) / 3=89.30%.
[0174] Alternatively, sort the data in ascending order and then find the number at position 3(n+1) / 4, where n is the number of observations in the data set. If 3(n+1) / 4 is an integer, the upper quartile is the observation at that position; if 3(n+1) / 4 is not an integer, the upper quartile is the average of the two observations at that position and the positions before and after it. The upper quartile position is: 3(n+1) / 4=3*(36+1) / 4=27.75, take the 28th position, and take the two data at the 27th and 29th positions before and after. Upper quartile Q3=(89.32%+89.33%+89.33%) / 3=89.3267%≈89.33%.
[0175] Alternatively, based on the box-whisker plot theory:
[0176] Interquartile range IQR = Q3-Q1 = 89.3267%-89.2733% = 0.0533%
[0177] The upper limit is Q3+1.5*IQR=89.3267%+1.5*0.0533%=89.4067%≈89.41%
[0178] The lower bound is Q1-1.5*IQR=89.285%-1.5*0.0533%=89.1933%≈89.19%
[0179] According to the calculation results, a schematic diagram of the RAM occupancy box-whisker diagram model is drawn as follows Figure 8 As shown, according to the calculation results of the box-whisker plot model, the upper and lower bounds are in the range of [89.19%, 89.41%], and all measured data are in the range of [89.26%, 89.35%], which are all smaller than the upper bound and within the normal range, without the need for alarm.
[0180] Optionally, the optimization of the box-whisker plot theory in this embodiment is as follows: the upper limit abnormal alarm is discussed in this embodiment, so only the upper limit Q3+1.5*IQR of the box-whisker plot theory is used in this embodiment. The lower limit Q1-1.5*IQR has no corresponding practical significance for this embodiment and is not within the scope of the discussion of the upper limit abnormality in this embodiment. Therefore, the lower limit of the box-whisker plot theory is technically "tailored and optimized" to make it more in line with the actual situation of the upper limit abnormal alarm discussed in this embodiment.
[0181] Optionally, in the process of constructing the third judgment criterion of the new decision-making method based on the RUBA algorithm, the change rate of the RAM occupancy rate of each detection is first calculated, which can be expressed as a percentage. The calculation formula is: change rate = ((RAM occupancy rate - previous detection RAM occupancy rate) / previous detection RAM occupancy rate) * 100%. That is, Rate i,i+1 =(X i+1-X i ) / X i , i=1,2,…n-1. 35 change rate data are obtained, as follows: {0.00%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%, 0.00%, 0.01%, 0.00%}.
[0182] Optionally, calculate the average RAM usage. Based on the original alarm data, the average value is:
[0183] (0.00%+0.00%+0.00%+0.01%+0.00%+0.00%+0.00%+0.00%+0.00%+0.01%+0.00%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%+0.00%+0.01%+0.00%) / (36-1)=0.0028795%.
[0184] Optionally, according to the standard deviation calculation formula σ=SQRT((Σ(Rate i,i+1 -Rate 平均值 )2) / (n-1)), substituting the original change rate data, we get the standard deviation σ=0.0048942%.
[0185] Optionally, the abnormal upper limit is determined according to the RUBA algorithm. In this embodiment, based on the actual fault data, a statistical method is used to take the average value plus two times the standard deviation as the abnormal upper limit of the change rate. That is, the abnormal upper limit of the change rate = average value + 2*standard deviation σ = 0.0028795% + 2*0.0048942% = 0.01266793442%, that is, the abnormal upper limit = 0.01266793442%.
[0186] Optionally, according to the above data, it can be known that the maximum change rate is 0.01%, which is less than the abnormal upper limit of 0.01266793442% of the RUBA algorithm. Therefore, the change rate of the RAM occupancy rate detected each time is within the normal range, and no abnormal value occurs.
[0187] Optionally, according to the actual fault alarm data collected, based on the three theoretical tools of RUBA algorithm, box-whisker plot and threshold, a new secondary decision-making method for the upper bound abnormal alarm of blockchain AIOps is constructed by integrating the three tools.
[0188] Reference Fig. 9 , Fig. 9 FIG. 1 is a schematic diagram of the principle of performing fusion judgment according to three judgment criteria in the embodiment of the present application. Fig. 9 As shown in the figure, the new decision-making method is based on the three judgment criteria in a logical relationship of "and" for fusion judgment. The details are as follows:
[0189] 1. When the data is less than or equal to the threshold of 95%, it is normal, and when it exceeds the threshold, it is abnormal.
[0190] Conclusion 1: All measured data sizes are below 95% and are normal.
[0191] 2. When the actual collected data is within the upper range of the box-whisker plot, it is normal, and beyond this range, it is abnormal. That is, Xi≤Q3+1.5*IQR, i=1,2,……,n. It is normal.
[0192] Conclusion 2: According to the calculation results of the box-whisker plot model, the range of the upper limit Q3+1.5*IQR and the lower limit Q1-1.5*IQR is [89.19%, 89.41%]. All measured data ranges from [89.26%, 89.35%], which are all smaller than the upper limit and are normal.
[0193] It should be noted that the lower bound of the model, 89.19%, has little practical significance in this embodiment and can be “trimmed and optimized”.
[0194] 3. When the rate of change Ratei, i+1≤(Σ(Ratei, i+1)) / (n-1)+2*SQRT((Σ(Ratei, i+1-Rate average)2) / (n-1)), it is normal, and it is abnormal when it exceeds this range. Where i=1,2,……n-1.
[0195] The abnormal upper limit of the change rate Ratei, i+1≤ is 0.01266793442%, where i=1,2,……n-1.
[0196] Conclusion 3: The actual change rate of collected data is 0.00% to 0.01%, which is normal.
[0197] If and only if all data {X1, X2…Xi…Xn}, i from 1 to n, meet the above three judgment criteria and all three judgment criteria are judged to be normal, the secondary decision of anomaly detection is normal and no alarm is required.
[0198] This embodiment uses the above scheme, according to the three-tool "and" logic fusion blockchain AIOps upper limit abnormal alarm secondary decision method obtained by the actual data collection example, the data {X1, X2...Xi...Xn}, i from 1 to n, is substituted into the above three judgment criteria, and it can be seen that the judgment results of the actual fault alarm data are all normal, so there is no need to alarm. The previous one-time decision model is that when all the data {X1, X2...Xi...Xn}, i from 1 to n, one data exceeds the threshold of 80%, then an alarm is immediately issued. According to the newly established three-tool fusion blockchain AIOps upper limit abnormal alarm secondary decision method, there is no need to alarm, thereby reducing the occurrence of "false alarms" of alarms.
[0199] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the alarm decision method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0200] This application also provides an alarm decision device, please refer to Fig.10 , the alarm decision device comprises:
[0201] An acquisition module is used to acquire the operation data of the target system;
[0202] A decision module, used to make a secondary decision on the operation data based on a preset judgment standard to determine a judgment result;
[0203] The alarm module is used to issue an alarm if there is an abnormality in the judgment result.
[0204] The alarm decision device provided by the present application adopts the alarm decision method in the above embodiment to solve the technical problem of alarm decision. Compared with the prior art, the beneficial effects of the alarm decision device provided by the present application are the same as the beneficial effects of the alarm decision method provided by the above embodiment, and other technical features in the alarm decision device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0205] The present application provides an alarm decision device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the alarm decision method in the above-mentioned embodiment one.
[0206] Reference below Fig.11, which shows a schematic diagram of the structure of an alarm decision device suitable for implementing an embodiment of the present application. The alarm decision device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.11 The alarm decision device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0207] like Fig.11 As shown, the alarm decision device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the alarm decision device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the alarm decision device to communicate with other devices wirelessly or by wire to exchange data. Although the alarm decision device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0208] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0209] The alarm decision device provided by the present application adopts the alarm decision method in the above embodiment to solve the technical problem of alarm decision. Compared with the prior art, the beneficial effects of the alarm decision device provided by the present application are the same as the beneficial effects of the alarm decision method provided by the above embodiment, and the other technical features in the alarm decision device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0210] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0211] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0212] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the alarm decision method in the above-mentioned embodiment.
[0213] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0214] The computer-readable storage medium may be included in the alarm decision device; or may exist independently without being installed in the alarm decision device.
[0215] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the alarm decision-making device, the alarm decision-making device: obtains the operating data of the target system; based on the preset judgment criteria, makes a secondary decision on the operating data to determine the judgment result; if there is an abnormality in the judgment result, an alarm is issued.
[0216] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0217] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0218] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0219] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned alarm decision method, and can solve the technical problem of alarm decision. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the alarm decision method provided in the above-mentioned embodiment, and will not be repeated here.
[0220] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned alarm decision method when executed by a processor.
[0221] The computer program product provided by the present application can solve the technical problem of alarm decision-making. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the alarm decision-making method provided by the above embodiment, which will not be repeated here.
[0222] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. An alarm decision method, It is characterized in that The method includes: Obtain the operating data of the target system; Based on the preset judgment criteria, a secondary decision is made on the operation data to determine the judgment result; If there is any abnormality in the judgment result, an alarm is issued.
2. The method according to claim 1, It is characterized in that The judgment criteria include a first judgment criteria, a second judgment criteria and a third judgment criteria. The step of making a secondary decision on the operation data based on the preset judgment criteria to determine the judgment result includes: Determining whether the operating data meets the first determination criterion; If the operating data meets the first judgment standard, determining a judgment result according to whether the operating data meets the second judgment standard and / or the third judgment standard; If the operating data does not satisfy the first judgment standard, the judgment result is determined to be a threshold abnormality.
3. The method according to claim 2, It is characterized in that The operation data includes a plurality of observation values, and the step of judging whether the operation data meets the first judgment criterion includes: Determine whether there is an observation value in the operating data that exceeds a preset abnormal alarm threshold; If there is an observation value in the operating data that exceeds a preset abnormal alarm threshold, it is determined that the operating data does not meet the first judgment criterion; If there is no observed value in the operating data that exceeds the preset abnormal alarm threshold, it is determined that the operating data meets the first judgment criterion.
4. The method according to claim 2, It is characterized in that The step of determining the judgment result according to whether the operation data meets the second judgment standard and / or the third judgment standard comprises: Determining whether the operating data meets a second determination criterion, and / or determining whether the operating data meets a third determination criterion; If the operating data does not meet the second judgment standard, determining that the judgment result is abnormal dispersion; If the operating data does not satisfy the third judgment standard, determining that the judgment result is abnormal change rate; If the operating data does not satisfy the second judgment standard and the third judgment standard, the judgment result is determined to be abnormal in terms of dispersion and change rate.
5. The method according to claim 4, It is characterized in that The step of judging whether the operation data meets the second judgment criterion comprises: Selecting or determining the lower quartile and the upper quartile of the operating data; Based on the box-whisker plot theory, the upper bound is calculated according to the lower quartile and the upper quartile; Determine whether there is an observation value greater than or equal to the upper bound in the operating data; If there is an observation value in the operating data that is greater than or equal to the upper limit, it is determined that the operating data does not meet the second judgment criterion; If there is no observed value greater than or equal to the upper limit in the operating data, it is determined that the operating data meets the second judgment criterion.
6. The method according to claim 4, It is characterized in that The step of judging whether the operation data meets the third judgment criterion comprises: Calculate the change rate and average value corresponding to each observation value in the operation data; Based on the change rate upper limit anomaly detection algorithm, determine the anomaly upper limit according to the change rate and the average value; Determine whether there is an observation value whose rate of change is greater than or equal to the abnormal upper limit; If there is an observation value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data does not meet the third judgment criterion; If there is no observed value whose rate of change is greater than or equal to the abnormal upper limit, it is determined that the operating data meets the third judgment criterion.
7. The method according to claim 2, It is characterized in that The step of making a secondary decision on the operation data based on the preset judgment standard and determining the judgment result further includes: Identify whether the judgment result includes threshold abnormality, discreteness abnormality, change rate abnormality, discreteness and change rate abnormality; If the judgment result does not include threshold abnormality, discreteness abnormality, change rate abnormality, and discreteness and change rate abnormality, then it is determined that the judgment result does not have abnormality; If the judgment result includes at least one of a threshold abnormality, a discreteness abnormality, a change rate abnormality, and a discreteness and change rate abnormality, it is determined that the judgment result is abnormal.
8. An alarm decision device, It is characterized in that The device comprises: An acquisition module is used to acquire the operation data of the target system; A decision module, used to make a secondary decision on the operation data based on a preset judgment standard to determine a judgment result; The alarm module is used to issue an alarm if there is an abnormality in the judgment result.
9. An alarm decision device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the alarm decision method according to any one of claims 1 to 7.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the alarm decision method according to any one of claims 1 to 7 are implemented.
11. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the alarm decision method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Abnormal data detection method and device and related equipment
CN120744743A
