Controlling methods and controllers utilized in flash memory device for referring to data compression result to adjust ECC protection capability
AssigneeSilicon Motion, Inc.
InventorsWen-Long Wang, Tsung-Chieh Yang
Life of this patent
Estimating the term…
Abstract
A controlling method utilized in a flash memory device includes: compressing first data received from a host to generate second data; generating record data according to the first data and the second data where the record data records error correct coding (ECC) control information at least; executing ECC protection upon specific data selected from the first and second data to generate third data; and writing the third data into the flash memory device.
Claims18
A controlling method utilized in a flash memory device, comprising:
- compressing a first data received from a host to generate a second data;
- generating a record data according to the first data and the second data, wherein the record data records at least error correct coding (ECC) control information;
- generating a third data by executing an ECC protection and data shaping of a randomizer upon the record data and at least a specific data selected from the first data and the second data according to the record data;
- and
- writing the third data into the flash memory device;
- wherein the record data records compressing indication information and the at least ECC control information;
- the compressing indication information records that the at least a specific data is a compressed data and a compression ratio;
- and, the at least ECC control information records a bit number of an ECC code utilized in the ECC protection.
A controlling method utilized in a flash memory device, comprising:
- reading a third data from the flash memory device, the third data including a record data, the record data recording compressing indication information and ECC control information;
- generating a second data by executing ECC decoding and reverse data shaping of a de-randomizer according to the recorded ECC control information and the third data;
- and
- decompressing the second data to generate a first data to a host or outputting the second data to the host according to the recorded compressing indication information;
- wherein the compressing indication information records that the first data is a compressed data and a compression ratio, and the ECC control information records a bit number of an ECC code utilized in the ECC decoding.
A controller utilized in a flash memory device, comprising:
- a first processing circuit, for compressing a first data received from a host to generate a second data, and generating a record data according the first data and the second data, wherein the record data records at least ECC control information and compressing indication information;
- and
- a second processing circuit, coupled to the first processing circuit, for generating a third data by executing an ECC protection and a data shaping of a randomizer upon the record data and a specific data selected form the first data and the second data according to the record data, and writing the third data into the flash memory device;
- wherein the compressing indication information records that the at least a specific data is a compressed data and a compression ratio;
- and the at least ECC control information records a bit number of an ECC code utilized in the ECC protection.
A controller utilized in a flash memory device, comprising:
- a second processing circuit, for reading a third data from the flash memory device, wherein the third data includes a record data, and the record data records compressing indication information and ECC control information, and for generating a second data by executing ECC decoding and reverse data shaping of a de-randomizer according to the recorded ECC control information and the third data;
- and
- a first processing circuit, coupled to the second processing circuit, for decompressing the second data to generate a first data to a host or outputting the second data to the host according to the recorded compressing indication information;
- wherein the compressing indication information records that the first data is a compressed data and a compression ratio;
- and, the ECC control information records a bit number of an ECC code utilized in the ECC decoding.
An access method utilized in a memory device, comprising:
- receiving a first data;
- compressing the first data to generate a second data;
- selectively utilizing the first data or the second data as a specific data according to a compression ratio of the second data;
- and
- generating a third data by executing an ECC protection and data shaping of a randomizer upon the specific data and a record data according to the compression ratio, wherein the third data is for being recorded into the memory device;
- wherein the record data records compressing indication information and ECC control information;
- the compressing indication information records that the specific data is a compressed data and the compression ratio;
- and, the ECC control information records a bit number of an ECC code utilized in the ECC protection.
Dependencies are inferred from the claim text.