Method and device for file recovery
A file recovery and file technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of impractical one-time verification and recovery, waste of memory, etc., to reduce consumption and improve recovery speed Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] see figure 1 , a file recovery method, the execution subject of the method includes user terminals such as computers and mobile phones, of course, the execution subject of the method can also be a server such as a file server, specifically including:
[0025] Step 101: Divide the file into blocks to obtain N file blocks, where N is an integer greater than or equal to 1;
[0026] Step 102: Add redundant information to each file block, the redundant information includes the logical relationship information between the current file block and the previous file block and the subsequent file block, and the recovery domain information of the current file block;
[0027] Step 103: Obtain the specific file block according to the logical relationship information in the file block before the specific file block or the logical relationship information in the file block after the specific file block;
[0028] Step 104: Recover the specific file block according to the recovery domai...
Embodiment 2
[0031] see figure 2 , a file recovery method, the execution subject of the method includes user terminals such as computers and mobile phones, of course, the execution subject of the method may also be a server such as a file server, and the embodiment of the present invention does not specifically limit this, the specific steps as follows:
[0032] Step 201: dividing the file into N file blocks, where N is an integer greater than or equal to 1;
[0033] Specifically, divide the file into N file blocks, including:
[0034] Step 201-1: Set the file block size in advance according to the file size;
[0035] Step 201-2: divide the file into N file blocks according to the size of the file block;
[0036] For example, if the size of the file is m bytes, and the set file block size is k bytes, then the file can be divided into n file blocks; when m / k has a remainder, n=m / k+1, at this time, finally The size of a file block c=m-k*(n-1); when m / k is divisible, n=m / k; wherein m, c ...
Embodiment 3
[0098] see image 3 , a file recovery device, the device is specifically consistent with the execution subject described in the method embodiment 2, including: a block module 301, an addition module 302, an acquisition module 303 and a recovery module 304;
[0099] A block module 301, configured to block the file to obtain N file blocks, where N is an integer greater than or equal to 1;
[0100] The adding module 302 is used to add redundant information to each file block obtained by the block module 301, wherein the redundant information includes the logical relationship information between the current file block and the previous file block and the subsequent file block and the recovery of the current file block domain information;
[0101] An obtaining module 303, configured to obtain the specific file block according to the logical relationship information in the file block before the specific file block or the logical relationship information in the file block after the s...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com