CN109471756A - Data reconstruction method, device and computer readable storage medium - Google Patents

Data reconstruction method, device and computer readable storage medium Download PDF

Info

Publication number
CN109471756A
CN109471756A CN201811372581.6A CN201811372581A CN109471756A CN 109471756 A CN109471756 A CN 109471756A CN 201811372581 A CN201811372581 A CN 201811372581A CN 109471756 A CN109471756 A CN 109471756A
Authority
CN
China
Prior art keywords
data
information
restored
terminal
recovery
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811372581.6A
Other languages
Chinese (zh)
Other versions
CN109471756B (en
Inventor
黄今
吴大畏
李晓强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen City A Microelectronics LLC
Original Assignee
Shenzhen City A Microelectronics LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen City A Microelectronics LLC filed Critical Shenzhen City A Microelectronics LLC
Priority to CN201811372581.6A priority Critical patent/CN109471756B/en
Publication of CN109471756A publication Critical patent/CN109471756A/en
Application granted granted Critical
Publication of CN109471756B publication Critical patent/CN109471756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of data reconstruction method, device and computer readable storage mediums, the following steps are included: when receiving the information to be restored that terminal is sent based on data recovery interface, obtain the information to be restored, wherein, the information to be restored includes storing the multiple logical block addresses and corresponding data validity of equipment;Obtain the logical block addresses of data invalid in the information to be restored, wherein the data for the logical block addresses that cluster is zero are invalid state;Restore the invalid corresponding data of the logical block addresses, be restored information;The recovery information is sent to the terminal.Because the present invention can send the information to be restored that instruction obtains subscriber's main station from network-side, it will restore information after the complete information to be restored of manual reversion and be sent to subscriber's main station, to solve the problems, such as that storage equipment is sent to special operating room and restores not carrying out supervising to file when data to lead to that leaking data occurs.

Description

Data reconstruction method, device and computer readable storage medium
Technical field
Restore field more particularly to a kind of data reconstruction method, device the present invention relates to data and computer-readable deposits Storage media.
Background technique
With the rapid development of computer hardware, the memory capacity for storing equipment is increasing, and people need in conventional operational A large amount of file is stored, but usually needs to restore to store equipment because accidentally deleting the reasons such as vital document or storage equipment damage In file data.Restored since current conventional data recovery ways are all based on logical data, is existed certain It is restricted.When data restore based on software middle layer restored when, can more thorough retrieval solid-state storage particle, more Big possible progress data recovery.
But only special operating room can restore file data based on software middle layer at present, send when storage equipment When restoring data to special operating room, due to that can not supervise to file after the completion of data are restored, it is easy to happen data Leakage.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of data reconstruction method, device and computer readable storage medium, Aim to solve the problem that storage equipment is sent to special operating room and restores not carrying out supervising to file when data that generation data is caused to be let out The problem of dew.
In order to achieve the above object, the present invention provides a kind of data reconstruction method, and the data reconstruction method includes following Step:
When receiving the information to be restored that terminal is sent based on data recovery interface, the information to be restored is obtained, In, the information to be restored includes storing the multiple logical block addresses and corresponding data validity of equipment;
Obtain the logical block addresses of data invalid in the information to be restored, wherein the logical block addresses that cluster is zero Data be invalid state;
Restore the invalid corresponding data of the logical block addresses, be restored information;
The recovery information is sent to the terminal.
Preferably, described the step of obtaining the logical block addresses of data invalid in the information to be restored, includes:
Obtain the first file configuration table and the second file configuration table of the terminal storage equipment, wherein described second File configuration table is file configuration table of the backup in memory block, and records the data storage information before preset time;
Obtain the logical block addresses that cluster is zero in first file configuration table.
Preferably, described to restore the invalid corresponding data of the logical block addresses, the packet the step of information that is restored It includes:
When the logical block addresses that cluster is zero are when the corresponding cluster of second file configuration table is not zero, according to institute It states the second file configuration table and obtains data in the logical block addresses;
The data are written in first file configuration table in corresponding logical block addresses according to recovery algorithms, are made For the recovery information.
Preferably, described when receiving terminal and restoring the information to be restored that interface is sent based on data, obtain it is described to After the step of restoring information and saving, further includes:
All memory blocks containing data in the terminal are obtained, and read the data in all memory blocks;
When the data can not be read, the first file configuration table of the terminal storage equipment is obtained, and described in acquisition The MBA memory block address that cluster is zero on allocation table;
The data for the MBA memory block address that cluster is zero are obtained, and the data are written corresponding can not read data Memory block;
When reading the data, the logical block addresses for obtaining data invalid in the information to be restored are executed The step of.
Preferably, the terminal based on data restore interface send information to be restored the step of include:
When receiving upload operation of the terminal based on data recovery interface triggering, Xiang Suoshu terminal sends information to be restored Acquisition instruction, so that the terminal obtains the corresponding information to be restored according to the acquisition of information instruction to be restored;
Receive the information to be restored that the terminal is sent.
Preferably, the described the step of recovery information is sent to the terminal, includes:
Encrypt the recovery information;
The encrypted recovery information is sent to the terminal.
Preferably, before the described the step of encrypted recovery information is sent to the terminal, further includes:
Obtain the encrypted memory capacity for restoring information;
When the memory capacity of the recovery information after encryption is greater than default memory capacity, the encrypted institute is compressed State recovery information;
The compressed recovery information is sent to the terminal.
In addition, to achieve the above object, the present invention also provides a kind of Data Recapture Unit, the Data Recapture Unit includes Processor, memory and it is stored in the data recovery procedures that can be run on the memory and on the processor, the number The step of realizing data reconstruction method as described above when being executed according to recovery routine by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Data recovery procedures are stored on storage medium, the data recovery procedures realize data as described above when being executed by processor The step of restoration methods.
Data reconstruction method, device and computer readable storage medium provided by the invention, firstly, receiving terminal When restoring the information to be restored that interface is sent based on data, the information to be restored is obtained, wherein the information to be restored includes The multiple logical block addresses and corresponding data validity of equipment are stored, then, obtain data in the information to be restored Invalid logical block addresses, wherein the data for the logical block addresses that cluster is zero are invalid state, finally, restoring in vain The corresponding data of the logical block addresses, be restored information;
The recovery information is sent to the terminal.Subscriber's main station is obtained because the present invention can send instruction from network-side Information to be restored, after the complete information to be restored of manual reversion by restore information be sent to subscriber's main station, to solve Supervision can not be carried out when data are restored by special operating room to file by, which sending storage equipment to, leads to the problem of leaking data occurs.
Detailed description of the invention
Detailed description of the invention is used to provide further understanding of the present invention, and constitutes part of specification, with the present invention Embodiment be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the hardware structural diagram for the Data Recapture Unit that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of data reconstruction method first embodiment of the present invention;
Fig. 3 is the flow diagram of data reconstruction method second embodiment of the present invention;
Fig. 4 is the flow diagram of data reconstruction method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of data reconstruction method fourth embodiment of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of data reconstruction method of the present invention;
Fig. 7 is the flow diagram of data reconstruction method sixth embodiment of the present invention;
Fig. 8 is the flow diagram of the 7th embodiment of data reconstruction method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: restoring the to be restored of interface transmission based on data receiving terminal When information, obtain the information to be restored, wherein the information to be restored include store multiple logical block addresses of equipment with And corresponding data validity;
Obtain the logical block addresses of data invalid in the information to be restored, wherein the logical block addresses that cluster is zero Data be invalid state;
Restore the invalid corresponding data of the logical block addresses, be restored information;
The recovery information is sent to the terminal.
Since only special operating room can restore file data based on software middle layer at present, it is sent to when storage equipment When data are restored by special operating room, due to that can not be supervised to file after the completion of data are restored, it is easy to happen data and lets out Dew.
The present invention provides a solution, firstly, restoring the to be restored of interface transmission based on data receiving terminal When information, obtain the information to be restored, wherein the information to be restored include store multiple logical block addresses of equipment with And corresponding data validity;Then, the logical block addresses of data invalid in the information to be restored are obtained, wherein cluster is The data of zero logical block addresses are invalid state;Again, restore the invalid corresponding data of the logical block addresses, obtain Restore information;Finally, the recovery information is sent to the terminal.Use is obtained because the present invention can send instruction from network-side The information to be restored of householder's machine will restore information after the complete information to be restored of manual reversion and be sent to subscriber's main station, thus Supervision can not be carried out when storage equipment is sent to special operating room's recovery data to file by, which solving, leads to that leaking data occurs The problem of, improve the safety after data are restored.
As shown in Figure 1, Fig. 1 is that the embodiment of the present invention is related to the hardware structural diagram of device.
Referring to Fig.1, the apparatus may include processor 1001, such as CPU, memory 1002, communication bus 1003, nets Network interface 1004.Wherein, communication bus 1003 is for realizing the connection communication between each building block in the device.Network interface 1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1002 can be high speed RAM memory is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1002 It optionally can also be the storage device independently of aforementioned processor 1001.As shown in Figure 1, as a kind of computer storage medium Memory 1002 in may include operating system, network communication module and data recovery procedures.
It will be understood by those skilled in the art that the restriction of the not structure twin installation of apparatus structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
In hardware involved in device shown in Fig. 1, network interface 1004 can be used for the reading that receiving host end issues Write command;And processor 1001 can be used for calling the data recovery procedures stored in memory 1002, and execute following operation:
When receiving the information to be restored that terminal is sent based on data recovery interface, the information to be restored is obtained, In, the information to be restored includes storing the multiple logical block addresses and corresponding data validity of equipment;
Obtain the logical block addresses of data invalid in the information to be restored, wherein the logical block addresses that cluster is zero Data be invalid state;
Restore the invalid corresponding data of the logical block addresses, be restored information;
The recovery information is sent to the terminal.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
Obtain the first file configuration table and the second file configuration table of the terminal storage equipment, wherein described second File configuration table is file configuration table of the backup in memory block, and records the data storage information before preset time;
Obtain the logical block addresses that cluster is zero in first file configuration table.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
When the logical block addresses that cluster is zero are when the corresponding cluster of second file configuration table is not zero, according to institute It states the second file configuration table and obtains data in the logical block addresses;
The data are written in first file configuration table in corresponding logical block addresses according to recovery algorithms, are made For the recovery information.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
All memory blocks containing data in the terminal are obtained, and read the data in all memory blocks;
When the data can not be read, the first file configuration table of the terminal storage equipment is obtained, and described in acquisition The MBA memory block address that cluster is zero on allocation table;
The data for the MBA memory block address that cluster is zero are obtained, and the data are written corresponding can not read data Memory block;
When reading the data, the logical block addresses for obtaining data invalid in the information to be restored are executed The step of.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
When receiving upload operation of the terminal based on data recovery interface triggering, Xiang Suoshu terminal sends information to be restored Acquisition instruction, so that the terminal obtains the corresponding information to be restored according to the acquisition of information instruction to be restored;
Receive the information to be restored that the terminal is sent.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
Encrypt the recovery information;
The encrypted recovery information is sent to the terminal.
Further, processor 1001 can be used for calling the data recovery procedures stored in memory 1002, also execute It operates below:
Obtain the encrypted memory capacity for restoring information;
When the memory capacity of the recovery information after encryption is greater than default memory capacity, the encrypted institute is compressed State recovery information;
The compressed recovery information is sent to the terminal.
The present invention is according to above scheme, when the data of user in a browser restore click data recovery button in interface, The data restore the program in interface and issue acquisition of information instruction to be restored to the current host of the user, described in obtaining Restore information, wherein the information of restoring is the algorithm table in file system.After getting the information to be restored, institute It states data and restores the prompting frame whether interface pop-up uploads the information to be restored, after user clicks confirmation upload, Yong Husuo The information to be restored is sent in terminal to server.Server is receiving terminal based on data recovery interface transmission to extensive When complex information, the information to be restored is obtained, wherein the information to be restored includes storing multiple logical block addresses of equipment And corresponding data validity, then obtain the logical block addresses of data invalid in the information to be restored, wherein cluster is The data of zero logical block addresses are invalid state, then restore the invalid corresponding data of the logical block addresses, are obtained Restore information.The recovery information is finally sent to the terminal, the terminal will after getting the recovery information The recovery information covers the information to be restored, to restore the data in the terminal.
Referring to Fig. 2, Fig. 2 is the first embodiment of data reconstruction method of the present invention, and the data reconstruction method includes:
Step S10, it when receiving the information to be restored that terminal is sent based on data recovery interface, obtains described to be restored Information, wherein the information to be restored includes storing the multiple logical block addresses and corresponding data validity of equipment;
Data reconstruction method provided by the invention is mainly used for restoring data in remote assistance user.Room provided by the invention The terminal that the correlating method of production information is related to includes but is not limited to mobile phone, tablet computer and computer etc., is added in advance in the terminal It is loaded with relevant application system, including but not limited to wechat public platform, APP or Web page system etc..
Technical solution provided by the invention, the data of user in a browser restore click data recovery button in interface When, the data restore the program in interface and issue acquisition of information instruction to be restored to the current host of the user, to obtain The recovery information, wherein the information of restoring is the algorithm table in file system.Getting the information to be restored Afterwards, the data restore the prompting frame whether interface pop-up uploads the information to be restored, after user clicks confirmation upload, use Terminal to server sends the information to be restored where family.Server is receiving what terminal was sent based on data recovery interface When information to be restored, the information to be restored is obtained, wherein the information to be restored includes storing multiple logical blocks of equipment Address and corresponding data validity.
Step S20, the logical block addresses of data invalid in the information to be restored are obtained, wherein the logic that cluster is zero The data of block address are invalid state;
In technical solution provided in this embodiment, after having read information to be restored, obtain file system FAT table and Algorithm table.In order to accurately restore data, that file system can be analyzed, by taking FAT32 as an example: FAT32 text The position of valid data can be stored on FAT table by part system when carrying out file management, when the position FAT table data not It is 0, then representing the cluster of relative position, there are valid data.And when deleting file under FAT32 file system, it can will be corresponding The information that cluster is corresponded on FAT table is 0 clearly.According to above-mentioned similar file system operation characteristic, by the old FAT table of comparison and newly FAT table, the logical block addresses for the data deleted under this document system can be obtained.
It should be noted that store two FAT tables in a sector, one has recorded user and deletes data to be newest The FAT table of information, one is the FAT table backed up, the information table memory of data before FAT table record a period of time of backup, standby When the FAT table of part is not backed up newest FAT table, information to be restored described in the Information recovering in backup table can be passed through.
Further, obtaining cluster in new FAT table is zero and cluster is not zero in old FAT table cluster number, then obtains the cluster number Corresponding opposite logical block address finally obtains the absolute logical block addresses according to the opposite logical block address, The data of the absolute logical block addresses storage are by the data of user data.
Step S30, restore the invalid corresponding data of the logical block addresses, be restored information;
It, will after obtaining the corresponding absolute logical block addresses of invalid data in technical solution provided in this embodiment The data validity of the data of the absolute logical block addresses is set as effectively, while will be described absolute in the FAT of backup The cluster value of the cluster number of logical block addresses covers the cluster value of newest FAT table, and be restored information.It is understood that restoring The information to be restored arranges the absolute logical block addresses of the data of all deletions that is, by software algorithm process Splicing.The corresponding address LBA (logical block addresses) of each section of legacy data is found, then the deletion obtained by comparing file system Data the address LBA, continuous data are spliced, finally revert to user want restore data.
Step S40, the recovery information is sent to the terminal.
In technical solution provided in this embodiment, it is big it is difficult to understand restore information after, the recoverys information is sent to described in Terminal, the terminal get and the recovery information are covered the information to be restored after the recovery information, to restore Data in the terminal.
The present invention is according to above scheme, when the data of user in a browser restore click data recovery button in interface, The data restore the program in interface and issue acquisition of information instruction to be restored to the current host of the user, described in obtaining Restore information, wherein the information of restoring is the algorithm table in file system.After getting the information to be restored, institute It states data and restores the prompting frame whether interface pop-up uploads the information to be restored, after user clicks confirmation upload, Yong Husuo The information to be restored is sent in terminal to server.Server is receiving terminal based on data recovery interface transmission to extensive When complex information, the information to be restored is obtained, wherein the information to be restored includes storing multiple logical block addresses of equipment And corresponding data validity, then obtain the logical block addresses of data invalid in the information to be restored, wherein cluster is The data of zero logical block addresses are invalid state, then restore the invalid corresponding data of the logical block addresses, are obtained Restore information.The recovery information is finally sent to the terminal, the terminal will after getting the recovery information The recovery information covers the information to be restored, to restore the data in the terminal.
It is complete described in manual reversion because the present invention can send the information to be restored that instruction obtains subscriber's main station from network-side It will restore information after information to be restored and be sent to subscriber's main station, restore to solve storage equipment and be sent to special operating room Can not carry out supervision when data to file leads to the problem of leaking data occurs.
It further, is the second embodiment of data reconstruction method of the present invention referring to Fig. 3, Fig. 3, based on the above embodiment, The step S20, comprising:
Step S21, the first file configuration table and the second file configuration table of the terminal storage equipment are obtained, wherein Second file configuration table is file configuration table of the backup in memory block, and records the data storage letter before preset time Breath;
Step S22, the logical block addresses that cluster is zero in first file configuration table are obtained.
In technical solution provided in this embodiment, two FAT tables are store in a sector, one has recorded use to be newest The FAT table of the information of data is deleted at family, i.e., described first file configuration table, one is the FAT table backed up, i.e. the second file configuration Table, the information table memory of data, is not backed up newest FAT table in the FAT table of backup before FAT table record a period of time of backup When, information to be restored described in the Information recovering in backup table can be passed through.
Further, the first file configuration table and the second file configuration table of the terminal storage equipment are obtained, and is obtained Take the logical block addresses that cluster is zero in first file configuration table.
The logical block addresses that cluster is zero in the first file configuration table are obtained, obtain invalid data in next step to facilitate.
Further, referring to Fig. 4, Fig. 4 is the 3rd embodiment of data reconstruction method of the present invention, above-mentioned shown in Fig. 2 On the basis of embodiment, the step S30, comprising:
Step S31, when the logical block addresses that cluster is zero are not zero in the corresponding cluster of second file configuration table When, the data in the logical block addresses are obtained according to second file configuration table;
Step S32, corresponding logical blocks in first file configuration table are written into the data according to recovery algorithms In address, as the recovery information.
In technical solution provided in this embodiment, after the cluster number that cluster is zero in obtaining first file configuration table, Whether the cluster value that corresponding cluster number in second file configuration table is judged according to the cluster number is zero, is matched in second file When setting the corresponding cluster of table and being not zero, the data in the logical block addresses are obtained according to second file configuration table, by institute In the cluster value for stating the cluster number that first file configuration table is written in data.
Restore the cluster value in the first file configuration table, restores the corresponding logical block addresses of cluster number in next step to facilitate In data validity.
Further, referring to Fig. 5, Fig. 5 is the fourth embodiment of data reconstruction method of the present invention, above-mentioned shown in Fig. 2 On the basis of embodiment, after the step S10, further includes:
Step S50, all memory blocks containing data in the terminal are obtained, and read the number in all memory blocks According to;
Step S60, when the data can not be read, the first file configuration table of the terminal storage equipment is obtained, and Obtain the MBA memory block address that cluster is zero on the allocation table;
Step S70, the data for the MBA memory block address that cluster is zero are obtained, and data write-in corresponding can not be read The memory block for evidence of fetching;
Step S80, when reading the data, the logic for obtaining data invalid in the information to be restored is executed The step of block address.
In technical solution provided in this embodiment, in solid-state storage, since used flash memory is carrying out data storage During, there are unstable phenomenons.If there is loss of data, first flash memory should be checked at this time, it will by tool All memory blocks carried out data storage Block carry out read check operation, judge whether there is error excessively lead to not by The case where data are read.Whether such case if it exists then searches for the data area and has been friends in the past data field, legacy data is read out and is covered The Data Position for covering error achievees the purpose that data are restored.
Further, server sends data read command to terminal, obtains all depositing containing data in the terminal Block is stored up, and reads the data in all memory blocks, when the data can not be read, obtains the terminal storage equipment First file configuration table, and the MBA memory block address that cluster is zero on the allocation table is obtained, with obtaining the memory block that cluster is zero The data of location, and the corresponding memory block that can not read data is written into the data, when reading the data, execute institute State the step of obtaining the logical block addresses of data invalid in the information to be restored.When reading less than the data, obtain The data of caching in a flash memory, and write in the memory block that cluster value is zero in file configuration table.
When restoring data it is first determined whether flash memory is unstable to lead to not reading data, determining to be that flash memory is unstable Restore data without using algorithm when leading to not read data, improves the efficiency of data recovery.
Further, referring to Fig. 6, Fig. 6 is the 5th embodiment of data reconstruction method of the present invention, above-mentioned shown in Fig. 2 On the basis of embodiment, the step S10, comprising:
Step S11, receive terminal based on data restore interface triggering upload operation when, Xiang Suoshu terminal send to Restore acquisition of information instruction, so that the terminal obtains the corresponding letter to be restored according to the acquisition of information instruction to be restored Breath;
Step S12, the information to be restored that the terminal is sent is received.
In technical solution provided in this embodiment, the data of user in a browser are restored click data recovery in interface and are pressed When button, the data restore the program in interface and issue acquisition of information instruction to be restored to the current host of the user, to obtain Take the recovery information, wherein the information of restoring is the algorithm table in file system.Getting the information to be restored Afterwards, the data restore the prompting frame whether interface pop-up uploads the information to be restored, after user clicks confirmation upload, use Terminal to server sends the information to be restored where family.
Further, referring to Fig. 7, Fig. 7 is the sixth embodiment of data reconstruction method of the present invention, above-mentioned shown in Fig. 2 On the basis of embodiment, the step S40, comprising:
Step S41, the recovery information is encrypted;
Step S42, the encrypted recovery information is sent to the terminal.
In technical solution provided in this embodiment, after having obtained the recovery information, needing will be described extensive by network Complex information is sent to the terminal, in order to avoid obtaining after being cracked the recovery information acquisition by criminal in transmission process The data of the terminal are taken, first the recovery information is encrypted before transmission, it is to be understood that can be by symmetrically adding Close algorithm or rivest, shamir, adelman encrypt the recovery information, if encrypting the recovery information using rivest, shamir, adelman When, public key is sent to the terminal so that user decrypts the recovery information.Finally the encrypted recovery information is sent out It send to the terminal.
The recovery information is encrypted, to guarantee the safety of the data of user.
It further, is that the present invention is based on the 7th embodiments of the measures and procedures for the examination and approval of task suspension referring to Fig. 8, Fig. 8, above-mentioned On the basis of embodiment shown in Fig. 7, before the step S42, further includes:
Step S90, the encrypted memory capacity for restoring information is obtained;
Step S100, when the memory capacity of the recovery information after encryption is greater than default memory capacity, described in compression The encrypted recovery information;
Step S110, the compressed recovery information is sent to the terminal.
In technical solution provided in this embodiment, quickly transmitted in a network for convenience of the recovery information, described extensive When complex information is greater than or equal to default memory capacity, the encrypted recovery information is compressed, it finally will be compressed The recovery information is sent to the terminal.It is understood that the default memory capacity can be 1,000,000 or 5,000,000 or more.
Encrypted recovery information is compressed and is transmitted to the terminal again, thus reduce user etc. it is to be transmitted when Between.
To achieve the above object, the present invention also provides a kind of Data Recapture Unit, the Data Recapture Unit includes processing Device, memory and the data recovery procedures that can be run on the memory and on the processor are stored in, the data are extensive The step of multiple program realizes data reconstruction method as described above when being executed by the processor.
To achieve the above object, the present invention also provides a kind of computer readable storage medium, the computer-readable storages Data recovery procedures are stored on medium, the data recovery procedures realize that data as described above are restored when being executed by processor The step of method.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be TV Machine, mobile phone, computer, device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of data reconstruction method, which is characterized in that the data reconstruction method the following steps are included:
When receiving the information to be restored that terminal is sent based on data recovery interface, the information to be restored is obtained, wherein institute Stating information to be restored includes storing the multiple logical block addresses and corresponding data validity of equipment;
Obtain the logical block addresses of data invalid in the information to be restored, wherein the number for the logical block addresses that cluster is zero According to for invalid state;
Restore the invalid corresponding data of the logical block addresses, be restored information;
The recovery information is sent to the terminal.
2. data reconstruction method as described in claim 1, which is characterized in that it is described obtain in the information to be restored data without The step of logical block addresses of effect includes:
Obtain the first file configuration table and the second file configuration table of the terminal storage equipment, wherein second file Allocation list is file configuration table of the backup in memory block, and records the data storage information before preset time;
Obtain the logical block addresses that cluster is zero in first file configuration table.
3. data reconstruction method as described in claim 1, which is characterized in that described to restore the invalid logical block addresses The step of corresponding data, the information that is restored includes:
When the logical block addresses that cluster is zero are when the corresponding cluster of second file configuration table is not zero, according to described Two file configuration tables obtain the data in the logical block addresses;
The data are written in first file configuration table in corresponding logical block addresses, as institute according to recovery algorithms State recovery information.
4. data reconstruction method as described in claim 1, which is characterized in that described to receive terminal based on data recovery circle When the information to be restored that face is sent, after the step of obtaining the information to be restored and saving, further includes:
All memory blocks containing data in the terminal are obtained, and read the data in all memory blocks;
When the data can not be read, the first file configuration table of the terminal storage equipment is obtained, and obtains the distribution The MBA memory block address that cluster is zero on table;
The data for the MBA memory block address that cluster is zero are obtained, and the corresponding storage that can not read data is written into the data Block;
When reading the data, the step for obtaining the logical block addresses of data invalid in the information to be restored is executed Suddenly.
5. data reconstruction method as described in claim 1, which is characterized in that the terminal restores what interface was sent based on data The step of information to be restored includes:
When receiving upload operation of the terminal based on data recovery interface triggering, Xiang Suoshu terminal sends acquisition of information to be restored Instruction, so that the terminal obtains the corresponding information to be restored according to the acquisition of information instruction to be restored;
Receive the information to be restored that the terminal is sent.
6. data reconstruction method as described in claim 1, which is characterized in that described that the recovery information is sent to the end The step of end includes:
Encrypt the recovery information;
The encrypted recovery information is sent to the terminal.
7. data reconstruction method as claimed in claim 6, which is characterized in that described to send the encrypted recovery information Before the step of to the terminal, further includes:
Obtain the encrypted memory capacity for restoring information;
When the memory capacity of the recovery information after encryption is greater than default memory capacity, compress described encrypted described extensive Complex information;
The compressed recovery information is sent to the terminal.
8. a kind of Data Recapture Unit, which is characterized in that the Data Recapture Unit includes processor, memory and is stored in institute The data recovery procedures that can be run on memory and on the processor are stated, the data recovery procedures are held by the processor The step of data reconstruction method as described in any one of claims 1 to 7 is realized when row.
9. a kind of computer readable storage medium, which is characterized in that it is extensive to be stored with data on the computer readable storage medium Multiple program realizes that the data as described in any one of claims 1 to 7 are restored when the data recovery procedures are executed by processor The step of method.
CN201811372581.6A 2018-11-16 2018-11-16 Data recovery method, device and computer readable storage medium Active CN109471756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811372581.6A CN109471756B (en) 2018-11-16 2018-11-16 Data recovery method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811372581.6A CN109471756B (en) 2018-11-16 2018-11-16 Data recovery method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109471756A true CN109471756A (en) 2019-03-15
CN109471756B CN109471756B (en) 2022-10-14

Family

ID=65672718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811372581.6A Active CN109471756B (en) 2018-11-16 2018-11-16 Data recovery method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109471756B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835858A (en) * 2021-03-15 2021-05-25 深圳软牛科技有限公司 Method, device and equipment for recovering non-continuously stored files and storage medium
CN114911668A (en) * 2022-03-31 2022-08-16 华能信息技术有限公司 Data resource monitoring method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
EP2359271A2 (en) * 2008-12-16 2011-08-24 SanDisk IL Ltd. Discardable files
CN102360318A (en) * 2011-09-27 2012-02-22 深圳市万兴软件有限公司 Recovery method and device of deleted files in FAT (File Allocation Table) file system
CN104462433A (en) * 2014-12-17 2015-03-25 四川效率源信息安全技术有限责任公司 Method for recovering data of FAT32 partition
CN105159800A (en) * 2015-09-10 2015-12-16 华为技术有限公司 Data recovery method, data backup method, data recovery equipment, data backup equipment, data recovery system and data backup system
CN105786653A (en) * 2016-03-01 2016-07-20 厦门市美亚柏科信息股份有限公司 File recovery method and system based on FAT32 file system
CN105808384A (en) * 2016-03-14 2016-07-27 云南大学 Method for recovering simultaneously damaged MBR and FAT32 system parameters
CN105808386A (en) * 2016-03-30 2016-07-27 苏州美天网络科技有限公司 Hard disk data recovery verifying method
CN106095624A (en) * 2016-06-28 2016-11-09 北京金山安全软件有限公司 Data recovery method and device, terminal equipment and server

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
EP2359271A2 (en) * 2008-12-16 2011-08-24 SanDisk IL Ltd. Discardable files
CN102360318A (en) * 2011-09-27 2012-02-22 深圳市万兴软件有限公司 Recovery method and device of deleted files in FAT (File Allocation Table) file system
CN104462433A (en) * 2014-12-17 2015-03-25 四川效率源信息安全技术有限责任公司 Method for recovering data of FAT32 partition
CN105159800A (en) * 2015-09-10 2015-12-16 华为技术有限公司 Data recovery method, data backup method, data recovery equipment, data backup equipment, data recovery system and data backup system
CN105786653A (en) * 2016-03-01 2016-07-20 厦门市美亚柏科信息股份有限公司 File recovery method and system based on FAT32 file system
CN105808384A (en) * 2016-03-14 2016-07-27 云南大学 Method for recovering simultaneously damaged MBR and FAT32 system parameters
CN105808386A (en) * 2016-03-30 2016-07-27 苏州美天网络科技有限公司 Hard disk data recovery verifying method
CN106095624A (en) * 2016-06-28 2016-11-09 北京金山安全软件有限公司 Data recovery method and device, terminal equipment and server

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
NIKOLAOS G. BARDIS等: "A Method for Cloud Storage Data Recovery with Limited Loss of Acce", 《2017 FOURTH INTERNATIONAL CONFERENCE ON MATHEMATICS AND COMPUTERS IN SCIENCES AND IN INDUSTRY (MCSI)》 *
冯宪光等: "《计算机***组装与维护教程》", 30 September 2016 *
张化军等: "FAT32文件***误删除数据恢复", 《包头职业技术学院学报》 *
李春辉等: "《计算机装配与维护项目化教程》", 30 June 2016 *
林华清: "数据恢复与数据消除的技术及工具", 《保密科学技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835858A (en) * 2021-03-15 2021-05-25 深圳软牛科技有限公司 Method, device and equipment for recovering non-continuously stored files and storage medium
CN114911668A (en) * 2022-03-31 2022-08-16 华能信息技术有限公司 Data resource monitoring method and system

Also Published As

Publication number Publication date
CN109471756B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
US9369507B2 (en) Systems and methods for reliable backup of media
WO2021051563A1 (en) Target data archiving method and apparatus, and electronic device and computer non-volatile readable storage medium
CN108108286A (en) Method of data capture and device, server, storage medium
CN104737135B (en) The information processing terminal and synchronisation control means
WO2019001521A1 (en) Data storage method, storage device, client and system
CN104571955A (en) Method and device for expanding storage capacity
CN109739690B (en) Backup method and related products
CN110109778A (en) A kind of a large amount of small data file backup methods and restoration methods
WO2018233668A1 (en) Android system-based abnormality recovery method and apparatus, smart device and storage medium
CN112948340A (en) Data synchronization method and device, electronic equipment and readable storage medium
CN113064760B (en) Database synthesis backup method and device, computer equipment and storage medium
CN104035842A (en) Method for deleting and recovering built-in application program
CN109471756A (en) Data reconstruction method, device and computer readable storage medium
CN103546555A (en) Method and system for data management of mobile terminal
CN103353860A (en) Internal memory management method and device
CN114138549A (en) Data backup and recovery method based on kubernets system
CN103942126A (en) Electronic device and data backup method thereof
CN103744751B (en) Storage device configuration information continuous optimization backup system and application method thereof
KR20120018965A (en) System and method for providing file backup, restore and delete data perfectly service for mobile terminal and portable computing apparatus device
CN108009053A (en) The management of smart mobile phone core data and cloning process
CN111935237B (en) Log processing method and system, electronic device and storage medium
CN115277670A (en) Network connection control method and device of target application and electronic equipment
CN103312713A (en) Security association negotiation method and device, and network equipment
WO2014183374A1 (en) Method and apparatus for sending storage information of storage card
KR102220635B1 (en) Memory DB based Deduplication Block Data Transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 area a, 7th floor, building A1, Shenzhen digital technology park, 17 Gaoxin South 7th Road, high tech Zone community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Deyi Microelectronics Co.,Ltd.

Address before: 518000 09-2, 10-11 unit, 6 building, Changhong science and technology building, 18 South Road, science and Technology Park, Nanshan District, Shenzhen, Guangdong, China 18

Applicant before: YEESTOR MICROELECTRONICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant