Storage device with flash memory and data storage method
First Claim
1. A method of storing data in a storage device including a flash memory, the method comprising:
- receiving data which is to be stored in the flash memory and a logical block address (LBA) of the flash memory in which the data will be stored from a host;
determining whether the LBA exists in a cache memory of the storage device;
if the LBA exists in the cache memory of the storage device, comparing first error detection information corresponding to the data transmitted from the host with second error detection information of data corresponding to the LBA and stored in the cache memory;
if the first error detection information and the second error detection information are the same as each other, comparing the data transmitted from the host with the data stored in the cache memory;
if the data transmitted from the host and the data stored in the cache memory are the same as each other, omitting an operation of storing the data transmitted from the host in the flash memory;
if the first error detection information and the second error detection information are not the same as each other or the data transmitted from the host and the data stored in the cache memory are not the same as each other, further comprising storing the data transmitted from the host in the flash memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of storing write data in flash memory incorporated in a storage device, the method includes; receiving write data and a logical block address (LBA) for the flash memory, determining whether the LBA exists in the cache memory, if the LBA exists in the cache memory, comparing the write data with cache data stored in the cache memory at a location associated with the LBA, and if the write data and the cache data are the same, terminating operation of the storage device without programming the write data to the flash memory, else updating an error detection information lookup table entry associated with the LBA and programming the write data to the flash memory, and if the LBA does not exist in the cache memory, updating the error detection information lookup table entry associated with the LBA and programming the write data to the flash memory.
12 Citations
5 Claims
-
1. A method of storing data in a storage device including a flash memory, the method comprising:
-
receiving data which is to be stored in the flash memory and a logical block address (LBA) of the flash memory in which the data will be stored from a host; determining whether the LBA exists in a cache memory of the storage device; if the LBA exists in the cache memory of the storage device, comparing first error detection information corresponding to the data transmitted from the host with second error detection information of data corresponding to the LBA and stored in the cache memory; if the first error detection information and the second error detection information are the same as each other, comparing the data transmitted from the host with the data stored in the cache memory; if the data transmitted from the host and the data stored in the cache memory are the same as each other, omitting an operation of storing the data transmitted from the host in the flash memory; if the first error detection information and the second error detection information are not the same as each other or the data transmitted from the host and the data stored in the cache memory are not the same as each other, further comprising storing the data transmitted from the host in the flash memory. - View Dependent Claims (2, 3, 4, 5)
-
Specification