DATA PROTECTION METHOD FOR POWER FAILURE AND CONTROLLER USING THE SAME
First Claim
1. A data protection method, suitable for a plurality of physical blocks mapped to a logical block in a non-volatile memory, the data protection method comprising:
- recording a data update information in each of the physical blocks, wherein the data update information is used for identifying an update relationship of the physical blocks; and
re-establishing the update relationship of the physical blocks according to the data update information,wherein the data update information comprises a plurality of words having a circular relationship, and the number of the words is greater than the number of the physical blocks,wherein the data update information is sequentially recorded in each of the physical blocks according to the update relationship and the circular relationship.
1 Assignment
0 Petitions
Accused Products
Abstract
A data protection method suitable for a plurality of physical blocks mapped to a logical block in a non-volatile memory is provided. The data protection method includes recording data update information in each of the physical blocks for identifying an update relationship of the physical blocks and re-establishing the update relationship of the physical blocks according to the data update information. The data update information is composed of a plurality of words having a circular relationship, and the number of these words is greater than the number of the physical blocks. The data update information is sequentially recorded in each of the physical blocks according to the update relationship and the circular relationship.
-
Citations
20 Claims
-
1. A data protection method, suitable for a plurality of physical blocks mapped to a logical block in a non-volatile memory, the data protection method comprising:
-
recording a data update information in each of the physical blocks, wherein the data update information is used for identifying an update relationship of the physical blocks; and re-establishing the update relationship of the physical blocks according to the data update information, wherein the data update information comprises a plurality of words having a circular relationship, and the number of the words is greater than the number of the physical blocks, wherein the data update information is sequentially recorded in each of the physical blocks according to the update relationship and the circular relationship. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A controller, suitable for a storage device, wherein a logical block in a non-volatile memory of the storage device is mapped to a plurality of physical blocks, the controller comprising:
-
a non-volatile memory interface, for accessing the non-volatile memory; a buffer memory, for storing data temporarily; a microprocessor unit, for controlling the operation of the controller; and a memory management module, for managing the non-volatile memory, wherein the memory management module records a data update information in each of the physical blocks, and re-establishes the update relationship of the physical blocks according to the data update information, and wherein the data update information is used for identifying an update relationship of the physical blocks, the data update information comprises a plurality of words having a circular relationship, and the number of the words is greater than the number of the physical blocks, and wherein the data update information is sequentially recorded in each of the physical blocks according to the update relationship and the circular relationship. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14)
-
-
15. A data protection method, suitable for a plurality of physical blocks mapped to a logical block in a non-volatile memory, the data protection method comprising:
-
recording a data update information in each of the physical blocks, wherein the data update information is used for identifying an update relationship of the physical blocks; and re-establishing the update relationship of the physical blocks according to the data update information, wherein the data update information is recorded into each of the physical blocks while writing data into the physical block. - View Dependent Claims (16, 17, 18)
-
-
19. A controller, suitable for a storage device, wherein a logical block in a non-volatile memory of the storage device is mapped to a plurality of physical blocks, the controller comprising:
-
a non-volatile memory interface, for accessing the non-volatile memory; a buffer memory, for storing data temporarily; a microprocessor unit, for controlling the operation of the controller; and a memory management module, for managing the non-volatile memory, wherein the memory management module records a data update information in each of the physical blocks, and re-establishes the update relationship of the physical blocks according to the data update information wherein the data update information is used for identifying an update relationship of the physical blocks, the data update information is recorded into each of the physical blocks while writing data into the physical block, and the data update information can be recorded into the physical blocks only once. - View Dependent Claims (20)
-
Specification