Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DATA DRIVEN ICAD GRAPH GENERATION
Document Type and Number:
WIPO Patent Application WO/2020/263325
Kind Code:
A1
Abstract:
A storage device may include a decoder configured to connect bits to a content node based on content-aware decoding process. The content-aware decoding process may be dynamic and determine connection structures of bits and content nodes based on patterns in data. In some cases, the decoder may connect non-adjacent bits to a content node based on a content-aware decoding process. In other cases, the decoder may connect a first number of bits to a first content node and a second number of bits to a second content node. In such cases, the first number of bits and the second number of bits are a different number.

Inventors:
AVRAHAM DUDY DAVID (US)
SHARON ERAN (US)
FAINZILBER OMER (US)
ZAMIR RAN (US)
ACHTENBERG STELLA (US)
Application Number:
PCT/US2019/067069
Publication Date:
December 30, 2020
Filing Date:
December 18, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
WESTERN DIGITAL TECH INC (US)
International Classes:
G06F11/10; G06F3/00; G06F3/06; H03M13/00; H03M13/05
Foreign References:
US20080294960A12008-11-27
US8286048B12012-10-09
US6928590B22005-08-09
US8374026B22013-02-12
Attorney, Agent or Firm:
VERSTEEG, Steven H. et al. (US)
Download PDF:
Claims:
WHAT IS CLAIMED IS:

1. A storage device, comprising:

an interface;

at least one memory device;

a controller coupled to the at least one memory device; and

a decoder configured to connect non-adjacent bits to a content node based on a content-aware decoding process.

2. The storage device of claim 1 , wherein the connection of non-adjacent bits is based on a determination of a pattern in data.

3. The storage device of claim 1 , wherein each iteration of the content- aware decoding process connects a different set of non-adjacent bits to the content node.

4. The storage device of claim 1 , wherein connecting non-adjacent bits to the content node includes a frequency calculation that groups repeating data.

5. The storage device of claim 4, wherein the frequency calculation comprises a Fast Fourier transform (FFT).

6. The storage device of claim 1 , wherein connecting non-adjacent bits to the content node includes auto-correlation.

7. The storage device of claim 6, wherein connecting non-adjacent bits to the content node includes spectral analysis of the auto-correlation.

8. The storage device of claim 1 , wherein connecting non-adjacent bits includes reordering data based on inherent data frequencies.

9. The storage device of claim 1 , wherein connecting non-adjacent bits is based on permuting a set of bits within a set content node structure.

10. A storage device, comprising:

an interface;

at least one memory device;

a controller coupled to the at least one memory device; and

a decoder configured to connect, based on a content-aware decoding process:

a first number of bits to a first content node, and

a second number of bits to a second content node, wherein the first number of bits and the second number of bits are different.

11. The storage device of claim 10, wherein the first content node is connected to a different number of bits in each iteration of the content-aware decoding process.

12. The storage device of claim 11 , wherein the second content node is connected to a different number of bits in each iteration of the content-aware decoding process.

13. The storage device of claim 12, wherein the number of bits connected to the first content node and the second content node is different for each iteration of the content-aware decoding process.

14. The storage device of claim 10, wherein the decoder is configured to connect a third number of bits to a third content node, wherein the third number of bits is the same as the first number of bits or the second number of bits.

15. The storage device of claim 10, wherein the decoder is configured to connect a third number of bits to a third content node, wherein the third number of bits is different than the first number of bits and the second number of bits.

16. The storage device of claim 10, wherein the connection is based on at least one of:

a frequency calculation;

auto-correlation;

spectral analysis of the auto correlation;

inherent data frequencies; and

a permutation of bits within a set content node structure.

17. A storage device, comprising:

means for determining a pattern in data; and

means for connecting bits to a set of content nodes based on the pattern in the data, wherein the bits are either:

non-adjacent; or

unequal in number; or

combinations thereof.

18. The storage device of claim 17, wherein the means for determining a pattern in data determines the pattern from a decoder.

19. The storage device of claim 17, wherein the means for connecting bits to a set of content nodes connects bits from a decoder.

20. The storage device of claim 17, wherein the means for connecting bits to a set of content nodes includes at least one of:

means to connect non-adjacent bits to each content node; and

means to connect a different number of bits to each content node.

Description:
DATA DRIVEN ICAD GRAPH GENERATION

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Application No. 16/452,466, filed June 25, 2019, which is a continuation-in-part of co-pending United States Patent Application No. 16/137,256, filed September 20, 2018, which are incorporated herein by reference in their entireties.

BACKGROUND OF THE DISCLOSURE

Field of the Disclosure

[0002] Embodiments of the present disclosure generally relate to data decoding for computer applications. More specifically, aspects of the disclosure relate to content aware decoding methods and systems.

Description of the Related Art

[0003] Reliability of solid state drives (SSDs) is a key factor that distinguishes these drives from other conventional memory arrangements. Such SSDs are required to have long term endurance and memory capabilities, especially at end of drive service life.

[0004] In order to achieve the high reliability for a SSD, the data stored on the SSD is protected such that it may be recovered, in case of a malfunction. The recovery systems may vary, but one of the most typical is a protection using an Error Code Correction (ECC) code. Most often, ECC codes include low density parity check codes (LDPC) that are used with soft decoders.

[0005] Soft ECC decoders have several features that allow the decoder to increase its performance. Soft ECC decoders are programmed to read data and by knowing underlying statistics of the encoded data, more accurate predictions for recovery can be made. In instances where an underlying statistic is not known, the ECC may use default parameters which may correspond to a case of uniform distribution of data.

[0006] These conventional decoder approaches, however, have many disadvantages including a high number of bit flips that may lead to wrong estimation of underlying statistics. Adjusting the decoder parameters according to wrong estimated statistics may cause a negative effect. Decoding latency may increase and power consumption may also increase based upon inaccurate decoding.

[0007] In more extreme cases, decoding may degrade to a point wherein decoding may fail due to the number of mistakes present within the data. As reliability is an important factor, manufacturers seek to provide methods and apparatus that do not have these significant drawbacks.

[0008] There is a need to provide a cost efficient method and apparatus that may decode data using existing data and underlying statistics to safeguard against data loss.

[0009] There is a further need to provide such methods and apparatus that may be used in conjunction with SSD technology.

[0010] There is a still further need to provide methods and apparatus that more correctly recover data compared to conventional techniques and apparatus.

SUMMARY OF THE DISCLOSURE

[0011] The present disclosure generally relates to content aware decoding methods and arrangements. Underlying statistics for data to be recovered are obtained and several methods may be used to utilize this data by a decoder, leading to an increase in decoder correction capability and reduction in decoding latency and improved power consumption.

[0012] In one embodiment, a method is disclosed comprising obtaining data from a memory, estimating a probability of data values of the obtained data based on at least one of a source log-likelihood ratio and a channel log- likelihood ratio, wherein each bit in the obtained data has an associated log- likelihood ratio, determining at least one data pattern parameter for the data based on the estimating the probability of the data values, wherein the at least one data pattern parameter includes information on each bit in the obtained data and performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0013] In another embodiment, a method is disclosed comprising obtaining data from a memory, applying the data to one or more symbol nodes of a network; estimating a probability of data value of the obtained data based on at least one of a source log-likelihood ratio, a channel log-likelihood ratio and a symbol probability distribution list, wherein each bit in the obtained data has an associated log-likelihood ratio and is associated with a value in each bit location, and wherein the symbol probability distribution list is based on the probability of occurrence of each symbol, determining at least one data pattern parameter for the data based on the estimating, wherein the at least one data pattern parameter includes information on each bit in the obtained data and performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0014] In a further example embodiment, a method may be performed comprising obtaining data from a memory, the data needing to be decoded, comparing the data from the memory to a list of patches and augmenting the data from the memory when the comparing the data from the memory to the list of patches indicates a match of the data to a specific patch to produce an augmented data and decoding the augmented data.

[0015] In another example embodiment, a method is disclosed comprising obtaining data of a memory block, wherein the data is a sample of bits of a block of data of a given length, each of the bits having a bit value, comparing the snapshot to a predetermined data pattern, estimating at least one bit value for the data based on the comparison and adjusting the bit values based on the estimation.

[0016] In another example embodiment, a device is disclosed comprising at least one memory device and a controller coupled to the at least one memory device, the controller configured to provide a content-aware decoding process configured to reduce a scope of the decoding process, wherein the content- aware decoding process samples a block of data in the one or more memory devices to estimate bit values in the block of data based on a log-likelihood ratio, and wherein the log-likelihood ratio is associated with a number of ones and zeroes in each bit location.

[0017] In another non-limiting embodiment, an arrangement is disclosed comprising means for obtaining data from a memory, means for estimating a probability of data values of the obtained data based on at least one of a source log-likelihood ratio and a channel log-likelihood ratio, wherein each bit in the obtained data has an associated log-likelihood ratio, means for determining at least one data pattern parameter for the data based on the estimating the probability of the data values, wherein the at least one data pattern parameter includes information on each bit in the obtained data and means for performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0018] In another example embodiment, a storage device is disclosed comprising an interface, at least one memory device, a controller coupled to the at least one memory device, and a decoder configured to connect non-adjacent bits to a content node based on a content-aware decoding process.

[0019] In another non-limiting embodiment, a storage device is disclosed comprising an interface, at least one memory device, a controller coupled to the at least one memory device, and a decoder configured to connect, based on a content aware decoding process: a first number of bits to a first content node, and a second number of bits to a second content node, wherein the first number of bits and the second number of bits are different.

[0020] In a further example embodiment, a storage device is disclosed comprising means for determining a pattern in data and means for connecting bits to a set of content nodes based on the pattern in the data, wherein the bits are either non-adjacent, unequal in number, or a combination thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

[0021] So that the manner in which the above recited features of the present disclosure can be understood in detail, a more particular description of the disclosure, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this disclosure and are therefore not to be considered limiting of its scope, for the disclosure may admit to other equally effective embodiments.

[0022] FIG. 1 is an arrangement of a host device and storage device with accompanying interface and decoder.

[0023] FIG. 2 is a graph of data byes of a text file in ASCII format.

[0024] FIG. 3 is a graph of an iterative content aware decoder. FIG. 3A is a schematic of messages of a single symbol node transmitted to adjacent bit nodes.

[0025] FIG. 4 is a flow chart for a method of utilizing data patterns through a multiple patch technique.

[0026] FIG. 5 is a flow chart for a method of utilizing data patterns through a data interpolation technique.

[0027] FIG. 6 is a graph of enhancement of correction capability via use of aspects of the disclosure.

[0028] FIG. 7 is a graph of reduction of decoding latency via use of aspects of the disclosure.

[0029] FIG. 8 is a graph of a dynamic iterative content aware decoder configured to connect non-adjacent bits to a content node.

[0030] FIG. 9 is a graph of an auto-correlation function.

[0031] FIG. 10 is a graph of a dynamic iterative content aware decoder configured to connect a different number of bits to two content nodes. [0032] FIG. 11 is a graph of a dynamic iterative content aware decoder configured to connect bits to three content nodes, wherein two of the three content nodes are connected to the same number of bits.

[0033] FIG. 12 is a graph of a dynamic iterative content aware decoder configured to connect a different number of bits to three content nodes.

[0034] FIG. 13 is a graph of improvement in correction capability via use of a dynamic iterative content aware decoder.

[0035] FIG. 14 is a graph of reduction of decoding latency via use of a dynamic iterative content aware decoder.

[0036] To facilitate understanding, identical reference numerals have been used, where possible, to designate identical elements that are common to the figures. It is contemplated that elements disclosed in one embodiment may be beneficially utilized on other embodiments without specific recitation.

DETAILED DESCRIPTION

[0037] In the following, reference is made to embodiments of the disclosure. Flowever, it should be understood that the disclosure is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice the disclosure. Furthermore, although embodiments of the disclosure may achieve advantages over other possible solutions and/or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the disclosure. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to“the disclosure” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s). [0038] Referring to FIG. 1 , an arrangement 100 of a host device 106 and a storage device 102 is illustrated. Data may be sent and received through an interface 104 between the host device 106 and the storage device 102. The interface 104 is configured to interface with the host device 106, namely accept data and/or command requests as provided by the host device 106 for processing by the storage device 102. A decoder 120 is present in the storage device for decoding data as needed. A storage controller 108 is provided in the storage device 102 to control either a single memory device 110A or multiple memory devices 11 ON. In the illustrated embodiments, the storage device 102 may be a single or number of SSDs for storage of information.

[0039] Aspects of the disclosure use the elements/components described in FIG. 1 to enable execution of several methods to utilize data in a decoder, which will lead to an increase in the correction capability and reduction in the decoding latency and power consumption. These methods will cause data to be read with a higher accuracy compared to conventional methods. The aspects of the disclosure may use structure, found in the data itself, to enable more consistent decoding.

[0040] In aspects described, data is scanned using a sliding window approach, wherein an estimation of “0’s” and“Ts” data values is performed in the window. This data may then be used to adjust the decoder for more accuracy.

[0041] In many cases, data written to flash memory, such as NAND based SSD’s, has structure to it. As described above, the memory devices 110A- 110N may be based on flash memory (NAND) technology. The structure can be a property of a user source (e.g. if the saved data is textual in origin). In other embodiments, the structure can be a property of the way the NAND is used (e.g. tables written by the firmware, data padded with zeros etc.) In either case, finding such structures and considering the structures in the decoding process can yield significantly higher correction capability than attempting to perform error correction without using such structure. [0042] Aspects of the disclosure describe a set of content aware methods to decode data read from the NAND. In the methods described, the data is used to determine structure or patterns that are within the data, which eventually provide better decoding abilities.

INCORPORATION OF CONTENT INFORMATION INTO ERROR CODE CORRECTION DECODERS

[0043] In order to ensure high reliability in memory devices, such as SSDs, data that is written to the memory device is protected with an ECC code. As an example, typical ECC codes may be low density parity check codes with soft decoders.

[0044] In soft decoders 120, such as that disclosed in FIG. 1 , a metric may be used to be describe a probability of data that is read to be a“1” value or a“0” value. This metric is defined as the log-likelihood ratio (LLR) metric.

[0045] Given that the read data is a vector of y , the LLR value of bit / is calculated according to the following formula:

Pr {bit, = 0/y] L Pr [y/bit i = 0| - Pr {bit = 0} L

LLR y = log - log

V Pr {bit, l/y} Pr {y/bit =l|-Pr [bit = 1}

J J

Pr{y/te = q] ^ Pr{te = 0} L

- log - +log

[0046] In the definition provided above, the LLR_Channel portion of the LLR metric is based on statistics. The LLR_Channel portion can be pre-defined by several methods. A statistical model may be used in the predefinition. In other embodiments, the predefinition may be based on experiments. In still further embodiments, the predefinition may be calculated online based on channel estimation methods. [0047] The LLR_Source portion of the LLR metric provided above may be based on the statistics of the source. In the absence of prior knowledge, it may be assumed that the source data is uniformly distributed ( Pr [bit =0] = Vx{bit 1}— 0.5 ) which means that the LLR_Source part is equal to zero. In other embodiments, the source data may be distributed in a non- uniform manner. As it is a common practice in storage systems to scramble the data being stored, the assumption of a uniform distribution is valid. As the encoded data can be descrambled, uncovering the structures and statistics of the original data, the LLR_Source can be calculated.

[0048] Knowing the underlying statistics of the data may help the decoder in obtaining correct results when decoding data compared to conventional methods which do not use such methods. An example embodiment of the disclosure will be described such that knowing the underlying statistics assists the decoder 120 to produce decoded data that is correct. Referring to FIG. 2, a text file 200 in ASCII format is illustrated. Each character in ASCII is a byte 202 and all the most common characters only occupy the seven (7) least significant bits of the byte. If the ECC decoder, for example, understood that the data is shaped (structured) like presented on FIG. 2, the ECC decoder could alter the decoding parameters to reflect this data shape (changing the probability of the 1/0 distribution in every byte’s most significant bit) and thus improve performance and correction capability. A sliding window 204 is provided for analysis of significant bits in the vertical direction.

OBTAINING DATA PATTERNS

[0049] As discussed above, when decoding data, knowing that the data has underlying statistics and data patterns is helpful. One main problem with this technique is that at the time of decoding, the data may incorporate noise and the data patterns or statistics may be corrupted. Two methods may be used to mitigate the effects of noise and/or data corruption.

MITIGATION OF NOISE AND/OR DATA CORRUPTION METHOD 1 [0050] The first method to mitigate the effects of noise and/or data corruption is to learn and store data during the encoding process, wherein all the data in a clean version passes through the encoder. Statistics of the data may be gathered during the encode process and saved for future use. The statistics may be retrieved when decoding depending on the way the statistics are stored and feeding the statistics to the decoder alongside with the read data from the NAND.

[0051] As SSDs have large capacities, keeping/storing data during the encoding process may be performed without detrimental effect. Devices that are more space sensitive may save these statistics for groups of pages or even whole sections, for example, the whole mapping table that translates physical to logical locations has a very specific structure, which using a few bytes of memory, can describe gigabytes of data, speeding significantly the latency of translated address.

MITIGATION OF NOISE AND/OR DATA CORRUPTION METHOD 2

[0052] Another approach is to use an iterative estimation of the data. Iteration between data estimation and decoding can be performed, where each iteration of decoding corrects more bits and gives help to improve the data estimation which in turn improves the decode results. Hence, there is a positive feedback process - as the decoder“cleans” more errors, the data source statistics can be estimated more accurately, which in turn allows the decoder to detect more errors.

[0053] Aspects of the disclosure show how to obtain several forms of statistics and labels representing the data, in a manner that is notMess sensitive to noises from the NAND.

[0054] In addition, aspects of the disclosure describe several methods that use data to increase the correction capability, reduce the decoding latency and power consumption, in general and in comparison to conventional techniques.

EXAMPLE METHODS UTILIZING DATA PATTERNS [0055] Four example embodiments are disclosed herein, each of the embodiments describing a different method to use data patterns and statistics during a decoding operation. Each method is unique and will outperform conventional methods given a certain type of structure, as discussed in each embodiment.

LLR TUNER

[0056] As provided in FIG. 2, in case of a text file, the most significant bit in each byte is always zero. Thus, in the general case, sometimes there is a gain in decoding accuracy by dividing the data to be evaluated into portions smaller than the whole and obtain statistics of the bits according to their position within the smaller data portions or chunks.

[0057] In one embodiment, the data is divided into data chunks of size K, then for each index within a K-tuple (0..K-1 ) the probability of the bit in this position to be“0” and the probability of the bit to be Ί” are computed. This computation is done by running over all K-tuples and counting the number of zeros/ones in index y within the K-tuple.

[0058] Assuming that the length of the data is N and that b t is the i-th bit of the data then for each K-tuple, the LLR source for the j-th bit within the K-tuple is computed according to the following formula:

[0059] For the example presented in FIG. 2, K is equal to 8 (for dividing the data into bytes) and LR j is a high positive value, which indicates that the eighth bit in every byte is zero with high probability. [0060] The learning of the statistics can be done in global manner for the entire amount of data. Additional approaches can divide the data into different regions and for each region, the statistics will be learned locally.

[0061] Another embodiment is to use a sliding window approach, where the source data statistics used for computing the source LLRs of the next data chunk are based on the current window. In a still further embodiment, another option is to use a weighted window, giving more weight to the recent history and less weight to the far history, such that far history is gradually forgotten and that recent history is provided more importance during decoding.

SYMBOL TUNER

[0062] In this example embodiment, it is known that the bits in the data are dependent. For example, in a text file, the bits are organized in bytes where each byte represents a character. In the example of a text file, the most used characters are alphanumeric, spaces and punctuation marks, while the rest of the characters are less common. This indicates that bits from the same byte are statistically dependent and knowing part of the bits within a byte increases the reliability of the other bits within the same byte.

[0063] The data may be divided into groups such that all bits in a group are statistically dependent. Each group is considered as a symbol.

[0064] A LDPC decoder, named as ICAD (“iterative content aware decoder”), is provided in the arrangements described, wherein the LDPC decoder utilizes a connection between bits from the same symbol. The new decoder is described via a short code example in FIG. 3. Check nodes 308 are provided to check the values in each of the bit nodes to ensure that the values within are accurate. The check nodes 308 are provided to hold parity constraints on the codeword bits and according to these constrains the bit nodes are improving overall reliability.

[0065] The difference between the ICAD 300 and the original LDPC decoder is that the ICAD has additional nodes called‘symbol nodes’ or‘content nodes’. In the example from FIG. 3, the symbols are groups of 8 bits. During the decoding process performed by the ICAD 300, each symbol node 302, 304 sends a message to each bit node Pv1-16 from this symbol 302, 304 that represents the probability of the bit to be“0” or“1” according to the information from the other bits of the same symbol and the statistics that reflect the probability of each symbol. While FIG. 3 depicts a connection structure where each symbol node 302 and 304 sends a message to a set of adjacent bit nodes, the connections to bit nodes are not limited to the particular embodiment disclosed, as further described in FIGS. 8-14.

[0066] As mentioned above, there are several techniques in order to obtain the probability of each symbol to occur. One of these techniques is provided in FIG. 3A. In this example embodiment, messages from symbol node s to bit node v may be described as below:

where:

B\ - set of all symbols of length k such that the i-th bit is equal to t (t=0 or 1 ). b in this formula refers to a specific symbol value.

b } - is the value of the j-th bit in symbol b .

{l..£} \z - means a set of all indices between 1 to k but without index /.

the LLR of bit node v

According to the statistics that reflect the probability of each symbol, the Pr{/>} terms in the formula are obtained.

For a decoding procedure, the messages from bit nodes to symbol nodes may be expressed in other forms. As a non-limiting example:

Message from bit node u to symbol nodes s: Message from bit node v to check nodes c:

Where:

N ur (0 - left/right neighbor of node / in the graph.

(pipe)— sign(x),— log tanh f J-i-L j L and operations in the ^ domain are done over the group {0,1} xTT

[0067] These probabilities can be learned during the encoding procedure where the data is obtained without errors. By scanning the data and counting the occurrence of each symbol in the data, probabilities are computed and stored as additional information for future reads of these data.

[0068] These probabilities can be learned from the read data itself. The number of errors is sufficiently low in order to obtain these probabilities with high accuracy.

[0069] These probabilities may also be estimated during the decoding procedure. At each stage of the decoding, each bit holds its probability to be“0” or“1”. Given these probabilities, the probabilities for the occurrence of each symbol can be obtained.

MULTIPLE PATCHES TECHNIQUE

[0070] This embodiment describes a non-local approach that does not assume any local statistics. It rather assumes similarity of patches in the data, and if such similarity exists, the method computes the a priori probability of a bit to in respect to similar patches, or in a more coarse approach flips bits. [0071] As shown in FIG. 4, the process is iterative, and switches between estimating the bits according to a new dictionary and decoding.

[0072] The method starts by creating a dictionary of all words of a length certain length in the data source that appear enough times. A sliding window approach is used to estimate each bit, where a bits neighborhood is compared to the dictionary and according to similar patches, the bit value\correction term is calculated.

[0073] Several metrics can be used to estimate a bits value, among them a KNN approach, where each bit gets a correction term according to the probability of 1/0 in the middle element of the K nearest patches. A weight is given to the probability of each patch to appear where K can vary from 1 to the size of the dictionary.

[0074] After estimation of all the bits a decode process is performed. If the decode fails the process can be repeated using the data estimations given by the previous iteration to create a new dictionary and start a new estimation. The process can also be repeated for various window sizes.

[0075] Referring to FIG. 4, a method 400 is provided such that multiple patches may be used for data pattern usage. The method 400 starts at 402 wherein algorithm parameters are set, including a length of a dictionary, word k iteration and per length Max ITER. The method proceeds from 402 to 404, wherein a dictionary of patches is built of a length K that frequently appear in the data source. A threshold amount may be used to establish the minimum number of times of appearance that may be made. The method then proceeds to 406, wherein a query is made if the dictionary is empty. If the dictionary is empty, then a decode failure has been encountered at 408 and a flag or notification may be made to the system and/or user. If the dictionary is not empty, then data in a memory is evaluated wherein distance and probability metrics (patches) may be used to change or flip the respective bits at 410. Another query is performed at 412 to identify if the decode has succeeded. If the decode was successful, then the method ends at 414. If the decoding was not successful, the method proceeds to 416 wherein the data source is updated according to decoding outputs and any previous iterations. The method then proceeds to 418 wherein a check on the maximum number of iterations is performed. If the maximum number of iterations has been achieved at 418 then the method proceeds to 420 where the value K is enlarged with the method returning to 404. If the maximum ITER is not reached at 418, the method returns to 404, without enlarging K.

DATA INTERPOLATION TECHNIQUE

[0076] In some cases, the data may have a local pattern, where for several bytes there is a distinct pattern but when looking at the overall statistics they will average out, or have a less distinct influence. For example“0”s or“T’s padding at the end of the data (either at the original data or added by the firmware), or files system data where the addressed which increment slowly and may resemble a linear function.

[0077] By looking at the neighborhood of the each bit, an estimate may be made as to what the value of the data. Using a sliding window approach for each middle element of a window, the neighborhood values may be fitted against a predefined function. In another embodiment, the neighborhood values may be fitted against a set of predefined functions. If the neighborhood is similar, a correction term\bit value can be calculated for the middle element. Processing over all bits of the data creates a full data estimation. This process can be performed once for the data. In other embodiments, the process may be repeated several times, and over several neighborhood sizes.

[0078] At any step of the estimation process a decode process can be tried, in case of failure the decoder outputs can be used to improve the estimation of the data, thus iterating between decoding and estimating until a successful decode or timeout.

[0079] Referring to FIG. 5, a method 500 for using data interpolation is provided for data pattern usage. The method starts at 502 wherein algorithm parameters are set, such as a length of a dictionary word K and iteration per length MaxJTER. The method then proceeds to 504 wherein using a local pattern for data and comparing each piece of data to the local pattern a correction term may be developed for each bit. The method then proceeds to 506 wherein a query is run to determine if the decoding has proceeded successfully. If the decoding has proceeded successfully, then the method progresses to an end at 508. If the decoding has not succeeded, then the method proceeds to 510 wherein the data source is updated according to previous iterations and decoding outputs. The method then proceeds to 512 wherein a check on the maximum number of iterations is performed. If the maximum number of iterations has been achieved at 512 then the method proceeds to 514 where the value K is enlarged with the method returning to 504. If the maximum ITER is not reached at 512, the method returns to 504, without enlarging K.

SIMULATION RESULTS

[0080] The following figures show the improvements of using this invention. FIG. 6 shows the improvement in correction capability wherein the graph 600 is of a success rate vs the number of bit flips in data chunks. The X-axis 602 corresponds to the number of bit flips in data chunk, and the Y-axis 604 corresponds to the decode success rate out of 128 data chunks from the sequential read. The“lower” curve 606 corresponds to the default decoder, without any knowledge of the underlying statistics. The “upper” curve 608 utilizes the underlying structure and corresponds to the content aware decoding methods, where the underlying statistics where estimated in an iterative manner.

[0081] In this example the content aware approach can handle twice the amount of bit error rate that a regular decoder can. At the point where the default decoder cannot decode at all the enhanced decoder still maintains almost 100% of successful decoding.

[0082] Referring to FIG. 7, an improvement in decoding latency is also present. FIG. 7 provides a graph 700 of decode time vs. the number of flipped bits in data chunks. The X-axis 702 corresponds to the number of bit flips in data chunk and the Y-axis 704 corresponds to the average decoding latency according to 128 data chunks from the sequential read. [0083] The“upper” curve 706 corresponds to the default decoder, without any knowledge of the underlying statistics. The“lower” curve 708 corresponds to the case where the decoder uses the underlying statistics of the data. As can be seen from FIG. 7, even in the region where both the default decoder and the enhanced decoder decode with 100% success rate, the enhanced decoder converges with lower latency.

BIT CONNECTION STRUCTURE IN A STORAGE DEVICE

[0084] In the embodiments described above, a storage device may include an ICAD configured to connect a set of adjacent bits to a content node (or symbol node). However, the ICAD is not limited to a single embodiment of connecting adjacent bits to content nodes. Instead, the ICAD may be dynamic such that the connection structure that results from implementation of a dynamic ICAD is non-adjacent bits connected to a content node or an unequal number of bits connected to content nodes. In some cases, with each iteration, the dynamic ICAD can determine a new pattern in the data and re-arrange the grouping of bits connected to each content node accordingly such that each new iteration may improve the overall performance of the storage device.

[0085] FIG. 8 illustrates an example graph 800 of a dynamic ICAD in a storage device configured to connect non-adjacent bits to a content node (or a symbol node). As depicted, the ICAD dynamically connects non-adjacent bit nodes 806 (as illustrated as Pvi- Rnΐb) to content nodes 802 and 804. Further, as described in FIG. 3, check nodes 808 are provided.

[0086] In one embodiment, non-adjacent bits can be grouped by using a set content node structure. For example, the bits within the set content node structure can be permutated, resulting in non-adjacent bits connecting to a content node in the set content node structure. The connection structure of non-adjacent bit nodes 806 to content nodes 802 and 804 can be based on the dynamic ICAD determining a pattern in the data and grouping the repeating data.

[0087] There are multiple methods for grouping repeating data. For example, one such method is a frequency calculation. In such an example, a frequency transformation like Fast Fourier Transform (FFT) can estimate repetitions in data and group such repetitions of data by determining the frequency components of the data. In some cases, a frequency component can match base functions. Continuing the example, when a dominant frequency is determined, the data can be transformed so that the grouping of data can be based on a complete cycle of data or a place of the data in the cycle.

[0088] Another method for grouping repeating data is based on an auto correlation function, which may determine a correlation of the data when such data is shifted by a version (or factor) of the data itself. Implementing an auto correlation function includes determining a maximum point and a highest correlation point. The maximum point in an auto-correlation function is a 0 shift of the data. The highest correlation point is the second highest peak of the auto correlation function after the data is shifted based on a factor. The offset (or difference) between the maximum point and the highest correlation point is the amount of bytes apart each grouping of bits may need to be in order to yield good symbols for connecting to bits.

[0089] An example graph resulting from the implementation of the auto correlation function is depicted in FIG. 9. The example graph 900 in FIG. 9 has an X-axis representing the shift 902 of the data and a Y-axis representing the unbiased correlation 904. The example graph 900 further illustrates that data 906 with a maximum point 908 is a 0 shift of the data while data 910 with a highest correlation point 912 is a shift of the data by a factor or version of the data. The difference between the maximum point 908 and the highest correlation point 912 is 64 as depicted by 914, which means that because the offset is 64 bytes, a grouping of bits should be at least 64 bytes apart to result in good content nodes to connect with the bits in the storage device.

[0090] In another example, power spectral density analysis can determine repeating data for grouping bits. In some cases, the power spectral density function can be described as a combination of the auto-correlation function and the frequency calculation, which may describe the power of signal as a function of the frequency. In such cases, the power spectral density function may group repeating data by determining the contribution of all of the peaks that may occur in the same shift when an auto-correction function is implemented.

[0091] Another method of determining the grouping of data is based on the inherent data frequencies of how data is stored. For example, data can be stored in groups of 8 bits, 16 bits, 32 bits, 64 bits, or 128 bits. Groupings of data can be created (and re-ordered with each iteration of the dynamic ICAD) based on Most Significant Bits (MSBs) and repeating the groupings to the Least Significant Bits (LSBs).

[0092] While exemplary methods are described for determining patterns in data, more methods are contemplated for determining patterns to connect bits and a content node.

[0093] FIG. 10 illustrates an example graph 1000 of a dynamic ICAD in a storage device configured to connect a different number of bits to a content node. For example, as depicted in the example graph 1000, a first number of bits 1006 (Pvi , Pv2, Pv4, and Rnd) are connected to content node 1002. Continuing the example, a second number of bits 1006 (Pv3, Pvs, Pv6, Pv7, Pv9, Pvi o, Pvi i , Pvi2, Pvi 3, Pvi4, Pvi 5, and Rnΐ b) are connected to content node 1004. Further, as described in FIG. 3, check nodes 1008 are provided.

[0094] The connection structure between the content nodes 1002 and 1004 and the bits 1006 is based on patterns in the data, determined through one or more of the methods described above. Further, with each iteration of the dynamic ICAD (not illustrated), the number of bits 1006 connected to content nodes 1002 and 1004 may change. For example, during a second iteration, the dynamic ICAD can determine that the following bits 1006 are connected to content node 1002: Pvi , Pv2, Pv4, Pv8, Pvi 2, Pvi 3, and Pvi 4. Continuing the example, a second number of bits 1006 are connected to content node 1004:

Pv3, Pv5, Pv6, Pv7, Pv9, Pv10, Pv11 , Pv15, and P v16.

[0095] FIG. 11 illustrates an example graph 1100 of a dynamic ICAD in a storage device configured to connect bits to three different content nodes. In the exemplary depiction, content node 1102 is connected to four bits 1108: Pvi ,

Pv4, Pv7, Pv9. Further depicted, the content node 1104 is also connected to four bits 1108: Pv³, Pv6, Pvi o, Pvi 3. The content node 1106 depicted is connected is to eight bits 1108: Pv3, Pvs, Pv8, Pvn Pvi2, Pvi4, Pvi s, Pvi6. Further, as described in FIG. 3, check nodes 1110 are provided.

[0096] FIG. 12 illustrates an example graph 1200 of a dynamic ICAD in a storage device configured to connect a different number of bits to each of three content nodes. The example graph 1200 depicts each of content nodes 1202, 1204, and 1206 connecting to a different number of bits 1208. In some cases, the connection structure may be based on a method determining a pattern in the data, as described. Further, as described in FIG. 3, check nodes 1210 are provided.

[0097] The connection structures described exemplify the dynamic ICAD in grouping bits to create connection structures that improve the functionality of the storage device with each iteration of the dynamic ICAD. Several embodiments of the connections between the bits and nodes are described in FIGS. 8, 10-12, but more embodiments are contemplated and the connection structures shown are merely for illustrative purposes.

SIMULATION RESULTS

[0098] The following figures illustrate an example of the improvement of implementing the dynamic ICAD to generate connection structures (e.g., connections between content nodes and non-adjacent bits as well as a different number of bits connected to content nodes). FIG. 13 shows the improvement in correction capability wherein the graph 1300 (an update of graph 600 in FIG. 6) is of a success rate versus the number of bit flips in data chunks. The X-axis 1302 corresponds to the number of bit flips in the data chunks, and the Y-axis 1304 corresponds to the decode success rate. FIG. 13 illustrates the improvement in correction capability of the dynamic ICAD over the ICAD and regular decoder. For example, as depicted in graph 1300, the regular decoder curve 1306 and the ICAD curve 1308 is outperformed by the dynamic ICAD curve 1310.

[0099] Similarly, FIG. 14 illustrates the improvement in decoding latency by implementing the dynamic ICAD. FIG. 14 provides a graph 1400 (an update of graph 700 illustrated in FIG. 7) of a decode time versus the number of flipped bits in data chunks when the dynamic ICAD is implemented. The X-axis 1402 corresponds to the number of bit flips in data chunk, and the Y-axis 1404 corresponds to the average decoding latency according to 128 data chunks from the sequential read. Figure 14, illustrates the improvement in decoding latency by the dynamic ICAD over the ICAD and regular decoder. For example, as depicted in graph 1400, the regular decoder 1406 and the ICAD 1408 perform at a higher average decoding latency than the dynamic ICAD 1410. As a result, the dynamic ICAD converges much faster and may take less time to decode.

[0100] In one non-limiting embodiment, a method is disclosed comprising obtaining data from a memory, estimating a probability of data values of the obtained data based on at least one of a source log-likelihood ratio and a channel log-likelihood ratio, wherein each bit in the obtained data has an associated log-likelihood ratio, determining at least one data pattern parameter for the data based on the estimating the probability of the data values, wherein the at least one data pattern parameter includes information on each bit in the obtained data and performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0101] In another non-limiting embodiment, the method may be performed wherein the obtained data is obtained from a sliding window sample.

[0102] In a still further non-limiting embodiment, the method may be performed wherein the probability of the data values is estimated for multiple bits simultaneously.

[0103] In a further non-limiting embodiment, the method may further comprise performing an iterative estimation process for the data prior to the decoding process.

[0104] In another embodiment, a method is disclosed comprising obtaining data from a memory, applying the data to one or more symbol nodes of a network; estimating a probability of data value of the obtained data based on at least one of a source log-likelihood ratio, a channel log-likelihood ratio and a symbol probability distribution list, wherein each bit in the obtained data has an associated log-likelihood ratio and is associated with a value in each bit location, and wherein the symbol probability distribution list is based on the probability of occurrence of each symbol, determining at least one data pattern parameter for the data based on the estimating, wherein the at least one data pattern parameter includes information on each bit in the obtained data and performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0105] In another example embodiment, the method may be performed wherein estimating the probability of data value is determined during an encoding process.

[0106] In a further example embodiment, the method may be performed wherein the estimating the probability of data value is performed by scanning the data and counting an occurrence of each symbol in the data.

[0107] In a further example embodiment, the method may be performed wherein the probability of a data value is estimated during the decoding process to determine a probability of an occurrence of each symbol.

[0108] In a further example embodiment, a method may be performed comprising obtaining data from a memory, the data needing to be decoded, comparing the data from the memory to a list of patches and augmenting the data from the memory when the comparing the data from the memory to the list of patches indicates a match of the data to a specific patch to produce an augmented data and decoding the augmented data.

[0109] In a further example embodiment, the method may be performed wherein the data is a sample of bits of a block of data.

[0110] In a further example embodiment, the method may be performed wherein the list of patches include a distance metric.

[0111] In another example embodiment, the method may be performed wherein the list of patches include a probability metric. [0112] In another non-limiting embodiment, the method may be performed wherein the list of patches is predetermined.

[0113] In another non-limiting embodiment, the method may further comprise checking the decoding of the augmented data.

[0114] In another non-limiting embodiment, the method may further comprise updating the data in the memory when the decoding of the augmented data is not successful.

[0115] In another non-limiting embodiment, the method may further comprise checking a number of iterations performed on updating the data in the memory, and ending the method when the number of iterations performed equals a maximum number of iterations allowed and performing another iteration of the comparing the data to the list of patches when the number of iterations performed is less than the maximum number of iterations.

[0116] In another example embodiment, a method is disclosed comprising obtaining data of a memory block, wherein the data is a sample of bits of a block of data of a given length, each of the bits having a bit value, comparing the snapshot to a predetermined data pattern, estimating at least one bit value for the data based on the comparison and adjusting the bit values based on the estimation.

[0117] In another example embodiment, the method may be performed wherein the predetermined data pattern is a mathematical linear function.

[0118] In another example embodiment, the method may further comprise lengthening an amount of obtained with each execution of the method.

[0119] In another example embodiment, the method may be performed wherein adjusting the bit values includes generating and applying a correction term to the bit values.

[0120] In a still further embodiment, the method may be performed wherein the method is executed multiple times with snapshots of different blocks of data of the memory block. [0121] In another example embodiment, a device is disclosed comprising at least one memory device and a controller coupled to the at least one memory device, the controller configured to provide a content-aware decoding process configured to reduce a scope of the decoding process, wherein the content- aware decoding process samples a block of data in the one or more memory devices to estimate bit values in the block of data based on a log-likelihood ratio, and wherein the log-likelihood ratio is associated with a number of ones and zeroes in each bit location.

[0122] In another non-limiting embodiment, the device further comprises a controller that is further configured with a predetermined list of patches.

[0123] In another non-limiting embodiment, the device may be configured wherein the content-aware decoding process resides in firmware in the controller.

[0124] In another non-limiting embodiment, an arrangement is disclosed comprising means for obtaining data from a memory, means for estimating a probability of data values of the obtained data based on at least one of a source log-likelihood ratio and a channel log-likelihood ratio, wherein each bit in the obtained data has an associated log-likelihood ratio, means for determining at least one data pattern parameter for the data based on the estimating the probability of the data values, wherein the at least one data pattern parameter includes information on each bit in the obtained data and means for performing a decoding process using the at least one data pattern parameters to determine a decoded data set.

[0125] In another non-limiting embodiment, the arrangement may be configured wherein the means for obtaining data obtains data from one of a memory and a solid state drive.

[0126] In another example embodiment, a storage device is disclosed comprising an interface, at least one memory device, a controller coupled to the at least one memory device, and a decoder configured to connect non-adjacent bits to a content node based on a content-aware decoding process. [0127] In another non-limiting embodiment, the storage device may be configured wherein the connection of non-adjacent bits is based on a determination of a pattern in data.

[0128] In another non-limiting embodiment, the storage device may be configured wherein each iteration of the content-aware decoding process connects a different set of non-adjacent bits to the content node.

[0129] In another non-limiting embodiment, the storage device may be configured wherein connecting non-adjacent bits to the content node includes a frequency calculation that groups repeating data.

[0130] In another non-limiting embodiment, the storage device may be configured wherein the frequency calculation comprises a Fast Fourier transform (FFT).

[0131] In another non-limiting embodiment, the storage device may be configured wherein connecting non-adjacent bits to the content node includes auto-correlation.

[0132] In another non-limiting embodiment, the storage device may be configured wherein connecting non-adjacent bits to the content node includes spectral analysis of the auto-correlation.

[0133] In another non-limiting embodiment, the storage device may be configured wherein connecting non-adjacent bits includes reordering data based on inherent data frequencies.

[0134] In another non-limiting embodiment, the storage device may be configured wherein connecting non-adjacent bits is based on permuting a set of bits within a set content node structure.

[0135] In another embodiment, a storage device is disclosed comprising an interface, at least one memory device, a controller coupled to the at least one memory device, and a decoder configured to connect, based on a content aware decoding process: a first number of bits to a first content node, and a second number of bits to a second content node, wherein the first number of bits and the second number of bits are different.

[0136] In another example embodiment, the storage device may be configured wherein the first content node is connected to a different number of bits in each iteration of the content-aware decoding process.

[0137] In another example embodiment, the storage device may be configured wherein the second content node is connected to a different number of bits in each iteration of the content-aware decoding process.

[0138] In another example embodiment, the storage device may be configured wherein the number of bits connected to the first content node and the second content node is different for each iteration of the content-aware decoding process.

[0139] In another example embodiment, the storage device may be configured wherein the decoder is configured to connect a third number of bits to a third content node, wherein the third number of bits is the same as the first number of bits or the second number of bits.

[0140] In another example embodiment, the storage device may be configured wherein the decoder is configured to connect a third number of bits to a third content node, wherein the third number of bits is different than the first number of bits and the second number of bits.

[0141] In another example embodiment, the storage device may be configured wherein the connection is based on at least one of a frequency calculation, an auto-correlation, a spectral analysis of the auto-correlation, inherent data frequencies, and a permutation of bits within a set content node structure.

[0142] In a further example embodiment, a storage device is disclosed comprising means for determining a pattern in data and means for connecting bits to a set of content nodes based on the pattern in the data, wherein the bits are either non-adjacent, unequal in number, or a combination thereof. [0143] In another example embodiment, the storage device may be configured wherein the means for determining a pattern in data determines the pattern from a decoder.

[0144] In another example embodiment, the storage device may be configured wherein the means for connecting bits to a set of content nodes connects bits from a decoder.

[0145] In another example embodiment, the storage device may be configured wherein the means for connecting bits to a set of content nodes includes at least one of means to connect non-adjacent bits to each content node, and means to connect a different number of bits to each content node.

[0146] While the foregoing is directed to embodiments of the present disclosure, other and further embodiments of the disclosure may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.