Method and device for recovering recycle bin files

A recovery method and file recovery technology, applied in the direction of file system, file system management, file/folder operation, etc., can solve problems such as label inconsistency, achieve the effect of avoiding invalid operations and overcoming incompatibility of recognition results

Active Publication Date: 2020-07-10
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiment of the present invention provides a recovery method and device for recycle bin files to solve the problem of label inconsistency when recovering deleted files in the prior art

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
  • Method and device for recovering recycle bin files
  • Method and device for recovering recycle bin files
  • Method and device for recovering recycle bin files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 The implementation flow of the recovery method for recycle bin files provided by Embodiment 1 of the present invention is shown, and the details are as follows:

[0027] In step S101, a recovery instruction for files in the recycle bin is received.

[0028] In this embodiment, the file may be a multimedia file on the terminal device, such as a picture file, a video file, an audio file, a text file, and the like. The file can be a file collected by the user through the acquisition device on the terminal device. For example, the user collects an image through a camera to generate a picture file, or records a video to generate a video file; records through a recording software to generate an audio file; through a text editor. Text editors generate text files. The file may also be downloaded to the terminal device through the Internet.

[0029] The following is an example of a file as a picture. The picture can be a picture collected by the terminal through a ph...

Embodiment 2

[0051] This embodiment is based on Embodiment 1, before receiving the recovery instruction to the file in the recycle bin, it also includes:

[0052] In step S201, a file deletion instruction is received;

[0053] In this embodiment, upon receiving a file deletion instruction, that is, writing the file into the recycle bin. When the user writes pictures to the recycle bin, the pictures in the recycle bin can be stored temporarily or permanently. When the recycle bin is temporarily stored, the pictures in the recycle bin can only be saved for a period of time, such as 30 days . When a picture is deleted and stored in the recycle bin for 30 days, the recycle bin will automatically and permanently delete the picture and the tags attached to the picture, and the permanently deleted picture cannot be recovered.

[0054] Optionally, when the files in the recycle bin are temporarily stored, different retention times can be set according to the labels of the files. For pictures wit...

Embodiment 3

[0062] This embodiment is based on Embodiment 1, where it is determined whether the tag recognition model corresponding to the file has been updated after the file is written into the recycle bin, specifically:

[0063] Step S301, acquiring the update time of the model when the restoration instruction occurs.

[0064] Step S302, acquiring the time when the picture is moved into the recycle bin.

[0065] In this embodiment, when the tag recognition model is updated, the picture management software will record and store the time when the model is updated. When the picture is moved into the recycle bin, the picture and the time when the picture is moved into the recycle bin are saved in the recycle bin.

[0066] Step S303, if the update time is earlier than the time of moving into the recycle bin, it is determined that the tag recognition model has not been updated.

[0067] Step S304, if the update time is later than the time of moving into the recycle bin, it is determined th...

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 invention is suitable for the technical field of data processing and provides a recycle bin file recovery method and apparatus. The method comprises the steps of receiving a recovery instruction for files in a recycle bin; judging whether a tag identification model corresponding to the files is updated after the files are written in the recycle bin or not; and if the tag identification model is updated, processing the files based on the updated tag identification model in recovery operation performed on the files according to the recovery instruction. Whether the identification model is updated or not is determined firstly; if the identification model is not updated, pictures are recovered according to the recovery instruction, and tags of the files are written in a tag database; and if the identification model is not updated, the files are processed according to a new identification model, so that the deleted files do not need to be processed during model updating, and the problemof identification result incompatibility among different identification models is solved.

Description

technical field [0001] The invention belongs to the technical field of data processing, and in particular relates to a recovery method and device for recycle bin files. Background technique [0002] With the wide application of terminal devices, users can store a large number of files in the terminal devices. In order to facilitate the user's search, the file management software on the terminal can identify the files through the identification model, and based on the identification result, classify and manage the files through the clustering model. After the above-mentioned model update, the recognition process for the file is re-executed. However, for the files stored in the recycle bin, when the user performs the file recovery operation, the version of the model may change, which may cause the label of the file to be inconsistent before and after deletion, resulting in the new and old versions of the label incompatibilities between them. Contents of the invention [0...

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 Patents(China)
IPC IPC(8): G06F16/16G06F16/11
CPCG06F16/122G06F16/16
Inventor 陈彦超李野
Owner GUANGDONG OPPO MOBILE TELECOMM CORP LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products