Hard disk failure risk warning method, product, computer equipment and storage medium

CN118520751BActive Publication Date: 2024-12-06INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410994201.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-12-06
Estimated Expiration
2044-07-24

Smart Images

  • Figure CN118520751B_ABST
    Figure CN118520751B_ABST
Patent Text Reader

Abstract

The present application relates to a hard disk failure risk warning method, product, computer equipment and storage medium. The present application determines the flight status of the hard disk head by establishing a head flight status mathematical model for the environmental factor parameters that most critically affect the hard disk, and then determines its performance status and health status. It can make timely and accurate predictions before the hard disk has problems, and more accurately judge the health status of the hard disk in advance, ensuring that the hard disk issues a warning before failure or hard damage occurs. The advantage of the head flight status mathematical model is that it can be quickly established for deployed machines. Compared with machine learning and other models, it does not require a large amount of data collection, data learning and other investments in the early stage. In addition, the model is small and has low computing power requirements. It eliminates the frequent capture of hard disk information under the system, ensures the normal operation of user business, and reduces the impact on customer business and resource consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of hard disk failure detection technology, to the field of gas and fluid mechanics technology, and in particular to a hard disk failure risk warning method, product, computer equipment and storage medium. Background Art

[0002] With the development of information technology, the amount of data storage is increasing day by day, and large-capacity hard disks have become a trend that hard disk manufacturers are eager to pursue. Among them, mechanical hard disks are the main carriers of large-capacity data storage categories. Mechanical hard disks are composed of mechanical parts such as magnetic disks, magnetic head arms, read-write heads, magnetic heads and voice coil motors, and are controlled by software systems to complete their work. As a high-precision storage component, hard disks have two main types of failures. One is mainly due to problems with disk storage particles inside the hard disk; the other is mainly due to problems with the health of the magnetic head flying. These problems are mainly caused by the influence of the external environment, such as vibration, impact, high temperature, etc. Direct or indirect factors cause damage to the hard disk head and disk, which in turn leads to data loss or even damage. For customers, data loss or hard disk damage will cause immeasurable losses to them. Therefore, in actual applications, customers will deploy relevant systems to monitor the health status of the hard disk, mainly by real-time monitoring of relevant hard disk parameters and setting thresholds to achieve judgment of the health status of the hard disk. Among them, SMART (Self-Test Analysis and Reporting Technology) parameters are the main monitoring parameters and means.

[0003] Based on the hard disk SMART parameters, the health status of the hard disk is identified and judged by setting the threshold of the monitoring parameters. This method is to make judgments based on the problems that have occurred recorded by the hard disk itself. However, the hard disk SMART parameters record the problems that have occurred on the hard disk, which is delayed, such as the bad blocks of the hard disk that have already occurred, and it is impossible to predict the occurrence of problems in advance. The monitoring parameters are implanted in the system monitoring software or platform, and the health status of the hard disk is judged by regularly collecting the hard disk SMART parameters. However, it is necessary to capture the hard disk SMART parameters under the system regularly, and the higher the frequency of capturing SAMRT in order to discover the problems of the hard disk as early as possible, the greater the additional loss and impact on the system. At the same time, different system architectures and different external environments have different effects on the hard disk, but currently only unified SMART parameters can be relied on for monitoring and judgment. Summary of the invention

[0004] Based on this, it is necessary to provide a hard disk failure risk warning method, device, computer equipment and storage medium to address the above technical problems, which can more accurately judge the health status of the hard disk in advance and ensure that the hard disk issues a warning before failure or hard damage occurs; eliminate the frequent capture of hard disk information under the system, ensure the normal operation of user business, and avoid business delays or even suspensions caused by frequent capture of information, reduce the loss of system resources, and more accurately predict the occurrence of hard disk failures without relying on frequent capture of SMART parameters.

[0005] On the one hand, a hard disk failure risk warning method is provided, the method comprising:

[0006] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0007] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0008] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0009] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0010] In one embodiment, the hard disk failure risk warning method further includes:

[0011] In response to the risk of the magnetic head touching and damaging the magnetic disk due to the magnetic head flying at too low a height or deviating from a track, a warning message is issued.

[0012] In one embodiment, the establishing of the head flight state mathematical model according to the relative position of the head and the disk of the hard disk and the environmental impact parameters includes:

[0013] Get the relative position parameters between the head and the disk;

[0014] Acquire environmental impact parameters that affect the flying height of the magnetic head above the magnetic disk;

[0015] Based on the relative position parameters and the environmental impact parameters, the flight state equation of the magnetic head is constructed:

[0016] ;

[0017] Where, h is the flying height of the magnetic head; h pis the minimum flying height of the magnetic head; p is the air film pressure on the magnetic head surface; x is the horizontal coordinate of the position point (x, y) in the magnetic head surface, y is the vertical coordinate of the position point (x, y) in the magnetic head surface; h(x, y) is the air film thickness at the position point (x, y) in the magnetic head surface; λ x is the gas state parameter in the hard disk in the horizontal direction at the position point (x, y) in the head surface affected by gas viscosity and temperature; y is the gas state parameter in the hard disk in the longitudinal direction at the position point (x, y) in the head surface, which is affected by the gas viscosity and temperature; σ is the gas extrusion coefficient, which is proportional to the disk speed; △ f is the parameter of head flying height change caused by the fan; T is the time parameter; k is a constant coefficient determined by the state of helium and air inside the hard disk.

[0018] In one embodiment, obtaining the environmental impact parameter that affects the flying height of the magnetic head above the magnetic disk comprises:

[0019] Obtaining a fan speed value, the fan blowing air toward the magnetic head, the fan speed value corresponding to the flow velocity affecting the airflow under the magnetic head;

[0020] Obtaining a parameter value of a head flying height change caused by the fan speed value;

[0021] A head flying height conversion function under different fan speeds is obtained according to the relationship between the fan speed value and the head flying height variation parameter value.

[0022] In one embodiment, the real-time monitoring to obtain the value of the environmental impact parameter and the real-time data of the head flying height and the head surface force obtained by the head flying state mathematical model include:

[0023] Constructing a function graph of the magnetic head flying height and time according to the real-time data of the magnetic head flying height;

[0024] Constructing a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force;

[0025] A function graph of the flying height of the magnetic head and time and a three-dimensional graph of the force on the magnetic head surface are displayed.

[0026] In one embodiment, constructing a three-dimensional stereogram of the head surface force according to the real-time data of the head surface force comprises:

[0027] Divide the head surface into subdivided grids with preset intervals, and use the intersection points of the grids as nodes;

[0028] The differential value of each node is obtained by a finite difference calculation method, and is brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by an iterative calculation method;

[0029] A corresponding air film pressure value is set at each node on the surface of the magnetic head to form a three-dimensional stereogram.

[0030] In one embodiment, the method of obtaining the differential value of each node by a finite difference calculation method, bringing it into the flight state equation of the magnetic head, and obtaining the air film pressure of each node by an iterative calculation method includes:

[0031] Calculation of film thickness equation ;

[0032] The values ​​of the environmental impact parameters are taken into account, wherein the environmental impact parameters include gas state parameters, temperature parameters and fan impact parameters;

[0033] Calculate the magnetic head air film force equation ;

[0034] Determine whether the air film force of the magnetic head is balanced. If so, output the calculation result. If not, recalculate the air film thickness equation.

[0035] In one embodiment, judging whether there is a risk of damaging the magnetic disk due to the magnetic head flying at too low a height based on the real-time data of the magnetic head flying height comprises:

[0036] By judging whether the flying height of the magnetic head is within a standard threshold range, judging whether there is a risk in the hard disk read and write state;

[0037] If the flying height of the magnetic head is less than the minimum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too low, and there is a risk of the magnetic head touching the magnetic disk and being damaged;

[0038] If the flying height of the magnetic head is greater than the maximum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too high, which affects the reading and writing performance.

[0039] In one embodiment, judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface comprises:

[0040] Judging whether the force on the magnetic head is balanced at the analysis time point according to the size and distribution of the air film pressure values ​​corresponding to each node of the magnetic head;

[0041] If there is concentrated force or unbalanced force, it is determined that there is a risk that the magnetic head will deviate from the track and touch and damage the magnetic disk.

[0042] In one embodiment, the hard disk failure risk warning method further includes:

[0043] The flight state of the magnetic head at the next moment is predicted according to the flying height value of the magnetic head at the next moment and the air film pressure at each position point on the surface of the magnetic head.

[0044] In one embodiment, the hard disk failure risk warning method further includes:

[0045] If the flight state of the magnetic head is normal at the next moment, continue to monitor and obtain the values ​​of the ambient temperature, ambient air pressure and fan speed in real time;

[0046] If the flight state of the magnetic head at the next moment has the risk of touching and damaging the magnetic disk due to the magnetic head flying at too low a height or the magnetic head deviating from the track, a warning message is issued.

[0047] In another aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0048] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0049] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0050] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0051] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0052] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the following steps are implemented:

[0053] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0054] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0055] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0056] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0057] In another aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0058] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0059] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0060] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0061] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0062] The above hard disk failure risk warning method, product, computer equipment and storage medium, by establishing a head flight state mathematical model for the most critical environmental factor parameters affecting the hard disk, judges the flight state of the hard disk head, and then judges its performance status and health status. It can make timely and accurate predictions before the hard disk has problems, and more accurately judge the health status of the hard disk in advance, ensuring that the hard disk issues a warning before failure or hard damage occurs. The advantage of the head flight state mathematical model is that it can be quickly established for the deployed machine. Compared with machine learning and other models, it does not require a large amount of data collection, data learning and other investments in the early stage. In addition, the model is small and has low computing power requirements, eliminating the frequent capture of hard disk information under the system, ensuring the normal operation of user business, and reducing the impact on customer business and resource consumption. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0064] Figure 1 This is an application environment diagram of a hard disk failure risk warning method in one embodiment of the present application;

[0065] Figure 2 This is a flow chart of a hard disk failure risk warning method in one embodiment of the present application;

[0066] Figure 3 This is an overall logic diagram of a hard disk failure risk warning method in one embodiment of the present application;

[0067] Figure 4 A flowchart of the steps of establishing a mathematical model of the magnetic head flight state according to the relative position of the magnetic head and the magnetic disk and environmental impact parameters in one embodiment of the present application;

[0068] Figure 5 A schematic diagram of a structure in which a surface of a magnetic head is divided into subdivided grids with preset intervals and intersections of the grids are used as nodes in one embodiment of the present application;

[0069] Figure 6 A schematic flow chart of the steps of real-time monitoring and obtaining the values ​​of the environmental impact parameters in one embodiment of the present application, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0070] Figure 7 A schematic diagram of a three-dimensional diagram of the air film pressure value on the magnetic head surface in one embodiment of the present application;

[0071] Figure 8 A schematic flow chart of the steps of obtaining the differential value of each node by a finite difference calculation method in one embodiment of the present application, bringing it into the flight state equation of the magnetic head, and obtaining the air film pressure of each node by an iterative calculation method;

[0072] Fig. 9 A flowchart of a step of determining whether there is a risk of the magnetic head touching and damaging the magnetic disk due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height in one embodiment of the present application;

[0073] Fig.10 A flowchart of the steps of judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface in one embodiment of the present application;

[0074] Fig.11 This is a structural block diagram of a hard disk failure risk warning device in one embodiment of the present application;

[0075] Fig.12 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

[0076] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0077] The hard disk failure risk warning method provided in this application can be applied to Figure 1 In the application environment shown in the figure. The working principle of a mechanical hard disk is that the head arm flies above the disk, and there is a certain angle between the head slider and the disk, thus forming a Figure 1 In the wedge-shaped space shown, when the disk rotates, airflow will be generated between the slider and the disk, and then an air film will be generated between the relatively moving airflow and the slider surface to maintain the flight of the head. Based on the Reynolds equation, the mathematical model of the head flight state is derived in combination with the actual gas working parameters of the hard disk. The flight state equation of the head can be used to solve the movement process of the hard disk head.

[0078] In one embodiment, Figure 2 , Figure 3 As shown, a hard disk failure risk warning method is provided, comprising the following steps:

[0079] Step S1, establishing a mathematical model of the magnetic head flight state according to the relative position of the magnetic head and the magnetic disk of the hard disk and environmental impact parameters;

[0080] Step S2, real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0081] Step S3, judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0082] Step S4, judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface.

[0083] This embodiment determines the flight state of the hard disk head by establishing a mathematical model of the head flight state based on the environmental factor parameters that most critically affect the hard disk, and then determines its performance state and health state. It can make timely and accurate predictions before the hard disk has problems, and more accurately judge the health state of the hard disk in advance, ensuring that the hard disk issues an early warning before failure or hard damage occurs. The advantage of the head flight state mathematical model is that it can be quickly established for deployed machines. Compared with machine learning and other models, it does not require a large amount of data collection, data learning, etc. in the early stage. In addition, the model is small and has low computing power requirements. It eliminates the frequent capture of hard disk information under the system, ensures the normal operation of user services, and reduces the impact on customer services and resource consumption.

[0084] like Figure 2 , Figure 3 As shown, in this embodiment, the hard disk failure risk warning method further includes:

[0085] Step S5, in response to the risk of the magnetic head touching and damaging the magnetic disk due to the magnetic head flying at too low a height or deviating from the track, issuing a warning message.

[0086] The warning information sent includes sound and light alarm signals or text reminder information. The flight status of the hard disk head is judged based on the flying height of the head, and then its performance status and health status are judged. It can timely and accurately predict the hard disk before problems occur, and send out warnings before failures or hard damage occur.

[0087] like Figure 4 As shown, in this embodiment, the establishment of the head flight state mathematical model according to the relative position of the hard disk head and the disk and the environmental impact parameters includes:

[0088] Step S11, obtaining relative position parameters of the magnetic head and the magnetic disk;

[0089] Step S12, obtaining environmental impact parameters that affect the flying height of the magnetic head above the magnetic disk;

[0090] Step S13, constructing a flight state equation of the magnetic head based on the relative position parameter and the environmental impact parameter:

[0091] ;

[0092] Where, h is the flying height of the magnetic head; h p is the minimum flying height of the magnetic head; p is the air film pressure on the magnetic head surface; x is the horizontal coordinate of the position point (x, y) in the magnetic head surface, y is the vertical coordinate of the position point (x, y) in the magnetic head surface; h(x, y) is the air film thickness at the position point (x, y) in the magnetic head surface; λ x is the gas state parameter in the hard disk in the horizontal direction at the position point (x, y) in the head surface affected by gas viscosity and temperature; y is the gas state parameter in the hard disk in the longitudinal direction at the position point (x, y) in the head surface, which is affected by the gas viscosity and temperature; σ is the gas extrusion coefficient, which is proportional to the disk speed; △ f is the parameter of head flying height change caused by the fan; T is the time parameter; k is a constant coefficient determined by the state of helium and air inside the hard disk.

[0093] The flight state equation of the magnetic head includes the film thickness equation and the magnetic head air film force equation The subsequent step is to solve the motion process of the hard disk head through mathematical calculation method based on the flight state equation of the head.

[0094] The position point (x, y) in the magnetic head plane is determined according to Figure 5 The nodes shown are used to establish coordinate calculations. Figure 5 In the proposed method, the head surface is divided into subdivided grids with preset intervals, and the intersection points of the grids are used as nodes.

[0095] In this embodiment, the step of obtaining the environmental impact parameter affecting the flying height of the magnetic head above the magnetic disk includes: obtaining a function of a flying height variation of the magnetic head caused by the influence of a fan;

[0096] The step of obtaining a function of a head flying height change caused by the fan includes:

[0097] Obtaining a fan speed value, the fan blowing air toward the magnetic head, the fan speed value corresponding to the flow velocity affecting the airflow under the magnetic head;

[0098] Obtaining a parameter value of a head flying height change caused by the fan speed value;

[0099] A head flying height conversion function under different fan speeds is obtained according to the relationship between the fan speed value and the head flying height variation parameter value.

[0100] The parameters in the function of obtaining the head flying height change caused by the fan include the weight of the head, the airflow velocity between the head and the disk, the tilt angle between the head and the disk, the relative position of the fan, the head and the disk, etc. When the disk rotates, airflow will be generated between the slider and the disk. According to the principle of gas dynamics, the squeezed gas will produce a relative thrust on the slider. When the gravity of the head assembly and the pre-force on the head arm are balanced with the gas thrust, the head arm will be stabilized above the disk at a specific flying height. The head flying height conversion function is a measured curve, which can actually feedback the relationship between the fan speed value and the head flying height change parameter value.

[0101] Based on the state equation and the historical log of the hard disk head status, the parameter △ can be further determined according to the specific machine system environment by learning the environmental parameters in the early stage of machine deployment. f , we can improve the head flying height conversion function under different fan speeds, as summarized in the following table, that is, the obtained △ f Relationship with fan speed.

[0102]

[0103] The fan is the most critical environmental parameter that affects the normal flight of the hard disk head. Therefore, after obtaining the functional relationship between the fan and the head flight height, the flight state equation of the head can be solved to obtain the flight height h (x, y) that characterizes the head flight state. 、 Function model of the air film pressure p(x, y) on the head surface.

[0104] like Figure 6 As shown, in this embodiment, the real-time monitoring to obtain the value of the environmental impact parameter and the real-time data of the head flying height and the head surface force obtained by the head flying state mathematical model include:

[0105] Step S21, constructing a function graph of the flying height of the magnetic head and time according to the real-time data of the flying height of the magnetic head;

[0106] Step S22, constructing a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force;

[0107] Step S23 , displaying a function graph of the flying height of the magnetic head and time and a three-dimensional graph of the force on the magnetic head surface.

[0108] See also Figure 5 In this embodiment, constructing a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force includes:

[0109] Divide the head surface into subdivided grids with preset intervals, and use the intersection points of the grids as nodes;

[0110] The differential value of each node is obtained by a finite difference calculation method, and is brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by an iterative calculation method;

[0111] A corresponding air film pressure value is set at each node on the surface of the magnetic head to form a three-dimensional stereogram.

[0112] like Figure 7 As shown, Figure 7 It is a schematic diagram of the three-dimensional graph of the air film pressure value on the head surface, which visualizes the air film pressure value exceeding the highest threshold and the air film pressure value exceeding the lowest threshold. In the figure, x is the horizontal axis coordinate of the position point (x, y) in the head surface, y is the vertical axis coordinate of the position point (x, y) in the head surface, and the vertical axis 0-4 represents the level of the air film pressure value. Level 1 can be set as the lowest threshold and level 2 can be set as the highest threshold.

[0113] like Figure 8 As shown, in this embodiment, the differential value of each node is obtained by the finite difference calculation method, brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by the iterative calculation method, including:

[0114] Calculation of film thickness equation ;

[0115] The values ​​of the environmental impact parameters are taken into account, wherein the environmental impact parameters include gas state parameters, temperature parameters and fan impact parameters;

[0116] Calculate the magnetic head air film force equation ;

[0117] Determine whether the air film force of the magnetic head is balanced. If so, output the calculation result. If not, recalculate the air film thickness equation.

[0118] The calculation process of the mathematical model of the magnetic head flight state is to continuously adjust the air film thickness parameters through iterative calculation through the finite difference method to obtain the balance of the air film force.

[0119] like Fig. 9 As shown, in this embodiment, judging whether there is a risk of damaging the magnetic disk due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height includes:

[0120] Step S31, judging whether there is a risk in the hard disk read / write state by judging whether the flying height of the magnetic head is within a standard threshold range;

[0121] Step S32, if the flying height of the magnetic head is less than the minimum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too low, and there is a risk of the magnetic head touching the magnetic disk and being damaged;

[0122] Step S33: If the flying height of the magnetic head is greater than the maximum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too high, which affects the reading and writing performance.

[0123] like Fig.10 As shown, in this embodiment, judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface includes:

[0124] Step S41, judging whether the force on the magnetic head is balanced at the analysis time point according to the size and distribution of the air film pressure values ​​corresponding to each node of the magnetic head;

[0125] Step S42: If there is concentrated force or unbalanced force, it is determined that there is a risk that the magnetic head deviates from the track and touches and damages the magnetic disk.

[0126] Combination Figure 7 In this embodiment, judging whether the force on the magnetic head is balanced at the analysis time point according to the size and distribution of the air film pressure values ​​corresponding to each node of the magnetic head includes:

[0127] Obtain the highest threshold and the lowest threshold of the air film pressure value on the head surface;

[0128] In the three-dimensional graph of the air film pressure value on the magnetic head surface, analyzing at the analysis time point whether the air film pressure value corresponding to each node of the magnetic head exceeds the highest threshold or exceeds the lowest threshold;

[0129] In response to the air film pressure value corresponding to any node of the magnetic head being greater than the highest threshold or less than the lowest threshold, it is determined to be an abnormal stress point;

[0130] The air film pressure values ​​of all abnormal force points are obtained, and it is calculated whether there is a force imbalance on the magnetic head.

[0131] This embodiment determines in real time whether there is a force imbalance on the magnetic head at the analysis time point through the distribution of air film pressure values ​​at all abnormal force points on the magnetic head, and can promptly determine whether the force on the magnetic head is balanced at the analysis time point, thereby improving the accuracy of hard disk failure risk warning.

[0132] like Figure 2 As shown, in this embodiment, the hard disk failure risk warning method further includes:

[0133] Step S6, predicting the flight state of the magnetic head at the next moment according to the flying height value of the magnetic head at the next moment and the air film pressure at each position point on the surface of the magnetic head.

[0134] This embodiment can predict the flight status at future moments through historical flight status records and regular analysis, especially for factors with strong persistence and cumulativeness, such as noise, vibration and other effects caused by the continuous increase in fan speed, which are often caused by factors such as heat dissipation. Therefore, the speed regulation of the fan at the next moment is predictable, and changes in ambient temperature, air pressure, etc. are not sudden and are predictable. Therefore, the estimated value of the flight status at the next moment or even the long future moment is credible, reliable and accurate.

[0135] like Figure 2 As shown, in this embodiment, the hard disk failure risk warning method further includes:

[0136] Step S7, if the flight state of the magnetic head is normal at the next moment, continue to monitor and obtain the values ​​of the ambient temperature, ambient pressure and fan speed in real time;

[0137] Step S8, if the flight state of the magnetic head at the next moment has the risk of touching and damaging the magnetic disk due to the magnetic head flying at too low a height or the magnetic head deviating from the track, a warning message is issued.

[0138] In the above hard disk failure risk warning method, the flight status of the hard disk head is judged by establishing a mathematical model of the head flight status based on the environmental factor parameters that most critically affect the hard disk, and then judging its performance status and health status. It can make timely and accurate predictions before the hard disk has problems, and more accurately judge the health status of the hard disk in advance, ensuring that the hard disk issues a warning before failure or hard damage occurs. The advantage of the head flight status mathematical model is that it can be quickly established for the deployed machine. Compared with machine learning and other models, it does not require a large amount of data collection, data learning and other investments in the early stage. In addition, the model is small and has low computing power requirements. It eliminates the frequent capture of hard disk information under the system, ensures the normal operation of user business, and reduces the impact on customer business and resource consumption.

