US 12,131,035 B1
Method and apparatus for performing data access management of memory device in predetermined communications architecture to enhance sudden power off recovery of page-group-based redundant array of independent disks protection with aid of multi-table control using dummy flag
Jie-Hao Lee, Hsinchu County (TW); Ting-Fong Hsu, Taoyuan (TW); and Szu-I Yeh, Hsinchu County (TW)
Assigned to Silicon Motion, Inc., Hsinchu County (TW)
Filed by Silicon Motion, Inc., Hsinchu County (TW)
Filed on May 26, 2023, as Appl. No. 18/202,304.
Int. Cl. G06F 3/06 (2006.01); G06F 12/1009 (2016.01)
CPC G06F 3/0619 (2013.01) [G06F 3/064 (2013.01); G06F 3/0689 (2013.01); G06F 12/1009 (2013.01)] 16 Claims
OG exemplary drawing
 
1. A method for performing data access management of a memory device in a predetermined communications architecture to enhance sudden power off recovery (SPOR) of page-group-based redundant array of independent disks (RAID) protection with aid of multi-table control using a dummy flag, the method being applied to a memory controller of the memory device, the memory device comprising the memory controller and a non-volatile (NV) memory, the NV memory comprising at least one NV memory element, the at least one NV memory element comprising a plurality of blocks, the method comprising:
after occurrence of a sudden power off (SPO) event, utilizing the memory controller to perform a SPOR procedure in response to the SPO event, wherein the SPOR procedure comprises:
determining a beginning location of a damaged page group;
updating a temporary physical-to-logical (P2L) address mapping table corresponding to a first active block to carry the dummy flag in each P2L table entry of at least one P2L table entry corresponding to at least one set of damaged pages, for indicating that RAID encoding of the at least one set of damaged pages in the damaged page group should be skipped;
writing at least one set of dummy pages into the first active block; and
updating the temporary P2L address mapping table to carry the dummy flag in each P2L table entry of at least one P2L table entry corresponding to the at least one set of dummy pages, for indicating that RAID encoding of the at least one set of dummy pages in the damaged page group should be skipped; and
after performing the SPOR procedure in response to the SPO event, utilizing the memory controller to write subsequent data into at least one set of subsequent pages in the damaged page group.