Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Pending Publication Date: 2021-02-02
GIGADEVICE SEMICON (BEIJING) INC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the restoration process requires a large number of table lookups and data comparisons, resulting in a long restoration time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data recovery method, data recovery device, electronic equipment and storage medium
  • Data recovery method, data recovery device, electronic equipment and storage medium
  • Data recovery method, data recovery device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a data recovery method, a data recovery device, electronic equipment and a storage medium. The method comprises the following steps: searching a free storageblock header table and a free storage block chain table, and determining whether a cache storage block with written data exists or not; wherein the cache storage blocks which are continuously used andthe target cache storage blocks after data migration are all stored at the tail of the free storage block header table, and the recycled cache storage blocks and the target cache storage blocks before data migration are all stored at the tail of the free storage block linked list; if the first cache storage block with the written data exists in the free storage block header table, rebuilding theinformation of the first cache storage block to a cache information table; if the second cache storage block in which the data is written exists in the free storage block chain table, determining whether to rebuild the second cache storage block back to the cache information table or not according to the effective information of the second cache storage block. According to the embodiment of the invention, the data recovery process is simplified, and the recovery time is shortened.

Description

technical field [0001] Embodiments of the present invention relate to data storage technologies, and in particular, to a data recovery method, a data recovery device, electronic equipment, and a storage medium. Background technique [0002] EMMC (Embedded Multi Media Card, Embedded Multimedia Card) is established by the MMC Association. It is mainly aimed at the embedded memory standard specifications of products such as mobile phones or tablet computers. It has MMC multimedia interface, flash memory (such as NAND Flash) and EMMC controller. More and more mobile devices use EMMC chips as storage units. [0003] The cache storage block in EMMC is used as a cache space, which can cache network data or host commands, etc. The information of the cache storage block is stored in the cache information table, but when the EMMC is powered off, the cache information table needs to be rebuilt. In the prior art, the restoration process requires a large number of table lookups and da...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F3/06G06F11/14
CPCG06F3/0652G06F3/064G06F11/1458
Inventor 吴春晓庄开锋
Owner GIGADEVICE SEMICON (BEIJING) INC