Fault detection method and device, electronic equipment and storage medium
By acquiring and processing the threshold voltage distribution data of non-volatile memory, extracting the characteristics of multiple control line types, and using the model to detect faults, the problem of inaccurate fault detection in the existing technology is solved, and the problem of multiple control lines in the memory is realized. Accurate fault analysis and bad line identification of various control line types improves detection efficiency and accuracy.
Patent Information
- Application Number
- CN202410619864.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-03
AI Technical Summary
The fault detection results of non-volatile memory in the prior art are not accurate enough. Only considering the detection of word lines results in limited information, and it is impossible to accurately identify specific bad lines in the memory.
By obtaining the threshold voltage distribution data of non-volatile memory, extracting data features of multiple control line types, performing data dimensionality reduction and missing value completion, and using type fault detection models and fusion models for fault prediction and detection, identification Bad line.
It improves the accuracy of fault detection, can more comprehensively cover various control line types in the memory, identify specific bad lines, and improves the efficiency and accuracy of memory testing.
Smart Images

Figure CN118588145A
Abstract
Description
Technical Field
[0001] The present disclosure relates to data storage technology, and more specifically, to a fault detection method and device, an electronic device, and a storage medium. Background Art
[0002] In non-volatile memory, faults are generally caused by read / write disturbances, wear during programming or erasing (P / E), etc. After the memory is manufactured, it is necessary to detect faults in the memory. However, currently, the fault detection methods in factory testing are very limited.
[0003] Specifically, in related fault detection schemes, usually only the word line (WL) in the control line is detected, and based on the detection result, the overall fault condition of the memory is determined. However, based on the detection of a specific type of control line, the fault information that can be obtained is limited, making the fault detection result inaccurate. Summary of the invention
[0004] The present disclosure provides a fault detection method and device, an electronic device and a storage medium, so as to at least solve the problem of inaccurate fault detection results in non-volatile memory in the above-mentioned related art.
[0005] According to a first aspect of an exemplary embodiment of the present disclosure, there is provided a fault detection method, comprising: acquiring threshold voltage distribution data corresponding to a non-volatile memory; acquiring data features of each of a plurality of control line types in the non-volatile memory based on the threshold voltage distribution data; estimating the possibility of the existence of a fault in the one or more of the plurality of control line types based on the data features of one or more of the plurality of control line types, and obtaining a type estimation result for the one or more of the plurality of control line types; and performing a fault detection operation on the non-volatile memory based on the type estimation result for each of the one or more of the plurality of control line types.
[0006] Optionally, data features of each of the multiple control line types are obtained in the following manner: for each of the multiple control lines of each of the multiple control line types, based on the threshold voltage distribution data, data dimension reduction processing is performed on the data in each of the multiple data dimensions.
[0007] Optionally, before performing data dimensionality reduction processing, the fault detection method also includes: for each control line of multiple control lines of each control line type in the multiple control line types, completing missing values of the threshold voltage distribution data to obtain completed distribution data, wherein the data dimension corresponding to each control line in the multiple control lines in the completed distribution data is the same, wherein the same data dimension means that the number of sampling points is the same.
[0008] Optionally, the missing value filling includes: filling in the missing values in the threshold voltage distribution data by interpolation; and / or, based on the first data dimension of the first control line of the first control line type among the multiple control line types being smaller than the maximum data dimension, filling in the threshold voltage distribution data of the first control line using a default value, so that the filled data dimension of the first control line is equal to the maximum data dimension, wherein the maximum data dimension is the maximum voltage range covered by all control lines under the first control line type.
[0009] Optionally, performing data dimensionality reduction processing includes: performing statistical operations on the data in each data dimension among the multiple data dimensions to obtain data statistical values of the data in each data dimension; and using the data statistical values of the data in each data dimension among the multiple data dimensions as the reduced dimension data of the corresponding data dimension after the data dimensionality reduction processing.
[0010] Optionally, based on data features of one or more control line types among the multiple control line types, the possibility of faults existing in the one or more control line types among the multiple control line types is estimated to obtain the type prediction result, including: inputting the data features of the one or more control line types among the multiple control line types into corresponding type fault detection models, performing fault prediction through the corresponding type fault detection models, and obtaining type prediction results that indicate that faults exist in the one or more control line types among the multiple control line types.
[0011] Optionally, the type fault detection model of the multiple control line types is trained in the following manner: obtaining historical threshold voltage distribution data of the multiple control line types and historical type prediction results indicating the possibility of faults existing in the multiple control line types; extracting sample data features of the multiple control line types from the historical threshold voltage distribution data; and training the type fault detection model of the multiple control line types using the sample data features and historical type prediction results of the multiple control line types, wherein the historical threshold voltage distribution data includes normal data without faults and fault data with faults.
[0012] Optionally, performing a fault detection operation includes: inputting a type estimation result of each control line type of the one or more control line types among the multiple control line types into a fusion model, performing fault detection through the fusion model, and obtaining a fault detection result of the non-volatile memory.
[0013] Optionally, the fusion model is trained in the following manner: obtaining historical type prediction results of each of the multiple control line types of the non-volatile memory and historical fault detection results of the non-volatile memory; and using the historical type prediction results and the historical fault detection results to train the fusion model.
[0014] Optionally, the fault detection method further includes: based on detecting that a fault exists in the non-volatile memory corresponding to a first control line type among the multiple control line types: performing an abnormality scoring on each of the multiple control lines of the first control line type to obtain an abnormality score for each of the multiple control lines; based on the existence of a score mutation point in the abnormal scores of all control lines among the multiple control lines, determining the first control line among the multiple control lines whose abnormal score is greater than the score mutation point as a bad line in the first control line type.
[0015] Optionally, performing an abnormality scoring on each of the multiple control lines includes: inputting threshold voltage distribution data of each of the multiple control lines into a scoring model, performing an abnormality scoring through the scoring model, and obtaining an abnormality score for each of the multiple control lines.
[0016] Optionally, the scoring model is trained in the following manner: acquiring historical normal threshold voltage distribution data of the non-volatile memory; and using the historical normal threshold voltage distribution data to train the scoring model in an unsupervised learning manner.
[0017] Optionally, the non-volatile memory is a NAND flash solid state drive, and the threshold voltage distribution data is NAND threshold voltage distribution data.
[0018] According to a second aspect of an exemplary embodiment of the present disclosure, there is provided a fault detection device, comprising: an acquisition unit, configured to acquire threshold voltage distribution data corresponding to a non-volatile memory; an extraction unit, configured to acquire data features of each of a plurality of control line types in the non-volatile memory based on the threshold voltage distribution data; an estimation unit, configured to estimate, based on the data features of one or more of the plurality of control line types, the possibility of the existence of a fault in the one or more of the plurality of control line types, and obtain a type estimation result for the one or more of the plurality of control line types; and a detection unit, configured to perform a fault detection operation on the non-volatile memory based on the type estimation result for each of the one or more of the plurality of control line types.
[0019] Optionally, the extraction unit is also configured to obtain data features of each of the multiple control line types in the following manner: for each of the multiple control lines of each of the multiple control line types, based on the threshold voltage distribution data, performing data dimensionality reduction processing on the data in each of the multiple data dimensions.
[0020] Optionally, the extraction unit is further configured to: before performing data dimensionality reduction processing, for each control line of multiple control lines of each control line type in the multiple control line types, complete missing values of the threshold voltage distribution data to obtain completed distribution data, wherein the data dimension corresponding to each control line in the multiple control lines in the completed distribution data is the same, wherein the same data dimension means that the number of sampling points is the same.
[0021] Optionally, the missing value filling includes: filling in the missing values in the threshold voltage distribution data by interpolation; and / or, based on the first data dimension of the first control line of the first control line type among the multiple control line types being smaller than the maximum data dimension, filling in the threshold voltage distribution data of the first control line using a default value, so that the filled data dimension of the first control line is equal to the maximum data dimension, wherein the maximum data dimension is the maximum voltage range covered by all control lines under the first control line type.
[0022] Optionally, the extraction unit is also configured to perform statistical operations on the data in each data dimension among the multiple data dimensions to obtain data statistical values of the data in each data dimension; and use the data statistical values of the data in each data dimension among the multiple data dimensions as the reduced dimension data of the corresponding data dimension after data dimensionality reduction processing.
[0023] Optionally, the estimation unit is further configured to: input data features of the one or more control line types among the multiple control line types into corresponding type fault detection models, perform fault estimation through the corresponding type fault detection models, and obtain type estimation results of the one or more control line types among the multiple control line types that have faults.
[0024] Optionally, the type fault detection model for multiple control line types is trained in the following manner: obtaining historical threshold voltage distribution data of the multiple control line types and historical type prediction results indicating the possibility of faults existing in the multiple control line types; extracting sample data features of the multiple control line types from the historical threshold voltage distribution data; and training the type fault detection model for the multiple control line types using the sample data features and historical type prediction results of the multiple control line types, wherein the historical threshold voltage distribution data includes normal data without faults and fault data with faults.
[0025] Optionally, the detection unit is further configured to: input a type prediction result of each control line type of the one or more control line types among the multiple control line types into a fusion model, perform fault detection through the fusion model, and obtain a fault detection result of the non-volatile memory.
[0026] Optionally, the fusion model is trained in the following manner: obtaining historical type prediction results of each of the multiple control line types of the non-volatile memory and historical fault detection results of the non-volatile memory; and using the historical type prediction results and the historical fault detection results to train the fusion model.
[0027] Optionally, the fault detection device further includes a bad line determination unit, which is configured to: based on detecting that the non-volatile memory corresponding to a first control line type among the multiple control line types has a fault: perform an abnormality score on each of the multiple control lines of the first control line type to obtain an abnormality score for each of the multiple control lines; based on the existence of a score mutation point in the abnormal scores of all control lines among the multiple control lines, determine the first control line among the multiple control lines whose abnormal score is greater than the score mutation point as a bad line in the first control line type.
[0028] Optionally, the bad line determination unit is further configured to: input threshold voltage distribution data of each of the multiple control lines into a scoring model, perform abnormality scoring through the scoring model, and obtain an abnormality score of each of the multiple control lines.
[0029] Optionally, the scoring model is trained in the following manner: acquiring historical normal threshold voltage distribution data of the non-volatile memory; and using the historical normal threshold voltage distribution data to train the scoring model in an unsupervised learning manner.
[0030] Optionally, the non-volatile memory is a NAND flash solid state drive, and the threshold voltage distribution data is NAND threshold voltage distribution data.
[0031] According to a third aspect of an exemplary embodiment of the present disclosure, a computer-readable storage medium storing a computer program is provided. When the computer program is executed by a processor, the fault detection method according to the exemplary embodiment of the present disclosure is implemented.
[0032] According to a fourth aspect of an exemplary embodiment of the present disclosure, an electronic device is provided, comprising: at least one processor; and at least one memory storing computer-executable instructions, wherein when the computer-executable instructions are executed by the at least one processor, the at least one processor is prompted to execute the fault detection method according to the exemplary embodiment of the present disclosure.
[0033] Utilizing the technical solution disclosed in the present invention, a fault detection method and device, an electronic device, and a storage medium are provided. By extracting data features of multiple control line types from threshold voltage distribution data, the possibility of a fault for each control line type is estimated, and a type estimation result is obtained. Then, based on the type estimation results of each control line type, a fault detection is performed on a non-volatile memory. In this way, a fault analysis can be performed on various types of control lines in the memory, and the overall fault condition of the memory can be comprehensively judged based on the fault analysis results of each type. Compared with the solution in the related art that only considers word lines, the fault detection result can be made more accurate.
[0034] Additional aspects and / or advantages of the present general inventive concept will be set forth in part in the following description and in part will be apparent from the description or may be learned through practice of the present general inventive concept. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] The above and other objects and features of the exemplary embodiments of the present disclosure will become more apparent through the following description in conjunction with the accompanying drawings which exemplarily illustrate the embodiments, in which:
[0036] Figure 1 is a schematic flowchart of a failure detection method of a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0037] Figure 2is a schematic flowchart of a method for performing data dimension reduction processing in a fault detection method of a non-volatile memory according to an exemplary embodiment of the present disclosure.
[0038] Figure 3 1 is a schematic diagram of threshold voltage distribution data in a data dimension reduction process in a fault detection method for a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0039] Figure 4 is a schematic diagram of threshold voltage distribution data in an interpolation and completion process in a failure detection method for a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0040] Figure 5 is a schematic diagram of threshold voltage distribution data of a dimension completion process in a failure detection method of a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0041] Figure 6 is a schematic flowchart of a method for training a type fault detection model in a fault detection method for a non-volatile memory according to an exemplary embodiment of the present disclosure.
[0042] Figure 7 is a schematic architectural diagram of implementing fault detection according to an exemplary embodiment of the present disclosure.
[0043] Figure 8 is a schematic flowchart of a method for training a fusion model in a fault detection method for a non-volatile memory according to an exemplary embodiment of the present disclosure.
[0044] Fig. 9 is a schematic flowchart of a method for identifying a bad line in a failure detection method of a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0045] Fig.10 is a schematic diagram of an abnormality scoring process in a fault detection method for a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0046] Fig.11 is a schematic diagram of a process of identifying a bad line in a failure detection method of a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0047] Fig.12 is a schematic architecture diagram of a method for implementing a fault detection method of a non-volatile memory according to an exemplary embodiment of the present disclosure.
[0048] Fig.13 is a schematic flowchart of an offline training model in a fault detection method for a non-volatile memory according to an exemplary embodiment of the present disclosure.
[0049] Fig.14 is a schematic flow chart of online detection in a fault detection method of a nonvolatile memory according to an exemplary embodiment of the present disclosure.
[0050] Fig.15 is a schematic block diagram of a failure detection apparatus for a nonvolatile memory according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0051] Various embodiments will be described in detail below with reference to the accompanying drawings.
[0052] The following specific embodiments are provided to help the reader obtain a comprehensive understanding of the methods, devices and / or systems described herein. However, after understanding the disclosure of the present application, various changes, modifications and equivalents of the methods, devices and / or systems described herein will be clear. For example, the order of operations described herein is only an example and is not limited to those orders set forth herein, but can be changed as will be clear after understanding the disclosure of the present application, except for operations that must occur in a specific order. In addition, for greater clarity and simplicity, the description of features known in the art may be omitted.
[0053] The features described herein can be implemented in different forms and should not be construed as being limited to the examples described herein. Rather, the examples described herein have been provided to illustrate only some of the many possible ways to implement the methods, devices, and / or systems described herein, which will be clear after understanding the disclosure of the present application.
[0054] The terms used herein are only used to describe various examples and are not intended to limit the disclosure. Unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. The terms "comprise", "include" and "have" indicate the presence of the described features, quantities, operations, components, elements and / or combinations thereof, but do not exclude the presence or addition of one or more other features, quantities, operations, components, elements and / or combinations thereof.
[0055] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by a person of ordinary skill in the art to which the present disclosure belongs after understanding the present disclosure. Unless explicitly defined as such herein, terms (such as those defined in a general dictionary) should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present disclosure, and should not be interpreted in an idealized or overly formal manner.
[0056] Unless otherwise defined, all terms used herein, including technical and scientific terms, have the same meaning as those commonly understood by those of ordinary skill in the art related to the present disclosure based on their understanding of the disclosure of the present application. Terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning consistent with their meaning in the context of the relevant technology and the disclosure of the present application, and should not be interpreted as an idealized or overly formal meaning unless explicitly defined herein. The term "may / can" is used herein for examples or embodiments (e.g., functions that examples or embodiments may include or implement), meaning that there is at least one example or embodiment that includes or implements the function, and all example embodiments are not limited thereto.
[0057] The embodiments of the present disclosure are exemplary embodiments, and therefore, the present disclosure is not limited thereto and may be implemented in various other forms. As is conventional in the art, the embodiments of the present invention may be described and illustrated using modules that perform the functions as shown in the accompanying drawings. These blocks may be referred to herein as units or modules, etc., and may also be referred to as devices, logic, circuits, counters, comparators, generators, converters, etc., and may be physically implemented by analog and / or digital circuits, including one or more of logic gates, integrated circuits, microprocessors, microcontrollers, storage circuits, passive electronic components, active electronic components, optical components, etc., and may also be implemented or driven by software and / or firmware (configured to perform the functions or operations described herein).
[0058] As mentioned above, in the related fault detection scheme, the fault detection result of the non-volatile memory is not accurate enough.
[0059] For example, in some fault detection schemes applied in solid state drives (SSDs), it is proposed to extend the service life of SSDs by protecting weak word lines (Weak WLs), wherein a weak WL detection module can be set up to detect weak WLs that are prone to failure. In this way, it is proposed to extend the service life of SSDs by protecting weak word lines (WLs). The weak WL detection module can maintain a list of weak WLs according to the bit error rate (BER) value of the WLs, so that when a number of weak WLs that are most prone to failure are requested, the required WLs can be quickly identified.
[0060] However, in these fault detection schemes, only one type of data is considered. For example, in actual factory testing, although various control lines may be related to memory failures, these related schemes only consider WL. The fault information that can be obtained based on this type of data line is limited, resulting in inaccurate test results. In addition, these related schemes are not automated and intelligent enough. A series of thresholds need to be set to identify weak WLs, and the setting of these thresholds depends on manual experience, which not only consumes manual resources, but also may lead to inaccurate threshold settings due to differences in experience, resulting in inaccurate test results. In addition, this scheme is unable to identify specific bad lines in the memory with a fault.
[0061] In other related schemes, a method for detecting and locating 3D NAND flash memory failures is proposed, wherein the voltage and current flowing through the string in the storage block can be collected, and for different types of fault detection, corresponding methods are used to detect faults in the storage block based on the collected voltage and current, and corrective measures are initiated to deal with specific faults.
[0062] However, in such a scheme, the recognition level is limited, and it can only detect block-level faults, but cannot directly identify specific bad lines. On the other hand, this scheme cannot directly detect faults based on the existing monitoring data in the current test process, and requires additional processing procedures, such as the need to recharge the SSD before performing fault detection, and the detection efficiency is low.
[0063] According to one or more aspects of the exemplary embodiments of the present disclosure, a method for detecting a failure of a nonvolatile memory is provided, which can solve the above-mentioned problems and other problems in related art failure detection technologies. Figure 1 is a schematic flow chart of a fault detection method for a nonvolatile memory according to an exemplary embodiment of the present disclosure. For example, the fault detection method may include Figure 1 However, the present disclosure is not limited thereto, and therefore, according to another embodiment, one or more other operations may be performed, one or more operations may be omitted, or one or more operations may be combined.
[0064] In operation S110, the method may include acquiring threshold voltage distribution data corresponding to the nonvolatile memory. For example, the threshold voltage distribution data may be used for the nonvolatile memory for which a fault detection operation is to be performed. For example, the threshold voltage distribution data may be used to detect a fault in the nonvolatile memory.
[0065] As an example, the non-volatile memory may be a NAND flash solid state drive (Solid State Drive, SSD), but the present disclosure is not limited thereto, and may also be other types of non-volatile memory.
[0066] In an example where the non-volatile memory is a NAND flash SSD, the threshold voltage distribution data may be NAND threshold voltage distribution (NAND Threshold Voltage Distribution, NAND Vth distribution) data.
[0067] The reliability of NAND flash SSDs may be directly affected by NAND failures, which can be caused by read / write interference, wear during the P / E process, etc. For example, these failures will be reflected at least to a certain extent in the changes in the NAND threshold voltage distribution, such as widening, overlapping, left shift, right shift, etc. NAND threshold voltage distribution data is often used to represent NAND characteristics. For example, in a NAND threshold voltage distribution diagram, the horizontal axis can be a voltage value, and the vertical axis can be the number of cells at a certain voltage value Vth. The form of the NAND threshold voltage distribution is generally similar to a normal distribution.
[0068] In operation S120, the method may include obtaining data features of one or more control line types in the non-volatile memory. Here, the control line type may refer to a control line type in the non-volatile memory. The data features of each of the one or more control line types may be obtained according to the threshold voltage distribution data. For example, the method may include extracting the data features of each of the one or more control line types from the threshold voltage distribution data.
[0069] According to an embodiment, a nonvolatile memory may include a plurality of control line types. For example, the control line types may include, but are not limited to, a word line (Word Line, WL); a dummy line (Dummy Line, DL); a ground select line (Ground Select Line, GSL); and a string select line (String Select Line, SSL). For example, WL may be connected to the memory cells in the respective rows, DL may be used to prevent interference between adjacent cells during programming or erasing operations, GSL may be connected to the ground select line transistors in the respective cell strings, and SSL may be connected to the string select transistors in the respective cell strings.
[0070] For example, the data feature may be able to reflect the threshold voltage distribution of each control line type.
[0071] According to an embodiment, the data features of each control line type may be obtained in the following manner: based on the threshold voltage distribution data of multiple control lines under the control line type, data dimension reduction processing is performed on the data under each data dimension.
[0072] For example, data dimensionality reduction processing may refer to an operation of reducing the amount of data in each data dimension so as to reduce the total amount of data.
[0073] For example, under each control line type, there may be a plurality of control lines, and each of the plurality of control lines may have corresponding threshold voltage distribution data.
[0074] According to an embodiment, Figure 2 A method for performing data dimension reduction processing on the data under each data dimension is shown. For example, according to an embodiment, in operation S210, the method may include performing statistics on the data under each data dimension to obtain the data statistical value under the data dimension. In operation S220, the method may include using the data statistical value under each data dimension as the data of the corresponding data dimension after the data dimension reduction processing. For example, the data under each data dimension may be the data statistical value under each data dimension after the data dimension reduction processing.
[0075] As described above, each control line type may have multiple control lines. In operation 210, the threshold voltage distribution data of these control lines may be counted according to the data dimension, thereby simplifying the data amount in each data dimension.
[0076] Here, the data statistics under each data dimension can reflect the data characteristics of each control line under the data dimension. As an example, the data statistics value can be the maximum value of the data under the data dimension. For example, for each data dimension, the maximum value of the data values of all control lines under a specific control line type can be selected as the data statistics value. However, the embodiments of the present disclosure are not limited thereto, and the data statistics value can also be, for example, an average value, a mean square error, etc.
[0077] Figure 3 A schematic diagram showing threshold voltage distribution data of a data dimension reduction process according to an exemplary embodiment of the present disclosure is shown.
[0078] Figure 3 The top curve graph 310 in the figure shows the threshold voltage distribution data of the four types of control lines WL, DL, GSL and SSL. For example, the threshold voltage distribution data can be the distribution data after missing value completion, which will be described in detail below. According to an embodiment, there can be multiple control lines under each control line type. For each control line type, data dimension reduction processing can be performed on each data dimension to obtain the final data characteristics of each control line type.
[0079] Take the maximum value of the data statistics as an example. Figure 3As shown in the four curve graphs (320, 330, 340 and 350) below, for each control line type, the maximum value of the data under each data dimension can be finally selected as the dimension reduction feature of each control line type, so as to obtain a distribution curve for each control line type. Here, when the data statistical value is the maximum value, taking the maximum value of the data in each data dimension can more clearly reflect the deviation from the normal data, so that the fault is more easily detected.
[0080] By comparison Figure 3 It can be seen from the top original graph 310 and the four curve graphs 320, 330, 340 and 350 after data dimension reduction processing that the original threshold voltage distribution data is 1090×115 two-dimensional data, where the length of each data dimension is 115 (that is, the threshold voltage distribution data of each control line includes 115 sampling points), and there are a total of 1090 threshold voltage distribution data under the four control line types (that is, there are a total of 1090 control lines). Through data dimension reduction processing, the dimension of the data can be reduced while retaining the physical meaning of the data distribution. The data features finally generated include four data features with a data dimension of 1×115 (that is, Figure 3 The four curve graphs 320, 330, 340 and 350 below correspond to four control line types respectively, and the data features can be used as inputs to the fault detection model for each control line type (described in detail below). Here, Figure 3 (and the following Figure 4 , Figure 5 , Fig.10 and Fig.11 ) is intended to show an example of the distribution relationship between the voltage Vth and the number of cells, and therefore, Figure 3 (and the following Figure 4 , Figure 5 , Fig.10 and Fig.11 ) does not give the specific unit of the horizontal axis voltage Vth and the specific value of the vertical axis unit number.
[0081] According to an embodiment, before performing the data dimension reduction process, the threshold voltage distribution data of each control line may be normalized, so as to perform the data dimension reduction process on the normalized data.
[0082] Through the above-mentioned data dimensionality reduction processing, the amount of data can be reduced and the operation speed of the detection algorithm can be improved. At the same time, the most valuable information in the threshold voltage distribution data can be retained, that is, the overall distribution of the threshold voltage can be retained to ensure the accuracy of subsequent fault detection.
[0083] In addition, in the threshold voltage distribution data, the data dimensions of different control lines under the same control line type may be different, that is, the number of sampling points of the voltage data may be different, but the sampling point intervals of the voltage data are the same. Therefore, before performing data dimensionality reduction processing on the data under each data dimension, in order to make the data dimensionality reduction processing more accurate, the threshold voltage distribution data of each control line under the same control line type can be aligned.
[0084] According to an embodiment, before performing data dimension reduction processing on the data under each data dimension, a missing value completion operation may be performed on the threshold voltage distribution data of each control line under the control line type, so that the data dimensions of the completed distribution data of each control line are the same. For example, the same data dimension means the same number of sampling points.
[0085] According to an embodiment, the data dimensions of each control line under the same control line type can be processed into the same dimension through missing value completion processing, so that the voltage values of the data points of each control line under the same control line type (for example, the horizontal axis in the threshold voltage distribution) can be aligned to facilitate subsequent processing.
[0086] According to an embodiment, the operation of completing missing value completion may include: completing the missing values in the threshold voltage distribution data by interpolation. According to an embodiment, the operation of missing value completion may include: completing the threshold voltage distribution data of the control line using a default value so that the completed data dimension of the control line is equal to the maximum data dimension. For example, in the case where the data dimension of the control line is less than the maximum data dimension, the operation of completing missing value completion may include completing the threshold voltage distribution data of the control line using a default value so that the completed data dimension of the control line is equal to the maximum data dimension. In the example, the maximum data dimension refers to the maximum voltage range covered by all control lines under the control line type of the control line.
[0087] For example, the missing data values in the threshold voltage distribution data may be calculated by interpolation, where the interpolation method may be, for example, the third order spline interpolation method, but is not limited thereto, and other interpolation methods such as polynomial interpolation method, linear interpolation method, etc. may also be used.
[0088] Figure 4 An example of the threshold voltage distribution of the WL control line is shown, where the data values at some data dimensions (or sampling points) are missing. In this case, in order to facilitate the subsequent data dimensionality reduction processing, the cubic spline interpolation method can be used to perform interpolation calculations to fill in the missing values, so that the data in the entire (or all) data dimensions is complete, that is, there is a value at each data dimension (or sampling point).
[0089] Alternatively or additionally, according to another embodiment, the data dimensions of different control lines may be different. In this case, the longest data dimension (i.e., the maximum voltage range) covered by each control line may be used as the base value and default values may be used to complete the missing values for each control line.
[0090] Here, the default value may be, for example, 0, but the present disclosure is not limited thereto, and may also be other values given according to actual needs.
[0091] Figure 5 FIG. 4 shows the threshold voltage distribution of a WL control line, where the maximum voltage range covered by all control lines under a specific control line type can be [-3,6], and Figure 4 The control line voltage range shown is [-3,5]. For example, the default value 0 can be used to fill the dimension [5,6].
[0092] For another example, the voltage range covered by control line A may be [-2, 6], while the voltage range covered by control line B may be [-3, 7]. To facilitate subsequent data dimensionality reduction processing, the data values of control line A in [-2, -3] and [6, 7] may be supplemented to make them the same as the voltage range of control line B.
[0093] Through the above method, the missing values in the threshold voltage distribution data can be completed, so that the data dimensions of each control line under the same control line type are aligned, which is conducive to improving the accuracy of subsequent data dimensionality reduction processing.
[0094] Although the embodiment describes that the missing value filling is performed on the data of each control line before the data dimension reduction process, the present disclosure is not limited thereto. For example, according to another embodiment, the missing value filling process is not necessary, and the missing value filling process can also be omitted when the threshold voltage distribution data of the control line is complete. According to the embodiment, the threshold voltage distribution data of each control line under the same control line type can also be aligned by deleting part of the data. For example, when the data value of a certain data dimension of a certain control line is missing, the data value of other control lines in the data dimension can be deleted.
[0095] Reference Figure 1 In operation S130, the method may include obtaining the possibility of the one or more control line types having a fault. For example, the possibility of each control line type having a fault may be estimated to obtain a type estimation result.
[0096] According to an embodiment, the possibility of a fault existing in each control line type may be estimated separately, for example, using a pre-trained type fault detection model.
[0097] For example, operation S130 may include: inputting data features of each control line type into a corresponding type fault detection model, performing fault prediction through the corresponding type fault detection model, and obtaining a type prediction result of each control line type having a fault.
[0098] As an example, the type fault detection model of each control line type can adopt a supervised machine learning algorithm, for example, the supervised machine learning algorithm can include but is not limited to the use of a random forest algorithm, which has high accuracy and good robustness. For different control line types, the model of the same algorithm can be used for estimation, or the model of different algorithms can be used for estimation.
[0099] According to an embodiment, during the training process of the model, each type of fault detection model can be trained separately and independently using the data of the control line of the corresponding control line type in the historical data. For example, the training process of the model can be performed periodically and independently using the data of the control line of the corresponding control line type in the historical data. The output of each type of fault detection model can be the probability of the corresponding control line type having a fault.
[0100] Figure 6 An example of a method for training a type fault detection model for each control line type according to an embodiment is shown. In operation S610, the method may include obtaining historical threshold voltage distribution data and historical type prediction results. For example, historical threshold voltage distribution data for each control line type and historical type prediction results indicating the possibility of a fault for each control line type may be obtained. For example, the historical threshold voltage distribution data includes normal data for which the fault detection result is that there is no fault and fault data for which the fault detection result is that there is a fault. That is, normal data refers to data for which there is no fault, and fault data refers to data for which there is a fault.
[0101] As an example, the fault detection method according to the exemplary embodiment of the present disclosure can be divided into two processes: online and offline. For example, in the online process (Online Workflow), the current type fault detection model can be used to participate in the fault detection of the memory, and the corresponding fault detection result can be obtained. The fault detection result can include normal data without faults and fault data with faults. The fault detection result and the corresponding threshold voltage distribution data can be applied to the offline process (Offline Workflow) to train the current type fault detection model and obtain a new type fault detection model for updating the current type fault detection model.
[0102] However, the exemplary embodiments of the present disclosure are not limited thereto. For example, according to another embodiment, the historical threshold voltage distribution data and the corresponding historical fault detection results may also be obtained by other means. For example, the historical threshold voltage distribution data and the corresponding historical fault detection results may also be data obtained by other detection processes.
[0103] In operation S620, the method may include acquiring sample data features according to the historical threshold voltage distribution data. For example, sample data features of each control line type may be extracted from the historical threshold voltage distribution data.
[0104] For example, the sample data features of each control line type can be extracted through the data dimension reduction process described above. The sample data features can reflect the threshold voltage distribution of the corresponding control line type in the historical threshold voltage distribution data.
[0105] In operation S630, the method may include training a fault detection model based on the sample data features and the historical type prediction results. For example, the sample data features and the historical type prediction results of each control line type may be used to train a fault detection model for each control line type.
[0106] Here, a supervised machine learning algorithm can be used to train the corresponding fault detection model using the sample data characteristics and historical type prediction results of each control line type.
[0107] As an example, the fault detection model for each control line type described here and the fusion model and scoring model to be described below can be trained in the same process, which will be described in detail below.
[0108] Here, by setting a type fault detection model for each control line type, it is possible to automatically evaluate the possibility of failure of each control line type, so as to evaluate the overall failure possibility of the memory in combination with the type prediction results of each type.
[0109] Although the above embodiment describes the use of a pre-trained type fault detection model to estimate each control line type, it is not limited to this. According to another embodiment, other methods can also be used for estimation. For example, fault prediction rules can be pre-set for each control line type to determine the type prediction result.
[0110] Return to reference Figure 1 In operation S140, the method may include performing fault detection on the nonvolatile memory based on the type estimation result of each control line type. For example, fault detection may be performed on the nonvolatile memory based on the type estimation result of each control line type.
[0111] According to the exemplary embodiments of the present disclosure, a fault analysis may be performed on each type of control line, thereby comprehensively determining the fault condition of the memory.
[0112] For example, operation S140 may include: inputting the type estimation result of each control line type into a fusion model, performing fault detection through the fusion model, and obtaining a fault detection result of the non-volatile memory.
[0113] Here, the fusion model can be used to fuse the type estimation results of each control line type, so as to analyze the overall fault of the memory according to the fault conditions of each control line type in the memory.
[0114] As an example, the fusion model can fuse the type prediction results of the type fault detection model by a single-layer stacking method to obtain a final fault detection result. The type prediction result of each type fault detection model can be used as an input of the fusion model. The output of the fusion model can be the probability of a memory failure.
[0115] Figure 7 The combination of the type fault detection model and the architecture of the fusion model according to the embodiment is shown, and the output of the fusion model can be expressed by the following formula:
[0116]
[0117] Among them, res represents the final output result of the fusion model, w i Represents the weight of the estimated result of the i-th type, s i represents the input i-th type estimation result, f represents the activation function, and n represents the total number of control line types. For example, n can be 4, including WL, GSL, SSL and DL, but not limited to this. As an example, the softmax function can be used as the activation function but is not limited to it.
[0118] The training process of the above fusion model can be similar to that of a single-layer neural network. For example, Figure 8 A method of training a fusion model according to an embodiment is shown.
[0119] In operation S810, the method may include acquiring historical type estimation results and historical fault detection results, for example, acquiring historical type estimation results of each control line type of the nonvolatile memory and historical fault detection results of the nonvolatile memory.
[0120] In operation S820, the method may include training a fusion model according to the historical type prediction results and the historical fault detection results. For example, the fusion model may be trained using the historical type prediction results and the historical fault detection results.
[0121] As an example, as described above, the fault detection method according to the exemplary embodiment of the present disclosure can be divided into two processes: online and offline. For example, a pre-trained type fault detection model can be used to estimate each control line type, and a corresponding type estimation result can be obtained as a historical type estimation result; the type estimation result can be input into the current fusion model, and a corresponding fault detection result can be obtained as a historical fault detection result; the historical type estimation result and the corresponding historical fault detection result can be applied to the offline process to train the current fusion model and obtain a new fusion model for updating the current fusion model.
[0122] Since the control lines of all control line types are important, in the above method, the fault detection models of various control line types can be detected separately, and then the final fault detection result can be obtained by fusing the model. In this way, the comprehensive influence of the control lines of all control line types on the final fault detection result can be considered to improve the detection accuracy. However, the present disclosure is not limited to this. Therefore, according to another embodiment, the final fault detection result can be obtained by detecting the fault detection models of various control line types in a combined manner.
[0123] Although the above describes the operation of fusing the type prediction results of each control line type using a pre-trained fusion model to obtain the fault detection result of the memory according to the embodiment, it is not limited thereto. For example, according to another embodiment, other methods may be used for fusion. For example, other methods may include but are not limited to weighting the type prediction results of each control line type according to a preset weight, superimposing the weighted type prediction results, and determining the fault detection result of the memory according to the superimposed result.
[0124] The above describes the process of determining the fault detection result of the memory in the fault detection method according to the exemplary embodiment of the present disclosure. On this basis, when a fault is detected in the non-volatile memory, the fault detection method according to the exemplary embodiment of the present disclosure can also identify bad lines in the non-volatile memory.
[0125] Fig. 9 A method is shown that is performed for each control line type based on detecting that a non-volatile memory has a fault.
[0126] In operation S910, the method may include performing anomaly scoring. For example, anomaly scoring may be performed on each control line to obtain an anomaly score for each control line.
[0127] In the anomaly scoring operation, the possibility of each control line being abnormal can be analyzed, and the anomaly score of each control line can represent the degree of abnormality of the control line. Here, the anomaly score can be, for example, the probability of the control line being abnormal, but it is not limited to this, and the anomaly score can also be expressed in other ways.
[0128] As an example, in operation S910, the threshold voltage distribution data of each control line may be input into a scoring model, and an abnormality score may be performed through the scoring model to obtain an abnormality score of each control line.
[0129] Here, the scoring model may be a pre-trained machine learning model, which may be, for example, but not limited to, an isolation forest model, an auto encoder (AE) model, etc. For different control line types, the same algorithm model may be used for scoring, or different algorithm models may be used for scoring. In addition, here, a corresponding scoring model may be trained for each control line type, or one scoring model may be trained for all control line types.
[0130] As an example, the scoring model is trained in the following manner: historical normal threshold voltage distribution data of the non-volatile memory is obtained; and the historical normal threshold voltage distribution data is used to train the scoring model using an unsupervised learning method.
[0131] For example, an unsupervised learning method can be used to train a scoring model using normal threshold voltage distribution data so that the scoring model can learn the data characteristics of a normal control line without faults. When the scoring model is used to perform abnormal scoring on a control line to be scored, the abnormal score of the control line can be determined based on the degree of deviation of the data characteristics of the control line from the data characteristics of the normal control line learned by the model.
[0132] As an example, as described above, the fault detection method according to the exemplary embodiment of the present disclosure can be divided into two processes: online and offline. In the offline process, normal data without faults in the historical threshold voltage distribution data, that is, normal samples, can be used to independently and periodically train the scoring model of each control line type.
[0133] Fig.10 The process of abnormal scoring is shown using the word line as an example. Fig.10 As shown in Figure 2, the isolation forest model can be used to perform anomaly scoring on each control line to obtain the anomaly score of each control line (e.g. Fig.10 as shown in the figure on the right).
[0134] According to an exemplary embodiment of the present disclosure, when a fault is detected in a memory, the degree of abnormality of each control line can be evaluated by performing abnormality scoring on the control lines, thereby facilitating identification of a bad line causing the memory fault.
[0135] In operation S920, the method may include determining a control line having an abnormality score greater than a score mutation point as a bad line in a control line type. For example, in response to the presence of a score mutation point in the abnormality scores of all control lines, determining a control line having an abnormality score greater than the score mutation point as a bad line in the control line type.
[0136] For example, by analyzing the anomaly scores of all control lines, it can be determined whether there is a score mutation point in the anomaly score. For example, the score mutation point may be, but is not limited to, a point that deviates the farthest from other anomaly scores, a point where the anomaly score rises rapidly, etc. For example, the score mutation point may be a point that is higher than a threshold, or a point where the anomaly score rises faster than a reference value.
[0137] As an example, the anomaly scores of all control lines may be sorted, and score mutation points may be determined in the sorted anomaly scores.
[0138] Here, the anomaly scores of all control lines can be sorted from small to large or from large to small, so that the overall distribution of anomaly scores can be observed. Based on such sorting, the last mutation point score in the anomaly score distribution can be found as the anomaly score threshold, and the control line corresponding to the anomaly score higher than the anomaly score threshold can be considered as a bad line.
[0139] According to an embodiment, as an example, an offline change point detection method such as a Cumulative Sum (CUSUM) method, a Bayesian method, etc. may be used to determine the score mutation point, but the present disclosure is not limited thereto. According to another embodiment, the score mutation point may also be determined by the slope change. For example, the score mutation point may also be an abnormal score whose slope with the previous abnormal score is greater than a preset slope threshold.
[0140] For example, by finding the score mutation point to determine the abnormal score threshold, all control lines with possible faults above the score mutation point can be screened out to avoid missed detection and improve the accuracy of bad line identification.
[0141] Fig.11 FIG. 1 is a flow chart showing a process of identifying a bad line in a fault detection method of a non-volatile memory according to an embodiment. Fig.11For example, in Sample 1, by sorting the anomaly scores, the score mutation point can be used as the threshold point of the anomaly score based on the existence of the score mutation point in the sorted anomaly scores, and all control lines with anomaly scores greater than the anomaly score threshold can be detected as bad lines. In Sample 2, by sorting the anomaly scores, it can be determined that there is no score mutation point in the sorted anomaly scores, so it can be considered that there are no bad lines in these control lines.
[0142] By using the bad line identification method, it is possible to locate the control line where the fault occurs based on the determination that the memory is faulty, so as to facilitate subsequent processing such as maintenance of the memory.
[0143] In addition, based on the fact that there is no score mutation point in the abnormal scores of all control lines, it is determined that there is no bad line in the control line type.
[0144] Fig.12 An example architecture for implementing a fault detection method for a non-volatile memory according to an embodiment of the present disclosure is shown.
[0145] like Fig.12 As shown, the architecture may include a feature extraction module 1210, a fault detection module 1220, and a bad line identification module 1230. According to an embodiment, the feature extraction module 1210, the fault detection module 1220, and the bad line identification module 1230 may be implemented as hardware components and / or software components, such as programs, software codes, or algorithms that can be executed on one or more processors.
[0146] The feature extraction module 1210 may include a missing value processing submodule 1211 and a line feature generation submodule 1212. The missing value processing submodule 1211 may fill in data of different dimensions of each control line type in the threshold voltage distribution data so that the data dimensions of each control line in each control line type are the same. The line feature generation submodule 1212 may extract corresponding features according to the control line type from the threshold voltage distribution data after the missing value processing, and generate the final data features of each control line type. For example, the line feature generation submodule 1212 may perform data dimensionality reduction processing, and extract corresponding features based on the data dimensionality reduction data.
[0147] The fault detection module 1220 may be used to perform fault detection on the memory. For example, the fault detection module 1220 may receive data features of each control line type generated by the feature extraction module 1210 as input, and may output an indication of whether a memory fault is detected. As an example, the fault detection module 1220 may include the type fault detection model 1221 and the fusion model 1222 described above, and the specific implementation method thereof has been described above, so it will not be repeated here.
[0148] The bad line identification module 1230 may be used to identify bad lines in each control line type in the threshold voltage distribution data. The bad line identification module 1230 may include an abnormality scoring submodule 1231 and a bad line detection submodule 1232. The abnormality scoring submodule 1231 may include the scoring model described above, and the bad line detection submodule 1232 may perform bad line identification on each control line based on the abnormality score output by the scoring model.
[0149] Fig.13 and Fig.14 Schematic flow charts of offline model training and online detection in a fault detection method for a non-volatile memory according to an exemplary embodiment of the present disclosure are respectively shown.
[0150] For example, as mentioned above, the overall process of the fault detection method according to the exemplary embodiment of the present disclosure may include an offline task processing process (Offline Workflow) and an online detection processing process (Online Workflow). The offline workflow is responsible for training and updating the model used in the fault detection method. The online workflow is responsible for using the model generated by the offline workflow to perform real-time fault detection and bad line identification during the test of the memory.
[0151] The offline task processing flow can be run periodically, using the historical threshold voltage distribution data of a recent period (for example, the last 3 months) as a data set to train and update the type fault detection model, fusion model and scoring model.
[0152] For example, Fig.13 As shown, in operation S1310, historical threshold voltage distribution data of a memory within a certain time range may be collected.
[0153] In operation S1320, the control lines in the historical threshold voltage distribution data may be divided according to control line types, and features may be extracted for each control line type.
[0154] In operation S1330 , a type fault detection model of each control line type may be trained separately using features of each control line type.
[0155] In operation S1340, a fusion model may be trained based on outputs of the respective types of fault detection models through a stacking method.
[0156] In operation S1350 , normal data without a failure among the historical threshold voltage distribution data may be selected.
[0157] In operation S1360, a scoring model may be trained for the control line of each control line type using the normal data as a data set. For example, a respective scoring model may be trained for the control line of each control line type using only the normal data.
[0158] In operation S1370, all corresponding old models may be updated with the trained new model.
[0159] In the online detection process, the threshold voltage distribution data of all non-volatile memories being tested can be collected in real time, and the fault detection and bad line identification of the non-volatile memory can be performed by the fault detection method proposed in the exemplary embodiment of the present disclosure.
[0160] For example, Fig.14 As shown, in operation S1410, threshold voltage distribution data of the nonvolatile memory being tested may be collected in real time.
[0161] In operation S1420 , features of each control line type in the threshold voltage distribution data may be extracted respectively.
[0162] In operation S1430 , a type estimation result may be obtained for each control line type according to the respective type fault detection model.
[0163] In operation S1440, each type of estimation result may be input into a fusion model to obtain a final fault detection result.
[0164] In operation S1450, the method may include determining whether a fault is detected in the memory. For example, if the fault detection result indicates that a fault is detected in the memory, the method proceeds to operation S1460; otherwise, the method returns to operation S1410. In operation S1460, an abnormal score for each control line may be calculated by a scoring model corresponding to each control line type.
[0165] In operation S1470 , the abnormal scores of the control lines in each control line type may be sorted from small to large, for example, by detecting score mutation points as threshold scores of bad lines through a mutation point detection algorithm.
[0166] In the example case where there is a threshold score for bad lines in step S1480, control lines with anomaly scores higher than the threshold score can be identified as bad lines in step S1490. In the example case where there is no threshold score for bad lines in operation S1480, there are no bad lines in the data of this control line type.
[0167] By using the fault detection method of the exemplary embodiment described above, the precision can be higher than 0.8, the recall rate can be higher than 0.6, and the F0.5 score can be higher than 0.8. In addition, by fusing the results of each type of fault detection model, the results are better than using only a single control line type, especially in terms of recall rate, which means that the method can detect more faults than using only a single control line type indicator.
[0168] In addition, in the related art, if a test case fails due to fault detection, the tester will check the threshold voltage distribution data to find the root cause. Since this task is highly dependent on manual experience, the test efficiency of the memory is greatly reduced. In this regard, by adopting the fault detection method of the above exemplary embodiment, faults can be automatically detected and bad lines can be identified, replacing manual work. The fault analysis time cost of a single test case is reduced from several days to several seconds, greatly improving the test efficiency of the memory.
[0169] According to the fault detection method of the exemplary embodiment of the present disclosure, faults during memory testing can be detected more accurately, and bad lines in threshold voltage distribution data can be identified, thereby improving the efficiency of memory testing and fault analysis.
[0170] For example, in response to the problem that related technologies consider fewer types of data and contain limited fault information in fault detection, the fault detection method according to the exemplary embodiment of the present disclosure can perform fault analysis on various control line types. Therefore, the method not only uses WL, but also takes into account all control line types in the threshold voltage distribution data, such as DL, GSL, SSL, etc., so that possible fault conditions can be covered more comprehensively.
[0171] In addition, when considering various control line types, the data dimension may be high, and the data dimensions of different models of memories are not necessarily the same. In this regard, the fault detection method according to the exemplary embodiment of the present disclosure can perform dimensionality reduction processing on the data, thereby reducing the data dimension while retaining the valuable physical meaning of the data, thereby reducing the time complexity of the solution and reducing resource consumption.
[0172] In addition, the fault detection method according to the exemplary embodiment of the present disclosure can automatically and intelligently detect memory faults and identify bad lines by introducing various models. In this method, no threshold parameters and domain knowledge experience need to be set, and the method directly outputs whether the memory is faulty and marks the specific bad lines. In addition, the fault detection method can also improve the accuracy of the fault detection result by fusing the type prediction results.
[0173] In addition, the fault detection method according to the exemplary embodiment of the present disclosure can output the fault detection result in real time when the test is completed without the need for additional processing procedures, thereby improving the overall test efficiency of the memory.
[0174] In addition, the fault detection method according to the exemplary embodiment of the present disclosure can detect faults and identify bad lines more comprehensively, quickly and accurately during memory testing by introducing a machine learning method, and can improve the accuracy of the detection results by updating and training each model.
[0175] According to another aspect of an exemplary embodiment of the present disclosure, a fault detection device 1500 of a nonvolatile memory is provided. According to an embodiment, the fault detection device 1500 may include a processor 1550, a memory 1560, and an input / output circuit 1570. However, the present disclosure is not limited thereto, and thus the fault detection device 1500 may include one or more other components. According to an embodiment, the memory 1560 may store one or more instruction sets, programs, or software units, which may be executed by the processor 1550 to perform various operations of the fault detection device 1500. For example, the memory 1560 includes an acquisition unit 1510, an extraction unit 1520, an estimation unit 1530, and a detection unit 1540. However, the present disclosure is not limited thereto, and thus, according to another embodiment, the acquisition unit 1510, the extraction unit 1520, the estimation unit 1530, and the detection unit 1540 may be implemented as hardware components, for example, in the processor 1550. According to an embodiment, the acquisition unit 1510, the extraction unit 1520, the estimation unit 1530 and the detection unit 1540 may be respectively referred to as an acquisition circuit, an extraction circuit, a estimation circuit and a detection circuit.
[0176] The acquisition unit 1510 may be configured to acquire threshold voltage distribution data of a nonvolatile memory on which a fault detection operation is to be performed. For example, the acquisition unit 1510 may be configured to acquire threshold voltage distribution data to detect a fault in the nonvolatile memory.
[0177] The extraction unit 1520 may be configured to extract data features of each of the plurality of control line types from the threshold voltage distribution data.
[0178] The estimation unit 1530 may be configured to estimate the possibility of a fault existing in each control line type based on the data features of each control line type, and obtain a type estimation result.
[0179] The detection unit 1540 may be configured to perform fault detection on the nonvolatile memory based on the type estimation result of each control line type.
[0180] As an example, the extraction unit is also configured to extract data features of each control line type in the following manner: based on threshold voltage distribution data of multiple control lines under this control line type, data dimension reduction processing is performed on the data under each data dimension to obtain data features of this control line type.
[0181] As an example, the extraction unit is also configured to: before performing data dimensionality reduction processing on the data under each data dimension, complete the missing values of the threshold voltage distribution data of each control line under the control line type, so that the data dimensions of the completed distribution data of each control line are the same, wherein the same data dimension means that the number of sampling points is the same.
[0182] As an example, the missing value completion includes: completing the missing values in the threshold voltage distribution data by interpolation; and / or, in response to the data dimension of the control line being smaller than the maximum data dimension, completing the threshold voltage distribution data of the control line using a default value so that the completed data dimension of the control line is equal to the maximum data dimension, wherein the maximum data dimension refers to the maximum voltage range covered by all control lines under the control line type of the control line.
[0183] As an example, the extraction unit is also configured to perform data dimensionality reduction processing on the data in each data dimension in the following manner: performing statistics on the data in each data dimension to obtain the data statistical value in the data dimension; and using the data statistical value in each data dimension as the data of the data dimension after data dimensionality reduction processing.
[0184] As an example, the estimation unit is further configured to: input the data features of each control line type into the corresponding type fault detection model, perform fault estimation through the corresponding type fault detection model, and obtain type estimation results of each control line type having faults.
[0185] As an example, a type fault detection model for each control line type is trained in the following manner: historical threshold voltage distribution data for each control line type and historical type prediction results indicating the possibility of a fault for each control line type are obtained, wherein the historical threshold voltage distribution data includes normal data for which the fault detection result is that no fault exists and fault data for which the fault detection result is that a fault exists; sample data features for each control line type are extracted from the historical threshold voltage distribution data; and a fault detection model for each control line type is trained using the sample data features and historical type prediction results for each control line type.
[0186] As an example, the detection unit is further configured to: input the type estimation result of each control line type into a fusion model, perform fault detection through the fusion model, and obtain a fault detection result of the non-volatile memory.
[0187] As an example, the fusion model is trained in the following manner: obtaining historical type prediction results of each control line type of the non-volatile memory and historical fault detection results of the non-volatile memory; and using the historical type prediction results and the historical fault detection results to train the fusion model.
[0188] As an example, the fault detection device also includes a bad line determination unit, which is configured to: in response to detecting that the non-volatile memory has a fault, for each control line type, perform the following operations: perform an abnormality score on each control line to obtain an abnormality score for each control line; in response to the presence of a score mutation point in the abnormal scores of all control lines, determine a control line whose abnormal score is greater than the score mutation point as a bad line in the control line type.
[0189] As an example, the bad line determination unit is further configured to: input the threshold voltage distribution data of each control line into a scoring model, perform abnormality scoring through the scoring model, and obtain an abnormality score of each control line.
[0190] As an example, the scoring model is trained in the following manner: acquiring historical normal threshold voltage distribution data of the non-volatile memory; and using the historical normal threshold voltage distribution data to train the scoring model in an unsupervised learning manner.
[0191] As an example, the non-volatile memory is a NAND flash solid state drive, and the threshold voltage distribution data is NAND threshold voltage distribution data.
[0192] Regarding the device in the above-mentioned embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0193] It should be understood that each unit / module in the storage method and storage device according to the exemplary embodiments of the present disclosure can be implemented as a hardware component and / or a software component. Those skilled in the art can implement each unit / module, for example, using a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), according to the processing performed by each defined unit / module.
[0194] According to another aspect of the exemplary embodiments of the present disclosure, a computer-readable storage medium storing a computer program is provided, wherein when the computer program is executed by a processor, the non-volatile memory failure detection method described in the present disclosure is implemented.
[0195] For example, the fault detection method of the non-volatile memory according to the exemplary embodiment of the present disclosure may be written as a computer program, a code segment, an instruction, or any combination thereof, and recorded, stored, or fixed in or on one or more non-transitory computer-readable storage media. The computer-readable storage medium is any data storage device that can store data read out by a computer system. Examples of computer-readable storage media include: read-only memory, random access memory, read-only optical disk, magnetic tape, floppy disk, optical data storage device, and carrier wave (such as data transmission through the Internet via a wired or wireless transmission path).
[0196] According to another aspect of the exemplary embodiments of the present disclosure, an electronic device is provided, wherein the electronic device includes: at least one processor; and at least one memory storing computer executable instructions, wherein the computer executable instructions, when executed by the at least one processor, prompt the at least one processor to execute the non-volatile memory fault detection method described in the present disclosure.
[0197] For example, the electronic device can be broadly a tablet computer, a smart phone, a smart watch, or any other electronic device with the necessary computing and / or processing capabilities. In one embodiment, the electronic device may include a processor, a memory, a network interface, a communication interface, etc. connected via a system bus. The processor of the electronic device can be used to provide the necessary computing, processing and / or control capabilities. The memory of the electronic device may include a non-volatile storage medium and an internal memory. An operating system, a computer program, etc. may be stored in or on the non-volatile storage medium. The internal memory may provide an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface and the communication interface of the electronic device can be used to connect and communicate with external devices via a network.
Claims
1. A fault detection method, It is characterized in that include: Acquiring threshold voltage distribution data corresponding to the non-volatile memory; acquiring data characteristics of each control line type among a plurality of control line types in a nonvolatile memory based on the threshold voltage distribution data; Based on data features of one or more control line types among the multiple control line types, estimate the possibility of the one or more control line types among the multiple control line types having a fault, and obtain a type estimation result for the one or more control line types among the multiple control line types; A fault detection operation is performed on the nonvolatile memory based on a type estimation result of each of the one or more control line types among the plurality of control line types.
2. The fault detection method according to claim 1, It is characterized in that The data characteristics of each control line type in the multiple control line types are obtained in the following manner: For each control line of the multiple control lines of each control line type in the multiple control line types, data dimension reduction processing is performed on data in each data dimension in multiple data dimensions based on the threshold voltage distribution data.
3. The fault detection method according to claim 2, It is characterized in that Before performing data dimensionality reduction processing, the fault detection method further includes: For each control line of the multiple control lines of each control line type in the multiple control line types, the threshold voltage distribution data is filled with missing values to obtain filled distribution data, The data dimension in the completed distributed data is the same as that corresponding to each control line in the plurality of control lines. The same data dimension means the same number of sampling points.
4. The fault detection method according to claim 3, It is characterized in that The missing value completion includes: Completing missing values in the threshold voltage distribution data by interpolation; and / or, Based on the fact that a first data dimension of a first control line of a first control line type among the multiple control line types is smaller than a maximum data dimension, using a default value, the threshold voltage distribution data of the first control line is supplemented so that the supplemented data dimension of the first control line is equal to the maximum data dimension, The maximum data dimension is the maximum voltage range covered by all control lines of the first control line type.
5. The fault detection method according to claim 2, It is characterized in that Data dimensionality reduction processing includes: Performing statistical operations on the data in each data dimension of the multiple data dimensions to obtain a data statistical value of the data in each data dimension; The data statistics of the data in each data dimension of the multiple data dimensions are used as the dimension reduction data of the corresponding data dimension after the data dimension reduction processing.
6. The fault detection method according to claim 1, It is characterized in that Based on data features of one or more control line types among the multiple control line types, estimating the possibility that the one or more control line types among the multiple control line types have a fault, and obtaining the type estimation result, includes: The data features of the one or more control line types among the multiple control line types are respectively input into the corresponding type fault detection models, and fault prediction is performed through the corresponding type fault detection models to obtain type prediction results of the one or more control line types among the multiple control line types.
7. The fault detection method according to claim 6, It is characterized in that The type fault detection models of the various control line types are trained in the following manner: Acquire historical threshold voltage distribution data of the multiple control line types and historical type estimation results indicating the possibility of failure of the multiple control line types; extracting sample data features of the multiple control line types from the historical threshold voltage distribution data; Using the sample data features and historical type prediction results of the multiple control line types, training the type fault detection models of the multiple control line types is performed. The historical threshold voltage distribution data includes normal data without faults and fault data with faults.
8. A fault detection device, It is characterized in that include: An acquisition unit configured to acquire threshold voltage distribution data corresponding to the non-volatile memory; an extraction unit configured to obtain data features of each control line type among a plurality of control line types in the non-volatile memory based on the threshold voltage distribution data; an estimating unit, configured to estimate the possibility of the one or more control line types among the multiple control line types having a fault based on data features of the one or more control line types among the multiple control line types, and obtain a type estimation result for the one or more control line types among the multiple control line types; The detection unit is configured to perform a fault detection operation on the non-volatile memory based on a type estimation result of each of the one or more control line types among the plurality of control line types.
9. A computer-readable storage medium storing a computer program, It is characterized in that When the computer program is executed by a processor, the fault detection method according to any one of claims 1 to 7 is implemented.
10. An electronic device, It is characterized in that include: at least one processor; at least one memory storing computer executable instructions, Wherein, when the computer executable instructions are executed by the at least one processor, the at least one processor is prompted to perform the fault detection method according to any one of claims 1 to 7.
Citation Information
Cited By
Solid state disk fault detection method and device, computer equipment and storage medium
CN119621412A
Method, system and device for detecting newly added bad block of SSD (Solid State Disk)
CN121075404A
