Monitoring method, system and equipment for storage equipment and storage medium

Through multi-dimensional statistics and fusion processing of failure evaluation values ​​of functional units, the problem of unreasonable judgment of failure time points of functional units in storage devices is solved, and the performance and reliability of the equipment are improved.

CN118689733APending Publication Date: 2024-09-24BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410703179.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

In the existing technology, the failure time point of the functional unit of the storage device is unreasonably determined, resulting in limited device performance and reliability, and there is a lack of effective monitoring methods to prevent premature or late determination of failure.

Method used

The failure modes of functional units are counted through multiple failure analysis dimensions, the failure evaluation value is calculated, and fusion processing is performed to determine whether the functional unit has failed and ensure the rationality of the failure time point.

Benefits of technology

Improves the performance and reliability of storage devices and prevents performance degradation and reduced reliability caused by premature or late determination of failure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118689733A
    Figure CN118689733A
Patent Text Reader

Abstract

The invention relates to the technical field of storage, and discloses a monitoring method, system and device for a storage device and a storage medium, the storage device comprises a function unit, and the monitoring method comprises the following steps: respectively counting failure times corresponding to various failure modes of a storage unit according to a plurality of different failure analysis dimensions, based on different failure analysis dimensions, the statistical modes of failure times are different; according to the failure times corresponding to various failure modes under different failure analysis dimensions, failure evaluation values of the functional units are determined respectively; and performing fusion processing on the plurality of failure evaluation values, and based on a fusion processing result, judging whether the functional unit fails or not. Performance of the storage device can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of storage technology, and in particular to a monitoring method, system, device and storage medium for a storage device. Background Art

[0002] In the field of storage technology, many storage devices may include multiple functional units. In the event of failure of these functional units, operations such as data reading and writing for these functional units may fail. Therefore, it is necessary to monitor the health status of the functional units to prevent the failure of the functional units.

[0003] In many current technologies, the time point of failure of a functional unit is generally determined based on manual experience. The failure time point of the functional unit obtained by this method is unreasonable, resulting in the limitation of the device performance of the storage device.

[0004] Therefore, there is an urgent need for a method for improving the device performance of a storage device. Summary of the invention

[0005] In view of this, the embodiments of the present disclosure provide a monitoring method for a storage device, a monitoring system for a storage device, an electronic device, and a computer-readable storage medium, which can improve the device performance of the storage device.

[0006] In one aspect, the present disclosure provides a monitoring method for a storage device, wherein the storage device includes a functional unit; the method includes:

[0007] According to a plurality of different failure analysis dimensions, respectively counting the number of failures corresponding to various failure modes of the functional unit, wherein different methods for counting the number of failures are different based on different failure analysis dimensions;

[0008] Determine the failure assessment value of the functional unit according to the number of failures corresponding to the various failure modes under the different failure analysis dimensions;

[0009] A fusion process is performed on the plurality of failure evaluation values, and based on a result of the fusion process, it is determined whether the functional unit fails.

[0010] Another aspect of the present disclosure further provides a monitoring system for a storage device, wherein the storage device includes a functional unit; the system includes:

[0011] A statistical module, used for respectively counting the number of failures corresponding to various failure modes of the functional unit according to a plurality of different failure analysis dimensions, wherein different statistical methods are used for counting the number of failures based on different failure analysis dimensions;

[0012] A failure assessment module, used to determine the failure assessment value of the functional unit according to the number of failures corresponding to the various failure modes under different failure analysis dimensions;

[0013] The monitoring module is used to perform fusion processing on the multiple failure assessment values ​​and determine whether the functional unit fails based on the result of the fusion processing.

[0014] Another aspect of the present disclosure further provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0015] Another aspect of the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the method described above is implemented.

[0016] In the technical solutions of some embodiments of the present application, the number of failures is counted according to different combinations of failure analysis dimensions and failure modes, and then based on the number of failures, failure assessment values ​​corresponding to different combinations are obtained. Finally, multiple failure assessment values ​​are fused, and based on the result of the fusion processing, whether the functional unit fails is monitored. Since the failure assessment value is obtained based on multiple different failure analysis dimensions and failure modes, it can reflect the status of the functional unit from multiple angles. Therefore, after the multiple failure assessment values ​​are fused, the fusion processing result obtained can more accurately reflect whether the functional unit fails, and then the time point for determining the failure of the functional unit can be more reasonable, preventing the problem of storage device performance degradation caused by determining the failure of the functional unit too early or too late, thereby achieving the purpose of improving the performance of the storage device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The features and advantages of the present disclosure will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present disclosure in any way. In the accompanying drawings:

[0018] Figure 1 A schematic diagram of a storage device provided by an embodiment of the present application is shown;

[0019] Figure 2 A schematic diagram of a monitoring method according to an embodiment of the present application is shown;

[0020] Figure 3 A module schematic diagram of a monitoring system provided by an embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram of an electronic device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0023] See also Figure 1 , which is a schematic diagram of a storage device 100 provided in one embodiment of the present application. Figure 1 In the embodiment, the storage device 100 includes a plurality of functional units 11. The storage device 100 includes, but is not limited to, a solid state disk (SSD), a USB flash drive, a secure digital memory card (SD card), etc. The functional unit 11 may also be referred to as a die (silicon chip). One or more functional units 11 may be packaged as a Nand-flash memory. The storage device 100 may be obtained by soldering the Nand-flash memory, resistors, capacitors and other components together to a circuit board.

[0024] In the storage device 100, data read, write, erase and other operation commands can be executed respectively for each functional unit 11. Specifically, each functional unit 11 may include one or more block modules 111, and each block unit may include one or more page modules 1111. The block module 111 can be used as the minimum unit of the erase operation, and the page module 1111 can be used as the minimum unit of the read and write operation.

[0025] In the case that a certain functional unit 11 fails, the operation commands such as data read, write, and erase for the functional unit 11 may fail. Therefore, it is necessary to monitor the health status of each functional unit 11 to prevent the functional unit 11 from failing.

[0026] Normally, it is rare for a functional unit 11 to fail due to a sudden inaccessibility of a functional unit 11. Most functional units 11 are in a gradual deterioration process. In this case, if a functional unit 11 is determined to be in a failed state too early, the storage device 100 will lose a functional unit 11 too early, reducing the performance of the device; if a functional unit 11 is determined to be in a failed state too late, the storage device 100 will be affected by the problematic functional unit 11, resulting in reduced performance and reliability. Therefore, it is crucial to determine whether a functional unit 11 is in a failed state at a reasonable time point.

[0027] At present, some technologies use manual experience to determine whether a functional unit 11 is invalid. The invalidation time point of the functional unit 11 obtained by this method is unreasonable (too early or too late), which in turn affects the device performance and reliability of the storage device 100.

[0028] In view of this, the present application provides a monitoring method for storage devices, which can solve the above problems and further improve the device performance and reliability of the storage device. Specifically, the monitoring method can be applied to electronic devices. Electronic devices include but are not limited to tablet computers, laptops, desktop computers, servers, etc. In practical applications, based on the monitoring method of the present application, each functional unit in the storage device can be monitored separately to determine whether each functional unit has failed. In the subsequent description of the present application, one of the functional units of the storage device is taken as an example to explain the principle of the monitoring method. In conjunction with reference to Figure 2 , which is a flow chart of a monitoring method provided in one embodiment of the present application. Figure 2 In the present invention, the monitoring method comprises the following steps:

[0029] Step S21 , according to a plurality of different failure analysis dimensions, respectively counting the number of failures corresponding to various failure modes of the functional units, wherein the number of failures is counted in different ways based on different failure analysis dimensions.

[0030] Specifically, the failure mode refers to a state in which the functional unit is unable to meet the expected function. For example, when a read or write operation cannot be performed on the functional unit, the functional unit can be considered to be in a failure mode. In this embodiment, the failure modes include erase failure, write failure, read failure and operation timeout. Among them, operation timeout includes erase timeout, write timeout and read timeout.

[0031] It should be noted that in the solution of the present application, the failure modes can be flexibly divided according to the actual situation. For example, in some other embodiments, the erase timeout can be divided into erase failure, the write timeout can be divided into write failure, and the read timeout can be divided into read failure. In this case, the failure mode can include erase failure, write failure, and read failure, and there is no need to include operation timeout.

[0032] Furthermore, the number of failures corresponding to the failure mode can be simply understood as the number of failures of the functional units divided according to the failure mode. For example, in this embodiment, the number of failures corresponding to the failure mode can include the number of erase failures, the number of write failures, the number of read failures and the number of operation timeouts.

[0033] Furthermore, the failure analysis dimension may refer to an indicator used to determine whether a functional unit fails. Based on different failure analysis dimensions, the statistical methods for the number of failures are different. Specifically, in the present embodiment, the failure analysis dimension may include a frequency analysis dimension and a quantity analysis dimension. Among them, the frequency analysis dimension characterizes the failure frequencies corresponding to various failure modes of the functional unit, i.e., the erase failure frequency, the write failure frequency, the read failure frequency, and the operation timeout frequency). The quantity analysis dimension characterizes the number of failures corresponding to various failure modes of the functional unit within a specified time period (such as one day, one month, or half a year), i.e., the erase failure number, the write failure number, the read failure number, and the operation timeout number of the functional unit within the specified time period.

[0034] It is understandable that when counting the number of failures corresponding to various failure modes according to the frequency analysis dimension and the quantity analysis dimension respectively, the statistical method corresponding to the frequency analysis dimension should be different from the statistical method corresponding to the quantity analysis dimension. For example, when counting the number of failures corresponding to various failure modes according to the frequency analysis dimension, it may be necessary to count the number of failures corresponding to various failure modes within a unit time length. When counting the number of failures corresponding to various failure modes according to the quantity analysis dimension, it may be necessary to count the number of failures corresponding to various failure modes within half a year. Therefore, in step S21, the number of failures corresponding to various failure modes can be counted respectively according to multiple different failure analysis dimensions.

[0035] After executing step S21, the first number of failures corresponding to various failure modes counted according to the frequency analysis dimension can be obtained. The first number of failures can specifically include the first number of erase failures, the first number of write failures, the first number of read failures, and the first number of operation timeouts. And, the second number of failures corresponding to various failure modes counted according to the quantity analysis dimension can be obtained. The second number of failures can specifically include the second number of erase failures, the second number of write failures, the second number of read failures, and the second number of operation timeouts. Because the statistical methods for the number of failures are different, the first number of failures may be different from the second number of failures.

[0036] It should be noted that the failure analysis dimension can be determined according to the actual situation, and the above-mentioned frequency analysis dimension and quantity analysis dimension do not constitute a limitation to the present application. For example, in some embodiments, the failure analysis dimension may also include a trend analysis dimension. When determining whether a functional unit fails according to the trend analysis dimension, the target time period may be divided into multiple sub-time periods, and then the number of failures in each sub-time period corresponding to various failure modes is trend analyzed to determine whether the functional unit fails. For example, assuming that the target time period is from January to June 2024. The target time period may be divided into 6 sub-time periods, namely, January 2024, February 2024, ..., and June 2024. Based on the 6 sub-time periods, the first number of failures corresponding to various failure modes in January 2024, the second number of failures corresponding to various failure modes in February 2024, ..., and the sixth number of failures corresponding to various failure modes in June 2024 can be statistically obtained. Trend analysis of the first number of failures, the second number of failures, ..., and the sixth number of failures can also be performed to determine whether the functional unit fails.

[0037] Combination Figure 1 In this embodiment, considering that the block modules in the functional unit are relatively independent modules for erasing, reading and writing (i.e., each block module supports erasing, reading and writing operations respectively), therefore, the number of failures of each block module in the functional unit under various failure modes can be counted respectively in units of block modules, and then the number of failures corresponding to each block module is added together to obtain the number of failures of the functional unit.

[0038] Step S22, determining failure assessment values ​​of functional units respectively according to the number of failures corresponding to various failure modes under different failure analysis dimensions.

[0039] In this embodiment, the failure assessment value refers to an indicator value obtained based on the number of failures for evaluating whether a functional unit has failed. The size of the failure assessment value can be used to reflect the working state of the functional unit. The working state includes whether the functional unit has failed, and if the functional unit has not failed, how far it is from the failure state. Specifically, when the failure assessment value exceeds the failure threshold, it indicates that the functional unit has failed; when the failure assessment value does not exceed the failure threshold, the larger the failure assessment value, the closer the functional unit is to the failure state; the smaller the failure assessment value, the farther the functional unit is from the failure state.

[0040] In this embodiment, the failure evaluation value of the functional unit can be determined according to the number of failures corresponding to various failure modes under different failure analysis dimensions. The methods of failure evaluation values ​​corresponding to different failure analysis dimensions may be different. For example, in step S21, assuming that when the number of failures corresponding to various failure modes is counted according to the frequency analysis dimension, the number of failures corresponding to various failure modes within a unit time length is counted, then when the failure evaluation value of the functional unit is determined according to the number of failures corresponding to various failure modes under the frequency analysis dimension, the number of failures corresponding to various failure modes obtained by counting can be directly used as the failure evaluation value. When the failure evaluation value is determined according to the number of failures corresponding to various failure modes under the quantity analysis dimension, the number of failures corresponding to various failure modes can be respectively input into the evaluation model or the preset calculation formula to obtain the corresponding failure evaluation value.

[0041] After executing step S22, failure assessment values ​​corresponding to various failure modes under different failure analysis dimensions can be obtained. For example, in this embodiment, the following failure assessment values ​​can be obtained:

[0042] According to the number of failures under the frequency analysis dimension, the failure assessment value A is determined;

[0043] According to the number of write failures under the frequency analysis dimension, a failure assessment value B is determined;

[0044] According to the number of read failures under the frequency analysis dimension, a failure assessment value C is determined;

[0045] According to the number of operation timeouts under the frequency analysis dimension, a failure assessment value D is determined;

[0046] According to the number of failures under the quantitative analysis dimension, the failure assessment value E is determined;

[0047] According to the number of write failures under the quantitative analysis dimension, a failure assessment value F is determined;

[0048] According to the number of read failures under the quantitative analysis dimension, the failure assessment value G is determined;

[0049] According to the number of operation timeouts under the quantitative analysis dimension, the failure assessment value H is determined.

[0050] The above failure assessment values ​​reflect the failure status of the functional unit from different dimensions and different failure modes.

[0051] Step S23: fusing the multiple failure evaluation values ​​and judging whether the functional unit fails based on the result of the fusing process.

[0052] With reference to the above failure assessment values ​​A to H, it can be understood that since the multiple failure assessment values ​​obtained in step S22 reflect the failure status of the functional unit from different dimensions and different failure modes, that is, each failure assessment value can be used as a reference for judging whether the functional unit has failed. Therefore, the multiple failure assessment values ​​can be fused and based on the result of the fusion processing, it can be judged whether the functional unit has failed.

[0053] In this embodiment, a fusion processing formula may be preset, and a plurality of failure assessment values ​​may be substituted into the fusion processing formula to obtain a fusion processing result.

[0054] In some other embodiments, multiple failure assessment values ​​may be input into a trained fusion processing model, and the fusion processing model outputs a fusion processing result.

[0055] Furthermore, it is considered that the reference significance of the failure assessment values ​​corresponding to different dimensions and different failure modes may be different. For example, take the failure assessment value A obtained according to the number of failures under the frequency analysis dimension, and the failure assessment value H obtained according to the number of operation timeouts under the quantity analysis dimension as examples. The reference significance of the failure assessment value A may be greater than that of the failure assessment value H. In view of this, the size of this reference significance can be reflected by setting weights for each failure assessment value. Specifically, a failure assessment value with a large reference significance may have a larger weight, and a failure assessment value with a small reference significance may have a smaller weight. In this way, when a plurality of failure assessment values ​​are fused, the weights of each failure assessment value may be combined for calculation to make the fusion processing result more accurate and objective.

[0056] In summary, in the technical solutions of some embodiments of the present application, the number of failures is counted according to different combinations of failure analysis dimensions and failure modes, and then based on the number of failures, failure assessment values ​​corresponding to different combinations are obtained. Finally, multiple failure assessment values ​​are fused, and based on the result of the fusion processing, whether the functional unit fails is monitored. Since the failure assessment value is obtained based on multiple different failure analysis dimensions and failure modes, it can reflect the state of the functional unit from multiple angles. Therefore, after the fusion processing of multiple failure assessment values, the fusion processing result obtained can more accurately reflect whether the functional unit fails, and then the time point for determining the failure of the functional unit can be more reasonable, preventing the problem of storage device performance degradation caused by determining the failure of the functional unit too early or too late, thereby achieving the purpose of improving the performance of the storage device.

[0057] In addition, since the time point of the functional unit failure determined in the present application is relatively reasonable, the problem of reduced reliability of the storage device caused by determining the failure of the functional unit too late is prevented, thereby achieving the purpose of improving the reliability of the storage device.

[0058] The scheme of the present application is further described below.

[0059] In some embodiments, under the frequency analysis dimension, the number of failures corresponding to various failure modes can be counted within a specified time period. The specified time period can be a unit time period or not. Furthermore, the ratio of the number of failures obtained by counting to the specified time period can be used as the failure evaluation value of the functional unit. The ratio R1 of the number of failures to the specified time period can be as shown in expression (1):

[0060]

[0061] Specifically, the number of failures corresponding to various failure modes can be substituted into expression (1) to obtain the failure evaluation values ​​corresponding to various failure modes. The failure evaluation value in expression (1) means: the number of failures corresponding to various failure modes within a unit time, that is, the failure frequency corresponding to various failure modes. This method of determining the failure evaluation value under the frequency analysis dimension by specifying the time length makes the data collection process relatively simple.

[0062] In some other embodiments, under the frequency analysis dimension, for any target failure mode, the number of failures corresponding to the target failure mode is counted when a preset number of specified operations are performed on the functional unit. For example, N read, write, and erase operations are performed on the functional unit, and the number of failures corresponding to each failure mode is counted respectively. Then, the ratio of the number of failures obtained by counting to the preset number can be used as the failure evaluation value of the functional unit. Among them, the ratio R2 of the number of failures to the preset number can be shown as expression (2):

[0063]

[0064] Specifically, the number of failures corresponding to various failure modes can be substituted into expression (2) to obtain the failure evaluation values ​​corresponding to various failure modes. The failure evaluation value in expression (2) means: the number of failures corresponding to various failure modes when a preset number of specified operations are performed on the functional unit. In these embodiments, when the specified operations on the functional unit are relatively frequent, the required data can be collected in a shorter time, shortening the monitoring time; and when the specified operations on the functional unit are not frequent, the amount of data collected can be guaranteed, improving the accuracy of the failure evaluation value.

[0065] In some embodiments, under the dimension of quantitative analysis, the total number of failures corresponding to various failure modes in the life cycle of the functional unit can be counted, where the life cycle represents the total length of time after the functional unit is put into use. The total number of failures can more objectively reflect the state of the functional unit, and prevent the functional unit from being mistakenly determined as a failed state when, in some cases, the functional unit fails at a high frequency but is not actually failed.

[0066] Furthermore, in some embodiments, each total number of failures may have a corresponding number interval; the above-mentioned determination of the failure evaluation value of the functional unit may include:

[0067] For any target failure mode, determine the target number interval of the total number of failures corresponding to the target failure mode;

[0068] Determine the number conversion logic corresponding to the target number interval, wherein the number conversion logic represents the conversion logic when converting the total number of failures into a failure assessment value;

[0069] According to the number conversion logic corresponding to the target number interval, the total number of failures corresponding to the target failure mode is converted, and the conversion result is used as the failure assessment value of the functional unit.

[0070] Specifically, the frequency intervals may be divided for each failure mode, and the frequency intervals corresponding to different failure modes may be the same or different.

[0071] In this embodiment, the number intervals can be divided based on the correspondence between different total failure times and the state of the functional unit. For example, take write failure as an example. Assume that when the total number of write failures is between 0 and 30, the functional unit is far from the failure state; when the total number of write failures is between 30 and 70, the functional unit is close to the failure state; after the total number of write failures exceeds 70, the functional unit is in a failure state. Then, the number intervals divided for write failures can be as follows:

[0072] First number range: 0 to 30

[0073] Second frequency interval: 30~70

[0074] The third frequency interval: greater than 70

[0075] In this way, different number intervals can correspond to different states of the functional unit. For different number intervals, different number conversion logics can be set to convert the total number of failures in the corresponding number interval into a failure assessment value that reflects the state of the functional unit. For example, for the first number interval mentioned above, the corresponding number conversion logic can convert the total number of failures into a smaller failure assessment value A to indicate that the functional unit is far away from the failure state; for the second number interval mentioned above, the corresponding number conversion logic can convert the total number of failures into a failure assessment value B that is larger than the failure assessment value A to indicate that the functional unit is close to the failure state. And so on.

[0076] By setting the number intervals and setting the corresponding number conversion logic for different number intervals, the total number of failures can be converted into a failure evaluation value corresponding to the state of the functional unit, and the result is more accurate.

[0077] Specifically, the number conversion logic can be implemented through a conversion model or a calculation formula.

[0078] In this embodiment, the conversion of the total failure count of the second target operation according to the count conversion logic corresponding to the target count interval may include:

[0079] The total number of failures corresponding to the target failure mode is mapped to a target failure assessment value, and the target failure assessment value is used as the conversion result.

[0080] For example, the total number of failures in the first number interval (0 to 30) can be mapped to a failure assessment value of 0.5, the total number of failures in the second number interval (30 to 70) can be mapped to a failure assessment value of 0.8, and the total number of failures in the third number interval (greater than 70) can be mapped to a failure assessment value of 1.

[0081] In this way, after determining the target number interval of the total number of failures corresponding to each failure mode, the total number of failures corresponding to the target failure mode can be directly mapped to the corresponding target failure assessment value, and the conversion result solution is relatively simple to implement.

[0082] In some other embodiments, the total number of failures corresponding to various failure modes under the quantitative analysis dimension can be directly used as the failure assessment value. For example, assuming that the total number of failures corresponding to write failures under the quantitative analysis dimension is 30, then 30 can be used as the failure assessment value obtained based on the total number of failures corresponding to write failures under the quantitative analysis dimension.

[0083] In some embodiments, the above-mentioned fusion processing of multiple failure assessment values ​​may include:

[0084] Obtaining first weights of each failure analysis dimension, and obtaining second weights of different failure modes under each failure analysis dimension;

[0085] The plurality of failure assessment values ​​are fused according to the first weight and the second weight.

[0086] Specifically, assuming that the failure analysis dimension includes the frequency analysis dimension and the quantity analysis dimension, and the failure modes include erase failure, write failure, read failure, and operation timeout, the corresponding fusion processing formula can be shown as expression (3):

[0087] Tdh=b1*(a1*Fesf+a2*Fpsf+a3*Func+a4*Fto)+b2*

[0088] (c1*Qesf+c2*Qpsf+c3*Qunc+c4*Qto)(3)

[0089] Among them, b1 represents the first weight of the frequency analysis dimension, b2 represents the first weight of the quantity analysis dimension, Fesf, Fpsf, Func, and Fto represent the failure evaluation values ​​obtained according to the number of erase failures, write failures, read failures, and operation timeouts in the frequency analysis dimension, respectively; a1, a2, a3, and a4 represent the second weights corresponding to erase failures, write failures, read failures, and operation timeouts in the frequency analysis dimension, respectively; Qesf, Qpsf, Qunc, and Qto represent the failure evaluation values ​​obtained according to the number of erase failures, write failures, read failures, and operation timeouts in the quantity analysis dimension, respectively; c1, c2, c3, and c4 represent the second weights corresponding to erase failures, write failures, read failures, and operation timeouts in the quantity analysis dimension, respectively.

[0090] By setting weights for each failure analysis dimension and failure mode under each failure analysis dimension, the fusion calculation results can be made more accurate.

[0091] Corresponding to the monitoring method, the present application also provides a monitoring system based on a storage device. Figure 3 , is a module diagram of a monitoring system provided in one embodiment of the present application. Figure 3 The monitoring system includes:

[0092] A statistical module, used to count the number of failures corresponding to various failure modes of the storage unit according to a plurality of different failure analysis dimensions, wherein different statistical methods are used for the number of failures based on different failure analysis dimensions;

[0093] A failure assessment module is used to determine failure assessment values ​​of functional units according to the number of failures corresponding to various failure modes under different failure analysis dimensions;

[0094] The monitoring module is used to perform fusion processing on multiple failure evaluation values ​​and determine whether the functional unit fails based on the result of the fusion processing.

[0095] In some embodiments, the failure analysis dimension includes a frequency analysis dimension; the statistics module is specifically used for;

[0096] In the frequency analysis dimension, the number of failures corresponding to various failure modes is counted based on one of the following methods:

[0097] Within the specified time, count the number of failures corresponding to various failure modes;

[0098] For any target failure mode, the number of failures corresponding to the target failure mode when a preset number of specified operations are performed on the functional unit is counted.

[0099] In some embodiments, the failure assessment module is specifically configured to:

[0100] When a preset number of specified operations are performed on the functional unit to count the number of failures, a ratio of the counted number of failures to the preset number is used as a failure evaluation value of the functional unit;

[0101] When the number of failures corresponding to various failure modes is counted based on the specified time length, the ratio of the counted number of failures to the specified time length is used as the failure evaluation value of the functional unit.

[0102] In some embodiments, the failure analysis dimension includes a quantity analysis dimension; the statistics module is specifically used to:

[0103] The total number of failures corresponding to various failure modes in the life cycle of the functional unit is counted, where the life cycle represents the total length of time after the functional unit is put into use.

[0104] In some embodiments, each total number of failures has a corresponding number interval; the failure assessment module is specifically used to:

[0105] For any target failure mode, determine the target number interval of the total number of failures corresponding to the target failure mode;

[0106] Determine the number conversion logic corresponding to the target number interval, wherein the number conversion logic represents the conversion logic when converting the total number of failures into a failure assessment value;

[0107] According to the number conversion logic corresponding to the target number interval, the total number of failures corresponding to the target failure mode is converted, and the conversion result is used as the failure assessment value of the functional unit.

[0108] In some embodiments, the failure assessment module is specifically configured to:

[0109] The total number of failures corresponding to the target failure mode is mapped to a target failure assessment value, and the target failure assessment value is used as a conversion result.

[0110] In some embodiments, the monitoring module is specifically used to:

[0111] Obtaining first weights of each failure analysis dimension, and obtaining second weights of different failure modes under each failure analysis dimension;

[0112] The plurality of failure assessment values ​​are fused according to the first weight and the second weight.

[0113] See also Figure 4 , is a schematic diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a processor and a memory, the memory is used to store a computer program, and when the computer program is executed by the processor, the above method is implemented.

[0114] The processor may be a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or a combination of the above chips.

[0115] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor executes various functional applications and data processing of the processor by running the non-transitory software programs, instructions and modules stored in the memory, that is, implementing the method in the above method embodiment.

[0116] The memory may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the processor, etc. In addition, the memory may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0117] One embodiment of the present application further provides a computer-readable storage medium, which is used to store a computer program. When the computer program is executed by a processor, the above method is implemented.

[0118] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A monitoring method for a storage device, characterized in that: The storage device comprises a functional unit; the method comprises: According to a plurality of different failure analysis dimensions, respectively counting the number of failures corresponding to various failure modes of the functional unit, wherein different methods for counting the number of failures are different based on different failure analysis dimensions; Determine the failure assessment value of the functional unit according to the number of failures corresponding to the various failure modes under the different failure analysis dimensions; A fusion process is performed on the plurality of failure evaluation values, and based on a result of the fusion process, it is determined whether the functional unit fails.

2. The method according to claim 1, characterized in that The failure analysis dimension includes a frequency analysis dimension; In the frequency analysis dimension, the number of failures corresponding to various failure modes is counted based on one of the following methods: Within a specified time period, the number of failures corresponding to various failure modes is counted respectively; For any target failure mode, the number of failures corresponding to the target failure mode when a preset number of designated operations are performed on the functional unit is counted.

3. The method according to claim 2, characterized in that The determining of the failure assessment value of the functional unit includes: When a preset number of designated operations are performed on the functional unit to count the number of failures, a ratio of the counted number of failures to the preset number is used as the failure evaluation value of the functional unit; When counting the number of failures corresponding to the various failure modes based on the specified time length, a ratio of the counted number of failures to the specified time length is used as the failure evaluation value of the functional unit.

4. The method according to claim 1, characterized in that The failure analysis dimension includes a quantity analysis dimension; Under the quantitative analysis dimension, the number of failures corresponding to various failure modes is counted, including: The total number of failures corresponding to the various failure modes in the life cycle of the functional unit is counted, wherein the life cycle represents the total length of time after the functional unit is put into use.

5. The method according to claim 4, characterized in that Each of the total failure times has a corresponding number interval; The determining of the failure assessment value of the functional unit includes: For any target failure mode, determining a target number interval in which the total number of failures corresponding to the target failure mode falls; Determine a number conversion logic corresponding to the target number interval, wherein the number conversion logic represents a conversion logic when converting the total number of failures into a failure assessment value; According to the number conversion logic corresponding to the target number interval, the total number of failures corresponding to the target failure mode is converted, and the conversion result is used as the failure assessment value of the functional unit.

6. The method according to claim 5, characterized in that The converting of the total number of failures corresponding to the target failure mode according to the number conversion logic corresponding to the target number interval includes: The total number of failures corresponding to the target failure mode is mapped to a target failure assessment value, and the target failure assessment value is used as the conversion result.

7. The method according to claim 1, characterized in that The fusing process of the plurality of failure assessment values ​​comprises: Obtaining a first weight of each failure analysis dimension, and obtaining a second weight of different failure modes under each failure analysis dimension; A plurality of the failure assessment values ​​are fused according to the first weight and the second weight.

8. A monitoring system for a storage device, characterized in that: The storage device comprises a functional unit; the system comprises: A statistical module, used for respectively counting the number of failures corresponding to various failure modes of the functional unit according to a plurality of different failure analysis dimensions, wherein different statistical methods are used for counting the number of failures based on different failure analysis dimensions; A failure assessment module, used to determine the failure assessment value of the functional unit according to the number of failures corresponding to the various failure modes under different failure analysis dimensions; The monitoring module is used to perform fusion processing on the multiple failure assessment values ​​and determine whether the functional unit fails based on the result of the fusion processing.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is used to store a computer program, and when the computer program is executed by the processor, the method according to any one of claims 1 to 7 is implemented.