Abnormal event prediction method and device
Through the coordinated work of storage management equipment and graphics processing equipment, abnormal feature information and structural risk information in the time series are determined, and the accurate prediction of abnormal fluctuations in the time series is achieved, and the problem of large prediction errors in the existing technology is solved, and the problem of improvement of the improvement of the problem is improved. The accuracy of the prediction results is achieved.
Patent Information
- Application Number
- CN202310492916.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-05
AI Technical Summary
The existing time series abnormal fluctuation prediction scheme has a large prediction error, especially because the abnormal fluctuation samples are small and irregular, resulting in inaccurate prediction results.
The storage management device obtains timing data, determines the abnormal characteristic information of the abnormal timing data, and sends it to the graphics processing device. The graphics processing device determines structural risk information based on the abnormal characteristic information, and the storage management device predicts the probability of abnormal events based on the structural risk information. , thereby achieving more accurate predictions.
It effectively avoids the impact of predictable normal events on sudden abnormal events, improves the accuracy of prediction results, analyzes different user behavior patterns from the perspective of risk of the storage system, determines the root cause of abnormal events, and significantly reduces prediction errors.
Smart Images

Figure CN118898037A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and in particular, to a method and device for predicting abnormal events. Background Art
[0002] Elastic volume service (EVS) is a distributed virtual block storage service. The service performance of EVS is determined by the actual workload running on the service cloud disk and the adaptive elastic resource control method. The current adaptive elastic resource control method mainly configures cloud resources by predicting the resource demand in the next time period. In the time series prediction task, it is easier to accurately predict normal data, but it is difficult to predict abnormal fluctuations.
[0003] At present, the prediction scheme for abnormal fluctuations in time series mainly uses classical time series models and neural network models to predict time series for a period of time in the future.
[0004] Due to the small number of abnormal fluctuation samples in time series and their irregular characteristics, the current prediction scheme can only predict the repeated and predictable patterns in historical data, and the prediction error is large. Summary of the invention
[0005] The embodiments of the present application provide a method and device for predicting abnormal events, which can accurately predict sudden abnormal events.
[0006] In a first aspect, an embodiment of the present application provides a management method for a graphics processing device, which is applied to a storage management device, the method comprising: the storage management device acquires time series data; the storage management device determines abnormal data characteristic information of abnormal time series data in the time series data; the storage management device sends abnormal characteristic information to the graphics processing device; the storage management device receives structural risk information from the graphics processing device, the structural risk information indicating the magnitude of the structural risk of the storage device; the storage management device predicts the probability of occurrence of abnormal events based on the structural risk information.
[0007] In this possible implementation, the storage management device first determines the abnormal time series data corresponding to the sudden abnormal event, thereby avoiding the influence of the normal time series data corresponding to the predictable normal event on the prediction of the sudden abnormal event, thereby obtaining a more accurate prediction result. On the other hand, the storage management device predicts the sudden abnormal event based on the structural risk information of the storage device, analyzes the behavior patterns of different users from the perspective of the risk of the storage system, and determines the cause of the sudden abnormal event from the root, thereby obtaining a more accurate prediction result.
[0008] In a possible implementation, the storage management device determines abnormal characteristic information of abnormal time series data in the time series data, including: the storage management device determines the abnormal time series data in the time series data; the storage management device determines the abnormal characteristic information of the abnormal time series data based on the abnormal time series data.
[0009] In this possible implementation, the storage management device first determines the abnormal time series data corresponding to the sudden abnormal event, thereby avoiding the influence of the normal time series data corresponding to the predictable normal event on the prediction of the sudden abnormal event, thereby obtaining a more accurate prediction result.
[0010] In another possible implementation, the storage management device determines abnormal time series data in the time series data, including: the storage management device identifies abnormal time series data in the time series data; the storage management device merges the abnormal time series data; the storage management device clusters the abnormal time series data.
[0011] In another possible implementation, the above-mentioned abnormal characteristic information includes the system abnormality coefficient, abnormality duration, maximum abnormal working data volume and abnormality category corresponding to the abnormal time series data.
[0012] In another possible implementation, the structural risk information includes structural risk information corresponding to the current moment and structural risk information corresponding to the abnormal feature information.
[0013] In another possible implementation, the storage management device predicts the probability of occurrence of abnormal events according to the structural risk information, including: the storage management device determines the probability of occurrence of abnormal events within a future target time period according to the structural risk information corresponding to the current moment.
[0014] In this possible implementation, the storage management device predicts sudden abnormal events based on the structural risk information of the storage device, analyzes the behavior patterns of different users from the perspective of the storage system risk, and determines the root cause of the sudden abnormal events, thereby obtaining a more accurate prediction result.
[0015] In another possible implementation, the storage management device acquires the timing data of the storage device, including: the storage management device acquires the timing data of the storage device and the static configuration information of the storage device.
[0016] In another possible implementation, the prediction result information indicates that an abnormal event will occur within the target time period, and the method further includes: the storage management device switches the management mode of the storage device.
[0017] In a second aspect, an embodiment of the present application provides a method for predicting abnormal events, the method comprising: a graphics processing device receives abnormal data characteristic information from a storage management device; the graphics processing device determines structural risk information based on the abnormal data characteristic information, the structural risk information indicating the magnitude of the structural risk of the storage device; and the graphics processing device sends the structural risk information to the storage management device.
[0018] In this possible implementation, the storage management device predicts sudden abnormal events based on the structural risk information of the storage device, analyzes the behavior patterns of different users from the perspective of the storage system risk, and determines the root cause of the sudden abnormal events, thereby obtaining a more accurate prediction result.
[0019] In a possible implementation, the above-mentioned graphics processing device determines the structural risk information based on the abnormal data characteristic information, including: the graphics processing device determines a correlation matrix based on the abnormal data characteristic information; the graphics processing device determines the proportion of the first principal component based on the correlation matrix, and the structural risk information includes the proportion of the first principal component, and the proportion of the first principal component indicates the degree of clustering of abnormal events.
[0020] In another possible implementation, the above-mentioned graphics processing device determines the structural risk information according to the abnormal data feature information, including: the graphics processing device determines the dynamic network model corresponding to the storage device; the graphics processing device determines the structural risk information according to the dynamic network model.
[0021] In a third aspect, an embodiment of the present application provides a storage management device, including: a processor and a memory. The processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the storage management device to implement any one of the methods provided in the first aspect.
[0022] In a fourth aspect, an embodiment of the present application provides a graphics processing device, comprising: a processor and a memory. The processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the graphics processing device to implement any one of the methods provided in the second aspect.
[0023] In a fifth aspect, an embodiment of the present application provides a chip, comprising: a processor and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the processor; the processor is used to run the code instructions to execute any one of the methods provided in the first aspect.
[0024] In a sixth aspect, an embodiment of the present application provides a chip, comprising: a processor and an interface circuit; the interface circuit is used to receive code instructions and transmit them to the processor; the processor is used to run the code instructions to execute any one of the methods provided in the second aspect.
[0025] In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program instruction is stored. The computer program instruction is loaded and executed by a processor to implement any one of the methods provided in the first aspect above.
[0026] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one computer program instruction is stored. The computer program instruction is loaded and executed by a processor to implement any one of the methods provided in the second aspect above.
[0027] In a ninth aspect, an embodiment of the present application provides a computer program product, comprising computer execution instructions, which, when executed on a computer, enable the computer to execute any one of the methods provided in the first aspect.
[0028] In the tenth aspect, an embodiment of the present application provides a computer program product, including computer execution instructions, which, when executed on a computer, enable the computer to execute any one of the methods provided in the second aspect.
[0029] The technical effects brought about by any implementation method in the third aspect to the tenth aspect can be referred to the technical effects brought about by the corresponding implementation methods in the first aspect and the second aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 This is a schematic diagram of a cloud hard disk scenario;
[0031] Figure 2 A schematic diagram of a scenario of a sudden abnormal event regarding IO data volume;
[0032] Figure 3 A schematic diagram of the architecture of a storage system provided in an embodiment of the present application;
[0033] Figure 4 A schematic diagram of a process for training a neural network anomaly prediction model provided in an embodiment of the present application;
[0034] Figure 5 A schematic diagram of a scenario for training an abnormality prediction model provided in an embodiment of the present application;
[0035] Figure 6 A flowchart of an abnormality prediction method provided in an embodiment of the present application;
[0036] Figure 7 A schematic diagram of an undirected graph scenario provided in an embodiment of the present application;
[0037] Figure 8A schematic diagram of a scenario of a graph embedding technology based on a correlation matrix provided in an embodiment of the present application;
[0038] Fig. 9 A schematic diagram of a scenario of a graph embedding technology based on a random process provided in an embodiment of the present application;
[0039] Fig.10 A schematic diagram of the structure of a storage management device provided in an embodiment of the present application;
[0040] Fig.11 A schematic diagram of the structure of a graphics processing device provided in an embodiment of the present application;
[0041] Fig.12 A schematic diagram of the structure of another storage management device provided in an embodiment of the present application;
[0042] Fig.13 A schematic diagram of the structure of another graphics processing device provided in an embodiment of the present application;
[0043] Fig.14 A schematic diagram of the structure of a storage system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In the description of this application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship, for example, A / B can represent A or B; "and / or" in this application is merely a description of the association relationship between associated objects, indicating that three relationships may exist, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
[0045] In the description of this application, unless otherwise specified, "plurality" means two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0046] In addition, in order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.
[0047] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
[0048] It is understood that the "embodiment" mentioned throughout the specification means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments in the entire specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It is understood that in various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0049] It can be understood that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the devices provided in the embodiments of the present application may also realize these features or functions accordingly, which will not be elaborated here.
[0050] In this application, unless otherwise specified, the same or similar parts between the various embodiments can refer to each other. In this application, if there is no special description or logical conflict between the various embodiments, the terms and / or descriptions between different embodiments are consistent and can be referenced to each other, and different embodiments can be combined to form new embodiments according to their inherent logical relationships. The following implementation methods of this application do not constitute a limitation on the scope of protection of this application.
[0051] like Figure 1 As shown in Figure 1, EVS is a distributed architecture that provides elastically scalable virtual block storage services. Object storage devices are composed of multiple solid state disks (SSDs). Object storage devices provide storage services to users through virtual block storage management and enterprise data management.
[0052] The service performance of EVS is determined by the actual workload running on the service cloud disk and the adaptive elastic resource control method. The current adaptive elastic resource control method mainly configures cloud resources by predicting the resource demand in the next time period, and its core component is the time series prediction model. In the time series prediction task, it is relatively easy to accurately predict normal data, but it is difficult to predict abnormal fluctuations.
[0053] At present, the prediction scheme for abnormal fluctuations in time series mainly uses classical time series models and neural network models to predict abnormal fluctuations in time series for a period of time in the future, such as the auto-regressive integrated moving averages (ARIMA) time series model, the seasonal autoregressive integrated moving average (SARIMA) time series model and the long short term memory (LSTM) neural network model.
[0054] like Figure 2 As shown, due to the small number of abnormal fluctuation samples in the time series and their irregular characteristics, the current prediction scheme can only predict the repeated predictable patterns in the historical data, and the prediction error is large. Based on this, an embodiment of the present application provides an abnormality prediction method, which is applied to a storage system, and the storage system includes a storage management device and a graphics processing device. The method includes: the storage management device obtains time series data; the storage management device determines abnormal data feature information of abnormal time series data in the time series data; the storage management device sends the abnormal feature information to the graphics processing device; the graphics processing device determines the structural risk information based on the abnormal data feature information, and the structural risk information indicates the size of the structural risk of the storage device. The storage management device receives the structural risk information from the graphics processing device, and the structural risk information indicates the size of the structural risk of the storage system; the storage management device predicts the probability of abnormal events based on the structural risk information.
[0055] like Figure 3 As shown, the abnormality prediction method provided in the embodiment of the present application can be applied to Figure 3 The storage system, storage management device and graphics processing device shown in the figure all have modules for specifically executing the abnormality prediction method provided by the present application. Specifically, they are as follows:
[0056] The storage management device includes a controller module, a memory module, and an abnormality prediction module, and its specific functions are as follows:
[0057] The controller module is used to collect the input / output (I / O) workload timing data of the storage device and obtain the static configuration information of the storage device. The controller module can communicate with the memory module and send the collected information to the memory module. It can also receive the structural risk information fed back from the abnormal prediction module and switch the management mode of the storage device according to the structural risk information.
[0058] The memory module is used to identify and cluster abnormal events in the storage device sequence and determine the unpredictable abnormal emergencies. It communicates with the controller module to receive the collected data information. It can also communicate with the graph embedding module to send the abnormal data feature information to the graph embedding module.
[0059] The anomaly prediction module is used to communicate with the graph embedding module, receive the system structure risk information from the graph embedding module, and train the functional relationship between the output network structure risk trend and abnormal bursts based on the information input by the graph embedding module, and estimate the probability of rare abnormal bursts in the future based on the trained model. It can also communicate with the controller module and send the final prediction results to the controller module.
[0060] Graphics processing equipment includes:
[0061] The graph embedding module is used to analyze the behavior patterns of the physical network composed of SSDs attached to the storage device, so as to obtain the vector representation of the network risk model at the key memory moment. It also communicates with the memory module deployed on the client to receive the transferred memory fragments. It also communicates with the anomaly prediction module deployed on the client to send the structural risk information to the anomaly prediction module.
[0062] In an embodiment of the present application, the storage device, storage management device and graphics processing device of the storage system may be integrated into one device, for example, a cloud hard disk server may include a storage device, a storage management device and a graphics processing device; or they may be three separate independent devices, and the devices communicate with each other via wired or wireless means; or any two of them may become one device, and communicate with each other via wired or wireless means, for example, a graphics processing unit (GPU) as a graphics processing device may be integrated into one device with a storage management device, and the storage device may be an independent device, which is not limited here.
[0063] It is understandable that in the embodiments of the present application, the execution subject may execute some or all of the steps in the embodiments of the present application, and these steps or operations are only examples. The embodiments of the present application may also execute other operations or variations of various operations. In addition, the various steps may be executed in different orders presented in the embodiments of the present application, and it is possible that not all operations in the embodiments of the present application need to be executed.
[0064] It should be noted that the message names between the devices or the names of the parameters in the messages in the following embodiments of the present application are only examples, and other names may be used in the specific implementation, and the embodiments of the present application do not specifically limit this.
[0065] In the embodiment of the present application, the storage management device performs model training before performing abnormality prediction, which specifically includes the following steps:
[0066] 401. The storage management device obtains time series data.
[0067] The storage management device obtains I / O bandwidth time series data, which can be used by the storage management device to train a neural network anomaly prediction model.
[0068] Specifically, the time series data may include host bytes, disk bytes, datetime bytes and wkB / s bytes, wherein the host byte indicates the host number corresponding to the time series data, the disk byte indicates the hard disk number corresponding to the time series data, the datetime byte indicates the sample timestamp corresponding to the time series data, and the wkB / s byte indicates the sample bandwidth data.
[0069] 402. The storage management device determines abnormal time series data.
[0070] The storage management device determines abnormal time series data in the time series data.
[0071] The prediction model in the embodiment of the present application is to predict the probability of occurrence of abnormal events. Therefore, in order to avoid the influence of irrelevant data on the prediction model training, which causes the prediction model to skew towards the model direction of predicting normal time series data, the storage management device will exclude non-abnormal time series data (normal time series data) in the time series data, determine the abnormal time series data therein, and then identify the important feature information corresponding to the abnormal time series data. The important feature information may include feature information such as the abnormal event index, occurrence time, abnormal coefficient, duration and maximum write bandwidth caused by the abnormality of the abnormal time series data.
[0072] 403. The storage management device obtains system structure abnormality risk information.
[0073] The storage management device obtains the system structure abnormality risk information of the storage device corresponding to the abnormal time series data.
[0074] Since the sudden occurrence of abnormal events belongs to system risk, before the sudden occurrence of abnormal events, the structure of the storage device will be abnormal to a certain extent. Therefore, it can be understood that there is a certain correlation between system risk information and the sudden occurrence of abnormal events.
[0075] Specifically, the graphics processing device performs slice analysis on abnormal time series data, analyzes the correlation between the sudden occurrence of abnormal events and user behavior, and determines the abnormal risk information of the system structure.
[0076] In the embodiment of the present application, when determining the abnormal risk information of the system structure, the selection of sampling points can be determined based on the important feature information corresponding to the abnormal time series data.
[0077] In the embodiment of the present application, the graphics processing device can perform slice analysis on the abnormal time series data through the relevant network model and transmit the main component ratio to the storage management device; in addition, the graphics processing device can also perform slice analysis on the abnormal time series data through the dynamic network model and transmit the system relationship information to the storage management device. The specifics are not limited here.
[0078] 404. Anomaly prediction model training.
[0079] The storage management device trains the neural network anomaly prediction model through abnormal time series data.
[0080] like Figure 5 As shown, the storage management device predicts the time, type and other information of the next sudden abnormal event through the abnormal prediction model. In the embodiment of the present application, the timeliness of the prediction of the abnormal prediction model is required to be high, because if the predicted time of the sudden abnormal event is very close to the current moment, it is difficult for the storage management device to manage and adjust the storage device accordingly in a short time. Therefore, the training of the neural network abnormal prediction model by the storage management device is carried out through the prediction tasks in the future.
[0081] In an embodiment of the present application, the storage management device can select functions and function approximations with fitting capabilities to learn the mapping relationship between system structure abnormality risk information X→information Y such as the occurrence time and type of sudden abnormal events, such as the extreme gradient boosting (XGBOOST) algorithm.
[0082] After determining that the neural network anomaly prediction model is trained, the storage management device can perform anomaly prediction based on it, as shown below:
[0083] like Figure 6 As shown, an abnormality prediction method provided by an embodiment of the present application includes the following steps:
[0084] 601. A storage management device obtains time series data.
[0085] The storage management device obtains the time series data of the storage device.
[0086] Specifically, the controller module inside the storage management device can obtain the timing data of the storage device, and then the controller module transmits the timing data to the memory module inside the storage management device.
[0087] In a possible implementation, the storage management device also obtains static configuration information of the storage device, which is static configuration information of the physical disks of the storage device, such as the number of physical disks of the storage device, the capacity of each physical disk, the model of each physical disk, and the number of services that the storage device can provide, the type of service, etc. It is understandable that after the controller module of the storage management device obtains the static configuration information of the storage device, it will also transmit the static configuration information to the memory module of the storage management device.
[0088] In one possible implementation, the timing data may be input / output (I / O) workload data, where the I / O workload timing data indicates timing data related to the input and / or output of corresponding data stored in a storage device, such as timing data of the input and / or output bandwidth of the storage device.
[0089] 602. The storage management device determines abnormal data feature information of the abnormal time series data.
[0090] The storage management device determines abnormal time series data in the acquired time series data, and then determines abnormal data feature information of the abnormal time series data.
[0091] Specifically, after the memory module of the storage management device receives the time series data from the controller module, it extracts the upper envelope and removes the trend of the time series data to remove the normal time series data corresponding to the predictable normal events in the time series data, thereby determining the abnormal time series data corresponding to the unpredictable abnormal sudden events; and then identifies, merges and clusters the abnormal time series data to determine the abnormal data feature information of the abnormal time series data.
[0092] In one possible implementation, the abnormal data characteristic information includes the abnormal coefficient of the storage system when the abnormal emergency occurs, the duration of the abnormal emergency, the maximum I / O workload data volume caused by the abnormal emergency, and the category of the abnormal emergency. In addition, the abnormal data characteristic information may also include other information, which is not limited here.
[0093] In an embodiment of the present application, the storage management device removes normal time series data and retains abnormal time series data through operations such as extracting upper envelope, detrending, burst identification and burst clustering, thereby achieving dimensionality reduction and purification of the time series to time series point process and removing the influence of normal time series data.
[0094] 603. The storage management device sends abnormal data feature information to the graphics processing device.
[0095] After determining the abnormal data characteristic information, the storage management device sends the abnormal data characteristic information to the graphics processing device.
[0096] Correspondingly, the graphics processing device receives abnormal data feature information from the storage management device.
[0097] In one possible implementation, the storage management device will also send abnormal timing data to the graphics processing device. The abnormal timing data may be all the abnormal timing data determined in step 602, or it may be part of the abnormal timing data. The part of the abnormal timing data may be understood as one or more memory fragments, and the one or more memory fragments include a section of timing data before node L.
[0098] 604. The graphics processing device determines structural risk information according to the abnormal data feature information.
[0099] The graphics processing device determines the structural risk information of the storage device according to the abnormal data feature information received from the storage management device.
[0100] Specifically, the graphics processing device receives abnormal data characteristic information from the storage management device, and determines the structural risk information of the storage device corresponding to the current moment and the abnormal time point based on the abnormal data characteristic information. The abnormal time point is the time point corresponding to the abnormal data characteristic information. The structural risk information can indicate the size of the structural risk of the storage device.
[0101] In a possible implementation, the graphics processing device also receives all or part of the abnormal time series data from the storage management device, and the graphics processing device can determine the structural risk information based on the characteristic information of the abnormal data, which is not limited here.
[0102] In the embodiment of the present application, the graphics processing device can determine the structural risk information corresponding to the current moment and the abnormal time point through the graph embedding technology, specifically, Figure 7 As shown, G(V, E) represents the storage system, and V represents the vertex of the undirected graph. It can be understood that the undirected graph V = (S1, S2, S3, ..., S N ), V(S i )={S i,t ; S i,t+1; ...;} identifies the time series data observed by node i at a point in the past. The graph processing device can determine the structural risk information corresponding to the current moment and the abnormal time point based on the undirected graph and the time series data corresponding to the undirected graph.
[0103] In one possible implementation, Figure 8 As shown, the graphics processing device determines the structural risk information of the storage device based on the correlation network model of the graph embedding technology of the correlation matrix. Specifically, the graphics processing device embeds the storage device into an undirected graph G (V, E), the vertices of which are nodes marked by storage units (such as solid state disk (SSD) units), and the edges in the undirected graph represent the correlation index between the nodes, namely, the Pearson's correlation coefficient, and the undirected graph can be represented by the correlation matrix A.
[0104] ρ(V(S1),V(S1)), ρ(V(S1),V(S2)), ρ(V(S1),V(S3)),…
[0105] ρ(V(S2),V(S1)), ρ(V(S2),V(S2)), ρ(V(S2),V(S3)),…
[0106] ρ(V(S3),V(S1)), ρ(V(S3),V(S2)), ρ(V(S3),V(S3)),…
[0107] ………
[0108] The characteristic root decomposition of the correlation matrix A is obtained:
[0109]
[0110] λ1 corresponds to the first principal component, and the principal component ratio PC1 = λ1 / ∑λ i The larger the value is, the higher the aggregation of users' reading and writing behaviors of storage devices is, which indicates that the possibility of sudden abnormal events in the storage system of the cloud hard disk is higher.
[0111] Therefore, it can be understood that the image processing device can determine the principal component ratio as the structural risk information.
[0112] In another possible implementation, Fig. 9 As shown, the graphics processing device determines the structural risk information of the storage device based on the dynamic network model of the graph embedding technology of the random process. Specifically, the graphics processing device characterizes and learns the dynamic network composed of the hard disks of the storage device from the perspective of the multi-dimensional time series short-term dynamic cointegration relationship, and obtains the dynamic network model:
[0113] dS t =k(θ*S t )dt+σdW t
[0114] Among them, θ∈R N*1 , is the mean; k∈R N*N , is the short-term cointegration factor; σ∈R N*N , is the long-term volatility factor; W t ∈R N *1 , which is a multidimensional Brownian motion.
[0115] The drift term of the model reflects the transient characteristics of the system (i.e., cointegration relationship), and the volatility term reflects the long-term structural characteristics of the system. The short-term cointegration factor can be used as a first-order representation of the directed graph G, such as k ij >0 can indicate that a burst at node j at time t will lead to a burst at node i at time t+1.
[0116] Therefore, it can be understood that the graphics processing device can determine the relevant parameters of the dynamic network model as structural risk information.
[0117] 605. The graphics processing device sends the structural risk information to the storage management device.
[0118] The graphics processing device sends structural risk information to the storage management device, where the structural risk information indicates the magnitude of the structural risk of the storage system.
[0119] Accordingly, the storage management device receives the structural risk information from the graphics processing device.
[0120] 606. The storage management device predicts the probability of occurrence of abnormal time according to the structural risk information.
[0121] The storage management device receives the structural risk information transmitted from the graphics processing device, and then the storage management device predicts the probability of sudden abnormal events occurring within the future target time period based on the deep memory neural network model trained in step 404.
[0122] Specifically, the abnormality prediction module of the storage management device determines the probability of occurrence of a sudden abnormal event based on the deep memory neural network model, and then transmits the probability value to the controller module.
[0123] In a possible implementation, the abnormality prediction module may include a dynamic sampling unit and a feature representation unit, and the dynamic sampling unit is used to dynamically sample events in the historical time series.
[0124] When the most recent M abnormal sudden events need to be sampled and the abnormal prediction module performs dynamic sampling, the physical time window size of each sample can be different. For example, the physical time window size of each sample can be related to the density of the abnormal sudden events. In the time period when the abnormal sudden events occur more frequently, the physical time window of each sample is smaller; in the time period when the abnormal sudden events occur more sparsely, the physical time window of each sample is larger.
[0125] The feature characterization unit is used to obtain abnormal information corresponding to the sudden abnormal event within the sampling time window. For example, the feature characterization unit can enter the acquired abnormal information X, X = (o t field, e1 field, ..., e M field). Among them, o t The field indicates the device status of the storage device at the current moment. i The field indicates the status information from the i-th burst to the current moment, e i Fields are e1 to e M Any field in the field. The status information may include the time from the ith burst to the current moment, the abnormal coefficient of the storage device when the ith burst occurs, the duration of the ith burst, the maximum I / O workload data volume caused by the ith burst, and the risk coefficient of the storage device corresponding to the ith burst. It is understandable that the status information may also include other information, which is not limited here.
[0126] In an embodiment of the present application, the probability of a sudden abnormal event occurring in a certain period of time in the future determined by the graphics processing device may be 0 or 1, that is, the sudden abnormal event may occur or may not occur in the certain period of time in the future; the probability of a sudden abnormal event occurring in a certain period of time in the future determined by the graphics processing device may be a value between 0 and 1, for example, there is a 20% probability of a sudden abnormal event occurring within 24 hours, and the probability value indicates the possibility of a sudden abnormal event occurring.
[0127] In the embodiment of the present application, the storage management device quantitatively analyzes the structured risk of the storage system based on the behavior patterns of different users, learns the functional relationship between the network structure risk trend and abnormal sudden events based on the deep memory neural network, and realizes the accurate prediction of abnormal sudden events.
[0128] In a possible implementation, after receiving the probability value transmitted by the abnormal prediction module, the controller module of the storage management device can determine the management mode of the storage management device according to the probability value. Specifically, as shown in 607:
[0129] 607. The storage management device switches the management mode.
[0130] After receiving the probability value transmitted by the abnormality prediction module, the controller module of the storage management device switches the management mode for the storage device according to the probability value.
[0131] Specifically, the storage management device can determine the management mode of the storage management device based on the probability of abnormal events occurring in the future. It is understandable that, when it is determined that a sudden abnormal event will occur or will occur with a high probability in the future (for example, greater than 80%), the storage management device switches to a management mode for dealing with sudden abnormal events, such as switching from normal mode to peak mode. Under peak mode management, the storage device can perform clock overclocking operations, stop background operations, call all computing power to process I / O commands, perform power throttling, liquid cooling and other operations or enable related configurations. Accordingly, when it is determined that a sudden abnormal event will not occur or will occur with a low probability in the future (for example, less than 20%), the storage management device can also switch to a management mode for dealing with normal events, such as a normal management mode. No specific limitation is made here.
[0132] In the embodiment of the present application, on the one hand, the storage management device first determines the abnormal time series data corresponding to the sudden abnormal event, thereby avoiding the influence of the normal time series data corresponding to the predictable normal event on the prediction of the sudden abnormal event, thereby obtaining a more accurate prediction result. On the other hand, the storage management device predicts the sudden abnormal event based on the structural risk information of the storage device, analyzes the behavior patterns of different users from the perspective of the risk of the storage system, and determines the cause of the sudden abnormal event from the root, thereby obtaining a more accurate prediction result.
[0133] The embodiment of the present application provides a storage management device 1000. In the embodiment of the present application, the storage management device 1000 can be divided into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0134] In the case of dividing each functional module into corresponding functional modules, Fig.10 FIG. 1 is a schematic diagram showing a possible structure of the storage management device 1000 involved in the above embodiment. Fig.10 As shown, the storage management device 1000 includes:
[0135] The acquisition module 1001 is used to acquire time series data; for example, the step 601 in the above method embodiment is executed: the storage management device acquires time series data.
[0136] In a possible implementation, the acquisition module 1001 is specifically used to: acquire timing data of the storage device and static configuration information of the storage device.
[0137] The determination module 1002 is used to determine abnormal data feature information of abnormal time series data in the time series data; for example, the step 602 in the above method embodiment is executed: the storage management device determines the abnormal data feature information of the abnormal time series data.
[0138] In a possible implementation, the determining module 1002 includes:
[0139] The first determining unit 1003 is used to determine abnormal time series data in the time series data; for example, executing step 602 in the above method embodiment: the storage management device determines abnormal data feature information of the abnormal time series data.
[0140] In a possible implementation, the first determining unit 1003 includes:
[0141] The identification subunit 1004 is used to identify abnormal time series data in the time series data; for example, the step 602 in the above method embodiment is executed: the storage management device determines abnormal data feature information of the abnormal time series data.
[0142] The merging subunit 1005 is used to merge the abnormal time series data; for example, the step 602 in the above method embodiment is executed: the storage management device determines the abnormal data feature information of the abnormal time series data.
[0143] The clustering subunit 1006 is used to perform clustering processing on the abnormal time series data. For example, the step 602 in the above method embodiment is performed: the storage management device determines the abnormal data feature information of the abnormal time series data.
[0144] The second determining unit 1007 is configured to determine abnormal characteristic information of the abnormal time series data according to the abnormal time series data, for example, by executing step 602 in the above method embodiment: the storage management device determines abnormal data characteristic information of the abnormal time series data.
[0145] The sending module 1008 is used to send abnormal characteristic information to the graphics processing device; for example, the step 603 in the above method embodiment is executed: the storage management device sends abnormal data characteristic information to the graphics processing device.
[0146] The receiving module 1009 is used to receive structural risk information from the graphics processing device, where the structural risk information indicates the magnitude of the structural risk of the storage device; for example, the step 605 in the above method embodiment is executed: the graphics processing device sends the structural risk information to the storage management device.
[0147] The prediction module 1010 is used to predict the probability of occurrence of abnormal events according to the structural risk information. For example, the step 603 in the above method embodiment is performed: the storage management device sends abnormal data feature information to the graphics processing device.
[0148] In a possible implementation, the prediction module 1010 is specifically used to determine the probability of an abnormal event occurring within a future target time period according to the structural risk information corresponding to the current moment.
[0149] In a possible implementation, the storage management device 1000 further includes:
[0150] The switching module 1011 is used to switch the management mode, for example, executing step 607 in the above method embodiment: the storage management device switches the management mode.
[0151] The various modules of the above-mentioned storage management device can also be used to execute other actions in the above-mentioned method embodiment. All relevant contents of each step involved in the above-mentioned method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0152] The embodiment of the present application provides a graphics processing device 1100. In the embodiment of the present application, the graphics processing device 1100 can be divided into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0153] In the case of dividing each functional module into corresponding functional modules, Fig.11 FIG. 1 is a schematic diagram showing a possible structure of the graphics processing device 1100 involved in the above embodiment. Fig.11 As shown, the graphics processing device 1100 includes:
[0154] The receiving module 1101 is used to receive abnormal data characteristic information from the storage management device; for example, the step 603 in the above method embodiment is executed: the storage management device sends the abnormal data characteristic information to the graphics processing device.
[0155] The determination module 1102 is used to determine the structural risk information according to the abnormal data characteristic information, and the structural risk information indicates the size of the structural risk of the storage device; for example, executing step 604 in the above method embodiment: the graphics processing device determines the structural risk information according to the abnormal data characteristic information.
[0156] In a possible implementation, the determining module 1102 includes:
[0157] The first determining unit 1103 is used to determine a correlation matrix based on the abnormal data feature information; for example, executing step 604 in the above method embodiment: the graphics processing device determines the structural risk information according to the abnormal data feature information.
[0158] The second determining unit 1104 is used to determine the first principal component ratio according to the correlation matrix, the structural risk information includes the first principal component ratio, and the first principal component ratio indicates the degree of aggregation of abnormal events. For example, step 604 in the above method embodiment is performed: the graphics processing device determines the structural risk information according to the abnormal data feature information.
[0159] In another possible implementation, the determining module 1102 includes:
[0160] The third determining unit 1105 is used to determine the dynamic network model corresponding to the storage device; for example, executing step 604 in the above method embodiment: the graphics processing device determines the structural risk information according to the abnormal data feature information.
[0161] The fourth determining unit 1106 is configured to determine the structural risk information according to the dynamic network model. For example, the step 604 in the above method embodiment is performed: the graphics processing device determines the structural risk information according to the abnormal data feature information.
[0162] The sending module 1107 is used to send the structural risk information to the storage management device. For example, the step 605 in the above method embodiment is performed: the graphics processing device sends the structural risk information to the storage management device.
[0163] The modules of the above-mentioned graphics processing device can also be used to execute other actions in the above-mentioned method embodiment. All relevant contents of the steps involved in the above-mentioned method embodiment can be referred to the functional description of the corresponding functional modules, which will not be repeated here.
[0164] Fig.12 It is a schematic diagram of the structure of a storage management device provided in an embodiment of the present application. The storage management device 1200 may include one or more central processing units (CPU) 1201 and a memory 1205. The memory 1205 stores one or more application programs or data.
[0165] The memory 1205 may be a volatile storage or a persistent storage. The program stored in the memory 1205 may include one or more modules, each of which may include a series of instruction operations in the storage management device. Furthermore, the central processor 1201 may be configured to communicate with the memory 1205 and execute a series of instruction operations in the memory 1205 on the storage management device 1200.
[0166] The central processor 1201 is used to execute the computer program in the memory 1205, so that the storage management device 1200 is used to perform: the storage management device obtains time series data; the storage management device determines the abnormal data feature information of abnormal time series data in the time series data; the storage management device sends the abnormal feature information to the graphics processing device; the storage management device receives the structural risk information from the graphics processing device, and the structural risk information indicates the size of the structural risk of the storage device; the storage management device predicts the probability of abnormal events according to the structural risk information. For specific implementation methods, please refer to Figure 6 Steps 601-607 in the illustrated embodiment are not described in detail here.
[0167] The storage management device 1200 may also include one or more power supplies 1202, one or more wired or wireless network interfaces 1203, one or more input and output interfaces 1204, and / or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0168] The storage management device 1200 can execute the aforementioned Figure 6 The operations performed by the storage management device in the illustrated embodiment will not be described in detail here.
[0169] Fig.13 It is a schematic diagram of the structure of a graphics processing device provided in an embodiment of the present application. The graphics processing device 1300 may include one or more central processing units (CPU) 1301 and a memory 1305. The memory 1305 stores one or more application programs or data.
[0170] The memory 1305 may be a volatile storage or a persistent storage. The program stored in the memory 1305 may include one or more modules, each of which may include a series of instruction operations in the graphics processing device. Furthermore, the central processing unit 1301 may be configured to communicate with the memory 1305 and execute a series of instruction operations in the memory 1305 on the graphics processing device 1300.
[0171] The central processor 1301 is used to execute the computer program in the memory 1305, so that the graphics processing device 1300 is used to perform: the graphics processing device receives the abnormal data feature information from the storage management device; the graphics processing device determines the structural risk information according to the abnormal data feature information, and the structural risk information indicates the size of the structural risk of the storage device; the graphics processing device sends the structural risk information to the storage management device. For specific implementation methods, please refer to Figure 6 Steps 601-607 in the illustrated embodiment are not described in detail here.
[0172] The graphics processing device 1300 may also include one or more power supplies 1302, one or more wired or wireless network interfaces 1303, one or more input and output interfaces 1304, and / or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0173] The graphics processing device 1300 can execute the aforementioned Figure 6 The operations performed by the graphics processing device in the illustrated embodiment will not be described in detail herein.
[0174] The present application embodiment provides a storage system 1400, which includes a graphics processing device 1401, a storage management device 1402 and a storage device 1403, wherein the graphics processing device 1401 can execute the aforementioned Figure 6 The operations performed by the graphics processing device in the embodiment shown in the figure, the storage management device 1402 can perform the aforementioned Figure 6 The operations performed by the storage management device in the illustrated embodiment will not be described in detail here.
[0175] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, all or part of the processes (or functions) described in the embodiments of the present application are implemented. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or may contain one or more servers, data centers and other data storage devices that can be integrated with the medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)), etc. In the embodiment of the present application, the computer may include the aforementioned device.
[0176] Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
Claims
1. A method for predicting abnormal events, characterized in that: The method is applied to a storage system, the storage system comprising a storage device, a storage management device and a graphics processing device, and the method comprises: The storage management device acquires time series data; The storage management device determines abnormal data feature information of abnormal time series data in the time series data; The storage management device sends the abnormal characteristic information to the graphics processing device; The storage management device receives structural risk information from the graphics processing device, wherein the structural risk information indicates the magnitude of the structural risk of the storage device; The storage management device predicts the probability of occurrence of an abnormal event based on the structural risk information.
2. The method according to claim 1, characterized in that The storage management device determines abnormal feature information of abnormal time series data in the time series data, including: The storage management device determines abnormal time series data in the time series data; The storage management device determines abnormal feature information of the abnormal time series data according to the abnormal time series data.
3. The method according to claim 2, characterized in that The storage management device determines abnormal time series data in the time series data, including: The storage management device identifies abnormal time series data in the time series data; The storage management device merges the abnormal time series data; The storage management device performs clustering processing on the abnormal time series data.
4. The method according to claim 3, characterized in that: The abnormal characteristic information includes the system abnormality coefficient, abnormality duration, maximum abnormal working data volume and abnormality category corresponding to the abnormal time series data.
5. The method according to claim 4, characterized in that The structural risk information includes the structural risk information corresponding to the current moment and the structural risk information corresponding to the abnormal feature information.
6. The method according to claim 5, characterized in that The storage management device predicts the probability of occurrence of an abnormal event according to the structural risk information, including: The storage management device determines the probability of abnormal events occurring within a future target time period according to the structural risk information corresponding to the current moment.
7. The method according to claim 6, characterized in that The storage management device acquires the time series data of the storage device, including: The storage management device obtains the timing data of the storage device and the static configuration information of the storage device.
8. The method according to claim 7, characterized in that The prediction result information indicates that an abnormal event will occur within the target time period, and the method further includes: The storage management device switches the management mode.
9. A method for predicting abnormal events, characterized in that: The method comprises: The graphics processing device receives abnormal data characteristic information from the storage management device; The graphics processing device determines structural risk information according to the abnormal data characteristic information, wherein the structural risk information indicates the magnitude of the structural risk of the storage device; The graphics processing device sends the structural risk information to the storage management device.
10. The method according to claim 9, characterized in that The graphics processing device determines the structural risk information according to the abnormal data feature information, including: The graphics processing device determines a correlation matrix based on the abnormal data feature information; The graphics processing device determines a first principal component ratio according to the correlation matrix, the structural risk information includes the first principal component ratio, and the first principal component ratio indicates a degree of aggregation of abnormal events.
11. The method according to claim 10, characterized in that The graphics processing device determines the structural risk information according to the abnormal data feature information, including: The graphics processing device determines a dynamic network model corresponding to the storage device; The graphics processing device determines structural risk information based on the dynamic network model.
12. A storage management device, characterized in that: The storage management device comprises: Acquisition module, used to acquire time series data; A determination module, used to determine abnormal data feature information of abnormal time series data in the time series data; A sending module, used for sending the abnormal feature information to a graphics processing device; A receiving module, configured to receive structural risk information from a graphics processing device, wherein the structural risk information indicates the magnitude of the structural risk of the storage device; A prediction module is used to predict the probability of abnormal events according to the structural risk information.
13. The storage management device according to claim 12, characterized in that: The determination module comprises: A first determining unit, configured to determine abnormal time series data in the time series data; The second determining unit is used to determine abnormal feature information of the abnormal time series data according to the abnormal time series data.
14. The storage management device according to claim 13, characterized in that: The first determining unit includes: An identification subunit, used for identifying abnormal time series data in the time series data; A merging subunit, used for merging the abnormal time series data; The clustering subunit is used to perform clustering processing on the abnormal time series data.
15. The storage management device according to claim 14, characterized in that: The prediction module is specifically used for: The probability of abnormal events occurring within the future target time period is determined based on the structural risk information corresponding to the current moment.
16. The storage management device according to claim 15, characterized in that: The acquisition module is specifically used for: Obtain the timing data and static configuration information of the storage device.
17. The storage management device according to claim 16, characterized in that: The storage management device also includes: Switching module, used to switch management mode.
18. A graphics processing device, characterized in that: The graphics processing device comprises: A receiving module, used for receiving abnormal data characteristic information from a storage management device; A determination module, configured to determine structural risk information according to the abnormal data characteristic information, wherein the structural risk information indicates the magnitude of the structural risk of the storage device; A sending module is used to send the structural risk information to the storage management device.
19. The graphics processing device according to claim 18, characterized in that: The determination module comprises: A first determining unit, configured to determine a correlation matrix based on the abnormal data feature information; The second determination unit is used to determine the proportion of the first principal component according to the correlation matrix, the structural risk information includes the proportion of the first principal component, and the proportion of the first principal component indicates the degree of aggregation of abnormal events.
20. The graphics processing device according to claim 19, characterized in that The determination module comprises: A third determining unit, configured to determine a dynamic network model corresponding to the storage device; The fourth determining unit is used to determine the structural risk information according to the dynamic network model.
21. A storage management device, characterized in that: The storage management device comprises a processor and a memory; the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the storage management device to implement the method as described in any one of claims 1-8.
22. A graphics processing device, characterized in that: The graphics processing device comprises a processor and a memory; the processor is coupled to the memory; the memory is used to store computer instructions, and the computer instructions are loaded and executed by the processor to enable the graphics processing device to implement the method according to any one of claims 9-11.
23. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program instruction, and the computer program instruction is loaded and executed by a processor to implement the method according to any one of claims 1 to 8.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program instruction, and the computer program instruction is loaded and executed by a processor to implement the method according to any one of claims 9 to 11.
25. A storage system, characterized in that: The storage system includes a storage device, a storage management device and a graphics processing device. The storage management device is used to execute the method according to any one of claims 1 to 8, and the graphics processing device is used to execute the method according to any one of claims 9 to 11.
