Data access method capable of reducing the number of erasing to flash memory and data patch and access device using the same
First Claim
Patent Images
1. A data access method for reducing the number of erasing to flash memory comprising:
- a data write procedure for determining a difference between data to be written and existed data in the data block when writing data to a data block of the flash memory, and if the difference is less than a pre-determined value, writing the difference to a patch area instead of writing the data to the data block; and
a data read procedure for searching the difference recorded in the patch area when reading data from a data block of the flash memory, so as to patch the data.
3 Assignments
0 Petitions
Accused Products
Abstract
A data access method capable of reducing the number of erasing to flash memory and a data patch and access device that utilizes the method are disclosed. A data write procedure is provided for determining a difference between data to be written and existed data in the data block when writing data to a data block of the flash memory, and if the difference is less than a pre-determined value, writing the difference to a patch area instead of writing the data to the data block. A data read procedure is provided for searching the difference recorded in the patch area when reading data from a data block of the flash memory, so as to patch the data.
-
Citations
18 Claims
-
1. A data access method for reducing the number of erasing to flash memory comprising:
-
a data write procedure for determining a difference between data to be written and existed data in the data block when writing data to a data block of the flash memory, and if the difference is less than a pre-determined value, writing the difference to a patch area instead of writing the data to the data block; and
a data read procedure for searching the difference recorded in the patch area when reading data from a data block of the flash memory, so as to patch the data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 14)
reading data blocks which is still in use based on the data read procedure for being temporarily stored in memory;
erasing content of the segment of the flash memory; and
copying the data block which is temporarily stored in memory back to the data block of the flash memory.
-
-
14. The data patch and access device as claimed in claim 2, wherein, when the patch record has a total length greater than a threshold value, the data write means performs a general flash memory write operation to write the data to the data block.
-
10. A data patch and access device for reading and writing flash memory, the flash memory having multiple data blocks, at least a data block corresponding to a patch area, the device comprising:
-
a data write means for determining a difference between data to be written and existed data in the data block when writing data to a data block of the flash memory, and if the difference is less than a pre-determined value, writing the difference to a patch area instead of writing the data to the data block; and
a data read means for searching the difference recorded in the patch area when reading data from a data block of the flash memory, so as to patch the data. - View Dependent Claims (11, 12, 13, 15, 16, 17, 18)
reading data blocks which is still in use based on the data read procedure for being temporarily stored in memory;
erasing content of the segment of the flash memory; and
copying the data block which is temporarily stored in memory back to the data block of the flash memory.
-
Specification