Junk data recovery processing method and device, and electronic equipment
A technology for garbage data, recycling and processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0095] Such as Figure 10 As shown, it is one of the schematic flowcharts of the garbage data recovery and processing method of the embodiment of the present invention. This figure shows that the processing of garbage data in the shared state in the device includes:
[0096] S101: Acquire at least one first data file in a shared state in a device segment. In the LSBD architecture, the sharing of data files generally exists in the form of hard links. As mentioned above, common application scenarios are device snapshots or device cloning.
[0097] S102: Acquire a first index file corresponding to the first data file and a second index file corresponding to at least one second data file having a sharing relationship with the first data file. The first index file mentioned here is an index file in the same device segment as the first data file. The second index file may be an index file in the snapshot device or the clone device, and the second index file does not directly point...
Embodiment 2
[0136] Such as Figure 14 As shown, it is the fifth schematic flow diagram of the garbage data recovery and processing method of the embodiment of the present invention. In this embodiment, the garbage recovery process performed after the garbage data block is determined is emphasized. As an implementable manner, in this embodiment, the object of garbage collection may not distinguish between data files in the shared state and data files in the non-shared state, but after the garbage data blocks are determined, the garbage collection objects in the data files Data blocks are extracted, reorganized to form a new data file, and then replaced. Specifically, as Figure 15 As shown, the processing flow includes:
[0137] S301: Obtain at least one valid data block in at least one existing data file in the device segment, and use the valid data block to generate at least one new data file, where the valid data block is a data block other than the garbage data block in the data file...
Embodiment 3
[0142] Such as Figure 15 As shown, it is one of the structural diagrams of the garbage data recycling and processing device in the embodiment of the present invention, and the processing device includes:
[0143] A first obtaining module 11, configured to obtain at least one first data file in a shared state in the device segment;
[0144] The second obtaining module 12 is configured to obtain a first index file corresponding to the first data file and a second index file corresponding to at least one second data file having a sharing relationship with the first data file. Among them, this part of processing may further include:
[0145] Obtain the first file name of the first data file, and obtain the corresponding file ID according to the first file name;
[0146] Obtain the second file names of all the second data files sharing the file ID;
[0147] One or more device segments where all the second data files are located are determined according to the second file names,...
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