CN104331376B - The method for cleaning and device of the installation kit stored in mobile terminal - Google Patents
The method for cleaning and device of the installation kit stored in mobile terminal Download PDFInfo
- Publication number
- CN104331376B CN104331376B CN201410648348.1A CN201410648348A CN104331376B CN 104331376 B CN104331376 B CN 104331376B CN 201410648348 A CN201410648348 A CN 201410648348A CN 104331376 B CN104331376 B CN 104331376B
- Authority
- CN
- China
- Prior art keywords
- installation kit
- catalogue
- cleaning
- mobile terminal
- installation
- 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.)
- Active
Links
- 238000009434 installation Methods 0.000 title claims abstract description 370
- 238000004140 cleaning Methods 0.000 title claims abstract description 145
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000000717 retained effect Effects 0.000 claims description 8
- 238000007599 discharging Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000000725 suspension Substances 0.000 description 2
- RTAQQCXQSZGOHL-UHFFFAOYSA-N Titanium Chemical compound [Ti] RTAQQCXQSZGOHL-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002147 killing effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- UGODCLHJOJPPHP-AZGWGOJFSA-J tetralithium;[(2r,3s,4r,5r)-5-(6-aminopurin-9-yl)-4-hydroxy-2-[[oxido(sulfonatooxy)phosphoryl]oxymethyl]oxolan-3-yl] phosphate;hydrate Chemical compound [Li+].[Li+].[Li+].[Li+].O.C1=NC=2C(N)=NC=NC=2N1[C@@H]1O[C@H](COP([O-])(=O)OS([O-])(=O)=O)[C@@H](OP([O-])([O-])=O)[C@H]1O UGODCLHJOJPPHP-AZGWGOJFSA-J 0.000 description 1
- 229910052719 titanium Inorganic materials 0.000 description 1
- 239000010936 titanium Substances 0.000 description 1
Landscapes
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
Provide the method for cleaning and device of the installation kit stored in a kind of mobile terminal, wherein when scanning the installation kit stored into mobile terminal, parse the directory information of the installation kit;According to the directory information of the installation kit, the catalogue classification of the installation kit is obtained;According to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether the installation kit being determined as installation kit for clearance;Clear up the installation kit for clearance determined.Embodiment provided by the invention, realizing will all clean out in mobile terminal according to the installation kit for clearance that cleaning rule determines, retain simultaneously and is not determined to installation kit for clearance according to cleaning rule, it is not determined to installation kit that installation kit for clearance includes highest version or also uninstalled installation kit etc., to achieve the purpose that intelligently to clear up installation kit, while discharging mobile terminal memory space, the usage experience of user is also substantially improved.
Description
Technical field
The present invention relates to the technical fields of mobile terminal, more particularly, to a kind of the clear of the installation kit stored in mobile terminal
Manage method and apparatus.
Background technology
Mobile terminal refers to the computer equipment that can be used on the move, including mobile phone, tablet computer etc..With movement
Terminal is popularized, and the installation kit installed on mobile terminals is more and more.These installation kits occupy mobile terminal SD card and
A large amount of memory spaces of memory, and after installation kit installation and operation, the memory space shared by these installation kits tend not to and
When discharge;And the normal operation next time of installed program can't be caused by clearing up these installation kits.Therefore, it is necessary to
Memory space installation kit in SD card or memory is cleared up, to discharge the SD card of mobile terminal and the storage sky of memory
Between, improve the speed of service of mobile terminal.
It was found by the inventors of the present invention that in the memory space method for cleaning of the mobile terminal of the prior art, to installation kit
Cleaning has irrationality:It, may be by the SD card in smart mobile phone when clearing up the Stub Files such as the installation kit in SD card or memory
Or all installation kits for storing all are cleaned out in caching, including the installation kit of highest version or also uninstalled installation kit also by
It cleans out, it is also possible to not clear up the installation kit that be cleaned, cause to perplex using intelligent terminal to user.
Invention content
The present invention provides the method for cleaning and device of the installation kit stored in a kind of mobile terminal, for solving the prior art
When installation kit in middle cleaning mobile terminal, all installation kit complete liquidations stored in mobile terminal are fallen, are caused to user
The problem of puzzlement.
To solve the above problem in the prior art, the present invention provides a kind of the clear of the installation kit stored in mobile terminal
Reason method, wherein including:
When scanning the installation kit stored in mobile terminal, the directory information of the installation kit is parsed;
According to the directory information of the installation kit, the catalogue classification of the installation kit is obtained;
According to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether the installation kit being determined as clearance
Installation kit;
Clear up the installation kit for clearance determined.
The present invention provides a kind of cleaning plants of the installation kit stored in mobile terminal, wherein including:
Parsing module when for scanning the installation kit stored into mobile terminal, parses the directory information of the installation kit;
Acquisition module obtains the catalogue classification of the installation kit for the directory information according to the installation kit;
Determining module, for according to the cleaning rule corresponding to the catalogue classification with acquisition, deciding whether the installation
Packet is determined as installation kit for clearance;
Cleaning modul, for clearing up the installation kit for clearance determined.
The advantageous effect of embodiment provided by the invention:
In embodiment provided by the invention, when scanning the installation kit stored into mobile terminal, the mesh of installation kit is parsed
Record information obtains the catalogue classification of installation kit, corresponding to the catalogue classification with acquisition according to the directory information of installation kit
Cleaning rule decides whether installation kit being determined as installation kit for clearance, then clears up the installation kit for clearance determined, realize
The installation kit for clearance that will be determined according to cleaning rule in mobile terminal all be cleaned out, while be retained according to cleaning rule not
It is confirmed as installation kit for clearance, is not determined to installation kit or also uninstalled peace that installation kit for clearance includes highest version
Dress packet etc., to achieve the purpose that intelligently cleaning installation kit also changes significantly while discharging mobile terminal memory space
It has been apt to the usage experience of user.
Description of the drawings
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, wherein:
Fig. 1 is the flow chart of the method for cleaning first embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 2 is the flow chart of the method for cleaning second embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 3 is the interface schematic diagram for starting cleaning installation kit in the present embodiment;
Fig. 4 is the first interface schematic diagram during cleaning installation kit in the present embodiment;
Fig. 5 is the second contact surface schematic diagram during cleaning installation kit in the present embodiment;
Fig. 6 is the interface schematic diagram after cleaning installation kit in the present embodiment;
Fig. 7 is the structural schematic diagram of the cleaning plant first embodiment of the installation kit stored in mobile terminal of the present invention;
Fig. 8 is the structural schematic diagram of the cleaning plant second embodiment of the installation kit stored in mobile terminal of the present invention.
Specific implementation mode
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, and make of the invention real
The above objects, features, and advantages for applying example can be more obvious and easy to understand, below in conjunction with the accompanying drawings to technical side in the embodiment of the present invention
Case is described in further detail.
Fig. 1 is the flow chart of the method for cleaning first embodiment of the installation kit stored in mobile terminal of the present invention.Such as Fig. 1 institutes
Show, the flow of the method for cleaning of the installation kit stored in the present embodiment mobile terminal specifically comprises the following steps:
When the installation kit stored in step 101, scanning to mobile terminal, the directory information of installation kit is parsed.
In the present embodiment, when user needs to clear up the installation kit stored in mobile terminal, start cleaning software first
Installation kit is scanned, when the installation kit stored in scanning to mobile terminal, parses the directory information of installation kit, directory information includes
Title, file format, size of installation kit etc..According to the directory information of installation kit, matched installation is found in the database
Then packet catalogue parses the catalogue classification corresponding to the directory information of the installation kit found, wherein database is mobile whole
What end was downloaded from server side in advance.After parsing the directory information of installation kit, 102 are entered step.
Step 102, the directory information according to installation kit obtain the catalogue classification of installation kit.
In this step, according to the directory information of installation kit, the catalogue classification of installation kit is obtained.In the present embodiment, installation
The catalogue classification of packet includes:Backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.Wherein, backup directory can be
Installation kit is stored in local local backup catalogue, can also be the high in the clouds backup directory of installation kit storage beyond the clouds.Cache mesh
Record refers to the CACHE DIRECTORY of installation kit storage in the buffer;Non-caching catalogue refer to installation kit be stored in SD card etc. it is non-caching in
Catalogue;White list catalogue refers to the catalogue of the file for storing installation kit of user's sets itself, and white list catalogue is corresponding
Installation kit is that user needs the installation kit retained, but can also manually be deleted by user.Obtain installation kit catalogue classification it
Afterwards, 103 are entered step.
Step 103, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether to be determined as waiting for by installation kit
Clear up installation kit.
In the present embodiment, the catalogue classification of installation kit includes:The catalogue classification of installation kit includes:Backup directory, caching
Catalogue, non-caching catalogue and white list catalogue.When catalogue classification is specially backup directory, advised with the cleaning corresponding to backup directory
Then specifically include:If according to the directory information of installation kit, further determines that installation kit is local backup catalogue, then do not prompt to clear up
Installation kit;If according to the directory information of installation kit, further determines that installation kit is high in the clouds backup directory, then cleaning is prompted to pacify
It is attached to the installation kit of mobile terminal, cleaning is not prompted to be not mounted to the installation kit of mobile terminal.
In the case where the directory information of installation kit is CACHE DIRECTORY, the version downloaded in cleaning preset duration is not prompted most
Installation kit that is high and being not mounted to mobile terminal, prompts to clear up remaining installation kit.
In the case where the directory information of installation kit is non-caching catalogue, the peace for clearing up uninstalled highest version is not prompted
Dress packet, the installation kit for prompting cleaning damaged, the installation kit repeated and installed installation kit.
In the case where the directory information of installation kit is the white list catalogue that user formulates, cleaning installation kit is not prompted.
In this step, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether to determine installation kit
For installation kit for clearance, the installation kit for not prompting cleaning that need not clear up, subsequently into step 104.
The installation kit for clearance that step 104, cleaning are determined.
In this step, the installation kit for being prompted cleaning is cleared up by the cleaning software installed in mobile terminal,
To avoid the too big problem of installation kit the space occupied of storage, improves the speed of service for influencing mobile terminal and improve user's
Usage experience, meanwhile, it can also retain the installation kit for not being prompted cleaning prompt cleaning, the installation for not being prompted cleaning includes highest
The installation kit of version or also uninstalled installation kit.The installation kit that cleaning has been prompted cleaning specifically includes:Deletion has been prompted
The installation kit of cleaning, or prompting user's unloading have been prompted the operation program of the installation kit of the lowest version of cleaning.
In the present embodiment, when the installation kit stored in scanning to mobile terminal, the directory information of installation kit is parsed, according to
The directory information of installation kit obtains the catalogue classification of installation kit, according to the cleaning rule corresponding to the catalogue classification with acquisition, certainly
It is fixed whether installation kit to be determined as installation kit for clearance, then clear up the installation kit for clearance determined, realize will it is mobile eventually
The installation kit for clearance determined according to cleaning rule in end is all cleaned out, while being retained and being not determined to wait for according to cleaning rule
Installation kit is cleared up, installation kit that installation kit for clearance includes highest version or also uninstalled installation kit etc. are not determined to, from
And achieve the purpose that intelligently cleaning installation kit also substantially improves user while discharging mobile terminal memory space
Usage experience.
Fig. 2 is the flow chart of the method for cleaning second embodiment of the installation kit stored in mobile terminal of the present invention, and Fig. 3 is this
Start the interface schematic diagram of cleaning installation kit in embodiment, Fig. 4 is the first interface during cleaning installation kit in the present embodiment
Schematic diagram, Fig. 5 are the second contact surface schematic diagram during cleaning installation kit in the present embodiment, and Fig. 6 is that peace is cleared up in the present embodiment
Interface schematic diagram after dress packet.As shown in Fig. 2, the flow tool of the method for cleaning of the installation kit stored in the present embodiment mobile terminal
Body includes the following steps:
When the installation kit stored in step 201, scanning to mobile terminal, the directory information of installation kit is parsed.
As shown in figure 3, when needing to clear up installation kit, start cleaning software first, for example, wherein " storage can be selected
" rubbish cleaning " function under correlation " project clears up the rubbish in mobile terminal, including user by the way of key cleaning
Wish that the installation kit of cleaning improves the speed of service of mobile terminal to discharge the memory space of mobile terminal.Mobile terminal also may be used
The case where voluntarily to judge its memory space, reminds and uses for example, working as the case where memory space is less than 200M or occupies over 80%
Family carries out the cleaning of installation kit.In the present embodiment, when the installation kit stored in scanning to mobile terminal, installation kit is parsed
Directory information, directory information include title, file format, size of installation kit etc..According to the directory information of installation kit, in data
Matched installation kit catalogue is found in library, then parses the catalogue class corresponding to the directory information of the installation kit found
Not, wherein database is that mobile terminal is downloaded from server side in advance.After parsing the directory information of installation kit, into
Enter step 202.
Step 202, the directory information according to installation kit obtain the catalogue classification of installation kit.
In the present embodiment, the catalogue classification of installation kit includes: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, can also be that installation kit is stored in cloud
The high in the clouds backup directory at end.
Such as:Local backup catalogue can specifically include:
A) 360 mobile guards software unloads catalogue:360/backup;
B) titanium backs up:TitaniumBackup;
C) YY is backed up:yybackup/backup_datas
D) backup and reduction is applied:App_Backup_Restore
E) GO is backed up:GOBackup/AllBackup/NewBackup
F) 360 backup directory:360Backup/App;
G) other catalogues can also include:Appsaver, dsmbackups/app, jsbackup/apk,
Systemupdate/appbackup, hiapk_market/backup, droidbackup/appsbackup,
Androidoptimizer/systembackup, 360/systemapp, rootuninstaller/backup.
High in the clouds backup directory includes:backup/APPS.
According to the directory information of installation kit, after the catalogue classification for obtaining installation kit, 203 are entered step.
Step 203, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether to be determined as waiting for by installation kit
Clear up installation kit.
In the present embodiment, catalogue classification includes:Backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue.This step
In rapid, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether installation kit being determined as installation kit for clearance,
Cleaning rule can be set by modes such as cloud killings, to improve the efficiency and specific aim of cleaning installation kit.In the present embodiment, clearly
Reason rule specifically includes following four kinds of situations:
The first situation is specifically wrapped with the cleaning rule corresponding to backup directory when catalogue classification is specially backup directory
It includes:If according to the directory information of installation kit, further determine that installation kit is local backup catalogue, does not then prompt cleaning installation kit;
If according to the directory information of installation kit, further determines that installation kit is high in the clouds backup directory, then cleaning is prompted to have been mounted to shifting
The installation kit of dynamic terminal, does not prompt cleaning to be not mounted to the installation kit of mobile terminal.
The second situation is not prompted in the case where the directory information of installation kit is CACHE DIRECTORY in cleaning preset duration
The version highest of download and the installation kit for being not mounted to mobile terminal prompt to clear up remaining installation kit.For example, preset duration can
To be set as 3 days, and the version information of installation kit can be obtained by the Code Version (version number) of installation kit.
The third situation does not prompt to clear up uninstalled in the case where the directory information of installation kit is non-caching catalogue
The installation kit of highest version, the installation kit for prompting cleaning damaged, the installation kit repeated and installed installation kit.
4th kind of situation does not prompt clear in the case where the directory information of installation kit is the white list catalogue that user formulates
Manage installation kit.
In the present embodiment, as shown in figure 4, showing the size of the installation kit scanned, the present embodiment in suspended window
In, the size of the installation kit scanned is 762M.Alternatively, as shown in figure 5, showing that scanning is arrived on the interface of mobile terminal
The type of installation kit, size and whether be prompted the information such as cleaning.In Figure 5, installation kit may include:System is installed
Packet, system update installation kit, application software installation kit and developing instrument installation kit.Wherein, system installation kit is the peace of lowest version
Dress packet, so prompt cleaning, developing instrument installation kit is mounted installation kit, so prompt cleaning;And system update is installed
Packet is the installation kit of highest version, and is not mounted to mobile terminal, so not prompting to clear up, application software installation kit is white list
The corresponding installation kit of catalogue, so also not prompting to clear up.
In this step, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether to determine installation kit
For installation kit for clearance, the installation kit for not prompting cleaning that need not clear up, subsequently into step 204.
The installation kit for clearance that step 204, cleaning are determined.
In this step, the installation kit for being prompted cleaning is cleared up by the cleaning software installed in mobile terminal,
To avoid the too big problem of installation kit the space occupied of storage, improves the speed of service for influencing mobile terminal and improve user's
Usage experience, meanwhile, it can also retain the installation kit for not being prompted cleaning, the installation kit for not being prompted cleaning includes highest version
Installation kit or also uninstalled installation kit.The installation kit for being prompted to clean out is cleared up to specifically include:It deletes or crushes and carried
Show that the installation kit of cleaning, or prompting user's unloading have been prompted the operation program of the installation kit of the lowest version of cleaning.It has cleared up
Cheng Hou shows " cleaning xxM installation kits " to user, and shows the space size of the acceleration percentage and release of mobile terminal.This
In embodiment, as shown in fig. 6, the size of the installation kit cleaned up is shown in suspended window, it in practical applications, can also
The information such as the title of the installation kit cleaned up are shown in suspended window.
Step 205 is ranked up the installation kit retained in mobile terminal according to version height or size, and is shown to use
Family.
In this step, after the installation kit that cleaning has been prompted cleaning, the installation to retaining in mobile terminal can be with
It is ranked up, can also be ranked up according to the size of installation kit, then by the peace after sequence according to the version height of installation kit
Dress packet is shown to the information such as user, including the title of installation kit, size, store path, to facilitate user to check or answer
The operations such as system, deletion.Wherein, suspended window may be used to show in ranking results.
In the present embodiment, the installation kit for clearance determined can be shown in suspended window, a key can also be used clear
The mode of reason clears up determined installation for clearance, with user-friendly.It is for clearance to finish, it is shown in suspended window
The information such as classification, title and/or the size of the installation kit being cleaned.
In the present embodiment, when the installation kit stored in scanning to mobile terminal, the directory information of installation kit is parsed, according to
The directory information of installation kit obtains the catalogue classification of installation kit, according to the cleaning rule corresponding to the catalogue classification with acquisition, certainly
It is fixed whether installation kit to be determined as installation kit for clearance, then clear up the installation kit for clearance determined, realize will it is mobile eventually
The installation kit for clearance determined according to cleaning rule in end is all cleaned out, while being retained and being not determined to wait for according to cleaning rule
Installation kit is cleared up, installation kit that installation kit for clearance includes highest version or also uninstalled installation kit etc. are not determined to, from
And achieve the purpose that intelligently cleaning installation kit also substantially improves user while discharging mobile terminal memory space
Usage experience.
Fig. 7 is the structural schematic diagram of the cleaning plant first embodiment of the installation kit stored in mobile terminal of the present invention.Such as
Shown in Fig. 7, the cleaning plant of the installation kit stored in the present embodiment mobile terminal includes:Parsing module 701, acquisition module 702,
Determining module 703 and cleaning modul 704.Wherein, when parsing module 701 is used to scan the installation kit stored into mobile terminal,
Parse the directory information of installation kit;Acquisition module 702 is used for the directory information according to installation kit, obtains the catalogue class of installation kit
Not;Determining module 703 is used to, according to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether installation kit being determined as
Installation kit for clearance;Cleaning modul 704 is used to clear up the installation kit of the prompt cleaning of determining module 703.Cleaning in the present embodiment
The mode that suspension windows may be used in the runnable interface of module is shown on the interface of mobile terminal, also, the fortune of the cleaning modul
Row interface can also use the manner of cleaning up of " key cleaning ", the cleaning modul that can also carry out the interaction of cloud database, side
User use high in the clouds data resource, improve the management to data resources such as installation kits of mobile terminal.
In the present embodiment, when the installation kit stored in scanning to mobile terminal, installation kit is parsed by parsing module
Directory information, acquisition module obtain the catalogue classification of installation kit according to the directory information of installation kit, determining module according to acquisition
Catalogue classification corresponding to cleaning rule, decide whether installation kit being determined as installation kit for clearance, then, cleaning modul is clear
The installation kit for clearance determined is managed, to realize the peace for clearance according to cleaning rule prompt cleaning in mobile terminal
Dress packet is all cleaned out, while retaining the installation kit or also uninstalled for the highest version for not being prompted cleaning according to cleaning rule
Installation kit has achieved the purpose that intelligently cleaning installation kit substantially improves use while discharging mobile terminal memory space
The usage experience at family.
Fig. 8 is the structural schematic diagram of the cleaning plant second embodiment of the installation kit stored in mobile terminal of the present invention.Such as
Shown in Fig. 8, the cleaning plant of the installation kit stored in the present embodiment mobile terminal includes:Sorting module 705, for mobile whole
The installation kit retained in end is ranked up according to version height or size, and is shown to user.Sorting module 705 can be according to peace
The version height for filling packet is ranked up, and can also be ranked up according to the size of installation kit, then be led to the installation kit after sequence
The mode for crossing suspension windows is shown to the information such as user, including the title of installation kit, size, store path, to facilitate user to look into
The operations such as see or replicated, deleted.And sorting module 705 can also show the installation kit being cleaned in suspended window
The information such as classification, title and/or size.
Further, the acquisition module 702 in the present embodiment is specifically used for:According to the directory information of installation kit, in data
After finding matched installation kit catalogue in library, the catalogue classification corresponding to the installation kit catalogue found is obtained;Wherein, data
Library is that mobile terminal is downloaded from server side in advance.When catalogue classification is specially backup directory:If 702 basis of acquisition module
The directory information of installation kit further determines that installation kit is local backup catalogue, it is determined that module 703 does not prompt cleaning to install
Packet;If acquisition module 702 according to the directory information of installation kit, further determines that installation kit is high in the clouds backup directory, it is determined that mould
The prompt cleaning of block 703 has been mounted to the installation kit of mobile terminal, and cleaning is not prompted to be not mounted to the installation kit of mobile terminal.
In the case that the directory information of installation kit is CACHE DIRECTORY, what determining module 703 was used to not prompt to download in cleaning preset duration
Remaining installation kit is cleared up in version highest and the installation kit for being not mounted to mobile terminal, and prompt.Believe in the catalogue of installation kit
In the case that breath is non-caching catalogue, determining module 703 is used to not prompt to clear up the installation kit of uninstalled highest version, and
The damaged installation kit of prompt cleaning, the installation kit repeated and installed installation kit.It is caching in the directory information of installation kit
In the case of catalogue, determining module 703 is used to not prompt the version highest downloaded in cleaning preset duration and is not mounted to movement
The installation kit of terminal prompts to clear up remaining installation kit.
In the present embodiment, when the installation kit stored in scanning to mobile terminal, installation kit is parsed by parsing module
Directory information, acquisition module obtains the catalogue classification of installation kit according to the directory information of installation kit, by determining module according to
The cleaning rule corresponding to catalogue classification with acquisition decides whether installation kit being determined as installation kit for clearance, then, clear up
Module clears up the installation kit for clearance determined, will be waited for according to cleaning rule prompt cleaning in mobile terminal to realize
Cleaning installation kit is all cleaned out, while retaining the installation kit or also not for the highest version for not being prompted cleaning according to cleaning rule
The installation kit of installation, then the installation kit for continuing to retain is ranked up according to version height or size by sorting module, it realizes
The installation kit for clearance that will be determined according to cleaning rule in mobile terminal all be cleaned out, while be retained according to cleaning rule not
It is confirmed as installation kit for clearance, is not determined to installation kit or also uninstalled peace that installation kit for clearance includes highest version
Dress packet etc., to achieve the purpose that intelligently cleaning installation kit also changes significantly while discharging mobile terminal memory space
It has been apt to the usage experience of user.
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (11)
1. a kind of method for cleaning of the installation kit stored in mobile terminal, which is characterized in that including:
When scanning the installation kit stored in mobile terminal, the directory information of the installation kit is parsed;
According to the directory information of the installation kit, the catalogue classification of the installation kit is obtained, wherein the catalogue classification includes standby
Any one of part catalogue, CACHE DIRECTORY, non-caching catalogue and white list catalogue;
According to the cleaning rule corresponding to the catalogue classification with acquisition, decide whether the installation kit being determined as installation for clearance
Packet;
Clear up the installation kit for clearance determined;
Wherein, the catalogue classification specifically includes backup directory;And it is specific with the cleaning rule corresponding to the catalogue classification
Including:
If according to the directory information of the installation kit, further determine that the installation kit is local backup catalogue, does not then prompt clear
Manage the installation kit;
If according to the directory information of the installation kit, further determines that the installation kit is high in the clouds backup directory, then prompt to clear up
The installation kit of the mobile terminal is had been mounted to, cleaning is not prompted to be not mounted to the installation kit of the mobile terminal;
The catalogue classification further includes CACHE DIRECTORY;And
It is specifically included with the cleaning rule corresponding to the catalogue classification:
In the case where the directory information of the installation kit is CACHE DIRECTORY, the version downloaded in cleaning preset duration is not prompted most
Installation kit that is high and being not mounted to mobile terminal, prompts to clear up remaining installation kit.
2. according to the method described in claim 1, it is characterized in that, the directory information according to the installation kit, obtains institute
The catalogue classification for stating installation kit, specifically includes:
According to the directory information of the installation kit, after finding matched installation kit catalogue in the database, obtains and find
Catalogue classification corresponding to installation kit catalogue;
Wherein, the database is that the mobile terminal is downloaded from server side in advance.
3. according to the method described in claim 1, it is characterized in that, the catalogue classification further includes non-caching catalogue;And
It is specifically included with the cleaning rule corresponding to catalogue classification:
In the case where the directory information of the installation kit is non-caching catalogue, the peace for clearing up uninstalled highest version is not prompted
Dress packet, the installation kit for prompting cleaning damaged, the installation kit repeated and installed installation kit.
4. according to the method described in claim 1, it is characterized in that, the catalogue classification further includes white list catalogue;And
It is specifically included with the cleaning rule corresponding to the catalogue classification:
In the case where the directory information of the installation kit is the white list catalogue that user formulates, do not prompt to clear up the installation
Packet.
5. according to any methods of claim 1-4, which is characterized in that clear up the installation kit for clearance determined, specifically
Including:
The installation kit for clearance determined described in display in suspended window;
And/or clear up the installation for clearance by the way of key cleaning.
6. according to any methods of claim 1-4, which is characterized in that the installation kit for clearance that cleaning is determined it
Afterwards, further include:
The installation kit retained in mobile terminal is ranked up according to version height or size, and is shown to user;
And/or the classification, title and/or size for the installation kit being cleaned are shown in suspended window.
7. a kind of cleaning plant of the installation kit stored in mobile terminal, which is characterized in that including:
Parsing module when for scanning the installation kit stored into mobile terminal, parses the directory information of the installation kit;
Acquisition module obtains the catalogue classification of the installation kit, wherein described for the directory information according to the installation kit
Catalogue classification includes any one of backup directory, CACHE DIRECTORY, non-caching catalogue and white list catalogue;
Determining module, for according to the cleaning rule corresponding to the catalogue classification with acquisition, deciding whether the installation kit is true
It is set to installation kit for clearance;
Cleaning modul, for clearing up the installation kit for clearance determined;
Wherein, when the catalogue classification is specially backup directory:
If the acquisition module according to the directory information of the installation kit, further determines that the installation kit is local backup mesh
Record, then the determining module does not prompt to clear up the installation kit;
If the acquisition module according to the directory information of the installation kit, further determines that the installation kit is high in the clouds backup mesh
Record, then the determining module prompt cleaning have been mounted to the installation kit of the mobile terminal, cleaning are not prompted to be not mounted to institute
State the installation kit of mobile terminal;
In the case where the directory information of the installation kit is CACHE DIRECTORY, the determining module is not for when prompting to clear up default
The long interior version highest downloaded and the installation kit for being not mounted to mobile terminal, and prompt to clear up remaining installation kit.
8. the cleaning plant of the installation kit stored in mobile terminal according to claim 7, which is characterized in that the acquisition
Module is specifically used for:
According to the directory information of the installation kit, after finding matched installation kit catalogue in the database, obtains and find
Catalogue classification corresponding to installation kit catalogue;
Wherein, the database is that the mobile terminal is downloaded from server side in advance.
9. the cleaning plant of the installation kit stored in mobile terminal according to claim 7, which is characterized in that in the peace
In the case that the directory information of dress packet is non-caching catalogue, the determining module is not for prompting to clear up uninstalled highest version
Installation kit, the installation kit for prompting cleaning damaged, the installation kit repeated and installed installation kit.
10. according to the cleaning plant of the installation kit stored in any mobile terminals of claim 7-9, which is characterized in that
The cleaning modul is specifically used for:
The installation kit for clearance determined described in display in suspended window;
And/or clear up the installation for clearance by the way of key cleaning.
11. according to the cleaning plant of the installation kit stored in any mobile terminals of claim 7-9, which is characterized in that
Further include:
Sorting module is ranked up according to version height or size for the installation kit to retaining in mobile terminal, and is shown to
User;
And/or the classification, title and/or size for the installation kit being cleaned are shown in suspended window.
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 CN104331376A (en) | 2015-02-04 |
CN104331376B true 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) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106293783B (en) * | 2015-05-15 | 2022-06-03 | 腾讯科技(深圳)有限公司 | Installation package cleaning method and equipment |
CN104991948A (en) * | 2015-07-14 | 2015-10-21 | 谢蓓 | File deletion prompting method and system for android mobile phone |
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 |
CN105426401B (en) * | 2015-10-30 | 2019-06-04 | 成都狮之吼科技有限公司 | A kind of method and system for the garbage files that cleaning application program generates |
CN112433964B (en) * | 2020-04-17 | 2022-06-14 | 上海哔哩哔哩科技有限公司 | Method and equipment for cleaning cache dirty data |
CN112540929B (en) * | 2020-12-25 | 2024-03-12 | 北京百度网讯科技有限公司 | Detection method, detection device, detection equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880714B (en) * | 2012-09-29 | 2016-08-24 | 北京奇虎科技有限公司 | File clean-up method and device |
CN103176828B (en) * | 2013-03-29 | 2017-06-09 | 北京奇虎科技有限公司 | Delete the method and device of application program Stub File |
-
2014
- 2014-11-14 CN CN201410648348.1A patent/CN104331376B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104331376A (en) | 2015-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104331376B (en) | The method for cleaning and device of the installation kit stored in mobile terminal | |
CN104021159B (en) | Client file cleaning method and device | |
CN104699423B (en) | The method and apparatus that drive is bound in linux system | |
US8204907B1 (en) | Systems and methods for collecting file access history information | |
WO2005001646A3 (en) | Techniques for performing policy automated operations | |
CN108052643B (en) | Data storage method and device based on LSM Tree structure and storage engine | |
CN103577567A (en) | Method for uninstalling application and deleting garbage file in Android system | |
WO2005048085A3 (en) | System and method for performing an image level snapshot and for restoring partial volume data | |
CN103279532A (en) | Filtering system and filtering method for removing duplication of elements of multiple sets and identifying belonged sets | |
EP1770512A3 (en) | Method and system for updating software | |
CN104133641A (en) | External storage equipment file deleting method and device | |
US20140222761A1 (en) | Terminal Backup and Recovery Method | |
CN102799613A (en) | Showing method and device for recently-used file | |
CN106407442B (en) | A kind of mass text data processing method and device | |
CN102332014A (en) | Method and device for deleting file | |
WO2018006587A1 (en) | File storage method, terminal, and storage medium | |
CN108196792B (en) | Method and device for clearing expired data | |
CN105868056B (en) | Obtain the method, apparatus and secure virtual machine of deleted document in Windows virtual machine | |
CN106648445B (en) | Data storage method and device for web crawler | |
CN110209654A (en) | A kind of text file data storage method, system and electronic equipment and storage medium | |
CN105159913A (en) | Method and device for determining file to be cleaned | |
CN105260438A (en) | File management method and electronic device | |
CN109145212A (en) | A kind of providing method and device of recommendation | |
CN103617133B (en) | Virtual memory compression method and device in a kind of Windows systems | |
CN113377579A (en) | Mapping table-based solid state disk data recovery method and system |
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 | ||
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. |