CPC G06F 12/1009 (2013.01) [G06F 2212/1016 (2013.01)] | 12 Claims |
1. A method of mapping table reconstruction based on a SSD, comprising:
acquiring a mapping table reconstruction request based on the SSD;
scanning starting from a last physical page of a corresponding physical block according to the mapping table reconstruction request based on the SSD;
reading a corresponding logical address and N logical address offsets from a data area of the last physical page, wherein the last physical page is a current physical page selected for scanning, and wherein N is a positive integer greater than 1;
acquiring logical addresses corresponding to N adjacent pages in sequence according to the logical address corresponding to the current physical page and the N logical address offsets;
reconstructing a mapping relationship between logical addresses and physical addresses according to the logical address corresponding to the current physical page and the logical addresses corresponding to the N adjacent pages.
|