CN104331376A - Method and device for clearing installation package stored in mobile terminal - Google Patents

Method and device for clearing installation package stored in mobile terminal Download PDF

Info

Publication number
CN104331376A
CN104331376A CN201410648348.1A CN201410648348A CN104331376A CN 104331376 A CN104331376 A CN 104331376A CN 201410648348 A CN201410648348 A CN 201410648348A CN 104331376 A CN104331376 A CN 104331376A
Authority
CN
China
Prior art keywords
installation kit
cleaning
mobile terminal
catalogue
classification
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
CN201410648348.1A
Other languages
Chinese (zh)
Other versions
CN104331376B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410648348.1A priority Critical patent/CN104331376B/en
Publication of CN104331376A publication Critical patent/CN104331376A/en
Application granted granted Critical
Publication of CN104331376B publication Critical patent/CN104331376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a method and a device for clearing an installation package stored in a mobile terminal. The method comprises the following steps: analyzing catalog information of the installation package while scanning the installation package stored in the mobile terminal; acquiring the catalog class of the installation package according to the catalog information of the installation package; determining if confirming the installation package as a to-be-cleared installation package according to a clearing rule corresponding to the acquired catalog class; clearing the confirmed to-be-cleared installation package. According to the embodiment provided by the invention, the to-be-cleared installation package confirmed according to the clearing rule in the mobile terminal is cleared while the non-to-be-cleared installation package confirmed according to the clearing rule is maintained; the non-to-be-cleared installation package comprises the latest version installation package or uninstalled installation package, so that the purpose of intelligently clearing the installation package is achieved; the use experience of a user is greatly improved while the storage space of the mobile terminal is released.

Description

