Flash memory management method that is resistant to data corruption by power loss
First Claim
Patent Images
1. A method of managing a memory that includes a plurality of pages, the method comprising the steps of:
- (a) identifying a respective risk zone of each page;
(b) selecting at least one unwritten page for writing new data; and
(c) for each said unwritten page whose risk zone includes at least one written page, copying each said written page to a log.
4 Assignments
0 Petitions
Accused Products
Abstract
A method of managing page-based data storage media such as flash media, a system that uses the method, and a computer-readable storage medium bearing code for implementing the method. For each page, a corresponding risk zone, of other pages whose data are put at risk of corruption if writing to the page is interrupted, is identified. When a page is selected for writing new data, the written pages in its risk zone are copied to a log. As necessary, corrupt data are replaced with corresponding data from the log.
-
Citations
28 Claims
-
1. A method of managing a memory that includes a plurality of pages, the method comprising the steps of:
-
(a) identifying a respective risk zone of each page;
(b) selecting at least one unwritten page for writing new data; and
(c) for each said unwritten page whose risk zone includes at least one written page, copying each said written page to a log. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A data storage system, comprising:
-
(a) a data storage medium including a plurality of pages;
(b) a log; and
(c) a controller for writing new data to said plurality of pages by steps including;
(i) identifying a respective risk zone of each page of said plurality of pages;
(ii) selecting at least one unwritten page of said plurality of pages for writing said new data; and
(iii) for each said unwritten page whose risk zone includes at least one written page of said plurality of pages, copying each said written page to said log. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A computer-readable storage medium having computer-readable code embedded in the computer-readable storage medium, the computer readable code for writing new data to at least one of a plurality of pages of a data storage medium, the computer-readable code comprising:
-
(a) program code for identifying a respective risk zone of each page;
(b) program code for selecting at least one unwritten page for writing new data; and
(c) program code for, for each said unwritten page whose risk zone includes at least one written page, copying each said written page to a log.
-
Specification