[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111459706B - A kind of NAND flash memory error rate prediction method and system - Google Patents

A kind of NAND flash memory error rate prediction method and system Download PDF

Info

Publication number
CN111459706B
CN111459706B CN202010046777.7A CN202010046777A CN111459706B CN 111459706 B CN111459706 B CN 111459706B CN 202010046777 A CN202010046777 A CN 202010046777A CN 111459706 B CN111459706 B CN 111459706B
Authority
CN
China
Prior art keywords
error rate
flash memory
interference
nand flash
original bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010046777.7A
Other languages
Chinese (zh)
Other versions
CN111459706A (en
Inventor
吴非
刘伟华
朱奥
刘嘉宏
谢长生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN202010046777.7A priority Critical patent/CN111459706B/en
Publication of CN111459706A publication Critical patent/CN111459706A/en
Application granted granted Critical
Publication of CN111459706B publication Critical patent/CN111459706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1048Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本发明公开了一种NAND闪存错误率预测方法及系统,属于计算机存储领域,包括:从NAND闪存的历史数据中获取M个前期干扰特征,及各前期干扰特征所对应的原始比特错误率,将前期干扰特征及其对应的原始比特错误率作为一条预测样本,从而得到M条预测样本;将预测样本输入已训练好的错误率预测模型中,预测N个后期干扰特征所对应的原始比特误码率;其中,干扰特征为影响NAND闪存原始比特错误率的特征或特征组合;错误率预测模型为多输入多输出模型,用于根据前期的干扰特征及对应的原始比特误码率预测后期干扰特征所对应的原始比特误码率。本发明能够预测NAND闪存的错误率,并预测出NAND闪存错误率的变化趋势,为数据存储安全提供量化的、可靠的判断依据。

Figure 202010046777

The invention discloses a method and system for predicting an error rate of a NAND flash memory, belonging to the field of computer storage. The early interference features and their corresponding original bit error rates are used as a prediction sample to obtain M prediction samples; the prediction samples are input into the trained error rate prediction model, and the original bit errors corresponding to the N later interference features are predicted Among them, the interference feature is the feature or feature combination that affects the original bit error rate of NAND flash memory; the error rate prediction model is a multi-input and multi-output model, which is used to predict the later interference features based on the early interference features and the corresponding original bit error rate. The corresponding original bit error rate. The invention can predict the error rate of the NAND flash memory, and predict the change trend of the error rate of the NAND flash memory, so as to provide a quantitative and reliable judgment basis for data storage security.

Figure 202010046777

Description

NAND flash memory error rate prediction method and system
Technical Field
The invention belongs to the field of computer storage, and particularly relates to a method and a system for predicting error rate of a NAND flash memory.
Background
In recent years, NAND flash memory has become a mainstream storage medium due to its characteristics of high speed, high storage density, good shock resistance, and the like, and is widely used in many systems such as embedded systems, personal computers, and high-performance servers. But as feature technology size decreases, multilevel storage grows, and the number of layers in a three-dimensional stack increases, various disturbs pose significant challenges to NAND flash reliability.
In the use process of the NAND flash memory, the oxide layer is abraded by programming/Erase (P/E) operation; as wear increases, read errors occur when the written data is read. And a read error may also occur when the written data is left for a period of time to be read. The Raw Bit Error Rate (RBER) indicates the ratio of Error bits to the total number of bits of the read data without decoding. When the original bit error rate is low, the erroneous data can be corrected by the error correction code. However, as the oxide layer wears and time passes, the amount of charge stored in the memory cell also changes significantly, resulting in higher RBER and read failure. The value of data is immeasurable for enterprises or consumers, and is even higher than that of a storage medium of the NAND flash memory, and if the time when a bad block appears in the NAND flash memory can be predicted, the data stored in the NAND flash memory can be transferred to a new NAND flash memory before the bad block appears in the NAND flash memory, so that the data loss is avoided.
Currently, most research is focused on life prediction of a flash memory in order to ensure the safety of data stored in a NAND flash memory. The traditional method for predicting the service life of the NAND flash memory can only roughly classify good blocks and bad blocks, and is not beneficial to taking corresponding measures in time when the NAND flash memory is about to have the bad blocks. In the patent application "a method for predicting the life of a flash memory implemented in an SSD" (application number: 201811514746.9), a method for predicting the life prediction value of a flash memory chip is disclosed. The flash life predicted by the method refers to the number of programming/erasing cycles that can be executed before the flash product fails or reaches the upper limit of an error correction code; specifically, one or more of the flash memory characteristic quantities are operated to obtain operation processing values, the flash memory characteristic quantities and the operation processing values form a set, a subset in the set is taken as the input of a prediction model, and the method only uses a gene programming algorithm to execute prediction model training. In general, the method cannot guarantee the accuracy of the flash life prediction and provide reliable analysis basis for the safety of the data stored in the NAND flash because of the dependence on specific characteristic quantities and specific execution algorithms.
Disclosure of Invention
Aiming at the defects and improvement requirements of the prior art, the invention provides a method and a system for predicting the error rate of a NAND flash memory, and aims to realize the prediction of the original bit error rate in the NAND flash memory and guarantee the data storage safety.
To achieve the above object, according to a first aspect of the present invention, there is provided a NAND flash memory error rate prediction method, including:
acquiring M interference characteristics from historical data of the NAND flash memory as early-stage interference characteristics, acquiring original bit error rates corresponding to the early-stage interference characteristics at the same time, and taking the early-stage interference characteristics and the original bit error rates corresponding to the early-stage interference characteristics as a prediction sample so as to obtain M prediction samples;
inputting the obtained M prediction samples into a trained error rate prediction model, and predicting an original bit error rate corresponding to each later-stage interference feature in N later-stage interference features;
the interference characteristics are characteristics or characteristic combinations which affect the original bit error rate of the NAND flash memory; the error rate prediction model is a multi-input multi-output model and is used for predicting an original bit error rate corresponding to the later-stage interference characteristic according to the earlier-stage interference characteristic and the corresponding original bit error rate; the late interference signature is later in time sequence than the early interference signature; m and N are both positive integers.
The method and the device have a certain rule between the RBER under the early interference characteristic and the RBER under the later interference characteristic of the NAND flash memory, and predict the original bit error rate corresponding to the later interference characteristic according to the early interference characteristic and the corresponding original bit error rate, thereby not only realizing the error rate prediction of the NAND flash memory and providing quantitative and reliable judgment basis for data storage safety, but also predicting the change trend of the error rate of the NAND flash memory and being beneficial to accurately determining the time for data migration.
Further, the disturb characteristics include one or more of program/erase cycles, data retention time, program disturb, read disturb, and inter-layer disturb.
A certain rule exists between the multidimensional interference characteristic and the RBER, for example, Data Retention Time (DR) and programming/erasing periods (P/E cycles), the RBER oscillates and rises predictably along with the increase of the DR and the P/E cycles, but the increasing curves among the P/E cycles, the DR and the RBER are not completely smooth monotone increasing curves and have certain fluctuation, smoothness and even descending change; the method can predict the error rate of the NAND flash memory aiming at the multi-dimensional characteristic interference, can apply the characteristics of the NAND flash memory, and can ensure the prediction accuracy to the maximum extent.
Further, the method for training the error rate prediction model comprises the following steps:
(S1) acquiring M + N interference characteristics and original bit error rates corresponding to the interference characteristics from historical data of the NAND flash memory, dividing the acquired interference characteristics into M interference characteristics in the early stage and N interference characteristics in the later stage, forming training data by the interference characteristics in the early stage and the original bit error rates corresponding to the interference characteristics in the early stage, and forming label data by the interference characteristics in the later stage and the original bit error rates corresponding to the interference characteristics in the later stage, thereby obtaining a training sample consisting of the training data and the label data;
(S2) repeating the step (S1) until T training samples are acquired;
(S3) establishing an error rate prediction model based on the multi-input multi-output model, and then training the error rate prediction model by using all the obtained training samples, so as to obtain a trained error rate prediction model after training is finished;
wherein T is a positive integer.
Further, the interference characteristic and the original bit error rate are obtained in units of blocks.
Further, the interference characteristic and the original bit error rate are obtained in units of pages.
The reliability difference between flash memory blocks is large, and correspondingly, the RBER difference between the blocks is large, so that the error rate estimation cannot be carried out by using a uniform method or parameters; similarly, the reliability and RBER difference between the flash memory pages are large, and the error rate estimation cannot be carried out by using a uniform method or parameters, so that the data are obtained by taking the pages as units, model training and error rate prediction are carried out, and the original bit error rate of each flash memory page can be accurately predicted; with the continuous increase of the page capacity of the flash memory, the method for predicting the page-level error rate has important practical significance.
Further, the error rate prediction model is an artificial neural network model or a recurrent neural network model; an error rate prediction model is established based on an artificial neural network model or a recurrent neural network model, and higher prediction precision can be obtained.
Further, the method for predicting the error rate of the NAND flash memory according to the first aspect of the present invention further includes: if the data acquisition fails when the interference characteristics and the corresponding original bit error rate are acquired from the historical data of the NAND flash memory, missing data is supplemented in a data supplementing mode so as to ensure that the required data can be acquired successfully.
The method and the device utilize a data complementing mode to complement the missing data, can ensure that enough input data can be obtained at any one prediction point, and realize the prediction of the error rate of the NAND flash memory; and enough training samples can be obtained in the model training process, so that the training effect of the model is ensured.
According to a second aspect of the present invention, there is also provided a NAND flash memory error rate prediction system, including: a prediction sample acquisition module and a prediction module;
the prediction sample acquisition module is used for acquiring M interference characteristics from historical data of the NAND flash memory as early-stage interference characteristics, acquiring original bit error rates corresponding to the early-stage interference characteristics at the same time, and taking the early-stage interference characteristics and the original bit error rates corresponding to the early-stage interference characteristics as a prediction sample so as to obtain M prediction samples;
the prediction module is used for inputting the M prediction samples acquired by the prediction sample acquisition module into a trained error rate prediction model and predicting the original bit error rate corresponding to each later-stage interference feature in the N later-stage interference features;
the interference characteristics are characteristics or characteristic combinations which affect the original bit error rate of the NAND flash memory; the error rate prediction model is a multi-input multi-output model and is used for predicting an original bit error rate corresponding to the later-stage interference characteristic according to the earlier-stage interference characteristic and the corresponding original bit error rate; the absolute values of the later-stage interference characteristics are all larger than the absolute values of the earlier-stage interference characteristics; m and N are both positive integers.
Generally, by the above technical solution conceived by the present invention, the following beneficial effects can be obtained:
(1) the method and the device predict the original bit error rate corresponding to the later-period interference characteristic according to the earlier-period interference characteristic and the corresponding original bit error rate, not only realize the error rate prediction of the NAND flash memory and can provide quantitative and reliable judgment basis for data storage safety, but also can predict the change trend of the error rate of the NAND flash memory and are beneficial to accurately determining the time for data migration.
(2) The method realizes the prediction of the error rate of the NAND flash memory, only needs to collect the characteristics influencing the error rate of the NAND flash memory and the original bit error rate, and does not depend on the structural characteristics of the NAND flash memory, so the method can be suitable for the NAND flash memories with various types and various process sizes.
(3) The method can realize the error rate prediction of both the block level and the page level, and has important practical significance.
(4) In the preferred embodiment of the invention, the error rate prediction model is established based on the artificial neural network model or the recurrent neural network model, so that higher prediction precision can be obtained.
Drawings
FIG. 1 is a flowchart of a method for predicting an error rate of a NAND flash memory according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an error rate prediction model according to an embodiment of the present invention;
fig. 3 is a flowchart of an error rate prediction model training method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. In addition, the technical features involved in the embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In the present application, the terms "first," "second," and the like (if any) in the description and the drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
In order to realize the prediction of the original bit error rate in the NAND flash memory and guarantee the data storage safety, the NAND flash memory error rate prediction method provided by the invention, as shown in fig. 1, comprises the following steps:
acquiring M interference characteristics from historical data of the NAND flash memory as early-stage interference characteristics, acquiring original bit error rates corresponding to the early-stage interference characteristics at the same time, and taking the early-stage interference characteristics and the original bit error rates corresponding to the early-stage interference characteristics as a prediction sample so as to obtain M prediction samples;
inputting the obtained M prediction samples into a trained error rate prediction model, and predicting an original bit error rate corresponding to each later-stage interference feature in N later-stage interference features;
the interference characteristics are characteristics or characteristic combinations which affect the original bit error rate of the NAND flash memory; the error rate prediction model is a multiple-input multiple-output model, as shown in fig. 2, and is configured to predict an original bit error rate corresponding to the later-stage interference characteristic according to the earlier-stage interference characteristic and the corresponding original bit error rate; the late interference signature is later in time sequence than the early interference signature; m and N are positive integers; in specific application, specific values of M and N, namely the number of early-stage interference features and the specific number of later-stage interference features, can be correspondingly determined according to the change condition of the error rate of the NAND flash memory; for example, if the error rate of the NAND flash memory changes violently, the value of M is relatively large, and the value of N is relatively small, so that the rule that the RBER changes along with the interference characteristic can be accurately learned, and the RBER under the later interference characteristic can be accurately predicted; on the contrary, if the change of the error rate of the NAND flash memory is relatively smooth, the value of M is relatively small, and the value of N is relatively large, so that the model training and the error rate prediction can be simplified under the condition of ensuring the prediction accuracy.
The method for predicting the error rate of the NAND flash memory predicts the original bit error rate corresponding to the later-period interference characteristic according to the earlier-period interference characteristic and the corresponding original bit error rate, not only realizes the error rate prediction of the NAND flash memory and can provide quantitative and reliable judgment basis for data storage safety, but also can predict the change trend of the error rate of the NAND flash memory and is beneficial to accurately determining the time for data migration.
Based on the prediction result of the embodiment, it can be predicted what value of the interference characteristic of the NAND flash will be a bad block, so that corresponding measures (such as data migration) can be taken in advance to ensure the storage safety of data.
In an alternative embodiment, the disturb characteristic includes one or more of program/erase cycle, data retention time, program disturb, read disturb, and inter-layer disturb;
a certain rule exists between the multidimensional interference characteristic and the RBER, for example, Data Retention Time (DR) and programming/erasing periods (P/E cycles), the RBER oscillates and rises predictably along with the increase of the DR and the P/E cycles, but the increasing curves among the P/E cycles, the DR and the RBER are not completely smooth monotone increasing curves and have certain fluctuation, smoothness and even descending change; the NAND flash memory error rate prediction method can predict the NAND flash memory error rate aiming at multi-dimensional characteristic interference, can apply the characteristics of the NAND flash memory and furthest ensure the prediction accuracy;
it should be noted that the above-mentioned interference characteristics are only the characteristics that affect the error rate of the NAND flash memory, which are commonly found in the NAND flash memory, but are not to be understood as the only limitation of the present invention, and other interference characteristics that affect the error rate of the NAND flash memory may also be applied to the present invention, depending on the characteristics of the NAND flash memory; specifically, which kind or kinds of characteristics are selected as the interference characteristics for error rate prediction can be determined comprehensively according to the influence degree of each characteristic on the error rate of the NAND flash memory, the data acquisition cost, the model training cost and other factors.
In an alternative embodiment, as shown in fig. 3, the method for training the error rate prediction model includes:
(S1) acquiring M + N interference characteristics and original bit error rates corresponding to the interference characteristics from historical data of the NAND flash memory, dividing the acquired interference characteristics into M interference characteristics in the early stage and N interference characteristics in the later stage, forming training data by the interference characteristics in the early stage and the original bit error rates corresponding to the interference characteristics in the early stage, and forming label data by the interference characteristics in the later stage and the original bit error rates corresponding to the interference characteristics in the later stage, thereby obtaining a training sample consisting of the training data and the label data;
(S2) repeating the step (S1) until T training samples are acquired;
(S3) establishing an error rate prediction model based on the multi-input multi-output model, and then training the error rate prediction model by using all the obtained training samples, so as to obtain a trained error rate prediction model after training is finished;
wherein T is a positive integer; the specific value of T can be determined according to the training effect requirement of the model, so that the change rule of the original bit error rate of the NAND flash memory along with the interference characteristic can be learned, and overfitting can not occur.
Optionally, the interference characteristic and the original bit error rate are both obtained in units of blocks; alternatively, the interference characteristic and the original bit error rate are both obtained in units of pages.
The error rate prediction method of the NAND flash memory acquires data by taking a block as a unit, performs model training and error rate prediction, and can accurately predict the original bit error rate of each flash memory block; similarly, the reliability and RBER difference between flash memory pages are large, and error rate estimation cannot be performed by using a uniform method or parameters, and the NAND flash memory error rate prediction method can accurately predict the original bit error rate of each flash memory page by acquiring data in units of pages and performing model training and error rate prediction; with the continuous increase of the page capacity of the flash memory, the method for predicting the page-level error rate has important practical significance.
In order to further ensure the prediction accuracy of the error rate prediction model, in an alternative embodiment, the error rate prediction model is an artificial neural network model or a recurrent neural network model; an error rate prediction model is established based on an artificial neural network model or a recurrent neural network model, so that higher prediction precision can be obtained;
it should be noted that the above-mentioned model is only a preferred embodiment of the present invention, and should not be construed as the only limitation to the present invention, and other multiple-input multiple-output models can be applied to the present invention to realize the prediction of the error rate of the NAND flash memory.
In an optional implementation manner, the method for predicting the error rate of the NAND flash memory may further include: if the data acquisition fails when the interference characteristics and the corresponding original bit error rate are acquired from the historical data of the NAND flash memory, missing data is supplemented in a data supplementing mode so as to ensure that the required data can be acquired successfully.
Missing data are supplemented in a data supplementing mode, so that enough input data can be obtained at any one prediction point, and the error rate of the NAND flash memory is predicted; and enough training samples can be obtained in the model training process, so that the training effect of the model is ensured.
In summary, the error rate prediction method for the NAND flash memory can not only predict the number of program/erase cycles that can be executed before the NAND flash memory fails or reaches the upper limit of the error correction code, but also predict the storage time of the NAND flash memory at any number of program/erase cycles; the input of the prediction model is RBER under the previous interference characteristics of the determined dimensionality in the same prediction unit, the prediction model can be an artificial neural network, a recurrent neural network or other multi-input multi-output models, and finally the flash memory error rate corresponding to the NAND flash memory multi-dimensional interference characteristics is obtained through model calculation.
The error rate prediction method of the NAND flash memory does not depend on the structural characteristics of the NAND flash memory, so that the method can be suitable for the NAND flash memories of various types and various process sizes; specifically, the method is not only applicable to dry plane NAND flash memories, but also three-dimensional NAND flash memories, and is also applicable to NAND flash memories of various process sizes, Floating Gate (Floating Gate) and Charge Trap (Charge Trap) types, and is applicable to future complicated RBER change rules.
The invention also provides a system for predicting the error rate of the NAND flash memory, which comprises the following steps: a prediction sample acquisition module and a prediction module;
the prediction sample acquisition module is used for acquiring M interference characteristics from historical data of the NAND flash memory as early-stage interference characteristics, acquiring original bit error rates corresponding to the early-stage interference characteristics at the same time, and taking the early-stage interference characteristics and the original bit error rates corresponding to the early-stage interference characteristics as a prediction sample so as to obtain M prediction samples;
the prediction module is used for inputting the M prediction samples acquired by the prediction sample acquisition module into a trained error rate prediction model and predicting the original bit error rate corresponding to each later-stage interference feature in the N later-stage interference features;
the interference characteristics are characteristics or characteristic combinations which affect the original bit error rate of the NAND flash memory; the error rate prediction model is a multi-input multi-output model and is used for predicting an original bit error rate corresponding to the later-stage interference characteristic according to the earlier-stage interference characteristic and the corresponding original bit error rate; the late interference signature is later in time sequence than the early interference signature; m and N are positive integers;
in the embodiment of the present invention, the detailed implementation of each module may refer to the description in the above method embodiment, and will not be repeated here.
It will be understood by those skilled in the art that the foregoing is only a preferred embodiment of the present invention, and is not intended to limit the invention, and that any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1.一种NAND闪存错误率预测方法,其特征在于,包括:1. a NAND flash memory error rate prediction method, is characterized in that, comprises: 从NAND闪存的历史数据中获取M个干扰特征作为前期干扰特征,同时获取各前期干扰特征所对应的原始比特错误率,将前期干扰特征及其对应的原始比特错误率作为一条预测样本,从而得到M条预测样本;The M interference features are obtained from the historical data of NAND flash memory as early-stage interference features, and the original bit error rate corresponding to each early-stage interference feature is obtained at the same time, and the early-stage interference features and their corresponding original bit error rates are used as a prediction sample. M prediction samples; 将所得到的M条预测样本输入已训练好的错误率预测模型中,预测N个后期干扰特征中,各后期干扰特征所对应的原始比特误码率;Input the obtained M prediction samples into the trained error rate prediction model, and predict the original bit error rate corresponding to each late interference feature among the N late interference features; 其中,干扰特征为影响NAND闪存原始比特错误率的特征或特征组合;所述错误率预测模型为多输入多输出模型,用于根据前期的干扰特征及对应的原始比特误码率预测后期干扰特征所对应的原始比特误码率;后期干扰特征在时间顺序上晚于前期干扰特征;M和N均为正整数。The interference feature is a feature or feature combination that affects the original bit error rate of the NAND flash memory; the error rate prediction model is a multiple-input multiple-output model, which is used to predict the later-stage interference feature according to the earlier-stage interference feature and the corresponding original bit error rate. The corresponding original bit error rate; the late interference feature is later than the early interference feature in time sequence; M and N are both positive integers. 2.如权利要求1所述的NAND闪存错误率预测方法,其特征在于,所述干扰特征包括编程/擦除周期、数据保存时间、编程干扰、读干扰以及层间干扰中的一种或多种干扰。2. The method for predicting an error rate of a NAND flash memory according to claim 1, wherein the disturbance characteristic comprises one or more of a program/erase cycle, a data retention time, a program disturbance, a read disturbance and an interlayer disturbance kind of interference. 3.如权利要求1所述的NAND闪存错误率预测方法,其特征在于,所述错误率预测模型的训练方法包括:3. The NAND flash memory error rate prediction method according to claim 1, wherein the training method of the error rate prediction model comprises: (S1)从NAND闪存的历史数据中获取M+N个干扰特征,以及各干扰特征所对应的原始比特错误率,将所获取的干扰特征划分为前期的M个干扰特征和后期的N个干扰特征,由前期的干扰特征及其对应的原始比特错误率构成训练数据,由后期的干扰特征及其对应的原始比特错误率构成标签数据,从而得到一条由训练数据和标签数据组成的训练样本;(S1) Obtain M+N interference features from the historical data of the NAND flash memory, and the original bit error rate corresponding to each interference feature, and divide the acquired interference features into M interference features in the early stage and N interference features in the later stage feature, the training data is composed of early interference features and their corresponding original bit error rates, and the label data is composed of late interference features and their corresponding original bit error rates, so as to obtain a training sample composed of training data and label data; (S2)重复执行步骤(S1),直至获取到T条训练样本;(S2) Repeat step (S1) until T training samples are obtained; (S3)基于多输入多输出模型建立错误率预测模型后,利用所获取到的所有训练样本对其进行训练,从而在训练结束后得到已训练好的错误率预测模型;(S3) after establishing the error rate prediction model based on the multi-input multi-output model, use all the training samples obtained to train it, so as to obtain the trained error rate prediction model after the training; 其中,T为正整数。where T is a positive integer. 4.如权利要求1-3任一项所述的NAND闪存错误率预测方法,其特征在于,干扰特征及原始比特错误率均以块为单位获取。4 . The error rate prediction method of NAND flash memory according to claim 1 , wherein the disturbance feature and the original bit error rate are obtained in units of blocks. 5 . 5.如权利要求1-3任一项所述的NAND闪存错误率预测方法,其特征在于,干扰特征及原始比特错误率均以页为单位获取。5 . The error rate prediction method of NAND flash memory according to claim 1 , wherein the disturbance feature and the original bit error rate are obtained in units of pages. 6 . 6.如权利要求1-3任一项所述的NAND闪存错误率预测方法,其特征在于,所述错误率预测模型为人工神经网络模型或者循环神经网络模型。6 . The error rate prediction method of NAND flash memory according to claim 1 , wherein the error rate prediction model is an artificial neural network model or a recurrent neural network model. 7 . 7.如权利要求1-3任一项所述的NAND闪存错误率预测方法,其特征在于,还包括:若在从NAND闪存的历史数据中获取干扰特征及对应的原始比特错误率时,数据获取失败,则通过数据补齐的方式补充缺失的数据,以保证能够成功获取到所需数据。7. The method for predicting an error rate of a NAND flash memory according to any one of claims 1 to 3, further comprising: if the interference feature and the corresponding original bit error rate are obtained from historical data of the NAND flash memory, the data If the acquisition fails, the missing data is supplemented by data completion to ensure that the required data can be successfully acquired. 8.一种NAND闪存错误率预测系统,其特征在于,包括:预测样本获取模块和预测模块;8. A NAND flash memory error rate prediction system, comprising: a prediction sample acquisition module and a prediction module; 所述预测样本获取模块,用于从NAND闪存的历史数据中获取M个干扰特征作为前期干扰特征,同时获取各前期干扰特征所对应的原始比特错误率,将前期干扰特征及其对应的原始比特错误率作为一条预测样本,从而得到M条预测样本;The predicted sample obtaining module is used to obtain M interference features from the historical data of the NAND flash memory as early-stage interference features, and at the same time obtain the original bit error rate corresponding to each early-stage interference feature, and use the early-stage interference features and their corresponding original bits. The error rate is used as a prediction sample to obtain M prediction samples; 所述预测模块,用于所述预测样本获取模块获取到的M条预测样本输入已训练好的错误率预测模型中,预测N个后期干扰特征中,各后期干扰特征所对应的原始比特误码率;The prediction module is used to input the M prediction samples obtained by the prediction sample acquisition module into the trained error rate prediction model, and predict the original bit error corresponding to each post-interference feature among the N late-stage interference features. Rate; 其中,干扰特征为影响NAND闪存原始比特错误率的特征或特征组合;所述错误率预测模型为多输入多输出模型,用于根据前期的干扰特征及对应的原始比特误码率预测后期干扰特征所对应的原始比特误码率;后期干扰特征在时间顺序上晚于前期干扰特征;M和N均为正整数。The interference feature is a feature or feature combination that affects the original bit error rate of the NAND flash memory; the error rate prediction model is a multiple-input multiple-output model, which is used to predict the later-stage interference feature according to the earlier-stage interference feature and the corresponding original bit error rate. The corresponding original bit error rate; the late interference feature is later than the early interference feature in time sequence; M and N are both positive integers.
CN202010046777.7A 2020-01-16 2020-01-16 A kind of NAND flash memory error rate prediction method and system Active CN111459706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010046777.7A CN111459706B (en) 2020-01-16 2020-01-16 A kind of NAND flash memory error rate prediction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010046777.7A CN111459706B (en) 2020-01-16 2020-01-16 A kind of NAND flash memory error rate prediction method and system

Publications (2)

Publication Number Publication Date
CN111459706A CN111459706A (en) 2020-07-28
CN111459706B true CN111459706B (en) 2021-07-27

Family

ID=71678407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010046777.7A Active CN111459706B (en) 2020-01-16 2020-01-16 A kind of NAND flash memory error rate prediction method and system

Country Status (1)

Country Link
CN (1) CN111459706B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114171095B (en) * 2021-11-30 2023-03-10 华中科技大学 3D NAND flash memory threshold voltage distribution prediction method, device and storage system
CN117130822B (en) * 2023-10-24 2024-11-15 杭州阿姆科技有限公司 Method and system for predicting NAND flash data errors
CN118643280B (en) * 2024-08-16 2024-12-10 深圳市芯存科技有限公司 Method, device, equipment and storage medium for predicting service life of SPI NAND flash memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025153A (en) * 2016-01-29 2017-08-08 阿里巴巴集团控股有限公司 The failure prediction method and device of disk
CN109637576A (en) * 2018-12-17 2019-04-16 华中科技大学 A kind of service life of flash memory prediction technique based on support vector regression
CN109947588A (en) * 2019-02-22 2019-06-28 哈尔滨工业大学 A NAND Flash Bit Error Rate Prediction Method Based on Support Vector Regression

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10430112B2 (en) * 2014-12-22 2019-10-01 Sandisk Technologies Llc Memory block cycling based on memory wear or data retention

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025153A (en) * 2016-01-29 2017-08-08 阿里巴巴集团控股有限公司 The failure prediction method and device of disk
CN109637576A (en) * 2018-12-17 2019-04-16 华中科技大学 A kind of service life of flash memory prediction technique based on support vector regression
CN109947588A (en) * 2019-02-22 2019-06-28 哈尔滨工业大学 A NAND Flash Bit Error Rate Prediction Method Based on Support Vector Regression

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于错误预检测的固态硬盘读性能优化方法研究;刘伟华;《万方数据库》;20181218;全文 *

Also Published As

Publication number Publication date
CN111459706A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
US11049009B2 (en) Identifying memory block write endurance using machine learning
CN111459706B (en) A kind of NAND flash memory error rate prediction method and system
US10996867B2 (en) Managing partial superblocks in a NAND device
US11520524B2 (en) Host adaptive memory device optimization
Ma et al. RBER-aware lifetime prediction scheme for 3D-TLC NAND flash memory
CN110851079A (en) Adaptive storage device loss balancing method and system
US11366714B2 (en) Behavior-driven die management on solid-state drives
US11106521B2 (en) Fatal error logging in a memory device
Cao et al. CSS: Handling imbalanced data by improved clustering with stratified sampling
EP4413467A1 (en) Machine learning-enabled management of storage media access
CN112463648B (en) Dynamically adjusted garbage collection workload
CN112673356A (en) Fast non-volatile storage recovery techniques
TWI850734B (en) System and method for dynamic compensation for multiple interference sources in non-volatile memory storage devices
US11734205B2 (en) Parallel iterator for machine learning frameworks
WO2022052147A1 (en) Method and system capable of predicting service life of flash memory block on the basis of three-dimensional flash memory storage structure
US20240289634A1 (en) Trust based federated learning
US20240395348A1 (en) Memory failure analysis based on bitline threshold voltage distributions
US20230161619A1 (en) Storage system
US12050777B2 (en) Adaptive scanning of memory devices with supervised learning
US20250068984A1 (en) Method for failure warning of storage device and storage device
US20250045042A1 (en) Machine learning firmware optimization
US20230333762A1 (en) Reuse of bad blocks for tasks in a memory sub-system
US20240160511A1 (en) Failure prediction apparatus and method for storage devices
CN118113506A (en) Method and device for predicting faults of storage device
CN119168096A (en) Method and electronic device for automatic data enhancement

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant