File management method of electronic equipment and electronic equipment

A file management method and technology of electronic equipment, applied in the field of electronic equipment, can solve the problems that related applications cannot run normally, cannot be accessed, etc.

Inactive Publication Date: 2016-06-08
LENOVO (BEIJING) CO LTD
View PDF4 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a file management method of an electronic device and an electronic device, which are used to solve the technical problem in the prior art that related applications cannot run normally because the file cannot be accessed after being deleted. The technical effect of temporarily storing deleted files so that relevant applications can still access the files normally

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
  • File management method of electronic equipment and electronic equipment
  • File management method of electronic equipment and electronic equipment
  • File management method of electronic equipment and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0093] In the prior art, when important files stored in an electronic device are deleted, certain operations often cannot be performed. For example, when the electronic device is a mobile device such as a mobile phone, deleting a file on the mobile device means that the file is permanently deleted. When the file needs to be read in the next operation, the process cannot be executed because the file cannot be found. go down. Or, when the electronic device is a notebook computer, a desktop computer, etc., although the delete file operation on these devices will put the file in the recycle bin, the file in the recycle bin must be restored before it can be read. When it has not been restored, there will still be situations where operations related to the file cannot be performed.

[0094] Please refer to figure 1 , the embodiment of the present application provides a file management method of an electronic device, including:

[0095] S10: Detect a deletion operation on a first ...

Embodiment approach

[0124] first implementation

[0125] Determine N files currently stored in the second storage area, where N is a positive integer;

[0126] Obtaining the importance levels corresponding to the N files respectively;

[0127] Determine M files whose importance level is less than a preset threshold, where M is a positive integer less than or equal to N;

[0128] The M files are deleted from the second storage area, so that the remaining available space is greater than or equal to the storage space required by the first file.

[0129] Specifically, the importance level may be set according to the file type. For example, the importance level of driver files is 10, that of execution files is 8, that of link files is 7, that of data files is 5, and so on. When filtering files, a preset threshold may be set. For example, if the preset threshold is an importance level of 6, then files with an importance level less than 6 will be filtered out as the M files.

[0130] In addition, in...

Embodiment 2

[0148] Please refer to figure 2 , the embodiment of the present application provides a file management method of an electronic device, including:

[0149] S21: Detect deletion operations performed on X files of the electronic device, where the X files are stored in the first storage area of ​​the electronic device;

[0150] S22: Determine whether the attributes of the X files meet the preset attributes;

[0151] S23: Determine Y files conforming to the preset attributes from the X files;

[0152] S24: Move the Y files from the first storage area to the second storage area;

[0153] S25: Redirect the Y files to obtain storage paths of the Y files in the second storage area, and the Y files are accessed through the storage paths.

[0154] The solution in the second embodiment is a method used when deleting files stored in electronic devices in batches. Specifically, when deleting files, multiple files are often selected first, that is, the X files. Then delete these multip...

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 discloses a file management method of electronic equipment and the electronic equipment. The method comprises the following steps: detecting a deletion operation in allusion to a first file, wherein the first file is stored in a first storage area of the electronic equipment; determining whether the attribute of the first file accords with a preset attribute; when the attribute of the first file accords with the preset attribute, moving the first file from the first storage area to a second storage area; and redirecting the first file to obtain a storage path of the first file in the second storage area, wherein the first file is accessed through the storage path. The method provided by the invention is used for solving the technical problem that related applications cannot run normally as the files cannot be accessed after being deleted, so that the technical effect that the deleted files are temporarily stored and then the related applications still can normally access to the files is realized.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to a file management method for electronic equipment and the electronic equipment. Background technique [0002] With the continuous development of science and technology, the use of electronic equipment is becoming more and more extensive. In the prior art, when a user uses an electronic device, especially a mobile device such as a mobile phone or a tablet computer, the application may fail to run due to loss of some files. On the one hand, file loss is due to the fact that there is no delayed deletion mechanism in the mobile device. Once the file is deleted, it is difficult to retrieve and cannot be accessed. On the other hand, some applications (such as cleaning software) clean up some files that are useful to users by default during the running process, that is, the application itself lacks the function of judging whether the file is useful, and once the file is deleted, it...

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 Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/162
Inventor 朱雷魏民陈实
Owner LENOVO (BEIJING) CO 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