System and method for configuration and management of flash memory
First Claim
1. A method for configuration and management of flash memory, comprising the following steps:
- (a) defining a relationship among a flash memory, a virtual memory region, and a memory logical block region according to a logical block address of the write request to said flash memory;
(b) defining a plurality of data access basic control units of said flash memory, including physical erase unit, segment, frame, and page, by configuring the structure of said flash memory of step (a) into said physical erase unit, said segment, said frame and said page;
(c) defining a plurality of data access basic control units of the virtual memory region, including virtual erase unit and area, by configuring the structure of said virtual memory region of step (a) into said area and said virtual erase unit;
(d) defining a plurality of data access basic control units of the memory logical block region, including cluster and logical block, by configuring the structure of said memory block region of step (a) into said cluster and said logical block;
(e) constructing an erase unit table, a cluster table and a free segment table according to a relationship among the physical erase unit, segment, virtual erase unit, area, logical block and cluster, by using said physical erase unit, said segment of step (b), said area, said virtual erase unit of step (c), said cluster, said logical block of step (d) to construct said erase unit table, said cluster table and said free segment table; and
(f) processing data access according to a relationship in said erase unit table, said cluster table, and said free segment table, by using said erase unit table, said cluster table and said free segment table of step (e) to map a read or write request to said logical block of said memory logical block region to a read or write operation to said frame of said flash memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and a method for configuration and management of flash memory is provided, including a flash memory, a virtual memory region, and a memory logical block region. The flash memory includes a plurality of physical erase units. Each physical erase unit is configured to include at least a consecutive segment, and each segment is configured to include at least a consecutive frame. Each frame is configured to include at least a consecutive page. Each virtual memory region is configured to include a plurality of areas, and each area is configured to include at least a virtual erase unit. The memory logical block region is configured to include a plurality of clusters, and each cluster includes at least a consecutive memory logical block. By forming correspondence among the physical erase unit, segment, frame, page, virtual erase unit, area, memory logical block and cluster to control the data access to the flash memory, the present invention achieves the reconfiguration and management of memory consumption and access efficiency for the flash memory.
9 Citations
7 Claims
-
1. A method for configuration and management of flash memory, comprising the following steps:
-
(a) defining a relationship among a flash memory, a virtual memory region, and a memory logical block region according to a logical block address of the write request to said flash memory; (b) defining a plurality of data access basic control units of said flash memory, including physical erase unit, segment, frame, and page, by configuring the structure of said flash memory of step (a) into said physical erase unit, said segment, said frame and said page; (c) defining a plurality of data access basic control units of the virtual memory region, including virtual erase unit and area, by configuring the structure of said virtual memory region of step (a) into said area and said virtual erase unit; (d) defining a plurality of data access basic control units of the memory logical block region, including cluster and logical block, by configuring the structure of said memory block region of step (a) into said cluster and said logical block; (e) constructing an erase unit table, a cluster table and a free segment table according to a relationship among the physical erase unit, segment, virtual erase unit, area, logical block and cluster, by using said physical erase unit, said segment of step (b), said area, said virtual erase unit of step (c), said cluster, said logical block of step (d) to construct said erase unit table, said cluster table and said free segment table; and (f) processing data access according to a relationship in said erase unit table, said cluster table, and said free segment table, by using said erase unit table, said cluster table and said free segment table of step (e) to map a read or write request to said logical block of said memory logical block region to a read or write operation to said frame of said flash memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification