A method and device for determining an adaptive abnormal performance index

The reconstruction sequence and correlation evaluation function are generated by the variational autoencoder, combined with the maximum correlation rule, which solves the problem in the existing technology that the overall abnormality index of the system cannot be automatically selected, and achieves efficient correlation and index selection of the overall abnormality of the system. .

CN113722176BActive Publication Date: 2024-08-23BEIJING CHIBO INFORMATION ENG CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202110870672.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2024-08-23
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

It is difficult for the existing technology to automatically select the indicators that best describe the overall abnormality of the system, especially in the case of time misalignment and multiple exceptions. It cannot effectively integrate the indicator selection results, and the filtered, encapsulated and embedded feature selection methods cannot satisfy the system requirements. Overall anomaly description and indicator anomaly correlation analysis.

Method used

The variational autoencoder (VAE) algorithm is used to generate the reconstructed sequence of the system and indicators, identify abnormal events through linear aggregation and threshold delineation, establish a correlation evaluation function between indicators and the overall abnormality of the system, and fuse multiple variables through the maximum correlation rule For the correlation of abnormal events, high correlation clusters are selected as the final indicator subset.

Benefits of technology

It realizes the quantification of characteristic changes when the overall system is abnormal, associates each indicator with the overall system abnormality, and selects the subset of indicators that have the greatest impact on the overall system abnormality, solving the problem of indicator selection under time misalignment and multiple exceptions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722176B
    Figure CN113722176B
Patent Text Reader

Abstract

The present invention provides an adaptive abnormal performance index determination method and device, the adaptive abnormal performance index determination method includes: extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system; determining the overall abnormal event of the target system according to the reconstruction sequence of the target system and a preset threshold; determining the correlation between the overall abnormal event and all abnormal performance indicators; and selecting the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators. The adaptive abnormal performance index determination method and device provided by the present invention can quantify the characteristic changes when the system is abnormal as a whole, can associate each indicator with the overall abnormality of the system, and select the indicator subset that has the greatest impact on the overall abnormality of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, in particular to the application of computer technology in the financial industry, and specifically to a method and device for determining an adaptive abnormal performance indicator. Background Art

[0002] In the prior art, in order to ensure the stable operation of large and complex information systems, it is essential to conduct multi-level fine-grained monitoring of them. The monitoring results are presented in the form of massive multidimensional time series (indicators), such as CPU utilization, main memory utilization, etc. When a system anomaly occurs, some indicators will show changes that are different from the normal historical laws in the past. Due to the unknown nature of anomalies, operation and maintenance personnel often adopt redundant strategies and design many indicators to monitor various levels of the system, resulting in some indicators that may not or not obviously indicate anomalies. In this regard, how to automatically select valuable indicators to participate in anomaly detection is extremely important. In essence, the indicator selection problem is a feature selection problem, and the feature selection method first selects and sets the response variable (such as anomaly label), and then quantifies the correlation between the feature and the response variable, thereby achieving the purpose of selecting features. However, for the problem of abnormal indicator selection, it is necessary to select the indicator that best describes the overall abnormality of the system, so it is necessary to measure the correlation between the indicator and the overall abnormality of the system (response variable).

[0003] Based on the above description, how to characterize the overall system anomaly and indicator anomaly is one of the main challenges. Secondly, because an overall system anomaly event will cause multiple indicators to become anomaly, but because different indicators characterize different performance aspects, the order in which their anomalies begin is different. How to measure the correlation between the overall system anomaly and indicator anomaly in the case of time non-alignment is the second challenge. Finally, there are often multiple anomalies in history. How to integrate the results of indicator selection under multiple anomalies is the third challenge. The existing feature selection methods are mainly concentrated in: (1) filtering feature selection, (2) encapsulation feature selection and (3) embedded feature selection, but they cannot solve the three challenges mentioned above. Further:

[0004] Filtering feature selection. The evaluation criteria of this type of method are based on the intrinsic properties of the data set itself, are independent of specific learning algorithms, and have good versatility. They usually select features or feature subsets that are highly correlated with the response variable. Filtering feature selection methods include feature variance evaluation method, correlation coefficient sorting, methods that use hypothesis testing to obtain the correlation between features and response variables, and mutual information methods. However, these methods do not consider the source of the response variable. For the selection of abnormal indicators, they do not consider the overall abnormal description of the system. In addition, the correlation coefficient method for processing time series in this method can take into account the non-aligned characteristics of abnormal time, which other methods do not consider. Finally, none of them consider the problem of abnormal indicator fusion under multiple anomalies.

[0005] Encapsulated feature selection. This type of method continuously selects feature subsets from the initial data set and trains the learner, and evaluates the feature subsets based on the accuracy of the learner until the best subset is selected. If the learner is selected appropriately, this type of method can solve the problem of non-alignment of abnormal time and the problem of abnormal indicator fusion. However, in essence, this type of method needs to traverse the entire search space. Although there are some pruning strategies, the overall complexity is still too high. In addition, this type of method still requires clear labels as response variables, which is not applicable to this scenario. In this scenario, the user can only give a certain fuzzy judgment on the overall abnormality of the system.

[0006] Embedded feature selection. This type of method automatically performs feature selection during the learner training process. The most commonly used method is to use L1 and L2 regularization in the base learner to make some unimportant feature model coefficients approach 0, thereby achieving feature selection. However, only algorithms that can obtain feature coefficients or feature importance can be used as base learners for embedded feature selection, such as logistic regression algorithms, linear regression algorithms, decision tree algorithms, etc. In essence, this type of algorithm uses the strong interpretability of some machine learning methods, but this type of machine learning algorithm is often relatively simple, such as logistic regression, linear regression and decision trees, resulting in poor learning effects, and deep learning models with better effects do not have good interpretability, so they cannot be used for embedded feature selection methods. In addition, this type of method still requires clear labels as response variables. Summary of the invention

[0007] In response to the problems in the prior art, the adaptive abnormal performance index determination method and device provided by the present invention can quantify the characteristic changes when the system as a whole is abnormal, can associate each indicator with the overall system abnormality, and select the indicator subset that has the greatest impact on the overall system abnormality.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0009] In a first aspect, the present invention provides an adaptive abnormal performance indicator determination method, comprising:

[0010] Extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system;

[0011] Determine the overall abnormal event of the target system according to the reconstruction sequence of the target system and a preset threshold;

[0012] Determining the correlation between the overall abnormal event and all abnormal performance indicators;

[0013] According to the correlation between the overall abnormal event and all abnormal performance indicators, a final abnormal performance indicator is preferably selected from all abnormal performance indicators.

[0014] In one embodiment, extracting data features of abnormal events of the target system to generate a reconstruction sequence of the target system includes:

[0015] The VAE algorithm is used to linearly aggregate the data features to generate a reconstruction sequence of the target system.

[0016] In one embodiment, the adaptive abnormal performance indicator determination method further includes:

[0017] Generates a reconstructed sequence of all abnormal performance indicators.

[0018] In one embodiment, determining the correlation between the overall abnormal event and all abnormal performance indicators includes:

[0019] Determining the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system;

[0020] Establishing a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree;

[0021] The correlation degree is determined according to the correlation evaluation function.

[0022] In one embodiment, the adaptive abnormal performance indicator determination method further includes:

[0023] Fusion of different abnormal events to determine correlation between the different abnormal events;

[0024] According to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events, a final abnormal performance indicator is optimally selected from all abnormal performance indicators.

[0025] In a second aspect, the present invention provides an adaptive abnormal performance indicator determination device, the device comprising:

[0026] A system reconstruction sequence generation module, used to extract data features of abnormal events of a target system to generate a reconstruction sequence of the target system;

[0027] An overall abnormal event determination module, used to determine an overall abnormal event of the target system according to a reconstruction sequence of the target system and a preset threshold;

[0028] A correlation determination module, used to determine the correlation between the overall abnormal event and all abnormal performance indicators;

[0029] The final indicator optimization module is used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators.

[0030] In one embodiment, the system reconstruction sequence generation module includes:

[0031] A system reconstruction sequence generating unit, used for performing linear aggregation on the data features by using a VAE algorithm to generate a reconstruction sequence of the target system;

[0032] The adaptive abnormal performance indicator determination device also includes:

[0033] The indicator reconstruction sequence generation module is used to generate the reconstruction sequence of all abnormal performance indicators.

[0034] In one embodiment, the relevance determination module includes:

[0035] A contribution determination unit, used to determine the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system;

[0036] An evaluation function establishment unit, used to establish a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree;

[0037] A correlation determination unit, configured to determine the correlation according to the correlation evaluation function;

[0038] The adaptive abnormal performance indicator determination device also includes:

[0039] A multi-event correlation determination module is used to fuse different abnormal events to determine the correlation between the different abnormal events;

[0040] The final indicator optimization module is used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events.

[0041] In a third aspect, the present invention provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of an adaptive abnormal performance indicator determination method when executing the program.