The method for cleaning of the installation kit stored in mobile terminal and device
Technical field
The present invention relates to the technical field of mobile terminal, especially relate to method for cleaning and the device of the installation kit stored in a kind of mobile terminal.
Background technology
Mobile terminal refers to the computer equipment that can use in movement, comprises mobile phone, panel computer etc.Along with popularizing of mobile terminal, the installation kit installed on mobile terminals gets more and more.These installation kits occupy the SD card of mobile terminal and a large amount of storage spaces of internal memory, and after installation kit installation and operation, the storage space shared by these installation kits often can not discharge in time; And clear up the normal operation next time that these installation kits can't cause the program of having installed.Therefore, being necessary that the storage space installation kit to being arranged in SD card or internal memory is cleared up, with the storage space of the SD card and internal memory that discharge mobile terminal, improving the travelling speed of mobile terminal.
The present inventor finds, in the storage space method for cleaning of the mobile terminal of prior art, irrationality is had: when clearing up the Stub Files such as the installation kit in SD card or internal memory to the cleaning of installation kit, the all installation kits stored in SD card in smart mobile phone or buffer memory all may be cleaned out, comprise most highest version installation kit or also uninstalled installation kit be also cleaned, may not have yet clear up should be cleaned installation kit, use intelligent terminal to cause puzzlement to user.
Summary of the invention
The invention provides method for cleaning and the device of the installation kit stored in a kind of mobile terminal, during for solving in prior art the installation kit cleared up in mobile terminal, all installation kit complete liquidations stored being fallen, cause the problem of puzzlement to user in mobile terminal.
For solving the aforementioned problems in the prior, the invention provides the method for cleaning of the installation kit stored in a kind of mobile terminal, wherein, comprising:
When scanning the installation kit stored in mobile terminal, resolve the directory information of described installation kit;
According to the directory information of described installation kit, obtain the catalogue classification of described installation kit;
According to obtain catalogue classification corresponding to cleaning rule, determine whether described installation kit is defined as installation kit for clearance;
Clear up the installation kit for clearance determined.
The invention provides the cleaning plant of the installation kit stored in a kind of mobile terminal, wherein, comprising:
Parsing module, during for scanning the installation kit stored in mobile terminal, resolves the directory information of described installation kit;
Acquisition module, for the directory information according to described installation kit, obtains the catalogue classification of described installation kit;
Determination module, for according to obtain catalogue classification corresponding to cleaning rule, determine whether described installation kit is defined as installation kit for clearance;
Cleaning module, for clearing up the installation kit for clearance determined.
The beneficial effect of embodiment provided by the invention:
In embodiment provided by the invention, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit, according to the directory information of installation kit, obtain the catalogue classification of installation kit, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, then the installation kit for clearance determined is cleared up, achieve and the installation kit for clearance determined according to cleaning rule in mobile terminal is all cleaned out, retain simultaneously and be not confirmed as installation kit for clearance according to cleaning rule, be not confirmed as installation kit or also uninstalled installation kit etc. that installation kit for clearance comprises most highest version, thus reach the object of clearing up installation kit intelligently, while release mobile terminal storage space, also the experience of user is substantially improved.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the process flow diagram of method for cleaning first embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 2 is the process flow diagram of method for cleaning second embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 3 is the interface schematic diagram starting cleaning installation kit in the present embodiment;
Fig. 4 is the first interface schematic diagram cleared up in the present embodiment in installation kit process;
Fig. 5 is the second contact surface schematic diagram cleared up in the present embodiment in installation kit process;
Fig. 6 is the interface schematic diagram after clearing up installation kit in the present embodiment;
Fig. 7 is the structural representation of cleaning plant first embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 8 is the structural representation of cleaning plant second embodiment of the installation kit stored in mobile terminal of the present invention.
Embodiment
Technical scheme in the embodiment of the present invention is understood better in order to make those skilled in the art person, and enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage become apparent more, below in conjunction with accompanying drawing, technical scheme in the embodiment of the present invention is described in further detail.
Fig. 1 is the process flow diagram of method for cleaning first embodiment of the installation kit stored in mobile terminal of the present invention.As shown in Figure 1, the flow process of the method for cleaning of the installation kit stored in the present embodiment mobile terminal specifically comprises the steps:
Step 101, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit.
In the present embodiment, when user needs to clear up the installation kit stored in mobile terminal, first start cleaning software scans installation kit, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit, directory information comprises the title, file layout, size etc. of installation kit.According to the directory information of installation kit, find the installation kit catalogue of coupling in a database, then parse the catalogue classification corresponding to directory information of the installation kit found, wherein, database is that mobile terminal is downloaded from server side in advance.After the directory information parsing installation kit, enter step 102.
Step 102, directory information according to installation kit, obtain the catalogue classification of installation kit.
In this step, according to the directory information of installation kit, obtain the catalogue classification of installation kit.In the present embodiment, the catalogue classification of installation kit comprises: backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.Wherein, backup directory can be that installation kit is stored in local local backup catalogue, also can be the high in the clouds backup directory that installation kit is stored in high in the clouds.CACHE DIRECTORY refers to that installation kit stores CACHE DIRECTORY in the buffer; Non-caching catalogue refers to that installation kit is stored in the catalogue in the non-caching such as SD card; White list catalogue refers to the catalogue of the file for storing installation kit of user's sets itself, and installation kit corresponding to white list catalogue is the installation kit that user needs to retain, but also manually can be deleted by user.After obtaining the catalogue classification of installation kit, enter step 103.
Step 103, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance.
In the present embodiment, the catalogue classification of installation kit comprises: the catalogue classification of installation kit comprises: backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.When catalogue classification is specially backup directory, specifically comprise with the cleaning rule corresponding to backup directory: if according to the directory information of installation kit, judge that installation kit is as local backup catalogue, then do not point out cleaning installation kit further; If according to the directory information of installation kit, judge that installation kit is as high in the clouds backup directory further, then prompting cleaning has been installed to the installation kit of mobile terminal, does not point out cleaning not to be installed to the installation kit of mobile terminal.
When the directory information of installation kit is CACHE DIRECTORY, does not point out the version downloaded in cleaning preset duration the highest and be not installed to the installation kit of mobile terminal, remaining installation kit of prompting cleaning.
When the directory information of installation kit is non-caching catalogue, do not point out the installation kit of the uninstalled most highest version of cleaning, the installation kit of the damaged installation kit of prompting cleaning, repetition and the installation kit installed.
When the directory information of installation kit be user formulate white list catalogue, do not point out cleaning installation kit.
In this step, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, do not point out cleaning do not need clear up installation kit, then enter step 104.
The installation kit for clearance that step 104, cleaning are determined.
In this step, the installation kit being prompted to clear up is cleared up by the cleaning software installed in mobile terminal, with the problem that the space avoiding the installation kit stored to take is too large, improve and affect the travelling speed of mobile terminal and improve the experience of user, simultaneously, also can retain the installation kit not being prompted to clear up prompting cleaning, the installation not being prompted to clear up comprises installation kit or the also uninstalled installation kit of most highest version.The installation kit that cleaning has been prompted to clear up specifically comprises: delete the installation kit being prompted to clear up, or reminding user unloading has been prompted the working procedure of the installation kit of the lowest version of clearing up.
In the present embodiment, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit, according to the directory information of installation kit, obtain the catalogue classification of installation kit, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, then the installation kit for clearance determined is cleared up, achieve and the installation kit for clearance determined according to cleaning rule in mobile terminal is all cleaned out, retain simultaneously and be not confirmed as installation kit for clearance according to cleaning rule, be not confirmed as installation kit or also uninstalled installation kit etc. that installation kit for clearance comprises most highest version, thus reach the object of clearing up installation kit intelligently, while release mobile terminal storage space, also the experience of user is substantially improved.
Fig. 2 is the process flow diagram of method for cleaning second embodiment of the installation kit stored in mobile terminal of the present invention, Fig. 3 is the interface schematic diagram starting cleaning installation kit in the present embodiment, Fig. 4 is the first interface schematic diagram cleared up in the present embodiment in installation kit process, Fig. 5 is the second contact surface schematic diagram cleared up in the present embodiment in installation kit process, and Fig. 6 is the interface schematic diagram after clearing up installation kit in the present embodiment.As shown in Figure 2, the flow process of the method for cleaning of the installation kit stored in the present embodiment mobile terminal specifically comprises the steps:
Step 201, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit.
As shown in Figure 3, when needs cleaning installation kit, first cleaning software is started, such as, " garbage-cleaning " function under wherein " store relevant " project can be selected, adopt the mode of a key cleaning to clear up the rubbish in mobile terminal, comprise the installation kit that user wishes to clear up, to discharge the storage space of mobile terminal, improve the travelling speed of mobile terminal.Mobile terminal also can judge the situation of its storage space voluntarily, and such as, when storage space is less than 200M or takies the situation more than 80%, reminding user carries out the cleaning of installation kit.In the present embodiment, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit, directory information comprises the title, file layout, size etc. of installation kit.According to the directory information of installation kit, find the installation kit catalogue of coupling in a database, then parse the catalogue classification corresponding to directory information of the installation kit found, wherein, database is that mobile terminal is downloaded from server side in advance.After the directory information parsing installation kit, enter step 202.
Step 202, directory information according to installation kit, obtain the catalogue classification of installation kit.
In the present embodiment, the catalogue classification of installation kit comprises: backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.Wherein, backup directory can be that installation kit is stored in local local backup catalogue, also can be the high in the clouds backup directory that installation kit is stored in high in the clouds.
Such as: local backup catalogue specifically can comprise:
A) 360 mobile phone bodyguard software unloading catalogue: 360/backup;
B) titanium backup: TitaniumBackup;
C) YY backup: yybackup/backup_datas
D) backup and reduction: App_Backup_Restore is applied
E) GO backup: GOBackup/AllBackup/NewBackup
F) 360 backup directories: 360Backup/App;
G) other catalogue can also comprise: appsaver, dsmbackups/app, jsbackup/apk, systemupdate/appbackup, hiapk_market/backup, droidbackup/appsbackup, androidoptimizer/systembackup, 360/systemapp, rootuninstaller/backup.
High in the clouds backup directory comprises: backup/APPS.
According to the directory information of installation kit, after obtaining the catalogue classification of installation kit, enter step 203.
Step 203, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance.
In the present embodiment, catalogue classification comprises: backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.In this step, according to the cleaning rule corresponding to the catalogue classification obtained, determine whether installation kit is defined as installation kit for clearance, cleaning rule can be set by modes such as cloud killings, to improve the cleaning efficiency of installation kit and specific aim.In the present embodiment, cleaning rule specifically comprises following four kinds of situations:
The first situation, when catalogue classification is specially backup directory, specifically comprises with the cleaning rule corresponding to backup directory: if according to the directory information of installation kit, judge that installation kit is as local backup catalogue, then do not point out cleaning installation kit further; If according to the directory information of installation kit, judge that installation kit is as high in the clouds backup directory further, then prompting cleaning has been installed to the installation kit of mobile terminal, does not point out cleaning not to be installed to the installation kit of mobile terminal.
The second situation, when the directory information of installation kit is CACHE DIRECTORY, does not point out the version downloaded in cleaning preset duration the highest and is not installed to the installation kit of mobile terminal, remaining installation kit of prompting cleaning.Such as, preset duration can be set as 3 days, and can be obtained the version information of installation kit by the Code Version (version number) of installation kit.
The third situation, when the directory information of installation kit is non-caching catalogue, does not point out the installation kit of the uninstalled most highest version of cleaning, the installation kit of the damaged installation kit of prompting cleaning, repetition and the installation kit installed.
4th kind of situation, when the directory information of installation kit be user formulate white list catalogue, do not point out cleaning installation kit.
In the present embodiment, as shown in Figure 4, show the size of the installation kit scanned in suspended window, in the present embodiment, the size of the installation kit scanned is 762M.Or, as shown in Figure 5, on the interface of mobile terminal reading scan to installation kit kind, size and whether be prompted the information such as cleaning.In Figure 5, installation kit can comprise: system installation kit, system update installation kit, application software installation kit and developing instrument installation kit.Wherein, system installation kit is the installation kit of lowest version, so prompting cleaning, developing instrument installation kit is mounted installation kit, so prompting cleaning; And system update installation kit is the installation kit of most highest version, and be not installed to mobile terminal, so do not point out cleaning, application software installation kit is installation kit corresponding to white list catalogue, so also do not point out cleaning.
In this step, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, do not point out cleaning do not need clear up installation kit, then enter step 204.
The installation kit for clearance that step 204, cleaning are determined.
In this step, the installation kit being prompted to clear up is cleared up by the cleaning software installed in mobile terminal, with the problem that the space avoiding the installation kit stored to take is too large, improve and affect the travelling speed of mobile terminal and improve the experience of user, simultaneously, also can retain the installation kit not being prompted to clear up, the installation kit not being prompted to clear up comprises installation kit or the also uninstalled installation kit of most highest version.Clear up the installation kit being prompted to clean out specifically to comprise: delete or pulverize the installation kit being prompted to clear up, or reminding user unloading is prompted the working procedure of the installation kit of the lowest version of clearing up.After having cleared up, to user's display " cleaning xxM installation kit ", and show the acceleration number percent of mobile terminal and the space size of release.In the present embodiment, as shown in Figure 6, in suspended window, show the size of the installation kit cleaned out, in actual applications, also can show the information such as the title of the installation kit cleaned out in suspended window.
Step 205, the installation kit retained in mobile terminal to be sorted according to version height or size, and be shown to user.
In this step, after cleaning has been prompted the installation kit cleared up, to the installation retained in mobile terminal, can sort according to the version height of installation kit, also can sort according to the size of installation kit, then the installation kit after sequence is shown to user, comprises the information such as the title of installation kit, size, store path, check to facilitate user or carry out copying, the operation such as deletion.Wherein, ranking results can adopt suspended window to show.
In the present embodiment, the installation kit for clearance determined can be shown in suspended window, the mode of a key cleaning also can be adopted to clear up by the installation for clearance determined, with user-friendly.For clearance complete, in suspended window, show the information such as the classification of cleaned installation kit, title and/or size.
In the present embodiment, when scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit, according to the directory information of installation kit, obtain the catalogue classification of installation kit, according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, then the installation kit for clearance determined is cleared up, achieve and the installation kit for clearance determined according to cleaning rule in mobile terminal is all cleaned out, retain simultaneously and be not confirmed as installation kit for clearance according to cleaning rule, be not confirmed as installation kit or also uninstalled installation kit etc. that installation kit for clearance comprises most highest version, thus reach the object of clearing up installation kit intelligently, while release mobile terminal storage space, also the experience of user is substantially improved.
Fig. 7 is the structural representation of cleaning plant first embodiment of the installation kit stored in mobile terminal of the present invention.As shown in Figure 7, the cleaning plant of the installation kit stored in the present embodiment mobile terminal comprises: parsing module 701, acquisition module 702, determination module 703 and cleaning module 704.Wherein, when parsing module 701 is for scanning the installation kit stored in mobile terminal, resolve the directory information of installation kit; Acquisition module 702, for the directory information according to installation kit, obtains the catalogue classification of installation kit; Determination module 703 for according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance; Cleaning module 704 points out the installation kit of cleaning for clearing up determination module 703.The runnable interface of the cleaning module in the present embodiment can adopt the mode of suspension window to show on the interface of mobile terminal, and, the runnable interface of this cleaning module also can adopt the manner of cleaning up of " a key cleaning ", this cleaning module also can carry out the mutual of cloud database, the data resource in high in the clouds convenient for users, improves the management to data resources such as installation kits of mobile terminal.
In the present embodiment, when scanning the installation kit stored in mobile terminal, the directory information of installation kit is resolved by parsing module, acquisition module is according to the directory information of installation kit, obtain the catalogue classification of installation kit, determination module according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, then, cleaning module clears up the installation kit for clearance determined, thus achieve all cleaning out according to the installation kit for clearance of cleaning rule prompting cleaning in mobile terminal, retain the installation kit or the also uninstalled installation kit that are not prompted the most highest version of clearing up according to cleaning rule simultaneously, reach the object of clearing up installation kit intelligently, while release mobile terminal storage space, substantially improve the experience of user.
Fig. 8 is the structural representation of cleaning plant second embodiment of the installation kit stored in mobile terminal of the present invention.As shown in Figure 8, the cleaning plant of the installation kit stored in the present embodiment mobile terminal comprises: order module 705, for sorting according to version height or size to the installation kit retained in mobile terminal, and is shown to user.Order module 705 can sort according to the version height of installation kit, also can sort according to the size of installation kit, then the installation kit after sequence is shown to user by the mode of suspension window, comprise the information such as the title of installation kit, size, store path, check to facilitate user or carry out copying, the operation such as deletion.And order module 705 also can show classification, the information such as title and/or size of cleaned installation kit in suspended window.
Further, the acquisition module 702 in the present embodiment specifically for: according to the directory information of installation kit, after finding the installation kit catalogue of coupling in a database, obtain the catalogue classification corresponding to installation kit catalogue that finds; Wherein, database is that mobile terminal is downloaded from server side in advance.When catalogue classification is specially backup directory: if acquisition module 702 is according to the directory information of installation kit, judge that installation kit is as local backup catalogue further, then determination module 703 does not point out cleaning installation kit; If acquisition module 702 is according to the directory information of installation kit, judge that installation kit is as high in the clouds backup directory further, then determination module 703 points out cleaning to be installed to the installation kit of mobile terminal, does not point out cleaning not to be installed to the installation kit of mobile terminal.When the directory information of installation kit is CACHE DIRECTORY, determination module 703 is not for pointing out the version downloaded in cleaning preset duration the highest and not being installed to the installation kit of mobile terminal, and remaining installation kit of prompting cleaning.When the directory information of installation kit is non-caching catalogue, determination module 703 is not for pointing out the installation kit of the uninstalled most highest version of cleaning, and the damaged installation kit of prompting cleaning, the installation kit of repetition and the installation kit installed.When the directory information of installation kit is CACHE DIRECTORY, determination module 703 is not for pointing out the version downloaded in cleaning preset duration the highest and not being installed to the installation kit of mobile terminal, remaining installation kit of prompting cleaning.
In the present embodiment, when scanning the installation kit stored in mobile terminal, the directory information of installation kit is resolved by parsing module, acquisition module is according to the directory information of installation kit, obtain the catalogue classification of installation kit, by determination module according to obtain catalogue classification corresponding to cleaning rule, determine whether installation kit is defined as installation kit for clearance, then, cleaning module clears up the installation kit for clearance determined, thus achieve all cleaning out according to the installation kit for clearance of cleaning rule prompting cleaning in mobile terminal, retain the installation kit or the also uninstalled installation kit that are not prompted the most highest version of clearing up according to cleaning rule simultaneously, by order module, the installation kit continuing to retain is sorted according to version height or size again, achieve and the installation kit for clearance determined according to cleaning rule in mobile terminal is all cleaned out, retain simultaneously and be not confirmed as installation kit for clearance according to cleaning rule, be not confirmed as installation kit or also uninstalled installation kit etc. that installation kit for clearance comprises most highest version, thus reach the object of clearing up installation kit intelligently, while release mobile terminal storage space, also the experience of user is substantially improved.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a method for cleaning for the installation kit stored in mobile terminal, is characterized in that, comprising:
When scanning the installation kit stored in mobile terminal, resolve the directory information of described installation kit;
According to the directory information of described installation kit, obtain the catalogue classification of described installation kit;
According to obtain catalogue classification corresponding to cleaning rule, determine whether described installation kit is defined as installation kit for clearance;
Clear up the installation kit for clearance determined.
2. method according to claim 1, is characterized in that, the described directory information according to described installation kit, obtains the catalogue classification of described installation kit, specifically comprises:
According to the directory information of described installation kit, after finding the installation kit catalogue of coupling in a database, obtain the catalogue classification corresponding to installation kit catalogue found;
Wherein, described database is that described mobile terminal is downloaded from server side in advance.
3. method according to claim 1, is characterized in that, described catalogue classification is specially backup directory; And
Specifically comprise with the cleaning rule corresponding to described catalogue classification:
If according to the directory information of described installation kit, judge that described installation kit is as local backup catalogue further, then do not point out cleaning described installation kit;
If according to the directory information of described installation kit, judge that described installation kit is as high in the clouds backup directory further, then prompting cleaning has been installed to the installation kit of described mobile terminal, does not point out cleaning not to be installed to the installation kit of described mobile terminal.
4. method according to claim 1, is characterized in that, described catalogue classification is specially CACHE DIRECTORY; And
Specifically comprise with the cleaning rule corresponding to described catalogue classification:
When the directory information of described installation kit is CACHE DIRECTORY, does not point out the version downloaded in cleaning preset duration the highest and be not installed to the installation kit of mobile terminal, remaining installation kit of prompting cleaning.
5. method according to claim 1, is characterized in that, described catalogue classification is specially non-caching catalogue; And
Specifically comprise with the cleaning rule corresponding to catalogue classification:
When the directory information of described installation kit is non-caching catalogue, do not point out the installation kit of the uninstalled most highest version of cleaning, the installation kit of the damaged installation kit of prompting cleaning, repetition and the installation kit installed.
6. method according to claim 1, is characterized in that, described catalogue classification is specially white list catalogue; And
Specifically comprise with the cleaning rule corresponding to described catalogue classification:
When the directory information of described installation kit be user formulate white list catalogue, do not point out cleaning described installation kit.
7., according to the arbitrary described method of claim 1-6, it is characterized in that, clear up the installation kit for clearance determined, specifically comprise:
The installation kit for clearance determined described in display in suspended window;
And/or, adopt the mode of a key cleaning to clear up described installation for clearance.
8., according to the arbitrary described method of claim 1-6, it is characterized in that, after clearing up the installation kit for clearance determined, also comprise:
The installation kit retained in mobile terminal is sorted according to version height or size, and is shown to user;
And/or, in suspended window, show the classification of cleaned installation kit, title and/or size.
9. a cleaning plant for the installation kit stored in mobile terminal, is characterized in that, comprising:
Parsing module, during for scanning the installation kit stored in mobile terminal, resolves the directory information of described installation kit;
Acquisition module, for the directory information according to described installation kit, obtains the catalogue classification of described installation kit;
Determination module, for according to obtain catalogue classification corresponding to cleaning rule, determine whether described installation kit is defined as installation kit for clearance;
Cleaning module, for clearing up the installation kit for clearance determined.
10. the cleaning plant of the installation kit stored in mobile terminal according to claim 9, is characterized in that, also comprise:
Order module, for sorting according to version height or size to the installation kit retained in mobile terminal, and is shown to user;
And/or, in suspended window, show the classification of cleaned installation kit, title and/or size.
CN201410648348.1A 2014-11-14 2014-11-14 The method for cleaning and device of the installation kit stored in mobile terminal Active CN104331376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410648348.1A CN104331376B (en) 2014-11-14 2014-11-14 The method for cleaning and device of the installation kit stored in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410648348.1A CN104331376B (en) 2014-11-14 2014-11-14 The method for cleaning and device of the installation kit stored in mobile terminal

Publications (2)

Publication Number Publication Date
CN104331376A true CN104331376A (en) 2015-02-04
CN104331376B CN104331376B (en) 2018-07-27

Family

ID=52406108

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410648348.1A Active CN104331376B (en) 2014-11-14 2014-11-14 The method for cleaning and device of the installation kit stored in mobile terminal

Country Status (1)

Country Link
CN (1) CN104331376B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone
CN105243102A (en) * 2015-09-17 2016-01-13 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
CN105302855A (en) * 2015-09-18 2016-02-03 维沃移动通信有限公司 Data processing method and mobile terminal
CN105426401A (en) * 2015-10-30 2016-03-23 成都狮之吼科技有限公司 Method and system for cleaning junk file generated by application
CN106293783A (en) * 2015-05-15 2017-01-04 腾讯科技(深圳)有限公司 The method for cleaning of a kind of installation kit and equipment
CN112433964A (en) * 2020-04-17 2021-03-02 上海哔哩哔哩科技有限公司 Method and equipment for cleaning cache dirty data
CN112540929A (en) * 2020-12-25 2021-03-23 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103176828A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Method and device of deleting application program residual files
CN103383698A (en) * 2013-06-27 2013-11-06 宇龙计算机通信科技(深圳)有限公司 Data deletion method and mobile terminal thereof
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN104021159A (en) * 2014-05-26 2014-09-03 北京金山安全软件有限公司 Client file cleaning method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103176828A (en) * 2013-03-29 2013-06-26 北京奇虎科技有限公司 Method and device of deleting application program residual files
CN103383698A (en) * 2013-06-27 2013-11-06 宇龙计算机通信科技(深圳)有限公司 Data deletion method and mobile terminal thereof
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device
CN104021159A (en) * 2014-05-26 2014-09-03 北京金山安全软件有限公司 Client file cleaning method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293783A (en) * 2015-05-15 2017-01-04 腾讯科技(深圳)有限公司 The method for cleaning of a kind of installation kit and equipment
CN104991948A (en) * 2015-07-14 2015-10-21 谢蓓 File deletion prompting method and system for android mobile phone
CN105243102A (en) * 2015-09-17 2016-01-13 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
CN105243102B (en) * 2015-09-17 2018-11-23 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
CN105302855A (en) * 2015-09-18 2016-02-03 维沃移动通信有限公司 Data processing method and mobile terminal
CN105426401A (en) * 2015-10-30 2016-03-23 成都狮之吼科技有限公司 Method and system for cleaning junk file generated by application
CN105426401B (en) * 2015-10-30 2019-06-04 成都狮之吼科技有限公司 A kind of method and system for the garbage files that cleaning application program generates
CN112433964A (en) * 2020-04-17 2021-03-02 上海哔哩哔哩科技有限公司 Method and equipment for cleaning cache dirty data
CN112433964B (en) * 2020-04-17 2022-06-14 上海哔哩哔哩科技有限公司 Method and equipment for cleaning cache dirty data
CN112540929A (en) * 2020-12-25 2021-03-23 北京百度网讯科技有限公司 Detection method, device, equipment and storage medium
CN112540929B (en) * 2020-12-25 2024-03-12 北京百度网讯科技有限公司 Detection method, detection device, detection equipment and storage medium