[0139] In one embodiment, Fig.11 As shown, a hard disk failure risk warning device 10 is provided, comprising: a mathematical model building module 1, a data monitoring module 2, a flying height risk judgment module 3, and a force risk judgment module 4.

[0140] The mathematical model building module 1 is used to build a mathematical model of the head flight state according to the relative position of the head and the disk of the hard disk and the environmental impact parameters.

[0141] The data monitoring module 2 is used for real-time monitoring and obtaining the values ​​of the environmental impact parameters, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state.

[0142] The flying height risk judgment module 3 is used to judge whether there is a risk of touching and damaging the disk due to the flying height of the magnetic head being too low according to the real-time data of the flying height of the magnetic head.

[0143] The force risk judgment module 4 is used to judge whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface.

[0144] In this embodiment, if Fig.11 As shown, the hard disk failure risk warning device 10 further includes: a warning module 5.

[0145] The warning module 5 is used to issue a warning message in response to the risk of the magnetic head touching and damaging the magnetic disk due to the magnetic head flying at too low a height or the magnetic head deviating from the track.

[0146] In this embodiment, the establishment of the magnetic head flight state mathematical model according to the relative position of the magnetic head and the magnetic disk of the hard disk and the environmental impact parameters includes:

[0147] Get the relative position parameters between the head and the disk;

[0148] Acquire environmental impact parameters that affect the flying height of the magnetic head above the magnetic disk;

[0149] Based on the relative position parameters and the environmental impact parameters, the flight state equation of the magnetic head is constructed:

[0150] ;

[0151] Where, h is the flying height of the magnetic head; h p is the minimum flying height of the magnetic head; p is the air film pressure on the magnetic head surface; x is the horizontal coordinate of the position point (x, y) in the magnetic head surface, y is the vertical coordinate of the position point (x, y) in the magnetic head surface; h(x, y) is the air film thickness at the position point (x, y) in the magnetic head surface; λ x is the gas state parameter in the hard disk in the horizontal direction at the position point (x, y) in the head surface affected by gas viscosity and temperature; y is the gas state parameter in the hard disk in the longitudinal direction at the position point (x, y) in the head surface, which is affected by the gas viscosity and temperature; σ is the gas extrusion coefficient, which is proportional to the disk speed; △ f is the parameter of head flying height change caused by the fan; T is the time parameter; k is a constant coefficient determined by the state of helium and air inside the hard disk.

[0152] In this embodiment, obtaining the environmental impact parameter that affects the flying height of the magnetic head above the magnetic disk includes:

[0153] Obtaining a fan speed value, the fan blowing air toward the magnetic head, the fan speed value corresponding to the flow velocity affecting the airflow under the magnetic head;

[0154] Obtaining a parameter value of a head flying height change caused by the fan speed value;

[0155] A head flying height conversion function under different fan speeds is obtained according to the relationship between the fan speed value and the head flying height variation parameter value.

[0156] In this embodiment, if Fig.11 As shown, the hard disk failure risk warning device 10 also includes: a visualization processing module 6.

[0157] The visualization processing module 6 is used to: construct a function graph of the head flying height and time based on the real-time data of the head flying height; construct a three-dimensional stereogram of the head surface force based on the real-time data of the head surface force; and display the function graph of the head flying height and time and the three-dimensional stereogram of the head surface force.

[0158] In this embodiment, constructing a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force includes:

[0159] Divide the head surface into subdivided grids with preset intervals, and use the intersection points of the grids as nodes;

[0160] The differential value of each node is obtained by a finite difference calculation method, and is brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by an iterative calculation method;

[0161] A corresponding air film pressure value is set at each node on the surface of the magnetic head to form a three-dimensional stereogram.

[0162] In this embodiment, the differential value of each node is obtained by a finite difference calculation method, brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by an iterative calculation method, which includes:

[0163] Calculation of film thickness equation ;

[0164] The values ​​of the environmental impact parameters are taken into account, wherein the environmental impact parameters include gas state parameters, temperature parameters and fan impact parameters;

[0165] Calculate the magnetic head air film force equation ;

[0166] Determine whether the air film force of the magnetic head is balanced. If so, output the calculation result. If not, recalculate the air film thickness equation.

[0167] In this embodiment, judging whether there is a risk of damaging the magnetic disk due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height includes:

[0168] By judging whether the flying height of the magnetic head is within a standard threshold range, judging whether there is a risk in the hard disk read and write state;

[0169] If the flying height of the magnetic head is less than the minimum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too low, and there is a risk of the magnetic head touching the magnetic disk and being damaged;

[0170] If the flying height of the magnetic head is greater than the maximum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too high, which affects the reading and writing performance.

[0171] In this embodiment, judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface includes:

[0172] Judging whether the force on the magnetic head is balanced at the analysis time point according to the size and distribution of the air film pressure values ​​corresponding to each node of the magnetic head;

[0173] If there is concentrated force or unbalanced force, it is determined that there is a risk that the magnetic head will deviate from the track and touch and damage the magnetic disk.

[0174] In this embodiment, if Fig.11 As shown, the hard disk failure risk warning device 10 also includes: a next moment state prediction module 7.

[0175] The next moment state prediction module 7 is used to predict the flight state of the magnetic head at the next moment according to the flying height value of the magnetic head at the next time point and the air film pressure at each position point on the surface of the magnetic head.

[0176] In this embodiment, the early warning module 5 is also used for: if the flight status of the magnetic head at the next moment is normal, then continue to monitor in real time to obtain the values ​​of the ambient temperature, ambient air pressure and fan speed; if the flight status of the magnetic head at the next moment is at risk of touching and damaging the magnetic disk due to the magnetic head flying altitude being too low or the magnetic head deviating from the track, then issue an early warning message.

[0177] In the above hard disk failure risk warning device, the flight state of the hard disk head is judged by establishing a mathematical model of the head flight state based on the environmental factor parameters that most critically affect the hard disk, and then judging its performance state and health state. It can make timely and accurate predictions before the hard disk has problems, and more accurately judge the health state of the hard disk in advance, so as to ensure that the hard disk issues a warning before failure or hard damage occurs. The advantage of the head flight state mathematical model is that it can be quickly established for the deployed machine. Compared with machine learning and other models, it does not require a large amount of data collection, data learning and other investments in the early stage. In addition, the model is small and has low computing power requirements. It eliminates the frequent capture of hard disk information under the system, ensures the normal operation of user business, and reduces the impact on customer business and resource consumption.

[0178] For the specific definition of the hard disk failure risk warning device, please refer to the definition of the hard disk failure risk warning method above, which will not be repeated here. Each module in the above hard disk failure risk warning device can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0179] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.12As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store hard disk failure risk warning data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a hard disk failure risk warning method is implemented.

[0180] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0181] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0182] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0183] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0184] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0185] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0186] For the specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the hard disk failure risk warning method mentioned above, which will not be repeated here.

[0187] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0188] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0189] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0190] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0191] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0192] For the specific limitations on the steps implemented when the processor executes the computer program, please refer to the limitations on the method for hard disk failure risk warning above, which will not be repeated here.

[0193] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0194] According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established;

[0195] Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state;

[0196] Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height;

[0197] It is determined based on the real-time data of the force on the head surface whether there is a risk of the head deviating from the track and touching and damaging the disk.

[0198] For the specific limitations on the steps implemented when the computer program is executed by the processor, please refer to the limitations on the hard disk failure risk warning method mentioned above, which will not be repeated here.

[0199] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0200] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0201] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A hard disk failure risk warning method, characterized in that: include: According to the relative position of the hard disk head and disk and the environmental impact parameters, a mathematical model of the head flight state is established; Real-time monitoring to obtain the value of the environmental impact parameter, and obtaining the real-time data of the flying height of the magnetic head and the force on the magnetic head surface through the mathematical model of the magnetic head flying state; Judging whether there is a risk of the magnetic disk being damaged by the magnetic head due to the magnetic head flying at too low a height according to the real-time data of the magnetic head flying height; Judging whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk according to the real-time data of the force on the magnetic head surface; Wherein, establishing a mathematical model of the magnetic head flight state according to the relative position of the magnetic head and the magnetic disk of the hard disk and the environmental impact parameters includes: Get the relative position parameters between the head and the disk; Acquire environmental impact parameters that affect the flying height of the magnetic head above the magnetic disk; Based on the relative position parameters and the environmental impact parameters, the flight state equation of the magnetic head is constructed: ; Where, h is the flying height of the magnetic head; h p is the minimum flying height of the magnetic head; p is the air film pressure on the magnetic head surface; x is the horizontal coordinate of the position point (x, y) in the magnetic head surface, y is the vertical coordinate of the position point (x, y) in the magnetic head surface; h(x, y) is the air film thickness at the position point (x, y) in the magnetic head surface; λ x is the gas state parameter in the hard disk in the horizontal direction at the position point (x, y) in the head surface affected by gas viscosity and temperature; y is the gas state parameter in the hard disk in the longitudinal direction at the position point (x, y) in the head surface, which is affected by the gas viscosity and temperature; σ is the gas extrusion coefficient, which is proportional to the disk speed; △ f is the parameter of head flying height change caused by the fan; T is the time parameter; k is a constant coefficient, which is determined by the state of helium and air inside the hard disk; Wherein, obtaining the environmental impact parameter affecting the flying height of the magnetic head above the magnetic disk comprises: Obtaining a fan speed value, the fan blowing air toward the magnetic head, the fan speed value corresponding to the flow velocity affecting the airflow under the magnetic head; Obtaining a parameter value of a head flying height change caused by the fan speed value; A head flying height conversion function under different fan speeds is obtained according to the relationship between the fan speed value and the head flying height variation parameter value.

2. The hard disk failure risk warning method according to claim 1, characterized in that: The hard disk failure risk warning method further includes: In response to the risk of the magnetic head touching and damaging the magnetic disk due to the magnetic head flying at too low a height or deviating from a track, a warning message is issued.

3. The hard disk failure risk warning method according to claim 1, characterized in that: The real-time monitoring to obtain the value of the environmental impact parameter and the real-time data of the head flying height and the head surface force obtained by the head flying state mathematical model include: Constructing a function graph of the magnetic head flying height and time according to the real-time data of the magnetic head flying height; Constructing a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force; A function graph of the flying height of the magnetic head and time and a three-dimensional graph of the force on the magnetic head surface are displayed.

4. The hard disk failure risk warning method according to claim 3, characterized in that: The constructing of a three-dimensional stereogram of the magnetic head surface force according to the real-time data of the magnetic head surface force comprises: Divide the head surface into subdivided grids with preset intervals, and use the intersection points of the grids as nodes; The differential value of each node is obtained by a finite difference calculation method, and is brought into the flight state equation of the magnetic head, and the air film pressure of each node is obtained by an iterative calculation method; A corresponding air film pressure value is set at each node on the surface of the magnetic head to form a three-dimensional stereogram.

5. The hard disk failure risk warning method according to claim 4, characterized in that: The method of obtaining the differential value of each node by the finite difference calculation method, bringing it into the flight state equation of the magnetic head, and obtaining the air film pressure of each node by the iterative calculation method includes: Calculation of film thickness equation ; The values ​​of the environmental impact parameters are taken into account, wherein the environmental impact parameters include gas state parameters, temperature parameters and fan impact parameters; Calculate the magnetic head air film force equation ; Determine whether the air film force of the magnetic head is balanced. If so, output the calculation result. If not, recalculate the air film thickness equation.

6. The hard disk failure risk warning method according to claim 1, characterized in that: The determining, based on the real-time data of the flying height of the magnetic head, whether there is a risk of the magnetic head touching and damaging the magnetic disk due to the flying height of the magnetic head being too low comprises: By judging whether the flying height of the magnetic head is within a standard threshold range, judging whether there is a risk in the hard disk read and write state; If the flying height of the magnetic head is less than the minimum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too low, and there is a risk of the magnetic head touching the magnetic disk and being damaged; If the flying height of the magnetic head is greater than the maximum value of the standard threshold range, it is determined that the flying height of the magnetic head of the hard disk is too high, which affects the reading and writing performance.

7. The hard disk failure risk warning method according to claim 4, characterized in that: The determining, based on the real-time data of the force on the magnetic head surface, whether there is a risk of the magnetic head deviating from the track and touching and damaging the magnetic disk comprises: Judging whether the force on the magnetic head is balanced at the analysis time point according to the size and distribution of the air film pressure values ​​corresponding to each node of the magnetic head; If there is concentrated force or unbalanced force, it is determined that there is a risk that the magnetic head will deviate from the track and touch and damage the magnetic disk.

8. The hard disk failure risk warning method according to claim 1, characterized in that: The hard disk failure risk warning method further includes: Record the flight state parameters of the magnetic head obtained each time, construct a magnetic head flight height simulation function of the magnetic head flight height and time, a force change function of each position point on the magnetic head surface, and establish a historical flight parameter law database; Acquire the flying height value of the magnetic head at the next time point according to the magnetic head flying height simulation function; The air film pressure at each position point on the surface of the magnetic head at the next time point is obtained according to the force variation function at each position point on the surface of the magnetic head.

9. The hard disk failure risk warning method according to claim 8, characterized in that: The hard disk failure risk warning method further includes: The flight state of the magnetic head at the next moment is predicted according to the flying height value of the magnetic head at the next moment and the air film pressure at each position point on the surface of the magnetic head.

10. The hard disk failure risk warning method according to claim 9, characterized in that: The hard disk failure risk warning method further includes: If the flight state of the magnetic head is normal at the next moment, continue to monitor and obtain the values ​​of the ambient temperature, ambient air pressure and fan speed in real time; If the flight state of the magnetic head at the next moment has the risk of touching and damaging the magnetic disk due to the magnetic head flying at too low a height or the magnetic head deviating from the track, a warning message is issued.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • A new model for the modified Reynolds equation in hard disk film lubrication

    CN102262883A

  • Mechanical hard disk life prediction method and system, computer equipment, medium and terminal

    CN115544866A