US 12,130,743 B2
Method and apparatus for performing data access management of memory device in predetermined communications architecture with aid of unbalanced table search
Jie-Hao Lee, Hsinchu County (TW); Chien-Cheng Lin, Yilan County (TW); and Chang-Chieh Huang, Hsinchu County (TW)
Assigned to Silicon Motion, Inc., Hsinchu County (TW)
Filed by Silicon Motion, Inc., Hsinchu County (TW)
Filed on Jan. 9, 2023, as Appl. No. 18/094,401.
Prior Publication US 2024/0232093 A1, Jul. 11, 2024
Int. Cl. G06F 12/0873 (2016.01); G06F 12/02 (2006.01)
CPC G06F 12/0873 (2013.01) [G06F 12/0253 (2013.01)] 14 Claims
OG exemplary drawing
 
1. A method for performing data access management of a memory device in a predetermined communications architecture with aid of unbalanced table search, 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:
utilizing the memory controller to receive a plurality of host commands from a host device through a transmission interface circuit of the memory controller, perform the unbalanced table search to receive a set of first data and a set of second data with a first active block and a second active block among the plurality of blocks according to a set of first commands and a set of second commands among the plurality of host commands, respectively, and update a first temporary physical-to-logical (P2L) address mapping table corresponding to the first active block and a second temporary P2L address mapping table corresponding to the second active block, wherein the set of first commands and the set of second commands indicate that writing the set of first data into the memory device and writing the set of second data into the memory device are requested, respectively, and the unbalanced table search comprises searching for any logical address of any first data among the set of first data received with the first active block in the second temporary P2L address mapping table corresponding to the second active block, without searching for any logical address of any second data among the set of second data received with the second active block in the first temporary P2L address mapping table corresponding to the first active block; and
selectively updating a first P2L address mapping table and a second P2L address mapping table in the NV memory according to the first temporary P2L address mapping table and the second temporary P2L address mapping table, respectively, for performing subsequent processing, wherein the first temporary P2L address mapping table and the second temporary P2L address mapping table are arranged to occupy a first table region of a first size and a second table region of a second size in a Random Access Memory (RAM) within the memory controller, respectively.