[0042] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for determining an adaptive abnormal performance indicator.

[0043] From the above description, it can be seen that the embodiment of the present invention provides an adaptive abnormal performance index determination method and device, which first extracts the data features of the abnormal events of the target system to generate a reconstruction sequence of the target system; then, the overall abnormal event of the target system is determined according to the reconstruction sequence of the target system and a preset threshold; the correlation between the overall abnormal event and all abnormal performance indicators is determined; finally, according to the correlation between the overall abnormal event and all abnormal performance indicators, the final abnormal performance indicator is selected from all abnormal performance indicators. Specifically, the present invention has the following beneficial effects:

[0044] (1) A system macro feature extraction method and system abnormal event extraction strategy based on variational autoencoder are proposed, which can model the reconstructability of multiple performance indicator data and obtain the system through linear aggregation. Finally, abnormal events are extracted by setting a threshold on the system's reconstruction sequence;

[0045] (2) A correlation analysis method between an indicator and the overall abnormal events of the system is proposed, which uses the indicator reconstruction sequence as the contribution of the system abnormality, and after considering the abnormal alignment of the indicator reconstruction sequence and the system reconstruction sequence, a correlation evaluation function between a single indicator and the overall abnormal events of the system is constructed;

[0046] (3) An adaptive selection strategy for abnormal indicators under multiple abnormal events is proposed. The correlations under multiple abnormal events are fused through the maximum correlation rule, and the abnormal indicator selection problem is regarded as a correlation clustering problem. Finally, the high correlation clusters are selected as the indicator subsets. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 FIG. 1 is a flow chart of a method for determining an adaptive abnormal performance index in an embodiment of the present invention. Figure 1 ;

[0049] Figure 2 1 is a flow chart of step 100 of a method for determining an adaptive abnormal performance index in an embodiment of the present invention;

[0050] Figure 3 FIG. 1 is a flow chart of a method for determining an adaptive abnormal performance index in an embodiment of the present invention. Figure 2 ;

[0051] Figure 4 It is a flowchart diagram of step 300 of the adaptive abnormal performance indicator determination method in an embodiment of the present invention;

[0052] Figure 5 FIG. 1 is a flow chart of a method for determining an adaptive abnormal performance index in an embodiment of the present invention. Figure 3 ;

[0053] Figure 6 It is a flow chart of a method for determining an adaptive abnormal performance index in a specific application example of the present invention;

[0054] Figure 7 It is a schematic diagram of the reconstruction sequence and its abnormal sequence in a specific application example of the present invention;

[0055] Figure 8 The structure of the adaptive abnormal performance index determination device in the embodiment of the present invention is shown in FIG. Figure 1 ;

[0056] Fig. 9 Schematic diagram of the structure of a system reconfiguration sequence generation module 10 in the adaptive abnormal performance index determination device in an embodiment of the present invention;

[0057] Fig.10 The structure of the adaptive abnormal performance index determination device in the embodiment of the present invention is shown in FIG. Figure 2 ;

[0058] Fig.11 Schematic diagram of the structure of the degree of closeness determination module 30 in the adaptive abnormal performance index determination device in the embodiment of the present invention;

[0059] Fig.12 The structure of the adaptive abnormal performance index determination device in the embodiment of the present invention is shown in FIG. Figure 3 ;

[0060] Fig.13 FIG. 4 is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0062] The embodiment of the present invention provides a specific implementation of a method for determining an adaptive abnormal performance index, see Figure 1 , the method specifically includes the following contents:

[0063] Step 100: extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system.

[0064] It should be noted that the reconstructed sequence of the target system here is used to quantify the system. Specifically, the system-level reconstructed sequence can be obtained through a variational autoencoder, the range of the reconstructed sequence is R, and the smaller the value in the sequence, the more abnormal the corresponding host (system or indicator) is.

[0065] Step 200: Determine the overall abnormal event of the target system according to the reconstruction sequence of the target system and a preset threshold.

[0066] It is understandable that in order to identify abnormal events from the system-level reconstruction sequence, it is necessary to set an alarm threshold for the system reconstruction sequence. In the present invention, the user is not required to set a complete response variable (abnormal event label), but the user is required to give a threshold for system abnormalities on the system reconstruction sequence, and define an abnormal event as one below the threshold.

[0067] Step 300: Determine the correlation between the overall abnormal event and all abnormal performance indicators.

[0068] Specifically, the correlation between all indicator anomalies in the target system and the overall anomaly of the system is measured.

[0069] Step 400: According to the correlation between the overall abnormal event and all abnormal performance indicators, a final abnormal performance indicator is selected from all abnormal performance indicators.

[0070] Specifically, the correlations under multiple abnormal events are fused through the maximum correlation rule, and the abnormal indicator selection problem is regarded as a correlation clustering problem, and finally the high correlation clusters are selected as the indicator subsets.

[0071] From the above description, it can be seen that the embodiment of the present invention provides an adaptive abnormal performance index determination method, which first extracts the data features of the abnormal events of the target system to generate a reconstruction sequence of the target system; then, the overall abnormal events of the target system are determined according to the reconstruction sequence of the target system and a preset threshold; the correlation between the overall abnormal events and all abnormal performance indicators is determined; finally, the final abnormal performance indicator is selected from all abnormal performance indicators according to the correlation between the overall abnormal events and all abnormal performance indicators. The present invention can quantify the characteristic changes when the system is abnormal as a whole, can associate each indicator with the overall abnormality of the system, and select the indicator subset that has the greatest impact on the overall abnormality of the system.

[0072] In one embodiment, see Figure 2 , step 100 comprises:

[0073] Step 101: Using the VAE algorithm, linearly aggregate the data features to generate a reconstruction sequence of the target system.

[0074] It can be understood that Variational Auto-Encoder (VAE) is a general term for a class of deep probabilistic graph models.

[0075] In one embodiment, see Figure 3 , the adaptive abnormal performance indicator determination method also includes:

[0076] Step 500: Generate a reconstruction sequence of all abnormal performance indicators.

[0077] Generate an index-level reconstruction sequence for the reproducibility of the index state. Step 400 is specifically implemented as follows: Assume that the multi-index data is a high-dimensional random variable X = {x 1 ,x 2 ,...,x n} and are independent and identically distributed, the variable x i Represents the index i. Variational Auto-Encoder (VAE) is a general term for a class of deep probabilistic graph models. The fitting method encodes X into a low-dimensional random variable Z, and then decodes Z into X through the neural network θ. During the iteration process, try to ensure that the decoded X is similar to the original value. VAE can finally output R X for:

[0078] R X =log(p θ (X|Z))=∑ i∈[1,n] log(p θ (x i |Z)) (1)

[0079] Among them, p θ (X|Z) represents the conditional probability of generating X by encoding the information of X into Z through a neural network. Define R X is a system-level reconstruction sequence, and the index x i The reconstruction sequence Defined as log(p θ (x i |Z)). Due to and θ can be customized by the user, so the method of this patent can be applied to other variant VAE algorithms.

[0080] Therefore, both the system-level and indicator-level reconstructed sequences can be obtained through the variational autoencoder. The range of the reconstructed sequence is R, and the smaller the value in the sequence, the more abnormal the corresponding host (system or indicator). In order to identify abnormal events from the system-level reconstructed sequence, it is necessary to set an alarm threshold for the system-level reconstructed sequence.

[0081] In one embodiment, see Figure 4 , step 300 comprises:

[0082] Step 301: Determine the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system;

[0083] Step 302: establishing a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree;

[0084] Step 303: Determine the correlation degree according to the correlation evaluation function.

[0085] In step 301 to step 303, the index reconstruction sequence is used as the contribution of the system abnormality, and after considering the abnormal alignment of the index reconstruction sequence and the system reconstruction sequence, a correlation evaluation function between a single index and the overall abnormal event of the system is constructed.

[0086] In one embodiment, see Figure 5 , the adaptive abnormal performance indicator determination method also includes:

[0087] Step 600: Fusion different abnormal events to determine the correlation between the different abnormal events;

[0088] Step 700: According to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events, a final abnormal performance indicator is selected from all abnormal performance indicators.

[0089] Therefore, both the system-level and indicator-level reconstructed sequences can be obtained through the variational autoencoder. The range of the reconstructed sequence is R, and the smaller the value in the sequence, the more abnormal the corresponding host (system or indicator). In order to identify abnormal events from the system-level reconstructed sequence, it is necessary to set an alarm threshold for the system-level reconstructed sequence.

[0090] To further illustrate the present solution, the present invention provides a specific application example of the adaptive abnormal performance index determination method, see Figure 6 , this specific application example specifically includes the following contents.

[0091] S1: Metrics and system-level reconstruction sequence generation.

[0092] S2: Extraction of abnormal events of the whole system.

[0093] Here, the user does not need to set the complete response variable (abnormal event label), but the user needs to give the threshold of system abnormality in the system reconstruction sequence, and define the event below the threshold as an abnormal event. This section uses the POT (Peak Over Threshold) model of extreme value theory as R X Set the threshold. Extreme value theory is a statistical theory that seeks the law of extreme values ​​in a sequence. Generally, extreme values ​​are considered as outliers and are located at the tail of the distribution. The advantage of extreme value theory is that it does not require assumptions about the data distribution, and the threshold can be automatically set by selecting parameters. Let the vector R X =(r 1 ,r 2 ,...,r T ) is the system-level reconstruction sequence calculated according to formula (1), and the time range is [1, T]. The POT model uses the generalized Pareto distribution to fit R X The tail of is defined as:

[0094]

[0095] Where r∈R X And r≤th′, 1+β(th′-r) / ε>0, ε is the shape parameter of the generalized Pareto distribution, β is the scale parameter, th′ is the low quantile, which is the initial threshold that the user needs to customize for dividing R X The tail of ε and β can be estimated using maximum likelihood estimation and Therefore, the final threshold th is defined as:

[0096]

[0097] Among them, |R X≤th′ | for R XBased on the above analysis, we can further define the overall abnormal event set of the system E = {e 1 ,e 2 ,...,e m}, where the number of events is m, is a system-wide abnormal event, represented by a tuple, where and Make Both have r t ≤th.

[0098] S3: Correlation within abnormal time.

[0099] In essence, the reconstruction sequence of the system and the indicator both describe the degree of restorability of the system or indicator, which is a data feature. As shown in formula (1), the system reconstruction sequence is the sum of the indicator-level reconstruction sequences. Therefore, Figure 7 As shown, the smaller the indicator reconstruction sequence, the greater the impact on the system reconstruction sequence, that is, the abnormality of this indicator contributes more to the overall abnormality of the system. For example, the abnormality of indicator B contributes more to the overall abnormality of the system than the abnormality of indicator A. In addition to considering the dimension of the reconstruction sequence, the order in which the indicator abnormality occurs also needs to be considered. When the overall abnormality of the system occurs, the transmission between the indicators has a "ripple" effect. For example, indicators A and B are both within the range of the overall abnormal event of the system, but indicator A is abnormal first, followed by indicator B, and the most significant abnormal position of the system is synchronized with B. If you only rely on the dimension of the indicator reconstruction sequence, indicator A may not be identified as an abnormal indicator. Therefore, it is necessary to align the abnormal position of indicator A with the most significant position of the overall abnormality of the system in the time dimension.

[0100] Based on the above description, the dimensional ratio of the reconstructed sequence after considering time alignment can be described as follows. The dimension ratio of index i in for:

[0101]

[0102] Among them, median() is the median function, top5() is the function of taking the top 5 maximum values, The larger the value, the larger the dimension ratio of indicator i.

[0103] In essence, the dimensional ratio measures the contribution of each indicator abnormality to the overall system abnormality by sampling. Although the measurement is sensitive, it will lead to high noise problems. Therefore, this patent needs to further measure the correlation between the overall measurement indicator reconstruction sequence and the system reconstruction sequence, and use it as the weight of the dimensional ratio, so as to search for indicators with high dimensional ratio and high correlation. j∈E, the correlation measurement method for the reconstructed sequence of any index i relative to the system reconstructed sequence is

[0104]

[0105] Among them, Pearson() is the Pearson coefficient.

[0106] S4: Correlation fusion of multiple abnormal events.

[0107] This section mainly addresses the following issues when there are multiple abnormal events: (1) how to balance the abnormal distribution of indicators in different events and calculate the correlation; and (2) how to merge the correlations of the same indicator in different events into one value to represent the final correlation.

[0108] For problem (1), the distribution of the dimensional ratio of the abnormal indicator reconstruction sequence is different due to the different causes and degrees of abnormality in each event. Different weights should be set for each event according to the different skewness of the distribution. The higher the degree of left skewness, the greater the difference in the dimensional ratio of each indicator in the event, and the more non-important indicators there are. They should be given small weights to suppress the correlation of non-important indicators. For event e j ∈E, the dimension ratio correction skewness coefficient of the reconstructed sequence of each indicator within the event is:

[0109]

[0110] Among them, skewness() is the skewness function, tanh() is the hyperbolic tangent function, s j ∈(0,2),s j The closer it is to 2, the more left-biased it is.

[0111] Based on the above description, for e j ∈E, the correlation between the reconstructed sequence of index i in the event and the system reconstructed sequence is defined as:

[0112]

[0113] Among them, λ∈(0,+∞) is the feature amplification factor, which needs to be given by the user.

[0114] Formula (7) can calculate the correlation of a certain indicator in a single event with respect to the overall anomaly. For problem (2), the correlation of a certain indicator of multiple events with respect to the overall anomaly can be defined as:

[0115]

[0116] Formula (8) states that as long as a certain indicator contributes highly to an event, it means that it contributes highly to the overall abnormality of the system.

[0117] S5: Adaptive clustering of correlation (selection index).

[0118] After the correlation of each indicator is obtained through formula (8), it is necessary to select the abnormal performance indicator according to the correlation. In essence, indicator selection can be understood as a clustering problem, and the number of clusters is 2, namely "selected" and "unselected". This patent uses the KMeans algorithm for clustering. By sampling λ, the λ where the number of indicators in the "selected" cluster appears to have an inflection point and the corresponding indicator selection result are finally output. The algorithm description is shown in Table 1 below.

[0119] Table 1 Adaptive anomaly performance index selection algorithm

[0120]

[0121] In essence, the adaptive abnormal performance index selection method proposed in the present invention is a filtering feature selection method. The core idea of ​​the present invention is: generating system-level and index-level reconstruction sequences to quantify the reproducibility of system and index states; identifying overall abnormal events of the system by setting thresholds in the system reconstruction sequence, measuring the correlation between index anomalies and overall system anomalies; integrating the correlations within different abnormal events; clustering correlations for index selection. Specifically, the present invention has the following beneficial effects:

[0122] (1) A system macro feature extraction method and system abnormal event extraction strategy based on variational autoencoder are proposed, which can model the reconstructability of multiple performance indicator data and obtain the system through linear aggregation. Finally, abnormal events are extracted by setting a threshold on the system's reconstruction sequence;

[0123] (2) A correlation analysis method between an indicator and the overall abnormal events of the system is proposed, which uses the indicator reconstruction sequence as the contribution of the system abnormality, and after considering the abnormal alignment of the indicator reconstruction sequence and the system reconstruction sequence, a correlation evaluation function between a single indicator and the overall abnormal events of the system is constructed;

[0124] (3) An adaptive selection strategy for abnormal indicators under multiple abnormal events is proposed. The correlations under multiple abnormal events are fused through the maximum correlation rule, and the abnormal indicator selection problem is regarded as a correlation clustering problem. Finally, the high correlation clusters are selected as the indicator subsets.

[0125] Based on the same inventive concept, the embodiments of the present application also provide an adaptive abnormal performance index determination device, which can be used to implement the method described in the above embodiments, as described in the following embodiments. Since the principle of solving the problem by the adaptive abnormal performance index determination device is similar to that of the adaptive abnormal performance index determination method, the implementation of the adaptive abnormal performance index determination device can refer to the implementation of the adaptive abnormal performance index determination method, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0126] The embodiment of the present invention provides a specific implementation of an adaptive abnormal performance indicator determination device capable of implementing an adaptive abnormal performance indicator determination method, see Figure 8 , the adaptive abnormal performance index determination device specifically includes the following contents:

[0127] A system reconstruction sequence generation module 10 is used to extract data features of abnormal events of a target system to generate a reconstruction sequence of the target system;

[0128] An overall abnormal event determination module 20, configured to determine an overall abnormal event of the target system according to a reconstruction sequence of the target system and a preset threshold;

[0129] A correlation determination module 30, used to determine the correlation between the overall abnormal event and all abnormal performance indicators;

[0130] The final indicator optimization module 40 is used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators.

[0131] In one embodiment, see Fig. 9 , the system reconstruction sequence generation module 10 includes:

[0132] A system reconstruction sequence generating unit 101 is used to perform linear aggregation on the data features by using a VAE algorithm to generate a reconstruction sequence of the target system;

[0133] In one embodiment, see Fig.10 , the adaptive abnormal performance indicator determination device also includes:

[0134] The indicator reconstruction sequence generation module 50 is used to generate the reconstruction sequence of all abnormal performance indicators.

[0135] In one embodiment, see Fig.11 , the relevance determination module 30 comprises:

[0136] A contribution determination unit 301 is used to determine the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system;

[0137] An evaluation function establishing unit 302 is used to establish a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree;

[0138] A correlation determination unit 303, configured to determine the correlation according to the correlation evaluation function;

[0139] In one embodiment, see Fig.12 , the adaptive abnormal performance indicator determination device also includes:

[0140] A multi-event correlation determination module 60, used to fuse different abnormal events to determine the correlation between the different abnormal events;

[0141] The final indicator optimization module 70 is used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events.

[0142] From the above description, it can be seen that the embodiment of the present invention provides an adaptive abnormal performance index determination device, which first extracts the data features of the abnormal events of the target system to generate a reconstruction sequence of the target system; then, the overall abnormal events of the target system are determined according to the reconstruction sequence of the target system and a preset threshold; the correlation between the overall abnormal events and all abnormal performance indicators is determined; finally, the final abnormal performance indicator is selected from all abnormal performance indicators according to the correlation between the overall abnormal events and all abnormal performance indicators. The present invention can quantify the characteristic changes when the system is abnormal as a whole, can associate each indicator with the overall abnormality of the system, and select the indicator subset that has the greatest impact on the overall abnormality of the system.

[0143] The embodiment of the present application also provides a specific implementation of an electronic device that can implement all the steps in the adaptive abnormal performance indicator determination method in the above embodiment, see Fig.13 , electronic equipment specifically includes the following:

[0144] Processor (processor) 1201, memory (memory) 1202, communication interface (CommunicationsInterface) 1203 and bus 1204;

[0145] The processor 1201, the memory 1202, and the communication interface 1203 communicate with each other via the bus 1204; the communication interface 1203 is used to realize information transmission between relevant devices such as the server-side device, the acquisition device, and the user-side device.

[0146] The processor 1201 is used to call the computer program in the memory 1202. When the processor executes the computer program, all the steps in the adaptive abnormal performance indicator determination method in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0147] Step 100: extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system;

[0148] Step 200: determining an overall abnormal event of the target system according to a reconstruction sequence of the target system and a preset threshold;

[0149] Step 300: Determine the correlation between the overall abnormal event and all abnormal performance indicators;

[0150] Step 400: According to the correlation between the overall abnormal event and all abnormal performance indicators, a final abnormal performance indicator is selected from all abnormal performance indicators.

[0151] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the adaptive abnormal performance indicator determination method in the above embodiments. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, all the steps in the adaptive abnormal performance indicator determination method in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0152] Step 100: extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system;

[0153] Step 200: determining an overall abnormal event of the target system according to a reconstruction sequence of the target system and a preset threshold;

[0154] Step 300: Determine the correlation between the overall abnormal event and all abnormal performance indicators;

[0155] Step 400: According to the correlation between the overall abnormal event and all abnormal performance indicators, a final abnormal performance indicator is selected from all abnormal performance indicators.

[0156] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the hardware + program embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0157] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0158] Although the present application provides method operation steps as described in the embodiments or flowcharts, more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiments is only one way of executing the order of many steps and does not represent the only execution order. When the actual device or client product is executed, it can be executed in the order of the method shown in the embodiments or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0159] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0160] The present specification embodiments may be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present specification embodiments may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0161] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. In the description of this specification, the description of the reference terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of this specification. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, in the absence of contradiction, a person skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0162] The above is only an example of the embodiment of the present specification and is not intended to limit the embodiment of the present specification. For those skilled in the art, the embodiment of the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiment of the present specification shall be included in the scope of the claims of the embodiment of the present specification.

Claims

1. An adaptive method for determining abnormal performance indicators, It is characterized in that include: Extracting data features of abnormal events of a target system to generate a reconstruction sequence of the target system; Determine the overall abnormal event of the target system according to the reconstruction sequence of the target system and a preset threshold; Determining the correlation between the overall abnormal event and all abnormal performance indicators; According to the correlation between the overall abnormal event and all abnormal performance indicators, a final abnormal performance indicator is selected from all abnormal performance indicators; According to the correlation between the overall abnormal event and all abnormal performance indicators, the final abnormal performance indicator is selected from all abnormal performance indicators, including: Assume that the multi-index data is a high-dimensional random variable X = {x 1 ,x 2 ,...,x n } and are independent and identically distributed, the variable x i Represents index i, through the neural network The fitting method encodes X into a low-dimensional random variable Z, and then decodes Z into X through the neural network θ. During the iteration process, try to ensure that the decoded X is similar to the original value. VAE can finally output R X for: R X =log(p θ (X|Z))=∑ i∈[1,n] log(p θ (x i |Z)) Among them, p θ (X|Z) represents the conditional probability of generating X by encoding the information of X into Z through a neural network. Define R X is a system-level reconstruction sequence, and the index x i The reconstruction sequence Defined as log(p θ (x i |Z)); and θ are user-defined. Thus, the reconstructed sequences at the system and indicator levels are obtained through the variational autoencoder. The range of the reconstructed sequence is R, and the smaller the value in the sequence, the more abnormal the corresponding host is. In addition, in order to identify abnormal events from the system-level reconstructed sequence, it is necessary to set an alarm threshold for the system-level reconstructed sequence.

