Hard disk state monitoring method and device, medium and computer program product

By calculating the performance offset parameters of the hard disk and substituting them into the scoring function, the accuracy problem of hard disk status evaluation is solved, more accurate hard disk status monitoring and more appropriate replacement time are achieved, and hard disk waste and failure are avoided.

CN119336584APending Publication Date: 2025-01-21ZHENGZHOU YUNHAI INFORMATION TECH CO LTD

Patent Information

Application Number
CN202411681585.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The prior art is difficult to accurately evaluate the state of the hard disk, resulting in the possibility of wasting the hard disk or failure to replace the hard disk that will be broken in time, and manual evaluation is subjective.

Method used

By obtaining the status monitoring data of the target hard disk, calculating its performance offset parameters, and substituting them into the hard disk scoring function, the hard disk status score is obtained, which solves the problem of accuracy of hard disk status evaluation.

Benefits of technology

Improves the accuracy of hard drive status monitoring, ensuring hard drives are replaced at the right time to avoid wasting hard drives and failing to replace hard drives that are about to fail in time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336584A_ABST
    Figure CN119336584A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of hard disk monitoring, and particularly discloses a hard disk state monitoring method and device, a medium and a computer program product. A first function relation between a first performance index and a second performance index is calculated according to multiple sets of hard disk performance index data; and substituting a value of a first performance index in the state monitoring data to obtain a performance reference value of a second performance index, calculating according to the performance reference value and a corresponding actual value to obtain a performance offset parameter, and substituting the performance offset parameter into a hard disk scoring function to obtain a hard disk state score. The problem of deviation between the target hard disk and the actual operation condition of the hard disk performance index data adopted for establishing the hard disk scoring function is solved, consistency evaluation of the attenuation condition of the hard disk in different operation environments is achieved, the accuracy of hard disk state prediction is improved, hard disk replacement at proper time is facilitated, and the user experience is improved. Hard disk waste and failure in timely replacement of a to-be-failed hard disk are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of hard disk monitoring, and in particular to a hard disk status monitoring method, equipment, medium and computer program product. Background Art

[0002] During the operation of the server, a large number of hard disks are in a long-term continuous reading and writing state. As the usage time increases, the performance of the hard disk gradually decreases, which will cause the overall performance of the server to decrease. In serious cases, hard disk failure may cause server equipment to crash or data loss, resulting in serious business losses. In order to ensure the operating performance of the server, it is necessary to replace the failed disk or the hard disk that is about to fail according to the status of the hard disk. In order to replace the hard disk at the appropriate time, the relevant field has proposed many solutions for analyzing or predicting hard disk failures based on the hard disk status. For example, different levels of alarms are set for the performance indicators of the hard disk to evaluate the status of the hard disk, and the operation and maintenance personnel determine whether the hard disk needs to be replaced.

[0003] However, due to the different hard disk models and working scenarios, this hard disk status assessment solution based on performance indicators is difficult to accurately assess the hard disk status. If the hard disk is directly replaced according to the assessment results without further manual analysis, it may lead to waste of hard disks or failure to replace hard disks that are about to fail in time. Manual assessment is highly subjective and cannot guarantee that the hard disk can be replaced at the right time.

[0004] How to improve the accuracy of hard disk status monitoring is a technical problem that technical personnel in this field need to solve. Summary of the invention

[0005] The object of the present invention is to provide a hard disk status monitoring method, device, medium and computer program product, which are used to improve the accuracy of hard disk status evaluation results.

[0006] In order to solve the above technical problems, the present invention provides a hard disk status monitoring method, comprising: Obtain status monitoring data of the target hard disk; Substituting the value of the first performance indicator in the status monitoring data into the first functional relationship to obtain a performance benchmark value of the second performance indicator of the target hard disk; Calculate the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data; Substituting the performance offset parameter into a hard disk scoring function to calculate a hard disk status score of the target hard disk; Outputting the hard disk status score; The first functional relationship is a functional relationship between the first performance indicator and the second performance indicator calculated based on multiple sets of hard disk performance indicator data, and the hard disk scoring function is established based on the hard disk performance indicator data.

[0007] On the one hand, the performance offset parameter is substituted into the hard disk scoring function to calculate the hard disk status score of the target hard disk, including: The hard disk status score is calculated based on the hard disk initial score, the usage time of the target hard disk and the performance offset parameter; The initial hard disk score is a status score of an unused hard disk.

[0008] On the other hand, the hard disk status score is calculated according to the hard disk initial score, the usage time of the target hard disk and the performance offset parameter, including: Calculate the usage decay score of the target hard disk according to the initial score of the hard disk and the usage time of the target hard disk; The hard disk status score is calculated according to the usage attenuation score of the target hard disk and the performance offset parameter.

[0009] On the other hand, the usage decay score of the target hard disk is calculated according to the initial score of the hard disk and the usage time of the target hard disk, including: The attenuation value of the target hard disk is calculated according to the initial score of the hard disk, the usage time of the target hard disk and the attenuation rate of the target hard disk; The usage decay score is obtained by subtracting the decay value of the target hard disk from the initial hard disk score.

[0010] On the other hand, the step of obtaining the decay rate of the target hard disk includes: The attenuation rate of the target hard disk is obtained by querying according to at least one query condition of the manufacturer information of the target hard disk and the hard disk model of the target hard disk.

[0011] On the other hand, the performance deviation parameter is a performance deviation rate; The hard disk status score is calculated according to the usage attenuation score of the target hard disk and the performance offset parameter, including: The hard disk status score is calculated according to the product of the usage decay score and the performance drift rate.

[0012] On the other hand, calculating the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data includes: Calculating a ratio of a difference between the performance benchmark value and the actual value to the performance benchmark value; The performance offset parameter is calculated by subtracting the ratio from 1.

[0013] On the other hand, substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk includes: Calculate the abnormal status score of the target hard disk according to the status monitoring data and / or the hard disk log of the target hard disk; The hard disk status score is calculated according to the performance deviation parameter and the abnormal status score.

[0014] On the other hand, calculating the abnormal status score of the target hard disk according to the status monitoring data includes: The abnormal state score is calculated based on the extent to which the value of each performance indicator in the state monitoring data exceeds the corresponding performance threshold range; The performance indicator includes the first performance indicator and the second performance indicator.

[0015] On the other hand, calculating the abnormal status score of the target hard disk according to the hard disk log includes: Obtain the hard disk log generated by the system of the device; Extracting hard disk abnormal status data from the hard disk log; Determine a hard disk log score corresponding to the target hard disk according to the abnormal state parameter in the hard disk abnormal state data and the first corresponding relationship; The first corresponding relationship is a corresponding relationship between an abnormal state parameter and an abnormal state score.

[0016] On the other hand, the second performance indicator is the hard disk throughput, and the first performance indicator includes at least one of the hard disk cache size, hard disk response time, hard disk write data volume, hard disk read data volume, and hard disk remaining capacity.

[0017] On the other hand, the first functional relationship between the first performance indicator and the second performance indicator calculated according to the plurality of sets of hard disk performance indicator data includes: When the first functional relationship of the second performance indicator is obtained by weighted summing of the plurality of first performance indicators calculated according to the plurality of groups of the hard disk performance indicator data, the performance weight of each of the first performance indicators; The performance offset parameter of the target hard disk is calculated according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data, including: Calculating a ratio of a difference between the performance benchmark value and the actual value to the performance benchmark value; Calculate 1 minus the ratio to obtain the performance offset parameter; Substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk includes: The attenuation value of the target hard disk is calculated according to the initial hard disk score, the usage time of the target hard disk and the attenuation rate of the target hard disk; Subtract the attenuation value of the target hard disk from the initial hard disk score to obtain the usage attenuation score of the target hard disk; Subtract the abnormal status score of the target hard disk from the product of the usage decay score and the performance deviation rate to obtain the hard disk status score; The abnormal status score is calculated based on the status monitoring data and / or the hard disk log of the target hard disk.

[0018] In order to solve the above technical problems, the present invention further provides a hard disk status monitoring device, comprising: Memory for storing computer programs; The processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the hard disk status monitoring method as described in any one of the above items are implemented.

[0019] In order to solve the above technical problems, the present invention also provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the hard disk status monitoring method as described in any one of the above items are implemented.

[0020] In order to solve the above technical problem, the present invention also provides a computer program product, including a computer program, which implements the steps of any one of the above hard disk status monitoring methods when executed by a processor.

[0021] The hard disk status monitoring method provided by the present invention has the beneficial effect of obtaining a first functional relationship between a first performance indicator and a second performance indicator calculated based on multiple groups of hard disk performance indicator data. When status monitoring is performed on a target hard disk, the value of the first performance indicator in the status monitoring data of the target hard disk is substituted into the first functional relationship to obtain a performance baseline value of the second performance indicator of the target hard disk, and a performance offset parameter of the target hard disk is calculated based on the performance baseline value and the actual value of the second performance indicator in the status monitoring data. The performance offset parameter of the target hard disk is then substituted into a hard disk scoring function to calculate a hard disk status score of the target hard disk, thereby solving the problem of deviation between the actual operating conditions of the target hard disk and the hard disk performance indicator data used by a pre-established hard disk scoring function, and achieving a consistent evaluation of the attenuation conditions of hard disks in different operating environments, thereby improving the accuracy of hard disk status monitoring, and facilitating replacement of hard disks at an appropriate time, avoiding hard disk waste, and avoiding failure to replace hard disks that are about to fail in a timely manner.

[0022] The hard disk status monitoring device, medium and computer program product provided by the present invention have the above-mentioned beneficial effects, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.

[0024] Figure 1 A flowchart of a hard disk status monitoring method provided by an embodiment of the present invention; Figure 2 A structural schematic diagram of a hard disk status monitoring device provided by an embodiment of the present invention; Figure 3 A structural schematic diagram of a hard disk status monitoring device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The core of the present invention is to provide a hard disk status monitoring method, device, medium and computer program product, which are used to improve the accuracy of hard disk status evaluation results.

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] Currently, there are two main types of online status monitoring solutions for hard drives during operation: one is to build a hard drive failure prediction model based on hard drive performance indicators, and the other is to regularly replace the hard drive according to the length of time the hard drive has been in use.

[0028] Regarding the solution of building a hard disk failure prediction model based on hard disk performance indicators, technical personnel in related fields consider multiple hard disk performance indicators and fit model parameters through a large amount of hard disk performance data. For example, based on Self-Monitoring Analysis and Reporting Technology (abbreviated as SMART or SMART), by collecting the SMART information of the hard disk as hard disk performance data, a hard disk failure prediction model obtained through iterative training is used to predict the occurrence of failures in advance, so as to complete a reasonable hard disk replacement.

[0029] For the solution of replacing hard disks regularly according to the length of time the hard disks are used, the hard disks are replaced at a fixed time, for example, three years after the hard disks are put into operation.

[0030] For the first type of solution, the reliability of the hard disk failure prediction model depends on the consistency of the monitored target hard disk and the samples used in the training model. However, in actual applications, in addition to many factors such as the hard disk manufacturer, hard disk model, the type of device the hard disk runs on, the business performed by the device, and the busyness of the business, it is difficult for the operating environment of the target hard disk to be consistent with the training sample. This results in the generalization ability of the disk failure prediction model being very weak during actual use, and the accuracy of disk failure prediction cannot be guaranteed.

