| With the continuous development and improvement of technologies such as big data,artificial intelligence,cloud computing and the Internet of Things,global data is growing explosively and data security becomes more and more important.Traditional passive faulttolerant techniques such as multiple copies and code correction result in wasted storage space,network bandwidth and computing resources.To reduce this overhead,more and more researchers are investigating active fault-tolerance techniques based on hard disk failure prediction.Existing fault prediction methods still suffer from prediction errors and each fault prediction is a relatively independent process,resulting in poorly interpretable prediction results,limited guidance for hard disk processing decisions,and low practical application value.The paper proposes a hard disk failure prediction method based on reinforcement learning.The method first processes the raw hard disk attribute data through data preprocessing and feature engineering.Then it uses a classification algorithm to predict the failure probability of the hard disk and a regression algorithm to predict the remaining useful life of the hard disk,and combines the two to assess the health status of the hard disk,with the assessment results being little affected by prediction errors.Finally,a reinforcement learning decision model is built based on the state values of the hard disk,and the model’s strategy is optimized through a multivariate feedback mechanism and a simulation environment,so that the model can accurately assess the decision risk,measure the longterm benefits that the current decision can bring,and make the hard disk disposal decision with the least risk based on the state of the hard disk,and its decision results have higher interpretability and practical application value.The experimental results show that the decision results of the method proposed in this paper are more stable and have higher overall performance,making the decision to replace the hard disk at an average of 34.68 days of remaining hard disk life,while the recall rate of the decision also reaches 96.87%. |