Data recovery method, data recovery device, electronic equipment and storage medium
A recovery method and data technology, which are applied in the fields of electrical digital data processing, input/output process of data processing, error detection of redundant data in operation, etc., and can solve problems such as long recovery time and so on.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] This embodiment provides a data recovery method, which can be executed by a data recovery device, wherein the device can be implemented by software and / or hardware, and generally integrated in a chip, such as an EMMC chip. figure 1 It is a flow chart of a data recovery method provided in Embodiment 1 of the present invention, specifically, see figure 1 , the method includes the following steps:
[0039] Step 110, obtaining a free storage block header table and a free storage block linked list. Among them, the cache storage block that continues to be used and the target cache storage block after data migration are stored at the end of the free storage block header table, and the reclaimed cache storage block and the target cache storage block before data migration are stored in the free storage block end of the linked list.
[0040] Wherein, each storage block is made up of a plurality of storage pages, and each storage page includes a plurality of storage units, and e...
Embodiment 2
[0060] The second embodiment optimizes the data recovery method based on the above-mentioned embodiment, figure 2 It is a flowchart of another data recovery method provided by Embodiment 2 of the present invention, refer to figure 2 , the method includes the following steps:
[0061] Step 210, obtaining a free storage block header table and a free storage block linked list.
[0062] Step 220, look up the free storage block header table and the free storage block linked list, and determine whether there is a cache storage block for writing data.
[0063] Optionally, step 220 includes:
[0064] Detecting the information of each storage block sequentially from the end of the free storage block linked list and the free storage block header table;
[0065] If the detected storage block is a storage block for writing data, then continue to detect until a storage block that has not been written into data is detected;
[0066] Query the type of the storage block to which data is...
Embodiment 3
[0084] This embodiment provides a data recovery device, image 3 It is a schematic diagram of a data recovery device provided in Embodiment 3 of the present invention, refer to image 3 , the device consists of:
[0085] An information table obtaining module 310, configured to obtain a free storage block header table and a free storage block linked list;
[0086] The table lookup module 320 is used to search the free storage block header table and the free storage block linked list, and determine whether there is a cache storage block for writing data; wherein, the cache storage block that continues to be used and the target cache storage block after the data movement is completed The blocks are all stored at the end of the free storage block header table, and the reclaimed cache storage block storage and the target cache storage block before the data movement is completed are all stored at the end of the free storage block linked list;
[0087] The recovery module 330 is co...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