[0031] For the second type of solution, the above-mentioned problem of inconsistent operating environment also exists.

[0032] It can be seen that the current online hard disk status monitoring solution has two problems. On the one hand, it causes a lot of waste of resources, that is, replacing the hard disk when the hard disk is in good operating condition leads to waste of resources. On the other hand, before the hard disk is replaced, the performance of the hard disk may not meet the equipment operation requirements, which will seriously affect the overall operation performance of the equipment.

[0033] In order to adapt to the different operating environments of different hard disks and improve the accuracy of hard disk status evaluation results, an embodiment of the present invention provides a hard disk status monitoring method. By calculating a first functional relationship between a first performance indicator and a second performance indicator based on multiple groups of hard disk performance indicator data, when status monitoring is performed on a target hard disk, the value of the first performance indicator in the status monitoring data of the target hard disk is substituted into the first functional relationship to obtain a performance benchmark value of the second performance indicator of the target hard disk, and a performance offset parameter of the target hard disk is calculated based on the performance benchmark value and the actual value of the second performance indicator in the status monitoring data. The performance offset parameter of the target hard disk is then substituted into a hard disk scoring function to calculate a hard disk status score of the target hard disk, thereby solving the problem of deviation between the actual operating conditions of the target hard disk and the hard disk performance indicator data used by the pre-established hard disk scoring function, and realizing consistent evaluation of the attenuation conditions of hard disks in different operating environments, thereby improving the accuracy of hard disk status monitoring, and facilitating replacement of hard disks at an appropriate time, avoiding hard disk waste, and avoiding failure to replace hard disks that are about to fail in time.

[0034] The hard disk status monitoring method provided by the embodiment of the present invention is described below with reference to the accompanying drawings.

[0035] Figure 1 A flowchart of a hard disk status monitoring method provided by an embodiment of the present invention.

[0036] like Figure 1As shown, the hard disk status monitoring method provided by the embodiment of the present invention includes: S101: Acquire status monitoring data of a target hard disk; S102: Substituting the value of the first performance indicator in the status monitoring data into the first functional relationship to obtain a performance benchmark value of the second performance indicator of the target hard disk; S103: Calculate a performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data; S104: Substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk; S105: Outputting a hard disk status score; The first functional relationship is a functional relationship between a first performance indicator and a second performance indicator calculated based on multiple sets of hard disk performance indicator data, and the hard disk scoring function is established based on the hard disk performance indicator data.

[0037] In a specific implementation, the hard disk status monitoring method provided by the embodiment of the present invention can be applied to an out-of-band management system master controller, such as a baseboard management controller (BMC), and can also be applied to a coprocessor in a baseboard management controller system. If the target hard disk is a hard disk in a disk array (RAID), the hard disk status monitoring method provided by the embodiment of the present invention can also be applied to a disk array controller in the disk array.

[0038] For S101, the status monitoring data of the target hard disk obtained can be the status monitoring data obtained by the baseboard management controller through the Simple Network Management Protocol (SNMP). The baseboard management controller uses a polling mechanism to read the status monitoring data of each target hard disk in turn through the Simple Network Management Protocol. The type of status monitoring data corresponds to the type of hard disk performance indicator data. The embodiment of the present invention may also include: storing the status monitoring data of the target hard disk and the corresponding threshold analysis data in a time series database. Among them, the step of obtaining the threshold analysis data may include: extracting the status monitoring data of the target hard disk, calling the performance threshold range corresponding to each performance indicator in the status monitoring data, calculating the abnormal status score according to the value of each performance indicator exceeding the corresponding performance threshold range, and using the abnormal status score as the threshold analysis data. The embodiment of the present invention may also include: triggering the corresponding threshold alarm information according to the abnormal status score, and recording and storing the threshold alarm log.

[0039] For S102~S104, in the embodiment of the present invention, what is different from the related art is that the performance offset parameter of the target hard disk compared to the hard disk performance indicator data is first calculated according to the first functional relationship, which indicates the difference in the hard disk performance indicator data of the target hard disk compared to the hard disk used to construct the hard disk scoring function, thereby solving the problem that the constructed hard disk scoring function is not suitable for the target hard disk.

[0040] Before executing the status monitoring task for the target hard disk, it is necessary to establish a first functional relationship and a hard disk scoring function.

[0041] The hard disk scoring function is a function that calculates the hard disk status score based on the hard disk status evaluation parameters, and is used to indicate the quality of the hard disk status through the size of the score. For example, a higher hard disk status score can be used to indicate a better hard disk status, or a higher hard disk status score can be used to indicate a worse hard disk status. The embodiment of the present invention may also include: comparing the hard disk status score with the hard disk status warning threshold, and outputting hard disk status warning information. The hard disk status warning threshold can be divided into thresholds corresponding to slight warning, moderate warning, and severe warning according to the quality of the hard disk status, corresponding to different hard disk status score intervals, and when the hard disk status score falls into the corresponding interval, the corresponding hard disk status warning information is output.

[0042] In some optional implementations of the embodiments of the present invention, the hard disk scoring function may adopt a hard disk scoring function constructed in the relevant technical field. For example, the hard disk scoring function may be a scoring function based on hard disk performance indicators, such as a hard disk scoring function based on SAMRT information. The hard disk scoring function may also be a hard disk failure prediction model trained using a sample set constructed using hard disk performance indicator data. The input of the hard disk failure prediction model is the status monitoring data of the target hard disk, and the output of the hard disk failure prediction model is the hard disk status score.

[0043] The first functional relationship is a functional relationship that expresses the relationship between different performance indicators of the hard disk. In the embodiment of the present invention, the first performance indicator and the second performance indicator are defined as the performance indicators on both sides of the equal sign of the first functional relationship. In some optional implementations of the embodiment of the present invention, the first functional relationship can be a functional relationship between the weighted sum of multiple first performance indicators and a second performance indicator, and the performance weight of each second performance indicator can be obtained by fitting the hard disk performance indicator data.

[0044] In some optional implementations of the embodiments of the present invention, calculating the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data in S103 may include: calculating the ratio of the difference between the performance benchmark value and the actual value and the performance benchmark value; calculating 1 minus the ratio to obtain the performance offset parameter. The process can be expressed as: P=1-((Nz-Sz) / Nz), where P represents the performance offset parameter (performance offset rate), Nz represents the performance benchmark value, and Sz represents the actual value of the second performance indicator.

[0045] In some optional implementations of the embodiments of the present invention, the second performance indicator may be hard disk throughput, and the first performance indicator includes at least one of hard disk cache size, hard disk response time, hard disk write data volume, hard disk read data volume, and hard disk remaining capacity.

[0046] In some other optional implementations of the embodiments of the present invention, the number of second performance indicators may also be multiple, and the first functional relationship may be a functional relationship of each second performance indicator. Substituting the value of the first performance indicator in the status monitoring data into the first functional relationship to obtain the performance benchmark value of the second performance indicator of the target hard disk in S102 may include: substituting the value of the first performance indicator in the status monitoring data into each first functional relationship to obtain the performance benchmark value of each second performance indicator of the target hard disk. In S103, calculating the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data may include: calculating the performance offset parameter between the actual value of each second performance indicator and the corresponding performance benchmark value, and calculating the performance offset parameter of the target hard disk according to each performance offset parameter. By calculating and obtaining multiple performance benchmark values, the accuracy of determining the performance offset parameter is improved, thereby improving the accuracy of the hard disk status score.

[0047] In order to ensure data consistency, in an embodiment of the present invention, the same hard disk performance indicator data is used to establish a hard disk scoring function and a first functional relationship, thereby obtaining a hard disk scoring function common to multiple hard disks and a first functional relationship common to multiple hard disks.

[0048] In some optional implementations of the embodiments of the present invention, the hard disk performance indicator data may be hard disk performance indicator data of different types of hard disks when they are not in use.

[0049] In some other optional implementations of the embodiments of the present invention, hard disk performance indicator data of different usage times can be used to establish a hard disk scoring function and a first functional relationship, that is, each usage time corresponds to a set of hard disk scoring functions and a first functional relationship.

[0050] In some other optional implementations of the embodiments of the present invention, hard disk scoring functions and first functional relationships may be established for different types of hard disks, that is, each type of hard disk corresponds to a set of hard disk scoring functions and first functional relationships.

[0051] The embodiment of the present invention may further include: obtaining a first functional relationship corresponding to the target hard disk and a hard disk scoring function corresponding to the target hard disk. By establishing hard disk scoring functions and first functional relationships for different hard disks, and matching the target hard disk with the corresponding hard disk scoring function and first functional relationship, the accuracy of the hard disk status scoring is further improved.

[0052] In an embodiment of the present invention, the hard disk status assessment result is reflected in the form of a hard disk status score to construct a unified hard disk status assessment standard, which facilitates setting of corresponding thresholds for operation and maintenance personnel or users to determine whether the hard disk needs to be replaced.

[0053] The hard disk status monitoring method provided by the embodiment of the present invention calculates a first functional relationship between a first performance indicator and a second performance indicator based on multiple groups of hard disk performance indicator data. When status monitoring is performed on a target hard disk, the value of the first performance indicator in the status monitoring data of the target hard disk is substituted into the first functional relationship to obtain a performance baseline value of the second performance indicator of the target hard disk, and a performance offset parameter of the target hard disk is calculated based on the performance baseline value and the actual value of the second performance indicator in the status monitoring data. The performance offset parameter of the target hard disk is then substituted into a hard disk scoring function to calculate a hard disk status score of the target hard disk, thereby solving the problem of deviation between the actual operating conditions of the target hard disk and the hard disk performance indicator data used by the pre-established hard disk scoring function, and achieving consistency evaluation of the attenuation conditions of hard disks in different operating environments, thereby improving the accuracy of hard disk status monitoring, and facilitating replacement of hard disks at an appropriate time, avoiding hard disk waste, and avoiding failure to replace hard disks that are about to fail in a timely manner.

[0054] Based on the above embodiment, in the embodiment of the present invention, substituting the performance offset parameter into the hard disk scoring function in S104 to calculate the hard disk status score of the target hard disk may include: calculating the hard disk status score according to the hard disk initial score, the usage time of the target hard disk and the performance offset parameter. The hard disk initial score is the status score of the unused hard disk.

[0055] In the embodiment of the present invention, a unified hard disk initial score may be set for all hard disks, or different hard disk initial scores may be set for different hard disk manufacturers and different hard disk models.

[0056] It is understandable that the performance of a hard disk will decrease as the hard disk is used for a longer time. For all hard disks or a class of hard disks, the relationship between the hard disk performance and the hard disk usage time can be determined through experiments. In the embodiment of the present invention, the hard disk status score is calculated based on the hard disk initial score, the target hard disk usage time and the performance offset parameter, which may include: calculating the target hard disk usage decay score based on the hard disk initial score and the target hard disk usage time; calculating the hard disk status score based on the target hard disk usage decay score and the performance offset parameter.

[0057] Among them, calculating the usage attenuation score of the target hard disk according to the initial score of the hard disk and the usage time of the target hard disk can include: calculating the attenuation value of the target hard disk according to the initial score of the hard disk, the usage time of the target hard disk and the attenuation rate of the target hard disk; subtracting the attenuation value of the target hard disk from the initial score of the hard disk to obtain the usage attenuation score.

[0058] In actual applications, operation and maintenance personnel can obtain the attenuation rate corresponding to each hard disk model through experiments.

[0059] In some optional implementations of the embodiments of the present invention, the step of obtaining the decay rate of the target hard disk may include: obtaining the decay rate of the target hard disk based on at least one query condition of the manufacturer information of the target hard disk and the hard disk model of the target hard disk.

[0060] In an embodiment of the present invention, the performance offset parameter may adopt a performance offset rate. Then, the hard disk status score is calculated based on the usage attenuation score of the target hard disk and the performance offset parameter, which may include: calculating the hard disk status score based on the product of the usage attenuation score and the performance offset rate.

[0061] If the performance offset parameter can be a performance offset rate, then in S103, the performance offset parameter of the target hard disk is calculated based on the performance benchmark value and the actual value of the second performance indicator in the status monitoring data, which may include: calculating the ratio of the difference between the performance benchmark value and the actual value and the performance benchmark value; calculating 1 minus the ratio to obtain the performance offset parameter. This process can be expressed as: P=1-((Nz-Sz) / Nz), where P represents the performance offset parameter (performance offset rate), Nz represents the performance benchmark value, and Sz represents the actual value of the second performance indicator.

[0062] On the basis of the above-mentioned embodiments, in an embodiment of the present invention, the performance offset parameter is substituted into the hard disk scoring function in S104 to calculate the hard disk status score of the target hard disk, which may include: calculating the abnormal status score of the target hard disk based on the status monitoring data and / or the hard disk log of the target hard disk; calculating the hard disk status score based on the performance offset parameter and the abnormal status score.

[0063] During the operation of the hard disk, in addition to directly collecting status monitoring data, the operating system will also record the hard disk log, which can reflect the hard disk operation status from another perspective. Therefore, the hard disk operation status can be comprehensively evaluated by combining the status monitoring data and the hard disk log.

[0064] In an embodiment of the present invention, calculating the abnormal state score of the target hard disk according to the state monitoring data may include: calculating the abnormal state score according to the magnitude by which the value of each performance indicator in the state monitoring data exceeds the corresponding performance threshold range. The performance indicator includes a first performance indicator and a second performance indicator.

[0065] In an embodiment of the present invention, calculating the abnormal state score of the target hard disk according to the hard disk log may include: obtaining the hard disk log generated by the system of the device; extracting the hard disk abnormal state data in the hard disk log; and determining the hard disk log score corresponding to the target hard disk according to the abnormal state parameter in the hard disk abnormal state data and the first corresponding relationship. The first corresponding relationship is the corresponding relationship between the abnormal state parameter and the abnormal state score.

[0066] In the embodiment of the present invention, the hard disk log used can be at least one of the log recorded by the analysis status monitoring data, the log of the server disk array, the server sensor data record (SDR) log, and the server system event (SEL) log. Through the preset fault log rules, the server hard disk fault type is defined (such as disk array card physical disk disk status warning, disk array card firmware self-check status monitoring, redundant space warning and storage medium life monitoring, etc.), and these faults must be scored accordingly in the log scoring library. The fault logs generated by the hard disk collection need to be stored in the relational database for a long time, and the number of occurrences of various fault logs every day, every week, and every month is required. When matching in the log scoring library, the number of occurrences is also a factor in determining the hard disk score (for example, the redundant space warning generated twice and once is different, and needs to be set separately in the initialization scoring library).

[0067] In addition, the embodiment of the present invention may further include: obtaining a server component log, identifying hard disk status related information from the server component log; accordingly, substituting the performance offset parameter into the hard disk scoring function in S104 to calculate the hard disk status score of the target hard disk, which may include: calculating the abnormal status score of the target hard disk according to at least one of the status monitoring data, the hard disk log of the target hard disk, and the hard disk status related information; calculating the hard disk status score according to the performance offset parameter and the abnormal status score. The server component may be a host unit, a network card, etc. That is to say, in addition to the status monitoring information and the hard disk log, the operation status of the hard disk can also be analyzed from the side in combination with the logs of other server components during operation, thereby improving the comprehensiveness of the hard disk status analysis.

[0068] On the basis of the above-mentioned embodiments, in an embodiment of the present invention, the first functional relationship between the first performance indicator and the second performance indicator calculated according to multiple sets of hard disk performance indicator data in S102 may include: the performance weight of each first performance indicator when the first functional relationship of the second performance indicator is obtained by weighted summing up multiple first performance indicators calculated according to multiple sets of hard disk performance indicator data.

[0069] In S103, the performance offset parameter of the target hard disk is calculated according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data, which may include: calculating the ratio of the difference between the performance benchmark value and the actual value to the performance benchmark value; calculating 1 minus the ratio to obtain the performance offset parameter.

[0070] Substituting the performance deviation parameter into the hard disk scoring function in S104 to calculate the hard disk status score of the target hard disk may include: calculating the attenuation value of the target hard disk according to the initial hard disk score, the usage time of the target hard disk and the attenuation rate of the target hard disk; subtracting the attenuation value of the target hard disk from the initial hard disk score to obtain the usage attenuation score of the target hard disk; subtracting the abnormal status score of the target hard disk from the product of the usage attenuation score and the performance deviation rate to obtain the hard disk status score. The abnormal status score is calculated according to the status monitoring data and / or the hard disk log of the target hard disk.

[0071] Each step of the embodiment of the present invention can be implemented by the following modules: The data configuration module is used to configure the parameters required for hard disk status scoring.

[0072] The performance collection and analysis module is used to obtain the status monitoring data of the target hard disk, analyze and store the status monitoring data, and obtain threshold analysis data through analysis and store it.

[0073] The log collection and analysis module is used to collect and analyze hard disk logs.

[0074] The scoring analysis module is used to calculate the hard disk status score according to the status monitoring data, the hard disk log, the first functional relationship and the hard disk scoring function.

[0075] In the embodiment of the present invention, the data configuration module is the entry of the server hard disk scoring mechanism, and can be used to configure the decay rate, performance threshold range, log scoring library, etc.

[0076] The decay rate is used to indicate the decline of the hard disk status as the usage time increases. The operation and maintenance personnel can configure it according to the service life recommended by the hard disk manufacturer, or they can configure it separately according to different hard disk manufacturers and different models of hard disks to increase the accuracy of the score.

[0077] The performance threshold range is used to indicate the normal range of various performance indicators. For each performance indicator, you can configure multiple performance threshold ranges for hierarchical configuration. For example, for hard disk usage (%), you can set 50%-60% minor alarm, 60%-70% moderate alarm, 70%-90% high alarm, and 90%-100% severe alarm. By monitoring the status monitoring data of the target hard disk, the alarm log is generated and analyzed.

[0078] The log scoring library is used to record the hard disk log analysis method and score the hard disk log. The score can be based on the log level. For example, a minor disk usage alarm is 10 points, a serious disk usage alarm is 20 points, and a minor disk read IO alarm is 20 points. In addition, the scoring method can be set according to different hard disk log types (such as disk life monitoring logs and disk firmware status monitoring logs). By establishing a log scoring library to score hard disk logs, when the device generates hard disk logs or even hard disk abnormality logs, the hard disk operation status is scored according to the log scoring library. In actual use, operation and maintenance personnel can modify the scoring function in the log scoring library based on the actual situation of various abnormal logs to improve the accuracy of the scoring.

[0079] In an embodiment of the present invention, the performance collection and analysis module is used to collect the status monitoring data of the target hard disk and generate a log through threshold analysis. The performance collection and analysis module collects the status monitoring data of the target hard disk according to various protocols (such as SNMP protocol), and can store the collected status monitoring data in a time series database. The performance collection and analysis module can refer to the records of the above embodiment.

[0080] In the embodiment of the present invention, the log collection and analysis module is used to collect hard disk logs and even hard disk-related logs of other server components. The hard disk logs are used to assist in hard disk status scoring, thereby improving the accuracy of hard disk status scoring. The log collection and analysis module can refer to the records of the above embodiment.

[0081] In the embodiment of the present invention, the score analysis module is used to calculate the usage decay score, the performance offset parameter and the abnormal state score respectively, and calculate the hard disk state score.

[0082] In an embodiment of the present invention, the use decay score can be calculated based on the hard disk initial score, the use time of the target hard disk and the decay rate. The specific calculation formula can be: W=TT*S*Y, where W represents the hard disk initial score, Y represents the use time, and S represents the decay rate. The use time can be in years. The hard disk status score of the unused hard disk can be recorded as the hard disk initial score.

[0083] The scoring analysis module can also be used to calculate the performance weight of each first performance indicator in the first functional relationship. Taking the second performance indicator as hard disk throughput (P6), the first performance indicators including hard disk cache size (P1), hard disk response time (P2), hard disk write data volume (P3), hard disk read data volume (P4), and hard disk remaining capacity (P5) as an example, Table 1 records the values ​​of seven sets of hard disk performance indicator data.

[0084] Table 1

[0085] By collecting hard disk performance index data multiple times at different times, the accuracy of performance weight calculation can be improved. The first functional relationship can be expressed as B(P1, P2, P3, P4, P5…) = a*P1+b*P2+c*P3+d*P4+e*P5+… Among them, B(P1, P2, P3, P4, P5…) is the second performance index, which is the hard disk throughput in this example.

[0086] The performance weight (a, b, c, d, e...) corresponding to each performance indicator can be solved by the multivariate linear regression equation. Taking the data shown in Table 1 as an example, the following data can be obtained: Input B (P1, P2, P3, P4, P5...) = a*P1+b*P2+c*P3+d*P4+e*P5+..., P1, P2, P3, P4, P5...; 8000=a*60+b*50+c*30+d*150+e*10000+……; 9000=a*55+b*20+c*22+d*200+e*11000+……; Substitute each group of hard disk performance indicator data into the first functional relationship until all performance weights are solved.

[0087] Assuming that only five indicators a, b, c, d, and e are collected, it is calculated that a=10, b=12.5, c=2.5, d=5, and e=0.5. In actual applications, the first functional relationship can be fitted for hard disks of different manufacturers and models.

[0088] Calculate the performance offset parameter. Table 2 is a set of status monitoring data of the target hard disk.

[0089] Table 2

[0090] Substitute P1~P5 in the condition monitoring data into the first functional relationship to calculate the performance benchmark value of the second performance indicator, and compare it with P6 in the condition monitoring data. The process can be expressed as: P=1-((Nz-Sz) / Nz), where P represents the performance offset parameter (performance offset rate), Nz represents the performance benchmark value, and Sz(P6) represents the actual value of the second performance indicator. Taking the data in Table 2 as an example, P=1.13.

[0091] Calculate the abnormal status score. Obtain the current server hard disk log fault data and statistical data, compare the data in the log scoring library, and assume that the target hard disk has a fault log and a log whose performance index exceeds the performance threshold range. For example, the current fault log: disk read IO minor alarm log (score: 10), disk write IO minor alarm log (score: 20), hard disk firmware status abnormal (score: 30), calculate the current abnormal status score G, G=10+20+30.

[0092] Then the embodiment of the present invention provides a hard disk scoring function which may be C=(TT*S*Y)*PG. Among them, C is the hard disk status score, T is the hard disk initial score, S is the decay rate (artificially set decay rate with usage time), Y is the usage time (hard disk service life), P is the performance offset parameter (offset rate), and G is the abnormal status score (obtained based on status / log, the more serious the fault, the higher the score).

[0093] Taking the hard disk initial score T as 1000, the decay rate S as 0.1, and the usage time as 2 years as an example, then C=(1000-1000*0.1*2)*1.13-60=874.

[0094] In actual operation, the first functional relationship and the hard disk scoring function may be further updated according to the status monitoring data collected in real time.

[0095] It should be noted that in the embodiments of the hard disk status monitoring method of the present invention, some of the steps or features can be ignored or not executed. The hardware or software functional modules divided for the convenience of description are not the only implementation form of the hard disk status monitoring method provided in the embodiments of the present invention.

[0096] The above describes in detail various embodiments corresponding to the hard disk status monitoring method. On this basis, the present invention also discloses a hard disk status monitoring device, equipment, non-volatile storage medium and computer program product corresponding to the above method.

[0097] Figure 2 A structural schematic diagram of a hard disk status monitoring device provided by an embodiment of the present invention.

[0098] like Figure 2 As shown, the hard disk status monitoring device provided by the embodiment of the present invention includes: Performance collection and analysis module 201, used to obtain status monitoring data of the target hard disk; The scoring analysis module 202 is used to substitute the value of the first performance indicator in the status monitoring data into the first functional relationship to obtain the performance benchmark value of the second performance indicator of the target hard disk; calculate the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data; substitute the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk; Output module 203, used to output hard disk status score; The first functional relationship is a functional relationship between a first performance indicator and a second performance indicator calculated based on multiple sets of hard disk performance indicator data, and the hard disk scoring function is established based on the hard disk performance indicator data.

[0099] like Figure 2 As shown, the embodiment of the present invention may further include: Data configuration module 204, used to configure parameters required for hard disk status scoring; The log collection and analysis module 205 is used to collect and analyze hard disk logs.

[0100] The score analysis module 202 can also be used to calculate the abnormal state score of the target hard disk based on the state monitoring data and / or the hard disk log of the target hard disk; and calculate the hard disk state score based on the performance offset parameter and the abnormal state score.

[0101] It should be noted that in each implementation of the hard disk status monitoring device provided by the embodiment of the present invention, the division of units is only a logical functional division, and other division methods can be used. The connection method between different units can be electrical, mechanical or other connection methods. Separated units can be located in the same physical location or distributed on multiple network nodes. Each unit can be implemented in the form of hardware or in the form of a software functional unit. That is, part or all of the units provided by the embodiment of the present invention can be selected according to actual needs and the corresponding connection method or integration method can be adopted to achieve the purpose of the embodiment of the present invention.

[0102] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0103] Figure 3 A structural schematic diagram of a hard disk status monitoring device provided by an embodiment of the present invention.

[0104] like Figure 3 As shown, the hard disk status monitoring device provided in an embodiment of the present invention includes: a memory 310, used to store a computer program 311; a processor 320, used to execute the computer program 311, and when the computer program 311 is executed by the processor 320, the steps of the hard disk status monitoring method provided in any of the above embodiments are implemented.

[0105] Among them, the processor 320 may include one or more processing cores, such as a 3-core processor, an 8-core processor, etc. The processor 320 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 320 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 320 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 320 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0106] The memory 310 may include one or more non-volatile storage media, which may be non-transitory. The memory 310 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 310 is at least used to store the following computer program 311, wherein, after the computer program 311 is loaded and executed by the processor 320, it can implement the relevant steps in the hard disk status monitoring method disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 310 may also include an operating system 312 and data 313, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 312 may be Windows or other types of operating systems. Data 313 may include but is not limited to the data involved in the above method.

[0107] In some embodiments, the hard disk status monitoring device may further include a display screen 330 , a power supply 340 , a communication interface 350 , an input / output interface 360 ​​, a sensor 370 , and a communication bus 380 .

[0108] Those skilled in the art will understand that Figure 3 The structure shown in the figure does not constitute a limitation on the hard disk status monitoring device, and may include more or fewer components than those shown in the figure.

[0109] The hard disk status monitoring device provided in the embodiment of the present invention includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the steps of the hard disk status monitoring method provided in the above embodiment, and the effect is the same as above.

[0110] An embodiment of the present invention provides a non-volatile storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the hard disk status monitoring method provided in any one of the above embodiments can be implemented.

[0111] The non-volatile storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0112] For the introduction of the non-volatile storage medium provided in the embodiment of the present invention, please refer to the above method embodiment, and the effect thereof is the same as the hard disk status monitoring method provided in the embodiment of the present invention, and the present invention will not elaborate on it here.

[0113] An embodiment of the present invention provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of the hard disk status monitoring method provided in any one of the above embodiments are implemented.

[0114] For an introduction to the computer program product provided by the embodiment of the present invention, please refer to the above method embodiment, and the effect thereof is the same as the hard disk status monitoring method provided by the embodiment of the present invention, and the present invention will not elaborate on it here.

[0115] The above is a detailed introduction to a hard disk status monitoring method, device, medium and computer program product provided by the present invention. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referenced to each other. For the devices, equipment, non-volatile storage media and computer program products disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified in a number of ways, and these improvements and modifications also fall within the scope of protection of the present invention.

[0116] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A hard disk status monitoring method, characterized in that: include: Obtain status monitoring data of the target hard disk; Substituting the value of the first performance indicator in the status monitoring data into the first functional relationship to obtain a performance benchmark value of the second performance indicator of the target hard disk; Calculate the performance offset parameter of the target hard disk according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data; Substituting the performance offset parameter into a hard disk scoring function to calculate a hard disk status score of the target hard disk; Outputting the hard disk status score; The first functional relationship is a functional relationship between the first performance indicator and the second performance indicator calculated based on multiple sets of hard disk performance indicator data, and the hard disk scoring function is established based on the hard disk performance indicator data.

2. The hard disk status monitoring method according to claim 1, characterized in that: Substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk includes: The hard disk status score is calculated based on the hard disk initial score, the usage time of the target hard disk and the performance offset parameter; The initial hard disk score is a status score of an unused hard disk.

3. The hard disk status monitoring method according to claim 2, characterized in that: The hard disk status score is calculated according to the hard disk initial score, the usage time of the target hard disk and the performance offset parameter, including: Calculate the usage decay score of the target hard disk according to the initial score of the hard disk and the usage time of the target hard disk; The hard disk status score is calculated according to the usage attenuation score of the target hard disk and the performance offset parameter.

4. The hard disk status monitoring method according to claim 2, characterized in that: The usage decay score of the target hard disk is calculated according to the initial score of the hard disk and the usage time of the target hard disk, including: The attenuation value of the target hard disk is calculated according to the initial score of the hard disk, the usage time of the target hard disk and the attenuation rate of the target hard disk; The usage decay score is obtained by subtracting the decay value of the target hard disk from the initial hard disk score.

5. The hard disk status monitoring method according to claim 4, characterized in that: The step of obtaining the attenuation rate of the target hard disk includes: The attenuation rate of the target hard disk is obtained by querying according to at least one query condition of the manufacturer information of the target hard disk and the hard disk model of the target hard disk.

6. The hard disk status monitoring method according to claim 3, characterized in that: The performance deviation parameter is a performance deviation rate; The hard disk status score is calculated according to the usage attenuation score of the target hard disk and the performance offset parameter, including: The hard disk status score is calculated according to the product of the usage decay score and the performance drift rate.

7. The hard disk status monitoring method according to claim 1, characterized in that: The performance offset parameter of the target hard disk is calculated according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data, including: Calculating a ratio of a difference between the performance benchmark value and the actual value to the performance benchmark value; The performance offset parameter is calculated by subtracting the ratio from 1.

8. The hard disk status monitoring method according to claim 1, characterized in that: Substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk includes: Calculating an abnormal status score of the target hard disk according to the status monitoring data and / or the hard disk log of the target hard disk; The hard disk status score is calculated according to the performance deviation parameter and the abnormal status score.

9. The hard disk status monitoring method according to claim 8, characterized in that: Calculating the abnormal status score of the target hard disk according to the status monitoring data includes: The abnormal state score is calculated based on the extent to which the value of each performance indicator in the state monitoring data exceeds the corresponding performance threshold range; The performance indicator includes the first performance indicator and the second performance indicator.

10. The hard disk status monitoring method according to claim 8, characterized in that: The abnormal status score of the target hard disk is calculated according to the hard disk log, including: Obtain the hard disk log generated by the system of the device; Extracting hard disk abnormal status data from the hard disk log; Determine a hard disk log score corresponding to the target hard disk according to the abnormal state parameter in the hard disk abnormal state data and the first corresponding relationship; The first corresponding relationship is a corresponding relationship between an abnormal state parameter and an abnormal state score.

11. The hard disk status monitoring method according to claim 1, characterized in that: The second performance indicator is hard disk throughput, and the first performance indicator includes at least one of hard disk cache size, hard disk response time, hard disk write data volume, hard disk read data volume, and hard disk remaining capacity.

12. The hard disk status monitoring method according to claim 1, characterized in that: The first functional relationship between the first performance indicator and the second performance indicator calculated according to the plurality of sets of hard disk performance indicator data includes: When the first functional relationship of the second performance indicator is obtained by weighted summing of the plurality of first performance indicators calculated according to the plurality of groups of the hard disk performance indicator data, the performance weight of each of the first performance indicators; The performance offset parameter of the target hard disk is calculated according to the performance benchmark value and the actual value of the second performance indicator in the status monitoring data, including: Calculating a ratio of a difference between the performance benchmark value and the actual value to the performance benchmark value; Calculate 1 minus the ratio to obtain the performance offset parameter; Substituting the performance offset parameter into the hard disk scoring function to calculate the hard disk status score of the target hard disk includes: The attenuation value of the target hard disk is calculated according to the initial hard disk score, the usage time of the target hard disk and the attenuation rate of the target hard disk; Subtract the attenuation value of the target hard disk from the initial hard disk score to obtain the usage attenuation score of the target hard disk; Subtract the abnormal status score of the target hard disk from the product of the usage decay score and the performance deviation rate to obtain the hard disk status score; The abnormal status score is calculated based on the status monitoring data and / or the hard disk log of the target hard disk.

13. A hard disk status monitoring device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program, and when the computer program is executed by the processor, the steps of the hard disk status monitoring method as claimed in any one of claims 1 to 12 are implemented.

14. A non-volatile storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the hard disk status monitoring method according to any one of claims 1 to 12 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the hard disk status monitoring method according to any one of claims 1 to 12 are implemented.

Citation Information

Patent Citations

  • Hard disk fault prediction method, device and equipment and computer readable storage medium

    CN111611117A

  • Hard disk warning state evaluation method and device for distributed storage

    CN112486787A

  • Method and device for predicting remaining life of SSD, terminal and storage medium

    CN113688564A

  • Hard disk fault diagnosis method and system, terminal and storage medium

    CN114550800A

  • Hard disk fault processing method and device, electronic equipment and medium

    CN116627788A

Cited By

  • Software evaluation and migration method, electronic equipment, storage medium and program product

    CN120523512A

  • Software evaluation and migration method, electronic device, storage medium, program product

    CN120523512B