Patent ID: 9710326
Date: 2017-07-18
CPC Classifications: G06F,G11C

Claim:
1. A system, comprising: a storage; and a host issuing instructions to a storage interface for communicating with the storage, wherein the storage interface including an error correction decoder, an error correction encoder, and an adder, is configured to: read a first physical location in the storage to obtain read data; and store migrated data at a second physical location in the storage; the error correction decoder is configured to: perform error correction decoding on the read data in order to obtain error-corrected data, wherein the error-corrected data includes first error-corrected metadata; the error correction encoder is configured to: perform error correction encoding on (1) a first random sequence combined with a second random sequence, concatenated with (2) second metadata to obtain first encoded data; and perform error correction encoding on a sequence of zeros concatenated with the first error-corrected metadata in order to obtain second encoded data; and the adder is configured to sum (1) the error-corrected data, (2) the first encoded data, and (3) the second encoded data in order to obtain the migrated data.