A deleted file recovery method, device, equipment and readable storage medium
A file recovery and deleted technology, applied in the direction of file system, file access structure, file/folder operation, etc., can solve the problems of difficult file recovery, no recycle bin, loss, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Please refer to figure 1 , figure 1 It is a flow chart of a deleted file recovery method in the embodiment of the present invention, and the method can be applied to Unix / Linux systems.
[0048] The data is finally saved in the form of data blocks on the disk divided into individual data blocks. The operating system manages these data through the file system. In the operating system, the file system is represented in a hierarchical form, which can usually be represented as an inverted tree. All files and subdirectories are located by looking up their parent directory entries. The corresponding inode number (inode) can be found by matching the file name in the directory entry, and the file can be found on the disk by searching the inode table (inode table). position on the On Unix / Linux systems, a directory is just a special kind of file. A directory and a file are distinguished by the file_type field. Specifically, a value of 1 indicates a normal file, and a value ...
Embodiment 2
[0088] Corresponding to the above method embodiment, the embodiment of the present invention also provides a device for restoring deleted files. The device for restoring deleted files described below and the method for restoring deleted files described above can be referred to in correspondence with each other.
[0089] see figure 2 As shown, the device includes the following modules:
[0090] The free directory traversal module 101 is used to traverse the free directory in the cache of the metadata server to obtain the directory entry and the index node of the deleted file;
[0091] A pathname acquisition module 102, configured to utilize the index node to acquire the pathname of the deleted file;
[0092] The renaming module 103 is used for renaming the path name in the directory entry to a path name;
[0093] The file restoration module 104 is configured to restore the state of the directory entry and the index node to the state before deletion.
[0094] Apply the devic...
Embodiment 3
[0106]Corresponding to the above method embodiment, the embodiment of the present invention also provides a device for restoring deleted files. The device for restoring deleted files described below and the method for restoring deleted files described above can be used for mutual reference.
[0107] see image 3 As shown, the deleted file recovery equipment includes:
[0108] memory D1 for storing computer programs;
[0109] The processor D2 is configured to implement the steps of the deleted file recovery method in the above method embodiment when executing the computer program.
[0110] Specifically, please refer to Figure 4 , Figure 4 A specific structural diagram of a deleted file recovery device provided in this embodiment, the deleted file recovery device may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (eg, one or more processors) and memory 332, and on...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com