Also Published As

Publication number Publication date
CN104331376B (en) 2018-07-27

Similar Documents

Publication Publication Date Title
CN104331376A (en) Method and device for clearing installation package stored in mobile terminal
RU2581560C2 (en) Method of scanning files, client computer and server
CN103092664B (en) Processing method and device for data file of android system
JP5642198B2 (en) System and method for removing non-referenced data segments from a deduplicated data system
CN104021159B (en) Client file cleaning method and device
CN104809198A (en) Picture cleanup method, picture cleanup device and terminal device
WO2015117426A1 (en) File management method and device
CN107016123B (en) File management method and terminal device
CN108021590B (en) Target object attribute determining method, attribute updating method and device
CN105760199B (en) A kind of application resource loading method and its equipment
US20070276848A1 (en) Apparatus and method for managing data
CN103369003A (en) A method and a system for scanning redundancy files in a mobile device by using cloud computing
CN102799613A (en) Showing method and device for recently-used file
CN102905002A (en) Method and system for automatically combining contact items
CN104536792A (en) Method and device for eliminating application program residual files
CN103559276A (en) Method and device for clearing useless files
CN110888837B (en) Object storage small file merging method and device
CN104199750A (en) File recovery method and device of linux system
US20140358868A1 (en) Life cycle management of metadata
CN105868056A (en) Method, device and safety virtual machine for acquiring deleted files in Windows virtual machines
CN113377579A (en) Mapping table-based solid state disk data recovery method and system
CN109472540B (en) Service processing method and device
CN103473350B (en) Document handling method and equipment
CN110352410A (en) Track the access module and preextraction index node of index node
EP1845461A1 (en) Fast file attribute search

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right