Patent ID: 9361180
Filing Date: 2016-06-07
CPC Classification: G06F,H03M

Claim Text:
1. A method of storing data by an ECC memory, the memory comprising a storage array that includes a data bit storage part and a parity bit storage part, the data bit storage part being configured to store a data block with a first data length and including a plurality of storage cells which have a same number of storage bits, the parity bit storage part being configured to store a first number of parity bits generated for the data block with the first data length according to an ECC encoding rule and including the first number of storage bits, the method comprising: writing a plurality of data blocks with a second data length into the memory, wherein according to the encoding rule, for each of the data blocks with the second data length, a second number of parity bits are generated for it, wherein if the second data length is less than the first data length: wherein, when the at least one data block with the second data length includes two or more data blocks, one or more judgment bits configured to indicate that the second number of parity bits stored in the parity bit storage part correspond to the only one data block are stored in one or more storage bits of the parity bit storage part that are not occupied.