2. The adaptive abnormal performance indicator determination method according to claim 1, It is characterized in that The step of extracting data features of abnormal events of the target system to generate a reconstruction sequence of the target system includes: The VAE algorithm is used to linearly aggregate the data features to generate a reconstruction sequence of the target system.

3. The adaptive abnormal performance indicator determination method according to claim 1, It is characterized in that Also includes: Generates a reconstructed sequence of all abnormal performance indicators.

4. The adaptive abnormal performance indicator determination method according to claim 3, It is characterized in that Determining the correlation between the overall abnormal event and all abnormal performance indicators includes: Determining the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system; Establishing a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree; The correlation degree is determined according to the correlation evaluation function.

5. The adaptive abnormal performance indicator determination method according to claim 1, It is characterized in that Also includes: Fusion of different abnormal events to determine correlation between the different abnormal events; According to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events, a final abnormal performance indicator is optimally selected from all abnormal performance indicators.

6. An adaptive abnormal performance indicator determination device, It is characterized in that include: A system reconstruction sequence generation module, used to extract data features of abnormal events of a target system to generate a reconstruction sequence of the target system; An overall abnormal event determination module, used to determine an overall abnormal event of the target system according to a reconstruction sequence of the target system and a preset threshold; A correlation determination module, used to determine the correlation between the overall abnormal event and all abnormal performance indicators; A final indicator optimization module, used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators; The final indicator optimization module is specifically used for: Assume that the multi-index data is a high-dimensional random variable X = {x 1 ,x 2 ,...,x n } and are independent and identically distributed, the variable x i Represents index i, through the neural network The fitting method encodes X into a low-dimensional random variable Z, and then decodes Z into X through the neural network θ. During the iteration process, try to ensure that the decoded X is similar to the original value. VAE can finally output R X for: R X =log(p θ (X|Z))=∑ i∈[1,n] log(p θ (x i |Z)) Among them, p θ (X|Z) represents the conditional probability of generating X by encoding the information of X into Z through a neural network. Define R X is a system-level reconstruction sequence, and the index x i The reconstruction sequence Defined as log(p θ (x i |Z)); and θ are user-defined. Thus, the reconstructed sequences at the system and indicator levels are obtained through the variational autoencoder. The range of the reconstructed sequence is R, and the smaller the value in the sequence, the more abnormal the corresponding host is. In addition, in order to identify abnormal events from the system-level reconstructed sequence, it is necessary to set an alarm threshold for the system-level reconstructed sequence.

7. The adaptive abnormal performance indicator determination device according to claim 6, It is characterized in that The system reconstruction sequence generation module comprises: A system reconstruction sequence generating unit, used for performing linear aggregation on the data features by using a VAE algorithm to generate a reconstruction sequence of the target system; The adaptive abnormal performance indicator determination device also includes: The indicator reconstruction sequence generation module is used to generate the reconstruction sequence of all abnormal performance indicators.

8. The adaptive abnormal performance indicator determination device according to claim 7, It is characterized in that The relevance determination module comprises: A contribution determination unit, used to determine the contribution of the reconstruction sequence of all abnormal performance indicators to the reconstruction sequence of the target system; An evaluation function establishment unit, used to establish a correlation evaluation function between a single abnormal performance indicator and the overall abnormal event according to the contribution degree; A correlation determination unit, configured to determine the correlation according to the correlation evaluation function; The adaptive abnormal performance indicator determination device also includes: A multi-event correlation determination module is used to fuse different abnormal events to determine the correlation between the different abnormal events; The final indicator optimization module is used to optimize the final abnormal performance indicator from all abnormal performance indicators according to the correlation between the overall abnormal event and all abnormal performance indicators and the correlation between the different abnormal events.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the steps of the adaptive abnormal performance indicator determination method according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the adaptive abnormal performance indicator determination method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Performance index abnormity detection method and device

    CN109587001A

  • A data exception detection method and device

    CN109711440A

  • Anomaly detection method based on equipment index data and related equipment

    CN111679949A

  • Single-index anomaly detection method based on operation and maintenance monitoring

    CN111858231A

  • Data monitoring and analyzing method and related equipment

    CN111913848A