CN104881493A - File cleaning method and device - Google Patents

File cleaning method and device Download PDF

Info

Publication number
CN104881493A
CN104881493A CN201510324966.5A CN201510324966A CN104881493A CN 104881493 A CN104881493 A CN 104881493A CN 201510324966 A CN201510324966 A CN 201510324966A CN 104881493 A CN104881493 A CN 104881493A
Authority
CN
China
Prior art keywords
file
default
folder
list
cleaning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510324966.5A
Other languages
Chinese (zh)
Other versions
CN104881493B (en
Inventor
宋子成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510324966.5A priority Critical patent/CN104881493B/en
Publication of CN104881493A publication Critical patent/CN104881493A/en
Application granted granted Critical
Publication of CN104881493B publication Critical patent/CN104881493B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a file cleaning method and device, which can determine the data volume of a preset folder corresponding to an application program in a preset application program list installed in electronic equipment, determine a function corresponding to the preset folder when the data volume is larger than a first threshold value, further determine the file characteristics of a file generated by the function, and guide a user to clean the file in the preset folder by using a cleaning guide mode matched with the determined file characteristics. Because the files generated by each function of the application program are generally stored in the corresponding folder, the files to be cleaned are identified by identifying the folder in which the files are located, and the accuracy of identifying the files to be cleaned can be improved. Meanwhile, the invention guides the user to clean the files in the preset folder by using the cleaning guide mode matched with the file characteristics, can use different cleaning guide modes aiming at the files with different file characteristics, and avoids the situations of mistaken deletion and missed deletion.

Description

File clean-up method and device
Technical field
The present invention relates to file clean-up technical field, particularly relate to file clean-up method and device.
Background technology
Along with the development of science and technology, the application program on the electronic equipment of user gets more and more, and the function of application program is also more and more abundanter.
Application program operationally, usually can produce various file, as picture, video, chat record file etc.Because these files occupy a large amount of storage spaces, make the travelling speed of electronic equipment slack-off, storage space diminishes, and therefore needs to clear up these files.
Existing file clean-up scheme is by identifying that file type determines whether file is the file needing cleaning, thus prompting user clears up.But the file of identical type is not all also the file needing cleaning.Therefore, existing identification by file type needs the mode of the file of cleaning often to make not need the file cleared up to be identified as the file of needs cleaning, and need the file of cleaning to be identified as the file not needing to clear up, identify that the accuracy rate of the file of needs cleaning is low.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of file clean-up method and device, to improve the accuracy rate identifying the file needing cleaning.
For achieving the above object, the embodiment of the invention discloses a kind of file clean-up method, be applied to electronic equipment, described method comprises:
The file receiving user detects operation;
Operation is detected according to described file, determine whether described electronic equipment has been provided with at least one application program in default the application list, if, then determine the data volume of the default file folder that application program in mounted default the application list is corresponding, the file under the installation directory that described default file folder is the application program in described mounted default the application list;
When the data volume that described default file presss from both sides is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determine the function that described default file folder is corresponding;
The default corresponding relation of the file characteristic of the file that the function corresponding according to described default file folder and described function produce, determines the file characteristic of the file that described function produces;
Use the cleaning guidance mode that mates with the file characteristic determined guide user described default file is pressed from both sides in file clear up.
Optionally, when determined file characteristic is fisrt feature, the cleaning guidance mode mated with the file characteristic determined is:
File in described default file folder is added the specially clear list of application program corresponding to described default file folder, prompting user clears up the file in described specially clear list;
Or,
The function that described in display translation, default file folder is corresponding and/or determined file characteristic, prompting user clears up the file in described default file folder.
Optionally, with the cleaning guidance mode that the file characteristic determined mates being: the file in being pressed from both sides by described default file adds the specially clear list that described default file presss from both sides corresponding application program, when prompting user clears up the file in described specially clear list, described method also comprises: the file clean-up operation receiving user, clears up the file in described specially clear list;
With the cleaning guidance mode that the file characteristic determined mates for: default file described in display translation presss from both sides corresponding function and/or determined file characteristic, when prompting user clears up the file in described default file folder, described method also comprises: the file clean-up operation receiving user, clears up the file in described default file folder.
Optionally, when determined file characteristic is second feature, the cleaning guidance mode mated with the file characteristic determined is:
According to the creation-time of the file in described default file folder, carry out arrangement to the file in described default file folder and show, prompting user clears up shown file.
Optionally, also comprise:
Receive the selection operation of user to the file shown, the file that user selects is cleared up.
Optionally, when determined file characteristic is third feature, the cleaning guidance mode mated with the file characteristic determined is:
Added by described default file folder in acquiescence cleaning list, prompting user is scanned the file in the file in described acquiescence cleaning list and clears up.
Optionally, also comprise:
Receive the operation that described default file folder is added acquiescence cleaning list by user, described default file folder is added in described acquiescence cleaning list.
Optionally, also comprise:
Add up the number of times that the file in described default file folder is cleared up;
When described number of times is not less than Second Threshold, described default file folder is added in acquiescence cleaning list.
Optionally, also comprise:
Receive user to the clicking operation of space management option, the file in the file in described acquiescence cleaning list is scanned, clears up the file scanned.
A kind of file clean-up device, be applied to electronic equipment, described device comprises: detect operation receiving element, application program determining unit, data volume determining unit, function determining unit, file characteristic determining unit and cleaning guidance unit,
Described detection operation receiving element, detects operation for the file receiving user;
Described application program determining unit, for detecting operation according to described file, determining whether described electronic equipment has been provided with at least one application program in default the application list, if so, then triggering described data volume determining unit;
Described data volume determining unit, for determining the data volume of the default file folder that application program in mounted default the application list is corresponding, the file under the installation directory that described default file folder is the application program in described mounted default the application list;
Described function determining unit, for when the data volume of described default file folder is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determines the function that described default file folder is corresponding;
Described file characteristic determining unit, the default corresponding relation of the file characteristic of the file that function and described function for pressing from both sides correspondence according to described default file produce, determines the file characteristic of the file that described function produces;
Described cleaning guidance unit, the cleaning guidance mode mated for the file characteristic used with determine guide user described default file is pressed from both sides in file clear up.
A kind of file clean-up method that the embodiment of the present invention provides and device, the data volume of the default file folder that application program in electronic equipment in mounted default the application list is corresponding can be determined, and when data volume is greater than first threshold, determine the function that default file folder is corresponding, and determine the file characteristic of the file that function produces further, use the cleaning guidance mode mated with the file characteristic determined guide user default file is pressed from both sides in file clear up.The file produced due to each function of application program is generally all stored in corresponding file, therefore by identifying that the mode of file place file identifies the file that will clear up, can improve the accuracy rate identifying the file that will clear up.Meanwhile, the cleaning guidance mode that use of the present invention is mated with file characteristic guide user default file is pressed from both sides in file clear up, different cleaning guidance modes can be used for the file with different file characteristic, avoid the situation of deleting by mistake and leaking and deleting.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The process flow diagram of a kind of file clean-up method that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of file clean-up device that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, a kind of file clean-up method that the embodiment of the present invention provides, be applied to electronic equipment, the method can comprise:
The file of S100, reception user detects operation;
Wherein, file detection operation can be the clicking operation to rubbish detection option, also can be the clicking operation to space management option.
S200, detect operation according to described file, determine whether described electronic equipment has been provided with at least one application program in default the application list, if so, then performs S300;
When the application program in default the application list do not installed by electronic equipment, existing file detection mode can be used to detect garbage files, also can terminate execution of the present invention.
Concrete, interpolation or the deletion of application program can be carried out in default the application list according to the instruction of user.The application program preset in the application list can often use for user and produce the many application programs of garbage files.Preferably, the application program preset in the application list is the application program with social functions, as micro-letter, microblogging etc.
The data volume of the default file folder that S300, the application program determined in mounted default the application list are corresponding, described default file presss from both sides as the file under the installation directory of the application program in described mounted default the application list;
Wherein, default file folder can be the file at the file place of application program generation.Such as: the file at the picture place that the application program with social functions receives in chat.
Be described for micro-letter below:
The name of the file at the head portrait place that micro-letter is downloaded is called avatar, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/avatar
The name of the file at the file place of user's collection is called favorite, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/favorite
The name of the file at the file place in circle of friends is called sns, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/sns
The name of the file at the picture place of downloading in chat is called image2, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/image2
The name of the file at the video place of downloading in chat is called video, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/video
The name of the file at monitoring daily record place is called xlog, and its store path is: tencent/micromsg/xlog
The name of the file at game center icon catalogue place is called openapi, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/openapi
The name of the file at public image cache catalogue place is called image, and its store path is: tencent/micromsg/ [0-9a-z] { 32}/image
It should be noted is that, [0-9a-z] in above store path { 32} represents and becomes length to be the character string of 32 by letter, digit groups, and { 32} is different for [0-9a-z] of different micro-letter account.
The file of above-mentioned micro-letter, all for preserving the file that micro-letter is downloaded, therefore determines that the data volume of each file just can determine the total amount of data of the file of the download in this file.
S400, when the data volume that described default file presss from both sides is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determine the function that described default file folder is corresponding;
Wherein, this first threshold can be modified as required, and optionally, this threshold value is 0MB or 1MB.
Because file clean-up needs to spend system resource, therefore when the data volume of default file folder is less, can not the file in it be cleared up.Certainly, clear up when also can there is file in default file folder.
It is corresponding that each preserves the function of file all with corresponding producing file, such as: store path is that { file of 32}/sns is corresponding with circle of friends function for tencent/micromsg/ [0-9a-z]; Store path is that { file of 32}/image2 is corresponding with chat feature for tencent/micromsg/ [0-9a-z].
The default corresponding relation of the file characteristic of the file that S500, the function of pressing from both sides correspondence according to described default file and described function produce, determines the file characteristic of the file that described function produces;
S600, use the cleaning guidance mode mated with the file characteristic determined guide user described default file is pressed from both sides in file clear up.
Be understandable that, the file that difference in functionality produces has different file characteristics.Such as: after the file clean-up that circle of friends function produces, can again produce under the state of electronic equipment networking.And after the file clean-up that chat feature produces, cannot again produce under the state of electronic equipment networking.And the monitoring journal file that monitoring function produces belongs to garbage files, after cleaning, do not affect the use of user's application programs.
Based on the file characteristic that whether can repeat to produce and be whether the file characteristic of garbage files, file characteristic can have three kinds, be respectively fisrt feature, second feature and third feature, wherein, the file with fisrt feature can be can again from the non-junk file that the server that application program is corresponding is downloaded; The file with second feature can for carrying out from the server that application program is corresponding the non-junk file downloaded again; The file with third feature can for not affecting the garbage files of the use of user's application programs after cleaning.Certainly, in other embodiments of the present invention, fisrt feature also can be again to download from the server that application program is corresponding; Second feature can for downloading from the server that application program is corresponding again; Third feature can for not affecting the use of user's application programs after cleaning.
When determined file characteristic is fisrt feature, the cleaning guidance mode mated with the file characteristic determined can be:
File in described default file folder is added the specially clear list of application program corresponding to described default file folder, prompting user clears up the file in described specially clear list;
Or,
The function that described in display translation, default file folder is corresponding and/or determined file characteristic, prompting user clears up the file in described default file folder.
Wherein, each application program in the default the application list in step S200 can to there being a specially clear list, for showing the file for clearance under this application program installation directory that specially clear list is corresponding.
The function corresponding by display translation default file folder and/or determined file characteristic, whether can again download from server, whether be garbage files after user can being helped to understand produce the file clean-up in the function of this default file folder and/or this default file folder, thus determine to provide more reference information for the cleaning of user.
With the cleaning guidance mode that the file characteristic determined mates being: the file in being pressed from both sides by described default file adds the specially clear list that described default file presss from both sides corresponding application program, when prompting user clears up the file in described specially clear list, method shown in Fig. 1 can also comprise: the file clean-up operation receiving user, clears up the file in described specially clear list;
With the cleaning guidance mode that the file characteristic determined mates for: default file described in display translation presss from both sides corresponding function and/or determined file characteristic, when prompting user clears up the file in described default file folder, method shown in Fig. 1 can also comprise: the file clean-up operation receiving user, clears up the file in described default file folder.
Wherein, the file clean-up operation of user can be the clicking operation to " a key cleaning " button or " clearing up immediately " button.
Concrete, can be presented on the display screen of electronic equipment by special clear list, user can see the file that will clear up.Certainly, Fumction display corresponding to the file at the file place that the Folder Name at the file place also can cleared up maybe will be cleared up is on the display screen of electronic equipment.Certainly, can also by the display of the data volume of the file at the data volume of the file that will clear up or the file that will clear up place on a display screen.Such as: show that store path is: tencent/micromsg/ [the 0-9a-z] { data volume of each file in the file of 32}/sns.Certainly, also can carry out classification to the file at the file place that will clear up and show, be divided into multiple cleaning item.As: when showing, the file at the file place that the file at the head portrait place of being downloaded by micro-letter and user collect merges, and shows as temporary file item.Certainly, also data volume statistics can be carried out to the file at the file place that will clear up according to classification.
When determined file characteristic is second feature, the cleaning guidance mode mated with the file characteristic determined can be:
According to the creation-time of the file in described default file folder, carry out arrangement to the file in described default file folder and show, prompting user clears up shown file.
In this case, method shown in Fig. 1 can also comprise: receive the selection operation of user to the file shown, clear up the file that user selects.
Wherein, user to the selection operation of the file shown can for one of displaying file, the selection of multiple or full choosing operates.
Owing to cannot again download after cleaning, therefore user may not wish to clear up whole files.The present invention carries out arrangement according to the creation-time of file to file and shows, user can be made can to browse each file according to creation-time order, thus the file that selection will be cleared up.
When determined file characteristic is third feature, the cleaning guidance mode mated with the file characteristic determined can be:
Added by described default file folder in acquiescence cleaning list, prompting user is scanned the file in the file in described acquiescence cleaning list and clears up.
Owing to can not affect the use of user's application programs after cleaning garbage files, therefore can add in acquiescence cleaning list, like this, user is without the need to clearing up garbage files separately, more convenient to operate.
In the displaying process of the above-mentioned file to clearing up, classification can also be carried out according to file type and show, such as, classification be carried out to picture and video and show.In actual applications, can according to the file type of file suffixes and file reading head determination file.
Certainly, the file clean-up method that the various embodiments described above provide can also comprise: receive the operation that described default file folder is added acquiescence cleaning list by user, added in described acquiescence cleaning list by described default file folder.
When user wishes to clear up at every turn all Automatic clearance default file folder in file time, the present invention can according to user operation by default file folder add acquiescence cleaning list.Like this, the file in this default file folder is just without the need to clearing up separately again, convenient.
Certainly, the file clean-up method that the various embodiments described above provide can also comprise:
Add up the number of times that the file in described default file folder is cleared up;
When described number of times is not less than Second Threshold, described default file folder is added in acquiescence cleaning list.
On this basis, the file clean-up method that another embodiment of the present invention provides can also comprise: receive user to the clicking operation of space management option, scans, clear up the file scanned to the file in the file in described acquiescence cleaning list.
If user repeatedly clears up the file in default file folder, then illustrate that user has very strong cleaning wish to the file in default file folder, described default file folder can be added in acquiescence cleaning list, facilitate user.
When user opens space management function, the present invention can automatically scan the file in the file in acquiescence cleaning list and clear up, and sends scanning and cleaning instruction again without the need to user, convenient.
A kind of file clean-up method that the embodiment of the present invention provides, the data volume of the default file folder that application program in electronic equipment in mounted default the application list is corresponding can be determined, and when data volume is greater than first threshold, determine the function that default file folder is corresponding, and determine the file characteristic of the file that function produces further, use the cleaning guidance mode mated with the file characteristic determined guide user default file is pressed from both sides in file clear up.The file produced due to each function of application program is generally all stored in corresponding file, therefore by identifying that the mode of file place file identifies the file that will clear up, can improve the accuracy rate identifying the file that will clear up.Meanwhile, the cleaning guidance mode that use of the present invention is mated with file characteristic guide user default file is pressed from both sides in file clear up, different cleaning guidance modes can be used for the file with different file characteristic, avoid the situation of deleting by mistake and leaking and deleting.
As shown in Figure 2, a kind of file clean-up device that the embodiment of the present invention provides, be applied to electronic equipment, this device can comprise: detect operation receiving element 100, application program determining unit 200, data volume determining unit 300, function determining unit 400, file characteristic determining unit 500 and cleaning guidance unit 600
Described detection operation receiving element 100, detects operation for the file receiving user;
Wherein, file detection operation can be the clicking operation to rubbish detection option, also can be the clicking operation to space management option.
Described application program determining unit 200, for detecting operation according to described file, determining whether described electronic equipment has been provided with at least one application program in default the application list, if so, then triggering described data volume determining unit 300;
When the application program in default the application list do not installed by electronic equipment, existing file detection mode can be used to detect garbage files, also can terminate execution of the present invention.
Concrete, interpolation or the deletion of application program can be carried out in default the application list according to the instruction of user.The application program preset in the application list can often use for user and produce the many application programs of garbage files.Preferably, the application program preset in the application list is the application program with social functions, as micro-letter, microblogging etc.
Described data volume determining unit 300, for determining the data volume of the default file folder that application program in mounted default the application list is corresponding, the file under the installation directory that described default file folder is the application program in described mounted default the application list;
Wherein, default file folder can be the file at the file place of application program generation.Such as: the file at the picture place that the application program with social functions receives in chat.
Described function determining unit 400, for when the data volume of described default file folder is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determines the function that described default file folder is corresponding;
Wherein, this first threshold can be modified as required, and optionally, this threshold value is 0MB or 1MB.
Because file clean-up needs to spend system resource, therefore when the data volume of default file folder is less, can not the file in it be cleared up.Certainly, clear up when also can there is file in default file folder.
Described file characteristic determining unit 500, the default corresponding relation of the file characteristic of the file that function and described function for pressing from both sides correspondence according to described default file produce, determines the file characteristic of the file that described function produces;
Described cleaning guidance unit 600, the cleaning guidance mode mated for the file characteristic used with determine guide user described default file is pressed from both sides in file clear up.
Be understandable that, the file that difference in functionality produces has different file characteristics.Such as: after the file clean-up that circle of friends function produces, can again produce under the state of electronic equipment networking.And after the file clean-up that chat feature produces, cannot again produce under the state of electronic equipment networking.And the monitoring journal file that monitoring function produces belongs to garbage files, after cleaning, do not affect the use of user's application programs.
Based on the file characteristic that whether can repeat to produce and be whether the file characteristic of garbage files, file characteristic can have three kinds, be respectively fisrt feature, second feature and third feature, wherein, the file with fisrt feature can be can again from the non-junk file that the server that application program is corresponding is downloaded; The file with second feature can for carrying out from the server that application program is corresponding the non-junk file downloaded again; The file with third feature can for not affecting the garbage files of the use of user's application programs after cleaning.Certainly, in other embodiments of the present invention, fisrt feature also can be again to download from the server that application program is corresponding; Second feature can for downloading from the server that application program is corresponding again; Third feature can for not affecting the use of user's application programs after cleaning.
When determined file characteristic is fisrt feature, described cleaning guidance unit 600, specifically for the file in described default file folder being added the specially clear list of application program corresponding to described default file folder, prompting user clears up the file in described specially clear list;
Or,
Described cleaning guidance unit 600, the function corresponding specifically for default file folder described in display translation and/or determined file characteristic, prompting user clears up the file in described default file folder.
Wherein, presetting each application program in the application list can to there being a specially clear list, for showing the file for clearance under this application program installation directory that specially clear list is corresponding.
The function corresponding by display translation default file folder and/or determined file characteristic, whether can again download from server, whether be garbage files after user can being helped to understand produce the file clean-up in the function of this default file folder and/or this default file folder, thus determine to provide more reference information for the cleaning of user.
At described cleaning guidance unit 600 specifically for the file in described default file folder being added the specially clear list of application program corresponding to described default file folder, when prompting user clears up the file in described specially clear list, Fig. 2 shown device can also comprise: the first cleaning unit, for receiving the file clean-up operation of user, the file in described specially clear list is cleared up;
Corresponding function and/or determined file characteristic is pressed from both sides specifically for default file described in display translation at described cleaning guidance unit 600, when prompting user clears up the file in described default file folder, Fig. 2 shown device can also comprise: the second cleaning unit, for receiving the file clean-up operation of user, the file in described default file folder is cleared up.
Wherein, the file clean-up operation of user can be the clicking operation to " a key cleaning " button or " clearing up immediately " button.
Concrete, can be presented on the display screen of electronic equipment by special clear list, user can see the file that will clear up.Certainly, Fumction display corresponding to the file at the file place that the Folder Name at the file place also can cleared up maybe will be cleared up is on the display screen of electronic equipment.Certainly, can also by the display of the data volume of the file at the data volume of the file that will clear up or the file that will clear up place on a display screen.Such as: show that store path is: tencent/micromsg/ [the 0-9a-z] { data volume of each file in the file of 32}/sns.Certainly, also can carry out classification to the file at the file place that will clear up and show, be divided into multiple cleaning item.As: when showing, the file at the file place that the file at the head portrait place of being downloaded by micro-letter and user collect merges, and shows as temporary file item.Certainly, also data volume statistics can be carried out to the file at the file place that will clear up according to classification.
When determined file characteristic is second feature, described cleaning guidance unit 600, can specifically for the creation-time according to the file in described default file folder, carry out arrangement to the file in described default file folder and show, prompting user clears up shown file.
In this case, Fig. 2 shown device can also comprise: the 3rd cleaning unit, for receiving the selection operation of user to the file shown, clears up the file that user selects.
Wherein, user to the selection operation of the file shown can for one of displaying file, the selection of multiple or full choosing operates.
Owing to cannot again download after cleaning, therefore user may not wish to clear up whole files.The present invention carries out arrangement according to the creation-time of file to file and shows, user can be made can to browse each file according to creation-time order, thus the file that selection will be cleared up.
When determined file characteristic is third feature, described cleaning guidance unit 600, can specifically for adding in acquiescence cleaning list by described default file folder, and prompting user is scanned the file in the file in described acquiescence cleaning list and clears up.
Owing to can not affect the use of user's application programs after cleaning garbage files, therefore can add in acquiescence cleaning list, like this, user is without the need to clearing up garbage files separately, more convenient to operate.
In the displaying process of the above-mentioned file to clearing up, classification can also be carried out according to file type and show, such as, classification be carried out to picture and video and show.In actual applications, can according to the file type of file suffixes and file reading head determination file.
Certainly, the file clean-up device that the various embodiments described above provide can also comprise: the first list updating block, for receiving user, described default file folder being added the operation that acquiescence clears up list, being added in described acquiescence cleaning list by described default file folder.
When user wishes to clear up at every turn all Automatic clearance default file folder in file time, the present invention can according to user operation by default file folder add acquiescence cleaning list.Like this, the file in this default file folder is just without the need to clearing up separately again, convenient.
Certainly, the file clean-up device that the various embodiments described above provide can also comprise: cleaning statistic unit and the second list updating block,
Described cleaning statistic unit, for adding up the number of times cleared up the file in described default file folder;
Described second list updating block, for when described number of times is not less than Second Threshold, adds described default file folder in acquiescence cleaning list.
On this basis, the file clean-up device that another embodiment of the present invention provides can also comprise: the 4th cleaning unit, for receiving the clicking operation of user to space management option, the file in the file in described acquiescence cleaning list being scanned, clears up the file scanned.
If user repeatedly clears up the file in default file folder, then illustrate that user has very strong cleaning wish to the file in default file folder, described default file folder can be added in acquiescence cleaning list, facilitate user.
When user opens space management function, the present invention can automatically scan the file in the file in acquiescence cleaning list and clear up, and sends scanning and cleaning instruction again without the need to user, convenient.
A kind of file clean-up device that the embodiment of the present invention provides, the data volume of the default file folder that application program in electronic equipment in mounted default the application list is corresponding can be determined, and when data volume is greater than first threshold, determine the function that default file folder is corresponding, and determine the file characteristic of the file that function produces further, use the cleaning guidance mode mated with the file characteristic determined guide user default file is pressed from both sides in file clear up.The file produced due to each function of application program is generally all stored in corresponding file, therefore by identifying that the mode of file place file identifies the file that will clear up, can improve the accuracy rate identifying the file that will clear up.Meanwhile, the cleaning guidance mode that use of the present invention is mated with file characteristic guide user default file is pressed from both sides in file clear up, different cleaning guidance modes can be used for the file with different file characteristic, avoid the situation of deleting by mistake and leaking and deleting.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this instructions all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for system embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a file clean-up method, is characterized in that, is applied to electronic equipment, and described method comprises:
The file receiving user detects operation;
Operation is detected according to described file, determine whether described electronic equipment has been provided with at least one application program in default the application list, if, then determine the data volume of the default file folder that application program in mounted default the application list is corresponding, the file under the installation directory that described default file folder is the application program in described mounted default the application list;
When the data volume that described default file presss from both sides is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determine the function that described default file folder is corresponding;
The default corresponding relation of the file characteristic of the file that the function corresponding according to described default file folder and described function produce, determines the file characteristic of the file that described function produces;
Use the cleaning guidance mode that mates with the file characteristic determined guide user described default file is pressed from both sides in file clear up.
2. method according to claim 1, is characterized in that, when determined file characteristic is fisrt feature, the cleaning guidance mode mated with the file characteristic determined is:
File in described default file folder is added the specially clear list of application program corresponding to described default file folder, prompting user clears up the file in described specially clear list;
Or,
The function that described in display translation, default file folder is corresponding and/or determined file characteristic, prompting user clears up the file in described default file folder.
3. method according to claim 2, it is characterized in that, with the cleaning guidance mode that the file characteristic determined mates being: the file in being pressed from both sides by described default file adds the specially clear list that described default file presss from both sides corresponding application program, when prompting user clears up the file in described specially clear list, described method also comprises: the file clean-up operation receiving user, clears up the file in described specially clear list;
With the cleaning guidance mode that the file characteristic determined mates for: default file described in display translation presss from both sides corresponding function and/or determined file characteristic, when prompting user clears up the file in described default file folder, described method also comprises: the file clean-up operation receiving user, clears up the file in described default file folder.
4. method according to claim 1, is characterized in that, when determined file characteristic is second feature, the cleaning guidance mode mated with the file characteristic determined is:
According to the creation-time of the file in described default file folder, carry out arrangement to the file in described default file folder and show, prompting user clears up shown file.
5. method according to claim 4, is characterized in that, also comprises:
Receive the selection operation of user to the file shown, the file that user selects is cleared up.
6. method according to claim 1, is characterized in that, when determined file characteristic is third feature, the cleaning guidance mode mated with the file characteristic determined is:
Added by described default file folder in acquiescence cleaning list, prompting user is scanned the file in the file in described acquiescence cleaning list and clears up.
7. the method according to claim 1,3 or 5, is characterized in that, also comprise:
Receive the operation that described default file folder is added acquiescence cleaning list by user, described default file folder is added in described acquiescence cleaning list.
8. the method according to claim 1,3 or 5, is characterized in that, also comprise:
Add up the number of times that the file in described default file folder is cleared up;
When described number of times is not less than Second Threshold, described default file folder is added in acquiescence cleaning list.
9. method according to claim 8, is characterized in that, also comprises:
Receive user to the clicking operation of space management option, the file in the file in described acquiescence cleaning list is scanned, clears up the file scanned.
10. a file clean-up device, is characterized in that, is applied to electronic equipment, and described device comprises: detect operation receiving element, application program determining unit, data volume determining unit, function determining unit, file characteristic determining unit and cleaning guidance unit,
Described detection operation receiving element, detects operation for the file receiving user;
Described application program determining unit, for detecting operation according to described file, determining whether described electronic equipment has been provided with at least one application program in default the application list, if so, then triggering described data volume determining unit;
Described data volume determining unit, for determining the data volume of the default file folder that application program in mounted default the application list is corresponding, the file under the installation directory that described default file folder is the application program in described mounted default the application list;
Described function determining unit, for when the data volume of described default file folder is greater than first threshold, according to the default corresponding relation of described default file folder with the function of described application program, determines the function that described default file folder is corresponding;
Described file characteristic determining unit, the default corresponding relation of the file characteristic of the file that function and described function for pressing from both sides correspondence according to described default file produce, determines the file characteristic of the file that described function produces;
Described cleaning guidance unit, the cleaning guidance mode mated for the file characteristic used with determine guide user described default file is pressed from both sides in file clear up.
CN201510324966.5A 2015-06-12 2015-06-12 file cleaning method and device Active CN104881493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510324966.5A CN104881493B (en) 2015-06-12 2015-06-12 file cleaning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510324966.5A CN104881493B (en) 2015-06-12 2015-06-12 file cleaning method and device

Publications (2)

Publication Number Publication Date
CN104881493A true CN104881493A (en) 2015-09-02
CN104881493B CN104881493B (en) 2018-09-11

Family

ID=53948986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510324966.5A Active CN104881493B (en) 2015-06-12 2015-06-12 file cleaning method and device

Country Status (1)

Country Link
CN (1) CN104881493B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105574163A (en) * 2015-12-16 2016-05-11 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN105760518A (en) * 2016-02-29 2016-07-13 四川秘无痕信息安全技术有限责任公司 Method for accurately detecting data of Android WeChat friend circle
CN105893152A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Memory management method and device and mobile terminal
CN105893471A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Data processing method and electronic equipment
CN106201218A (en) * 2016-07-27 2016-12-07 北京金山安全软件有限公司 Method and device for clearing picture files in chat records and mobile device
CN106528577A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Method and device for setting files to be cleared
CN106557515A (en) * 2015-09-29 2017-04-05 北京国双科技有限公司 File delet method and device
CN106682026A (en) * 2015-11-09 2017-05-17 北京金山安全软件有限公司 File cleaning method and device and electronic equipment
CN107273401A (en) * 2017-04-21 2017-10-20 捷开通讯(深圳)有限公司 Management method, mobile device and the storage device of application data file
CN107291483A (en) * 2016-04-01 2017-10-24 深圳富泰宏精密工业有限公司 Intelligence deletes the method and electronic equipment of application program
CN111104180A (en) * 2019-12-11 2020-05-05 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
WO2021017899A1 (en) * 2019-07-30 2021-02-04 华为技术有限公司 Method for efficiently cleaning equipment files and device
WO2022021831A1 (en) * 2020-07-31 2022-02-03 未来穿戴技术有限公司 Mode management method and apparatus, mobile terminal, and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN103530424A (en) * 2013-10-31 2014-01-22 北京奇虎科技有限公司 Useless file detection method and device
US20140297602A1 (en) * 2013-03-29 2014-10-02 Piriform Ltd. Multiple user profile cleaner
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651864A (en) * 2008-08-14 2010-02-17 比亚迪股份有限公司 Method for managing file in mobile terminal and mobile terminal
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
US20140297602A1 (en) * 2013-03-29 2014-10-02 Piriform Ltd. Multiple user profile cleaner
CN103530424A (en) * 2013-10-31 2014-01-22 北京奇虎科技有限公司 Useless file detection method and device
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106528577A (en) * 2015-09-15 2017-03-22 腾讯科技(深圳)有限公司 Method and device for setting files to be cleared
CN106557515A (en) * 2015-09-29 2017-04-05 北京国双科技有限公司 File delet method and device
CN106682026A (en) * 2015-11-09 2017-05-17 北京金山安全软件有限公司 File cleaning method and device and electronic equipment
CN105574163A (en) * 2015-12-16 2016-05-11 北京金山安全软件有限公司 File processing method and device and electronic equipment
CN105760518A (en) * 2016-02-29 2016-07-13 四川秘无痕信息安全技术有限责任公司 Method for accurately detecting data of Android WeChat friend circle
CN105893471A (en) * 2016-03-28 2016-08-24 联想(北京)有限公司 Data processing method and electronic equipment
CN105893152A (en) * 2016-03-31 2016-08-24 广东欧珀移动通信有限公司 Memory management method and device and mobile terminal
CN107291483A (en) * 2016-04-01 2017-10-24 深圳富泰宏精密工业有限公司 Intelligence deletes the method and electronic equipment of application program
CN107291483B (en) * 2016-04-01 2021-02-05 深圳富泰宏精密工业有限公司 Method for intelligently deleting application program and electronic equipment
CN106201218A (en) * 2016-07-27 2016-12-07 北京金山安全软件有限公司 Method and device for clearing picture files in chat records and mobile device
CN107273401A (en) * 2017-04-21 2017-10-20 捷开通讯(深圳)有限公司 Management method, mobile device and the storage device of application data file
WO2021017899A1 (en) * 2019-07-30 2021-02-04 华为技术有限公司 Method for efficiently cleaning equipment files and device
CN111104180A (en) * 2019-12-11 2020-05-05 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
CN111104180B (en) * 2019-12-11 2021-08-03 惠州Tcl移动通信有限公司 Application program optimization method and device, storage medium and electronic equipment
WO2022021831A1 (en) * 2020-07-31 2022-02-03 未来穿戴技术有限公司 Mode management method and apparatus, mobile terminal, and computer storage medium

Also Published As

Publication number Publication date
CN104881493B (en) 2018-09-11

Similar Documents

Publication Publication Date Title
CN104881493A (en) File cleaning method and device
US9164657B2 (en) File management and transfer using user interface icons associated with applications
CN102880713B (en) File clean-up method and device
CN106909855B (en) File hiding method and device
CN104331216B (en) In the method and apparatus of intelligent terminal middle pipe reason applicative notifications
CN102929980B (en) Folder cleaning method and device
US8280922B2 (en) User-interest driven launching pad of mobile application and method of operating the same
CN104572922A (en) Image processing method and device based on mobile equipment
CN104811791A (en) Video removing method and device and terminal device
CN106201170A (en) The footmark processing method of a kind of application icon and terminal
CN105068726B (en) Information processing method and terminal
CN107408242B (en) Providing interactive previews of content within communications
CN107102786B (en) Information processing method and client
CN105893471B (en) Data processing method and electronic equipment
CN105446572A (en) Text-editing method and device used for screen display device
CN105574163A (en) File processing method and device and electronic equipment
CN106371904A (en) Application process clearing method and mobile terminal
CN104216996A (en) File information display method and device
CN103577417A (en) Desktop cleaning method and device
CN112306590B (en) Screenshot generating method and related device
CN103995843A (en) System garbage cleaning method and device
EP2090969A1 (en) Information selection support device, information selection support method, and program
CN110543451A (en) Method and device for efficiently cleaning equipment files
CN103677241A (en) Information processing method and electronic equipment
CN112912844A (en) File collection method, file collection device and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant