A method for sub-health management and failure prediction of SSD disks

By providing configuration files and improved isolation forest models for SSD disks, the problem of inconsistent manufacturer indicators and insufficient feature selection in SSD disk failure prediction is solved, and the accuracy and sensitivity of SSD disk failures are improved, which is applicable to failures of all manufacturers. predict.

CN118567902BActive Publication Date: 2024-10-15SICHUAN HUACUNZHIGU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411061994.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-10-15
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

Existing sub-health management and failure prediction methods for SSD disks have problems such as inconsistent manufacturer indicators, insufficient feature selection, poor model interpretability, unknown failure types, sparse data sets, and low prediction accuracy.

Method used

Provide a sub-health management and failure prediction method for SSD disks. By providing configuration files for different manufacturers, feature extraction and display are performed, and data preprocessing and feature selection are performed according to the SSD disk usage status classification, using the improved Isolation forest model. Fault prediction, and fault type prediction through Sieve model.

Benefits of technology

It has improved the accuracy and sensitivity of SSD disk failure prediction, is suitable for all disk manufacturers, has high feature selection flexibility, low model training cost, and can quickly predict failure types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567902B_ABST
    Figure CN118567902B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of storage technology, and specifically relates to a sub-health management and fault prediction method for SSD disks. First, different configuration files are provided for different manufacturers, and features are extracted and displayed according to the configuration file information; then, the SSD disks are classified according to the usage status of the SSD disks, and the SSD disk data is preprocessed and dynamic and integrated data feature selection is performed according to the different categories of the SSD disk classification; then, the disk failure is predicted by the integrated improved Isolation forest model; finally, the SSD disk predicted to have a fault by the integrated improved Isolation forest model is predicted to have a fault type through Sieve. The above method enables the fault prediction of SSD disks to be widely applied to all disk manufacturers, with high flexibility in feature selection, low cost of model training, and the ability to accurately and quickly predict the defects of the fault type.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of storage technology, and in particular relates to a sub-health management and fault prediction method for an SSD disk. Background Art

[0002] With the advent of the digital age, a large amount of information is generated around us all the time, and more and more data is stored digitally, including documents, photos, audio, video and other forms of information. SSD (solid state drive) is a widely used storage device. It uses flash memory chips to store data. Unlike traditional mechanical hard drives, it has no mechanical parts, so it can read and write data faster, has better shock resistance, lower energy consumption, and is also lighter. It has been widely used in various computers and mobile devices.

[0003] During the use of SSD hard disks, it is necessary to perform sub-health management and fault prediction on them. At present, the sub-health management and fault prediction of SSD disks need to be analyzed in combination with the SMART data of the disk. Because there are many SSD disk manufacturers on the market, and different manufacturers, especially NVME disks, have different indicators in terms of quantity and meaning. Therefore, if you want to accurately perform sub-health inspection and fault prediction on SSD disks, you must consider the corresponding manufacturers comprehensively, and you should handle different manufacturers flexibly to handle the situations of some emerging manufacturers. Because there are a large number of indicator information obtained, there are some invalid or redundant indicators for sub-health management and fault prediction of disks, so feature selection must be performed before prediction or data display. At present, in terms of feature selection, a variety of feature selection methods have been used to select effective indicators for fault prediction models. Since they are all pre-selected indicators, there are insufficient indicators for some suppliers' disks or other new effective indicators, which makes the automatic selection and universality of indicators still insufficient.

[0004] In terms of fault prediction models, there are currently mainly machine learning and neural network related methods. As for the neural network method, it is a black box model that lacks interpretability, which makes it difficult to make a reasonable explanation of the prediction results for fault prediction in practical applications, so it is difficult to implement in practice. In terms of machine learning, related methods such as random forests have achieved good results in interpretability and prediction accuracy, but currently the models are trained based on large data sets. Since hard disk failure itself is a low-probability event, there will be problems such as extremely unbalanced samples, which need to be solved by downsampling and other methods.

