Method And Apparatus For Performing Wear Leveling In Memory
First Claim
1. A method for performing wear leveling in a memory, comprising:
- dividing life cycle of the memory comprising more than one Physical Blocks into at least one sampling interval;
for each sampling interval, getting a first Physical Block by taking statistics of degree of wear of each Physical Block in the memory in the current sampling interval;
getting a second Physical Block by taking statistics of update times of each logical address in the current sampling interval; and
exchanging the logical address and data of the first Physical Block and the second Physical Block.
3 Assignments
0 Petitions
Accused Products
Abstract
The embodiment of the solution provides a method for performing wear leveling in a memory. The method includes: dividing the lifecycle of the memory which includes more than one physical blocks into at least one sampling interval; for each sampling interval, getting the first physical block by taking statistics of the degree of the wear leveling of each physical block in the memory in the current sampling interval; getting the second physical block by taking statistics of the updating times of each logical address in the current sampling interval; exchanging the logical addresses and data of the first physical block and the second physical block. The embodiment of the solution also provides an apparatus corresponding the method
33 Citations
16 Claims
-
1. A method for performing wear leveling in a memory, comprising:
-
dividing life cycle of the memory comprising more than one Physical Blocks into at least one sampling interval; for each sampling interval, getting a first Physical Block by taking statistics of degree of wear of each Physical Block in the memory in the current sampling interval; getting a second Physical Block by taking statistics of update times of each logical address in the current sampling interval; and exchanging the logical address and data of the first Physical Block and the second Physical Block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for performing wear leveling in a memory, comprising:
-
a first unit, for dividing life cycle of the memory into at least one sampling interval; a second unit, for getting a first Physical Block by taking statistics of degree of wear of each Physical Block in the memory in the current sampling interval, and getting a second Physical Block by taking statistics of update times of each logical address in the current sampling interval, with respect to each sampling interval divided by the first unit; and a third unit, for exchanging the logical address and data of the first Physical Block and the second Physical Block gotten by the second unit. - View Dependent Claims (13, 14, 15, 16)
-
-
12. (canceled)
Specification