Memory management method for flash memory
A management method and flash storage technology, applied in the field of flash memory, can solve the problems of high RAM resource demand and high cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Embodiment 1: The division of regions is the same as the division of domains, that is, the size of a region is twice the size of a domain.
[0049] Since the division of areas is the same as that of domains, that is to say, areas can be equated with domains, that is, the method of building tables by domains is used to realize storage management of flash memory. For details, please refer to Figure 5 , which includes the following steps:
[0050] Step S1, creating a table: in this embodiment, a region is equivalent to a domain. Therefore, in the process of partitioning the flash memory, only the domains need to be divided. That is, the flash memory is divided into multiple domains according to a certain number of physical blocks. Next, the block address mapping table (L2PTable) and the physical block assignment table (Assign Table) between the logical block address and the physical block address are established in units of domains, so that the L2P Table and Assign Tab...
Embodiment 2
[0060] Embodiment 2: The division of regions is different from the division of domains, that is, the size of a region is twice or more than the size of a domain.
[0061] Since the division of areas is different from the division of domains, and the size of areas is an integral multiple of the size of domains, it indicates that domains are further divided on the basis of areas. That is to say, in this solution, the flash memory is firstly divided into areas, and then the areas are divided into domains; and then the storage management of the flash memory is implemented by building tables by area. For details, please refer to Figure 7 , which includes the following steps:
[0062] Step S10, creating a form, which includes the following steps:
[0063] First, the flash memory is divided into M areas, and a physical block assignment table (Assign Table) is established for each area, assuming that the number of physical blocks in each area is j.
[0064] Then divide each area i...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 