[0005] In actual production environments, disk failures are rare and complex, and the following problems exist: unknown failure types; heavy reliance on manual labeling; scarce data sets; difficulty in achieving high accuracy in fault prediction under low computing loads, etc. Supervised learning relies on accurate and well-labeled data sets to train models or related methods, and requires sufficient positive and negative samples, resulting in limited anomaly types that can be identified by related models and high latency limitations. In addition, the accuracy and sensitivity of existing disk failure predictions are low.

[0006] In view of the above problems existing in the current fault prediction of SSD disks, the present invention proposes a sub-health management and fault prediction method for SSD disks. Summary of the invention

[0007] The purpose of the present invention is to provide a sub-health management and fault prediction method for an SSD disk to solve the above technical problems.

[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:

[0009] A method for sub-health management and failure prediction of an SSD disk comprises the following steps:

[0010] S1: Provide different configuration files for different manufacturers, and extract and display features based on the configuration file information;

[0011] S2: Classify the SSD disks according to the usage status of the SSD disks, and perform SSD disk data preprocessing and dynamic and integrated data feature selection according to different categories of the SSD disk classification;

[0012] S3: Predict disk failures through an integrated improved isolation forest model;

[0013] S4: The integrated improved isolation forest model predicts the faulty SSD disk through Sieve to predict the fault type.

[0014] Preferably, step S1 includes the following specific steps:

[0015] S11: Configure the configuration file according to the operation documents provided by different manufacturers, including Byte Offset, Attribute, category and related functions;

[0016] S12: Read the configuration file according to the disk type and manufacturer information to collect data;

[0017] S13: Filtering is performed according to the acquired indicators, wherein filtering refers to removing redundant information, basic information, and field information indicating health or not, wherein the basic information includes product model, manufacturer information, and product capacity.

[0018] Preferably, the related function in step S11 refers to a function for converting character code information of some suppliers into a processed string form that is easy to understand, and a function for unifying the units of some indicators such as temperature, so as to achieve the purpose of unified management of disks from different manufacturers. The indicators in step S13 are divided into the following categories: basic information, temperature status, power status, capacitor status, storage unit, FTL, interface status, performance indicators, operation details, redundant data, etc., among which sub-categories can also be made within the class, which needs to be specified in the configuration file, and the indicators are added or deleted according to the conditions of different manufacturers.

[0019] Preferably, step S2 includes the following specific steps:

[0020] S21: Classify the disks according to the disk usage time into early disks and late disks;

[0021] S22: preprocessing the feature data, wherein the preprocessing is normalizing the feature data;

[0022] S23: Select feature data for training of the integrated improved Isolation forest model and as model input.

[0023] Preferably, in step S23, the number of PEs is used as a core factor in the process of selecting feature data, and the correlation coefficients between the indicators are established. The two indicators with the highest correlation with the number of PEs are first selected, and then the three indicators with the highest correlation with the two indicators are respectively selected and the indicators that have been selected are removed, so as to obtain the final dynamically selected 8 indicators as the final indicators for identifying whether it is a faulty disk.

[0024] Preferably, when performing correlation calculations, Filter, Wrapper, and Embedded methods are used respectively, and Pearson, Spearman, Lasso Regularization, and Ridge Regression discrimination strategies are applied respectively, and finally the obtained results are weighted averaged to select the features that are ultimately used for fault prediction as accurately as possible, and the feature data selection for early disks and late disks is performed separately.

[0025] Preferably, step S3 includes the following specific process:

[0026] S31: training the extended isolation forest model according to the selected feature data;

[0027] S32: training the SciForest (Isolation Forest Split-selection Criterion) model based on the selected features;

[0028] S33: The final model is obtained by integrating the Integrated Isolated Forest (IIF) model and used for disk failure prediction.

[0029] Preferably, in step S31, a hyperplane with a random slope is used to slice the data during the training of the extended isolation forest model. For N-dimensional data, a slope cutting branch is selected by random selection during the training phase. The specific criteria are as follows:

[0030] ;

[0031] in is the feature vector of the hard disk, is the normal vector, is a random split point;

[0032] When the fragment selection criterion isolation forest model is trained in step S32, the fragment selection criterion isolation forest algorithm uses multiple features for combined partitioning and selects the best partitioning hyperplane. In the process of building the tree, q feature attributes are randomly selected and projected on a hyperplane. The expression is:

[0033] ;

[0034] in, Represents all feature attributes, is a randomly selected attribute, is a value randomly selected between [-1, 1], is the sub-sampling sample set, for No. feature attribute values, is a random split point;

[0035] Use SDGain (Subspace Distance Gain) theory to select the optimal hyperplane from T candidate hyperplanes;

[0036] The formula for the optimal hyperplane is as follows:

[0037] ;

[0038] in, is the optimal hyperplane, The function is used to calculate the mean value, 𝜎 is used to calculate the standard deviation, and the entire plane is divided into two parts by the split point, one ,one , for pass The real-valued set obtained by projection; , random split point Will Split into and Two parts;

[0039] In step S33, the integration method adopts the Baffing method to randomly select subsamples of normal SSD disk data, and fuses the trained extended isolation forest and the fragment selection criterion isolation forest into a new forest by averaging the path length.

[0040] Preferably, the calculation of the average path length requires traversing each isolated tree. If the split condition is met, it will be passed to the left branch, otherwise it will be moved down to the right branch, and finally the anomaly score will be assigned according to the average path length of the branch. is the number of samples sampled for training, then

[0041] ;

[0042] The path length is , ;

[0043] in, is the average path length of the tree, is a harmonic number, which can be approximated as , is the number of edges that the observed instance passes through from the root node to the leaf node; is the number of samples of the leaf node where the observed instance is located. The average path length of the branch traversed by the instance can be converted into anomaly score as follows:

[0044] ;

[0045] in, It is the average path length of a single data point in all tree species. In actual prediction, the shorter the value, the greater the anomaly score, and the more likely it is to be judged as an outlier.

[0046] Preferably, step S4 includes the following specific steps:

[0047] S41: inputting the disk feature data predicted by the model to have problems into the Seieve model;

[0048] S42: predicting a disk failure or considering the disk as a normal disk according to the comparison result;

[0049] Among them, in step S41, the attribute data of normal disks are stored in the Seieve model. When the Seieve model predicts that a disk is about to fail, its characteristic attributes are input into the Seieve model for data comparison. At the same time, the attributes of normal disks are also collected and the attribute data of disks that the model considers to be normal are stored at any time;

[0050] In step S42, the Seieve model is divided into the following types according to the changes in one or more attributes of the faulty disk in the data set or collected data: PortError (port failure), MediaError (a large amount of data cannot be read correctly), IOError (disk IO cannot operate normally), temperatureError (temperature failure) and UnknowError (unknown error).

[0051] The beneficial effects of the present invention include:

[0052] The sub-health management and fault prediction method of SSD disk provided by the present invention first provides different configuration files for different manufacturers, extracts and displays features according to the configuration file information; then classifies SSD disks according to the usage status of SSD disks, and performs SSD disk data preprocessing and dynamic and integrated data feature selection according to different categories of SSD disk classification; then predicts disk failures through an integrated improved Isolation forest model; finally, the SSD disk predicted to have a fault by the integrated improved Isolation forest model is subjected to Sieve for fault type prediction. The above method enables the fault prediction of SSD disks to be widely applied to all disk manufacturers, has high flexibility in feature selection, low cost of model training, and can accurately and quickly predict the defects of fault types. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 The figure is a flow chart of the sub-health management and fault prediction method of the SSD disk of the present invention. DETAILED DESCRIPTION

[0054] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application usually described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0055] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0056] In addition, in the embodiments of the present application, words such as "exemplarily" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a specific way.

[0057] In the embodiments of the present application, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0058] The following is combined with Figure 1 The present invention is further described in detail:

[0059] See attached Figure 1 As shown, a sub-health management and failure prediction method for an SSD disk includes the following steps:

[0060] S1: Provide different configuration files for different manufacturers, and extract and display features based on the configuration file information;

[0061] S2: Classify the SSD disks according to the usage status of the SSD disks, and perform SSD disk data preprocessing and dynamic and integrated data feature selection according to different categories of the SSD disk classification;

[0062] S3: Predict disk failures through an integrated improved isolation forest model;

[0063] S4: The integrated improved isolation forest model predicts the faulty SSD disk through Sieve to predict the fault type.

[0064] Generally, it is performed for SSD disks of a specific type and a specific manufacturer. The present invention provides a general processing method. It only needs to modify the configuration file according to the white paper file corresponding to the SSD disk manufacturer and model or the relevant documents provided by the manufacturer to ensure adaptability. The content of the configuration file includes extraction fields, extraction attributes, and related function information. When classifying SSD disks, they are divided into early disks and late disks, and then feature selection is performed separately for early disks and late disks. When performing feature selection, the specific selection features are not limited, but feature selection is performed dynamically and integratedly according to the situation of the acquired data.

[0065] In step S3, an integrated improved isolation forest model is used for fault prediction. Because disk data is easy to form different clusters, the conventional isolation forest model does not process disk data well. The present invention improves the isolation forest model and integrates two different improved isolation forest models to obtain the final integrated isolation forest model. In addition, normal disk data is used instead of large-scale disk data sets during the training of the integrated isolation forest model. Step S4 is mainly to ensure that the predicted fault is accurate and to confirm the fault type after fault prediction. The entire disk fault prediction method can be widely used in all disk manufacturers, has high flexibility in feature selection, low model training cost, and can accurately and quickly predict the defects of fault types.

[0066] In the above scheme, step S1 includes the following specific steps:

[0067] S11: Configure the configuration file according to the operation documents provided by different manufacturers, including attribute offset, Attribute, category and related functions. The attribute offset represents the position index of the attribute in the specific binary file provided by the manufacturer. Attribute: represents the attribute name, which mainly displays the meaning of the indicator in a concise manner. The category refers to which category this indicator is recognized to belong to.

[0068] The related functions refer to the functions that convert the character code information of some suppliers into a processed and easy-to-understand string form, as well as the functions that unify the units of some indicators such as temperature, so as to achieve the purpose of unified management of disks from different manufacturers.

[0069] S12: Read the configuration file according to the disk type and manufacturer information to collect data; because the disk indicators recorded by the SATA disk and NVME disk of the same manufacturer are different, the configuration file needs to be read according to the disk type and manufacturer. According to the disk type, the smartctl or NVMe related commands are used to obtain the log file in the background, and the different attributes are extracted according to the attribute offset field in the configuration file. If there are related functions, the related functions are processed, such as indicator standardization and measurement data unification.

[0070] S13: Filter according to the obtained indicators, where filtering refers to removing redundant information, basic information, and field information indicating health or not. Each indicator is divided into the following categories: basic information, temperature status, power status, capacitor status, storage unit, FTL, interface status, performance indicators, operation details, redundant data, etc., and the category can also be divided into subcategories, which needs to be specified in the configuration file. The indicators are added or deleted according to the situation of different manufacturers.

[0071] Step S2 includes the following specific steps:

[0072] S21: Classify the disks according to their usage time. Since the factors affecting disk failures in different periods vary greatly, they are divided into early disks and late disks. Feature selection is performed on early disks and late disks respectively.

[0073] Long-term research on SSD disks has found that the failure rate of SSD disks does not simply increase linearly with their service life. The failure rate in the early stage of disk use is significantly higher than that in the middle and late stages. Therefore, the feature levels of different periods are also different when modeling. Therefore, the classification here is to divide the disks into early disks and late disks according to the power-on time of the disks. The restricted classification threshold is whether the power-on time exceeds 6 months. The service life of a disk can reach several years, but research shows that the first 6 months is a high-incidence period of failures, and its influencing factors are quite different from those in the later periods. Therefore, the present invention uses this for classification to train different models.

[0074] S22: Preprocess the feature data. Since the differences between information may be relatively large, such as the number of written bytes and the number of ECC errors, in order to facilitate subsequent processing, the preprocessing performed here is to normalize the feature data to reduce the impact of large differences in results due to different data meanings, so as to facilitate subsequent model training and input.

[0075] S23: Select feature data for training of the integrated improved isolation forest model and as model input. In the process of selecting feature data, the number of PEs is used as the core factor, and the correlation coefficients between the indicators are established. First, the two indicators with the highest correlation with the number of PEs are selected, and then the three indicators with the highest correlation with the two indicators are selected respectively and the selected indicators are removed, and the final 8 indicators dynamically selected are obtained as the final indicators for identifying whether it is a faulty disk.

[0076] When calculating the correlation, the Filter, Wrapper, and Embedded methods are used respectively, and the Pearson, Spearman, Lasso Regularization, and Ridge Regression discrimination strategies are applied respectively. Finally, the obtained results are weighted averaged to select the features that are ultimately used for fault prediction as accurately as possible. Moreover, the feature data selection for early disks and late disks is performed separately.

[0077] Step S3 includes the following specific processes:

[0078] S31: training the extended isolation forest model according to the selected feature data. The training here means that when the disk data volume is sufficient, the trained extended isolation forest model is actually used.

[0079] S32: Training the Isolation Forest Split-selection Criterion (SciForest) model based on the selected features;

[0080] S33: The final model is obtained by integrating the isolated forest (IIF) model and used for disk failure prediction. The integrated isolated forest here complements the improved extended isolated forest model and the shard selection criterion isolated forest model, and the final model is obtained in an integrated manner.

[0081] Since most of the characteristic data of a normal disk is concentratedly distributed, the extended isolation forest algorithm solves the problem of outliers being masked when the traditional isolation forest algorithm faces data cluster distribution. In step S31, a hyperplane with a random slope is used to slice the data during the training of the extended isolation forest model. Specifically, for N-dimensional data, a slope cutting branch is selected by random selection during the training phase. The specific criteria are as follows:

[0082] ;

[0083] in is the feature vector of the hard disk, is the normal vector, are random split points.

[0084] When the fragment selection criterion isolation forest model is trained in step S32, the fragment selection criterion isolation forest algorithm uses multiple features for combined partitioning and selects the best partitioning hyperplane. In the process of building the tree, q feature attributes are randomly selected and projected on a hyperplane. The expression is:

[0085] ;

[0086] in, Represents all feature attributes, is a randomly selected attribute, is a value randomly selected between [-1, 1], is the sub-sampling sample set, for No. feature attribute values, is the random segmentation point, and 𝜎 is the standard deviation.

[0087] And using the Sdgain theory, the optimal hyperplane is selected from T candidate hyperplanes. The formula of the optimal hyperplane is as follows:

[0088] ;

[0089] in, is the optimal hyperplane, The function is used to calculate the mean value, 𝜎 is used to calculate the standard deviation, and the entire plane is divided into two parts by the split point, one ,one , for pass The real-valued set obtained by projection; , random split point Will Split into and Two parts.

[0090] In step S33, the integration method adopts the Baffing method to randomly select subsamples of normal SSD disk data, and fuses the trained extended isolation forest and the fragment selection criterion isolation forest into a new forest by averaging the path length.

[0091] The calculation of the average path length requires traversing each isolated tree. If the split condition is met, it will be passed to the left branch, otherwise it will move down to the right branch. Finally, the anomaly score is assigned according to the average path length of the branch. is the number of samples sampled for training, then

[0092] ;

[0093] The path length is , ;

[0094] in, is the average path length of the tree, is a harmonic number, which can be approximated as , is the number of edges that the observed instance passes through from the root node to the leaf node; is the number of samples of the leaf node where the observed instance is located. The average path length of the branch traversed by the instance can be converted into anomaly score as follows:

[0095] ;

[0096] in, It is the average path length of a single data point in all tree species. In actual prediction, the shorter the value, the greater the anomaly score, and the more likely it is to be judged as an outlier.

[0097] The number of days for disk failure prediction is determined by the collected data. For example, if you choose to predict disk failures 2 days later, the selected samples are disks that fail 2 days later. The data of disks that fail 2 days later is used to verify whether the model can accurately predict. Due to the complexity of disk failures, the shorter the lead time for prediction, the higher the accuracy of the model.

[0098] Step S4 includes the following specific steps:

[0099] S41: Inputting the disk feature data predicted by the model to have problems into the Seieve model.

[0100] Under the same working pressure and environment, the various attributes of SSD disks usually have the same change trend, but the faulty disks are often different. Their attribute values ​​will change for a long time before the failure and will go through different stages. In the long-term change trend of disk attributes, the same fault type will have the same change characteristics that are different from normal disks and the time of different change trends is also roughly the same.

[0101] In step S41, the attribute data of normal disks are stored in the Select model. When the Select model predicts that a disk is about to fail, its characteristic attributes are input into the Select model for data comparison. At the same time, the attributes of normal disks are also collected and the attribute data of disks that the model considers to be fault-free are stored in the database at any time.

[0102] S42: predicting a disk failure or considering the disk as a normal disk according to the comparison result;

[0103] The Seieve model is divided into the following concentrated types according to the changes in one or more attributes of the faulty disk in the data set or collected data: PortError (port failure), MediaError (a large amount of data cannot be read correctly), IOError (disk IO cannot operate normally), temperatureError (temperature failure) and UnknowError (unknown error).

[0104] In summary, the sub-health management and fault prediction method of SSD disk provided by the present invention can be widely applied to the fault prediction of SSD disks by all disk manufacturers, has high flexibility in feature selection, low cost of model training, and can accurately and quickly predict defects of fault types.

[0105] The above-mentioned embodiments only express the specific implementation method of the present application, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the protection scope of the present application. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the technical solution concept of the present application, and these all belong to the protection scope of the present application.

Claims

1. A method for sub-health management and failure prediction of SSD disks. It is characterized in that The following steps are involved: S1: Provide different configuration files for different manufacturers, and extract and display features based on the configuration file information; S2: Classify the SSD disks according to the usage status of the SSD disks, and perform SSD disk data preprocessing and dynamic and integrated data feature selection according to different categories of the SSD disk classification; S3: Predict disk failure through the integrated improved isolation forest model; S4: The SSD disk predicted to be faulty by the integrated improved isolation forest model is subjected to Sieve to predict the failure type; Wherein, step S3 includes the following specific process: S31: training the extended isolation forest model according to the selected feature data; S32: training the fragment selection criterion isolation forest model according to the selected features; S33: The final model is obtained by integrating the isolation forest model IIF and used for disk failure prediction; In step S31, a hyperplane with a random slope is used to slice the data during the training of the extended isolation forest model. For N-dimensional data, a slope cutting branch is selected by random selection during the training phase. The specific criteria are as follows: ; in is the feature vector of the hard disk, is the normal vector, is a random split point; When the fragment selection criterion isolation forest model is trained in step S32, the fragment selection criterion isolation forest algorithm uses multiple features for combined partitioning and selects the best partitioning hyperplane. In the process of building the tree, q feature attributes are randomly selected and projected on a hyperplane. The expression is: ; in, Represents all feature attributes, is a randomly selected attribute, is a value randomly selected between [-1, 1], is the sample set of subsampling, for No. feature attribute values, is a random split point, To find the standard deviation; Using the subspace distance gain SDGain (Subspace Distance Gain) theory from Select the best hyperplane from the candidate hyperplanes; The formula for the optimal hyperplane is as follows: ; in, is the optimal hyperplane, The function is used to calculate the mean value, 𝜎 is used to calculate the standard deviation, and the entire plane is divided into two parts by the split point, one ,one , for pass The real-valued set obtained by projection; , random split point Will Split into and Two parts; In step S33, the integration method adopts the Bagging method to randomly sample the normal SSD disk data, and fuses the trained extended isolation forest and the fragment selection criterion isolation forest into a new forest by averaging the path length. Step S4 includes the following specific steps: S41: inputting the disk feature data predicted by the model to be problematic into the Sieve module; S42: predicting a disk failure or considering the disk as a normal disk according to the comparison result; Among them, in step S41, the Sieve model stores the attribute data of normal disks. When the Sieve model predicts that a disk is about to fail, its characteristic attributes are input into the Sieve model for data comparison. At the same time, the attributes of normal disks are also collected and the attribute data of disks that the model considers to be normal are stored in the database at any time. In step S42, the Sieve model is divided into the following types according to one or more attribute changes of the faulty disk in the data set or the collected data: PortError, MediaError, IOError, temperatureError and UnknowError.

2. According to claim 1, a method for sub-health management and failure prediction of an SSD disk, It is characterized in that Step S1 includes the following specific steps: S11: Configure the configuration file according to the operation documents provided by different manufacturers, including Byte Offset, Attribute, category and related functions; S12: Read the configuration file according to the disk type and manufacturer information to collect data; S13: Filtering is performed according to the acquired indicators, wherein filtering refers to removing redundant information, basic information, and field information indicating health or not, wherein the basic information includes product model, manufacturer information, and product capacity.

3. The method for sub-health management and failure prediction of an SSD disk according to claim 2, It is characterized in that The related functions in step S11 refer to functions for converting the supplier's character code information into a processed string form and unifying the units of the temperature index, which are used for unified management of disks from different manufacturers. The indicators in step S13 are divided into the following categories: basic information, temperature status, power status, capacitor status, storage unit, FTL, interface status, performance indicators, operation details and redundant data, where subcategories are also divided within the class, and the indicators are added or deleted according to the conditions of different manufacturers.

4. The method for sub-health management and failure prediction of an SSD disk according to claim 1, It is characterized in that Step S2 includes the following specific steps: S21: Classify the disks according to the disk usage time into early disks and late disks; S22: preprocessing the feature data, wherein the preprocessing is normalizing the feature data; S23: Select feature data for training of the integrated improved Isolation forest model and as model input.

5. A method for sub-health management and failure prediction of an SSD disk according to claim 4, It is characterized in that In step S23, the PE times are used as the core factor in the process of selecting feature data, and the correlation coefficients between the indicators are established. The two indicators with the highest correlation with the PE times are first selected, and then the three indicators with the highest correlation with the two indicators are selected respectively and the selected indicators are removed, so as to obtain the final dynamically selected 8 indicators as the final indicators for identifying whether it is a faulty disk.

6. A method for sub-health management and failure prediction of an SSD disk according to claim 5, It is characterized in that When calculating the correlation, the Filter, Wrapper, and Embedded methods were used respectively, and the Pearson correlation coefficient, Spearman rank correlation coefficient, Lasso Regularization, and Ridge Regression discrimination strategies were applied respectively. Finally, the results were weighted averaged, and the feature data selection for early disks and late disks was carried out separately.

7. The method for sub-health management and failure prediction of an SSD disk according to claim 1, It is characterized in that The calculation of the average path length requires traversing each isolated tree. If the split condition is met, it will be passed to the left branch, otherwise it will move down to the right branch. Finally, the anomaly score is assigned according to the average path length of the branch. is the number of samples sampled for training, then ; The path length is , ; in, is the single sampling fraction, is the harmonic number to ensure overall convergence, which is approximately , is the number of edges that the observed instance passes through from the root node to the leaf node; is the number of samples of the leaf node where the observed instance is located. The average path length of the branch traversed by the instance is converted into anomaly score according to the following formula: ; in, is the average path length achieved by a single data point across all tree species.