A dual-scale prediction method for data center equipment operation data
By combining empirical mode decomposition and sliding window k-nearest neighbor prediction with the AR model, the problem of predicting long-term and short-term changes in equipment operating data is solved, efficient dual-scale prediction is achieved, and computational complexity and prediction errors are reduced.
Patent Information
- Application Number
- CN202211574534.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-12-08
AI Technical Summary
Existing technology makes it difficult to extract long-term trends from equipment operating data, resulting in increased prediction errors, and it is difficult for a single prediction method to take into account the accuracy of both long-term and short-term data.
Empirical mode decomposition is used for incomplete decomposition to obtain large-scale and small-scale fluctuation sequences, and predictions are made through a combination of sliding window k-nearest neighbor prediction and AR models to reduce computational complexity and prediction errors.
It is possible to reduce prediction algorithm overhead while maintaining prediction performance, and accurately predict long-term trends and short-term fluctuations in equipment operating data.
Smart Images

Figure CN116048910B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data prediction, and more particularly to a dual-scale prediction method for data center equipment operation data. Background Art
[0002] Due to the rapid development of computer technology, Internet of Things technology and artificial intelligence, a large amount of information data is generated every day, and this data needs to be processed by the equipment in the data center. Accurate prediction of the equipment's operating data helps analyze the future working status of the equipment, thereby ensuring the stable operation of the data center business.
[0003] In order to ensure the stable operation of each device in the data center, it is necessary to predict the operation data of the device. However, achieving this goal faces the following challenges: First, based on the mutation of the device operation data, the data mutation at a single moment cannot be used as an effective reference, so it is necessary to predict the data changes over a longer period of time, but how to extract long-term changes from the device operation data is a problem. Second, predicting long-term data changes will increase the prediction error, while the small-scale fluctuation sequence reflects the high-frequency complex fluctuations of the data and can improve the accuracy of short-term data prediction. Therefore, after the large-scale prediction, the small-scale fluctuation sequence will be predicted, and the two will be combined to form the prediction result of the device operation data. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a dual-scale prediction method for data center equipment operation data, reduce computational complexity, predict long-term change trends of equipment status, and reduce the overhead of the prediction algorithm while maintaining prediction performance.
[0005] To achieve the above objectives, this application provides the following technical solutions:
[0006] The present application provides a dual-scale prediction method for data center equipment operation data, comprising the following steps:
[0007] Step 1: The operation data of the equipment is a time series within a period of time T. The time series data generated by the operation of the data center equipment is read in and recorded as h(t);
[0008] Step 2: Based on the empirical mode decomposition, an incomplete decomposition strategy is designed to obtain the optimal number of decompositions, and then the large-scale fluctuation sequence and the small-scale fluctuation sequence are obtained;
[0009] Step 3: In the large-scale fluctuation sequence, in order to reduce the computational complexity and predict the long-term trend of the equipment status, the data at each moment in the large-scale fluctuation sequence is merged to form each time period, i.e., the large-scale equipment operation status sequence. The large-scale equipment operation status sequence is predicted to be based on the time period;
[0010] Step 4: Use the sliding window k-nearest neighbor prediction method and pre-matching method to perform large-scale prediction;
[0011] Step 5: Use the AR prediction model for small-scale prediction;
[0012] Step 6: Obtain the equipment operation data at the next moment based on the large-scale prediction value and the small-scale prediction value.
[0013] In order to obtain the large-scale fluctuation sequence and small-scale fluctuation sequence of the equipment operation data in step 2, an incomplete decomposition strategy is designed:
[0014] For the equipment operation data h(t), the empirical mode decomposition is performed as follows:
[0015]
[0016] Among them, N e is the number of decompositions, y i (t) is the intrinsic mode function obtained by the i-th decomposition, r(t) is the residual sequence,
[0017] Each subsequence only reflects changes in a specific time scale, and predicting all subsequences will result in excessive computational complexity. In order to obtain large-scale and small-scale equipment operation data changes, the subsequences are merged into two parts.
[0018] The remaining low-frequency sequence after the ath decomposition is:
[0019]
[0020] z a (t) needs to reflect large-scale changes, have a certain degree of smoothness, and be similar to the original sequence, so the objective function is constructed:
[0021] argmaxα a
[0022] α a =S a (f m )*R(z a (t), h(t))
[0023] Among them, R(z a (t), h(t)) is z a The Pearson correlation coefficient between (t) and the original sequence h(t) reflects z a (t) Similarity with the original sequence, S a (f m ) means to convert z a After the spectrum of (t) is equally divided, the proportion of the low-frequency energy is the reaction sequence z a(t) is smooth. Find the smoothness of α a The maximum number of decompositions a m As the number of incomplete decompositions,
[0024] Pearson correlation coefficient R(z a (t), h(t)):
[0025]
[0026] in, Yes a The average value of (t), is the average value of h(t).
[0027] S a (f m ) is calculated as follows:
[0028]
[0029]
[0030] Select a m The remaining low-frequency sequence after the decomposition is taken as the large-scale fluctuation sequence:
[0031]
[0032] Small-scale fluctuation sequence:
[0033]
[0034] In order to reduce the computational complexity in step 3 and predict the long-term trend of equipment operation data, the method of merging the data at each moment in the large-scale fluctuation sequence is as follows:
[0035] The average running data change of the large-scale fluctuation sequence after the time slot τ is:
[0036]
[0037] Among them, S s is the number of samples.
[0038] Calculate the average running data change less than the threshold D t The number of time slots required is N large , taking it as the length of the large-scale period. large satisfy:
[0039]
[0040] Large-scale equipment operating status sequence
[0041] The large-scale prediction method based on the sliding window k nearest neighbors and pre-matching mechanism in step 4 is:
[0042] The stored large-scale equipment operation status history sequence is:
[0043] Where u represents the current time as the u-th large-scale time period, Indicates the operating status of large-scale equipment in the i-th period.
[0044] The training vectors and their labels are:
[0045]
[0046] Among them, n represents the length of the sliding window, through which H L After interception, we get the training vector. n ,S n+1 ,…,S u-v ]
[0047] The test vector is:
[0048] First, perform pre-matching to filter out training vectors that are far away from the test vectors:
[0049] Find the difference between the nth element of the training vector and the test vector. If the difference is greater than the threshold D h , then filter out this training vector.
[0050]
[0051] Calculate the remaining training vector S after pre-matching i and S u Distance between:
[0052]
[0053] Select k nearest neighbor training vectors [c1,c2,…,c k ], its label For the selected training vector c j , the weight is calculated as:
[0054]
[0055] in, is the distance between the training vector and the test vector, expressed as:
[0056] Finally, the large-scale prediction value is:
[0057]
[0058] The small-scale prediction method based on the AR prediction model in step 5 is:
[0059] The prediction of small-scale fluctuation series adopts AR model:
[0060]
[0061] in, represents the prediction result at time t+1, h re (t) represents the value of the small-scale fluctuation sequence at time t, L AR Indicates the order of the prediction model, a i represents the i-th coefficient of the AR prediction model, b t+1 represents the noise term.
[0062] Compared with the prior art, the present invention has the following beneficial effects:
[0063] Empirical mode decomposition can decompose the sequence into intrinsic mode functions and residual terms that reflect the fluctuation characteristics of different time scales. However, each subsequence only reflects the changes in a specific time scale, and predicting all subsequences will lead to high computational complexity. In order to obtain large-scale and small-scale fluctuation sequences, an incomplete decomposition strategy is designed.
[0064] In large-scale prediction, a large-scale equipment operation state sequence is constructed based on the large-scale fluctuation sequence to reduce the computational complexity and predict the long-term change trend of the equipment state. When using the sliding window k-nearest neighbor algorithm for prediction, the pre-matching method is used to reduce the computational complexity, thereby achieving the goal of reducing the overhead of the prediction algorithm while maintaining the prediction performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0066] Figure 1 It is an architecture diagram of the method of the embodiment of the present application;
[0067] Figure 2 It is a specific flow chart of the method of the embodiment of the present application. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings.
[0069] Figure 1 is a schematic diagram of the method of the present invention, Figure 2 It is a specific flow chart of the method of the present invention;
[0070] Combine the following Figure 1 The specific implementation of the present invention is a method for predicting the operating status of a dual-scale device, including the following specific steps:
[0071] Step 1: The operation data of the equipment is a time series within a period of time T. The time series data generated by the operation of the data center equipment is read in, recorded as h(t). Here, the CPU utilization of the equipment is imported;
[0072] Step 2: Perform N operations on the time series h(t) e The empirical mode decomposition of this time is:
[0073]
[0074] Among them, N e is the number of decompositions, y i (t) is the intrinsic mode function obtained by the i-th decomposition, and r(t) is the residual sequence;
[0075] Step 3: In order to obtain the large-scale and small-scale equipment operation data changes, find the optimal number of decompositions, and then obtain the large-scale fluctuation sequence and the small-scale fluctuation sequence.
[0076] The remaining low-frequency sequence after the ath decomposition is:
[0077]
[0078] Objective function:
[0079] argmaxα a
[0080] α a =S a (f m )*R(z a (t), h(t))
[0081] Among them, R(z a (t), h(t)) is z a The Pearson correlation coefficient between (t) and the original sequence h(t) reflects z a(t) Similarity with the original sequence, S a (f m ) means to convert z a After the spectrum of (t) is equally divided, the proportion of the low-frequency energy is the reaction sequence z a (t) smoothness.
[0082] Pearson correlation coefficient R(z a (t), h(t)):
[0083]
[0084] in, is the mean value of za(t), is the average value of h(t).
[0085] S a (f m ) is calculated as follows:
[0086]
[0087]
[0088] Initialize the number of decompositions a m =1, increase by a step of 1 until a m Less than the decomposition threshold A, calculate α in turn a , find the maximum number of decompositions a m As the optimal number of decompositions;
[0089] Select a m The remaining low-frequency sequence after the decomposition is taken as the large-scale fluctuation sequence:
[0090]
[0091] Small-scale fluctuation sequence:
[0092]
[0093] Step 4: Merge the time slot data in the large-scale fluctuation sequence to form each time period, i.e., the large-scale equipment operation status sequence.
[0094] The average running data change of the large-scale fluctuation sequence after the time slot τ is:
[0095]
[0096] Among them, S s is the number of samples.
[0097] The number of time slots N included in the initialization period large=1, taking 1 as the step size, and sequentially inserting δ(N large ), find the value that satisfies δ(N large )≥D t ,δ(N large -1) <D t N large As the length of a period;
[0098] D t The threshold representing the change in average running data
[0099] Large-scale equipment operating status sequence
[0100] Step 5: Construct large-scale prediction training and test sets based on large-scale equipment operation status sequences
[0101] The stored large-scale equipment operation status history sequence is:
[0102] Where u represents the current time as the u-th large-scale time period, Indicates the operating status of large-scale equipment in the i-th period.
[0103] The training vectors and their labels are:
[0104]
[0105] Among them, n represents the length of the sliding window, through which H L After interception, we get the training vector. n ,S n+1 ,…,S u-v ]
[0106] The test vector is:
[0107] Step 6: Pre-matching to filter out training vectors that are far from the test vectors
[0108] Find the difference between the nth element of the training vector and the test vector. If the difference is greater than the threshold D h , then filter out this training vector.
[0109]
[0110] Step 7: Use sliding window k nearest neighbor prediction method for large-scale prediction
[0111] Calculate the training vector S i and S u Distance between:
[0112]
[0113] Select k nearest neighbor training vectors [c1,c2,…,c k ], its label For the selected training vector c j , the weight is calculated as:
[0114]
[0115] in, is the distance between the training vector and the test vector, expressed as:
[0116] Finally, the large-scale prediction value is:
[0117]
[0118] Step 8: Use the AR prediction model for small-scale prediction
[0119] The prediction of small-scale fluctuation series adopts AR model:
[0120]
[0121] in, represents the prediction result at time t+1, h re (t) represents the value of the small-scale fluctuation sequence at time t, L AR Indicates the order of the prediction model, a i represents the i-th coefficient of the AR prediction model, b t+1 represents the noise term.
[0122] Calculate the coefficients of the AR model by the least squares method
[0123] Step 9: Calculate the equipment operation data at the next moment based on the large-scale prediction value and the small-scale prediction value.
[0124]
[0125] Compared with the prior art, the present invention proposes a dual-scale prediction method for data center equipment operation data. Based on empirical mode decomposition, the present invention designs an incomplete decomposition strategy to obtain large-scale fluctuation sequences and small-scale fluctuation sequences of time series; in the large-scale fluctuation sequence, in order to reduce the computational complexity, the long-term change trend of equipment operation data is predicted, a large-scale equipment operation state sequence is constructed, and the large-scale state sequence is predicted with time periods as the scale; large-scale prediction is performed by using a sliding window k-nearest neighbor prediction method and a pre-matching method; small-scale prediction is performed by using an AR prediction model; and finally, the equipment operation data at the next moment is obtained based on the large-scale prediction value and the small-scale prediction value.
[0126] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A dual-scale prediction method for data center equipment operation data, characterized in that: The steps include: Step 1: The operation data of the equipment is a time series within a period of time T. The time series data generated by the operation of the data center equipment is read in and recorded as h(t); Step 2: Based on the empirical mode decomposition, an incomplete decomposition strategy is designed to obtain the optimal number of decompositions, and then the large-scale fluctuation sequence and the small-scale fluctuation sequence are obtained; Step 3: In the large-scale fluctuation sequence, in order to reduce the computational complexity and predict the long-term trend of the equipment status, the data at each moment in the large-scale fluctuation sequence is merged to form each time period, i.e., the large-scale equipment operation status sequence. The large-scale equipment operation status sequence is predicted to be based on the time period; Step 4: Use the sliding window k-nearest neighbor prediction method and pre-matching method to perform large-scale prediction; Step 5: Use the AR prediction model for small-scale prediction; Step 6: Obtain the equipment operation data at the next moment based on the large-scale prediction value and the small-scale prediction value; In order to obtain the large-scale fluctuation sequence and small-scale fluctuation sequence of the equipment operation data in step 2, an incomplete decomposition strategy is designed: For the equipment operation data h(t), the empirical mode decomposition is performed as follows: Among them, N e is the number of decompositions, y i (t) is the intrinsic mode function obtained by the i-th decomposition, r(t) is the residual sequence, Each subsequence only reflects changes in a specific time scale, and predicting all subsequences will result in excessive computational complexity. In order to obtain large-scale and small-scale equipment operation data changes, the subsequences are merged into two parts. The remaining low-frequency sequence after the ath decomposition is: z a (t) needs to reflect large-scale changes, have a certain degree of smoothness, and be similar to the original sequence, so the objective function is constructed: argmaxα a α a =S a (f m )*R(z a (t),h(t)) Among them, R(z a (t),h(t)) is z a The Pearson correlation coefficient between (t) and the original sequence h(t) reflects z a (t) Similarity with the original sequence, S a (f m ) means to convert z a After the spectrum of (t) is equally divided, the proportion of the low-frequency energy is the reaction sequence z a (t), find the smoothness of α a The maximum number of decompositions a m As the number of incomplete decompositions, Pearson correlation coefficient R(z a (t),h(t)): in, Yes a The average value of (t), is the mean value of h(t), S a (f m ) is calculated as follows: Select a m The remaining low-frequency sequence after the decomposition is taken as the large-scale fluctuation sequence: Small-scale fluctuation sequence:
2. A dual-scale prediction method for data center equipment operation data according to claim 1, characterized in that: In order to reduce the computational complexity and predict the long-term trend of the equipment status in step 3, the data at each moment in the large-scale fluctuation sequence is merged to form a method for forming a large-scale equipment operation status sequence for each time period: The average running data change of the large-scale fluctuation sequence after the time slot τ is: Among them, S s is the number of samples, Calculate the average running data change less than the threshold D t The number of time slots required is N large , taking it as the length of the large-scale period, N large satisfy: δ(N large )≥D t ,δ(N large -1) <D t Large-scale equipment operating status sequence 3. A dual-scale prediction method for data center equipment operation data according to claim 1, characterized in that: The large-scale prediction method using the sliding window k-nearest neighbor prediction method and the pre-matching method in step 4 is: The stored large-scale equipment operation status history sequence is: Where u represents the current time as the u-th large-scale time period, Indicates the operating status of large-scale equipment in the i-th period, The training vectors and their labels are: Among them, n represents the length of the sliding window, through which H L The training vector is obtained by interception. After interception, the training set Y = [S n ,S n+1 ,…,S u-v ] The test vector is: First, perform pre-matching to filter out training vectors that are far away from the test vectors: Find the difference between the nth element of the training vector and the test vector. If the difference is greater than the threshold D h , then filter out this training vector, Calculate the remaining training vector S after pre-matching i and S u Distance between: Select k nearest neighbor training vectors [c1,c2,…,c k ], its label For the selected training vector c j , the weight is calculated as: in, is the distance between the training vector and the test vector, expressed as: Finally, the large-scale prediction value is:
4. The dual-scale prediction method for data center equipment operation data according to claim 1, characterized in that: The method for performing small-scale prediction using the AR prediction model in step 5 is: The prediction of small-scale fluctuation series adopts AR model: in, represents the prediction result at time t+1, h re (t) represents the value of the small-scale fluctuation sequence at time t, L AR Indicates the order of the prediction model, a i represents the i-th coefficient of the AR prediction model, b t+1 represents the noise term.
