Data compression method and flash memory device
AssigneeDapuStor Corporation
InventorsJuming Liao, Xueming Cao, Yuanpeng Ma, Ying Yang
Life of this patent
Estimating the term…
Abstract
A data compression method is disclosed. The data compression method is applied to a flash memory device having a flash memory medium. The data compression method includes: reading at least two pieces of cold data in the flash memory medium; compressing the at least two pieces of cold data in the flash medium, so as to obtain at least two pieces of compressed data; splicing the at least two pieces of compressed data, so as to generate at least one write unit; and writing each of the at least one write unit into the flash memory medium.
Claims20
A method of data compression, applied to a flash memory device comprising a flash medium, the method comprising:
- reading at least two pieces of cold data in the flash medium;
- compressing the at least two pieces of cold data in the flash medium to obtain at least two pieces of compressed data, respectively, wherein the at least two pieces of compressed data comprise a first piece of compress data and a second piece of compressed data;
- concatenating the at least two pieces of compressed data to generate at least one write unit such that the first piece of compressed data is connected to the second piece of compressed data in one of the at least one write unit without invalid data padding in between the first and second pieces of compressed data, wherein each write unit comprises a header file comprising a logical address, a data length, and a starting position of each piece of compressed data within the corresponding write unit;
- and
- writing each of the at least one write unit into the flash medium.
A flash memory device, comprising:
- a flash medium;
- and
- a processor configured to perform operations comprising:
- reading at least two pieces of cold data in the flash medium;
- compressing the at least two pieces of cold data in the flash medium to obtain at least two pieces of compressed data, respectively, wherein the at least two pieces of compressed data comprise a first piece of compress data and a second piece of compressed data;
- concatenating the at least two pieces of compressed data to generate at least one write unit such that the first piece of compressed data is connected to the second piece of compressed data in one of the at least one write unit without invalid data padding in between the first and second pieces of compressed data, wherein each write unit comprises a header file comprising a logical address, a data length, and a starting position of each piece of compressed data within the corresponding write unit;
- and
- writing each of the at least one write unit into the flash medium.
Dependencies are inferred from the claim text.