CN104572819B - Clearing method and system for junk data - Google Patents

Clearing method and system for junk data Download PDF

Info

Publication number
CN104572819B
CN104572819B CN201410720209.5A CN201410720209A CN104572819B CN 104572819 B CN104572819 B CN 104572819B CN 201410720209 A CN201410720209 A CN 201410720209A CN 104572819 B CN104572819 B CN 104572819B
Authority
CN
China
Prior art keywords
cleaning
information
installation kit
data
suggestion
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
Application number
CN201410720209.5A
Other languages
Chinese (zh)
Other versions
CN104572819A (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201410720209.5A priority Critical patent/CN104572819B/en
Publication of CN104572819A publication Critical patent/CN104572819A/en
Application granted granted Critical
Publication of CN104572819B publication Critical patent/CN104572819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Abstract

The embodiment of the invention discloses a cleaning method and system for junk data. According to the embodiment of the invention, the clearing method comprises the following steps: using a memory space of a scanning terminal to obtain a saved installation package, and then according to a mark, installation information, version information and time information of the installation package, determining whether the saved installation package is the junk data or not, and if the installation information indicates that the installation package is installed, and/or the time information indicates that the staying time of the installation package in the memory space exceeds a preset threshold, and/or according to the version information, determining that a plurality of installation packages of different old versions exist, and/or according to the version information, determining that repeated installation packages exist, determining that the installation packages are junk data; adding the mark of the installation packages to a recommended data cleaning muster, and according to the recommended data cleaning muster, generating cleaning prompt; when a cleaning instruction is received from a user, deleting all of the junk data in the recommended data cleaning muster. According to the scheme, the cleaning efficiency and the cleaning effect are improved, and the situation of deleting by mistake due to misoperation is avoided.

Description

A kind of method for cleaning of junk data and system
Technical field
The present invention relates to communication technical field is and in particular to a kind of method for cleaning of junk data and system.
Background technology
With the development of communication technology, in terminal, the species of various applications is also increasingly various, and these are applied to our lifes While work offers convenience, also bring some problems, such as, because the renewal speed that each is applied is very fast, therefore, in terminal The various renewal bags of download would generally be preserved, voluntarily download including user, and the automatic download of system, etc.;Again than As, user when downloading the installation kit of certain application it is not intended to download the installation kit of several versions, these update bag simultaneously Occupy the substantial amounts of memory space of terminal with installation kit, but actually not belong to the data of the real needs of user, therefore, can So that these unwanted data of unnecessary user are referred to as junk data, in order to save the memory space of terminal, improve terminal Can, need timing that these junk datas are cleared up.
In the prior art, when clearing up junk data, it usually needs user voluntarily selects the rubbish needing to be cleared up Data, the junk data then again user being selected is cleared up;Or, system can voluntarily select the installation kit installed As junk data, and cleared up.
In the research and practice process to prior art, it was found by the inventors of the present invention that existing scheme not only clears up effect Fruit is not good, and easily leads to situation about by mistake deleting to occur because of the maloperation of user.
Content of the invention
The embodiment of the present invention provides a kind of method for cleaning of junk data and system, not only can improve cleaning efficiency, change Kind cleaning effect, and can reduce because user maloperation led to the occurrence of deleting by mistake.
A kind of method for cleaning of junk data, including:
The memory space of end of scan, to obtain the installation kit being preserved in described memory space;
Determine the attribute information of described installation kit, described attribute information includes the mark of described installation kit, mount message, version This information and temporal information;
If the described mount message instruction installed mistake of installation kit and/or described temporal information instruction installation kit are described The existence time of memory space has exceeded preset threshold value and/or has determined there are multiple different editions according to described version information Legacy version installation kit and/or the installation kit determining presence repetition according to described version information, then be defined as rubbish by described installation kit Rubbish data, and the mark of described installation kit is added to suggestion cleaning data acquisition system;
Generate and show cleaning information according to described suggestion cleaning data acquisition system;
Receive according to described cleaning information triggered cleaning instruction when, delete described suggestion cleaning data set All junk datas in conjunction.
A kind of cleaning system of junk data, including:
Scanning element, for the memory space of end of scan, to obtain the installation kit being preserved in described memory space;
Determining unit, for determining the attribute information of described installation kit, described attribute information includes the mark of described installation kit Knowledge, mount message, version information and temporal information;
Identifying unit, if indicate the installed mistake of installation kit and/or the instruction of described temporal information for described mount message Installation kit has exceeded preset threshold value and/or has been existed according to the determination of described version information many in the existence time of described memory space The legacy version installation kit of individual different editions and/or the installation kit determining presence repetition according to described version information, then by described peace Dress bag is defined as junk data, and the mark of described installation kit is added to suggestion cleaning data acquisition system;
Signal generating unit, generates and shows cleaning information according to described suggestion cleaning data acquisition system;
Delete unit, for when receiving the cleaning instruction being triggered according to described cleaning information, deleting described All junk datas in suggestion cleaning data acquisition system.
The embodiment of the present invention adopts the memory space of end of scan, to obtain the installation kit being preserved in this memory space, Then the attribute information according to this installation kit, to determine whether it is as mark, mount message, version information and temporal information etc. Junk data, such as, if this mount message instruction installed mistake of installation kit and/or this temporal information instruction installation kit are in institute The existence time stating memory space has exceeded preset threshold value and/or has determined there are multiple different editions according to this version information Legacy version installation kit and/or the installation kit determining presence repetition according to this version information, then can be defined as this installation kit Junk data, and the mark of this installation kit is added to suggestion cleaning data acquisition system, subsequently, data is cleared up according to this suggestion Set generates and shows cleaning information, when receiving the cleaning instruction being triggered according to this cleaning information, deletes All junk datas in suggestion cleaning data acquisition system;Because the program can be according to the mount message of installation kit, version information With information such as temporal informations as foundation, filter out unnecessary packet as junk data, and be automatically purged, therefore, With respect to voluntarily can only carrying out screening and can only dispose the scheme of mounted installation kit by user in prior art and Speech, can improve cleaning efficiency, improve cleaning effect, and can reduce because the maloperation of user led to delete situation by mistake Generation.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, on the premise of not paying creative work, can also be obtained other attached according to these accompanying drawings Figure.
Fig. 1 is the flow chart of the method for cleaning of junk data provided in an embodiment of the present invention;
Fig. 2 a is another flow chart of the method for cleaning of junk data provided in an embodiment of the present invention;
Fig. 2 b is the interface schematic diagram of the method for cleaning of junk data provided in an embodiment of the present invention;
Fig. 3 a is the structural representation of the cleaning system of junk data provided in an embodiment of the present invention;
Fig. 3 b is another structural representation of the cleaning system of junk data provided in an embodiment of the present invention;
Fig. 4 is the structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for cleaning of junk data and system.It is described in detail individually below.
Embodiment one,
The angle of the cleaning system from junk data is described by the present embodiment, and the cleaning system of this junk data is concrete Can integrated in the terminal, this terminal is specifically as follows the equipment such as mobile phone or panel computer.
A kind of method for cleaning of junk data, including:The memory space of end of scan, is protected with obtaining in this memory space The installation kit deposited, determines the attribute information of this installation kit, and this attribute information includes the mark of installation kit, mount message, version letter Breath and temporal information;If this mount message instruction installed mistake of installation kit and/or this temporal information instruction installation kit are in storage The existence time in space has exceeded preset threshold value and/or has determined the legacy version that there are multiple different editions according to this version information Installation kit and/or the installation kit determining presence repetition according to this version information, then be defined as junk data by this installation kit, and The mark of this installation kit is added to suggestion cleaning data acquisition system;Clear up data acquisition system according to this suggestion to generate and show cleaning Information;When receiving the cleaning instruction being triggered according to this cleaning information, delete this suggestion cleaning data acquisition system In all junk datas.
As shown in figure 1, the idiographic flow of the method for cleaning of this junk data can be as follows:
101st, the memory space of end of scan, to obtain the installation kit being preserved in this memory space.
For example, specifically can be with end of scan memory space, suffix is entitled such as under all catalogues or under part assigned catalogue The file of apk, wherein, the file in the embodiment of the present invention refers to the file needing completely to can read, i.e. non-breakage file.
102nd, determine the attribute information of this installation kit, wherein, this attribute information can include the mark of installation kit, install letter The information such as breath, version information and temporal information.
Wherein, the mark of installation kit can be the information that title or code name of installation kit etc. can identify installation kit;Peace Dress information is used for indicating the installation situation of this installation kit, and what time ratio such as whether installed, is mounted, and installs whether success, etc. Deng;Version information describes the distribution situation of installation kit, can reflect the renewal situation of installation kit;And what temporal information then referred to It is the existence time in memory space for the installation kit, such as what time downloads, how long house in this memory space, etc..
103rd, determine whether this installation kit is junk data according to this attribute information, if so, then execution step 104, if it is not, Then return execution step 101, for example, specifically can be as follows:
If this mount message instruction installed mistake of installation kit and/or this temporal information instruction installation kit are in memory space Existence time exceeded preset threshold value and/or according to this version information determine exist multiple different editions legacy version install Bag and/or the installation kit determining presence repetition according to this version information, then be defined as unnecessary installation kit by this installation kit, Being referred to as junk data, then execution step 104 in the embodiment of the present invention, otherwise it is determined that not being unnecessary installation kit, not being Junk data, can not processed to this installation kit, or, the mark of this installation kit is added to suggestion retention data collection Close, such as suggestion retains in list, is then back to execution step 101.
Wherein, preset threshold value can be configured according to the demand of practical application, such as, could be arranged to 15 days or 30 My god, etc..
104th, the mark of this installation kit is added to a set, for convenience, in embodiments of the present invention, will This collection is collectively referred to as suggestion cleaning data acquisition system.
Wherein, this suggestion cleaning data acquisition system can be shown by various ways, such as, can in the form of a list, The form of menu or in the form of picture, etc., for convenience, in embodiments of the present invention, will with tabular form be all Example illustrates, and that is, this suggestion cleaning data acquisition system is specially suggestion cleaning list.
Hereafter, execution step 101 can be returned, until will be scanned for all installation kits in memory space.
105th, data acquisition system is cleared up according to this suggestion and generate cleaning information, and show this cleaning information, for example, Specifically can be as follows:
(1) call each junk data corresponding program unloading interface function in this suggestion cleaning data acquisition system respectively.
Such as, specifically can be called respectively according to the mark of each installation kit (i.e. junk data) in cleaning data acquisition system Its corresponding program unloading interface function.
Wherein, process can be unloaded with caller by this program unloading interface function, this program unloading process is mainly used In the corresponding installation kit of unloading.
(2) it is based on this program unloading interface function and generates cleaning information, this cleaning information at least includes one Cleaning triggering key.
Wherein, by this cleaning triggering key, for carrying out garbage data cleaning operation for user, that is, user can be by being somebody's turn to do Cleaning triggering key triggering cleaning instruction.
Optionally, other information can also be included in this cleaning information, such as can also carry this junk data Data message, wherein, this data message can include the number of installation kit, total size, the size of each installation kit, installation kit Title, download time and/or installation kit version etc.;This data message can also include the evaluation situation of this installation kit, such as comments The comment content of valency fraction and/or online friend, etc..That is, " cleaning is generated based on this program unloading interface function in step Before information ", the method for cleaning of this junk data can also include:
Determine the data message of this junk data.
Then, step " generates cleaning information based on this program unloading interface function, this cleaning information at least includes One cleaning triggering key " is specially:
Cleaning information is generated based on this program unloading interface function, this cleaning information includes this junk data The information such as data message and a cleaning triggering key.
(3) show this cleaning information.
Wherein, when being particularly shown, with the hobby of the demand according to practical application or user, the pattern of display can be set Put, such as, whole cleaning information contents can be shown it is also possible to the cleaning information content of display portion, or, Only display one can also play frame, just show all or part of content of cleaning information after user clicks on, etc., This repeats no more.
106th, when receiving the cleaning instruction being triggered according to this cleaning information, delete this suggestion cleaning data set All junk datas in conjunction.
For example, specifically can be in the cleaning instruction that receive user is triggered by this cleaning triggering key, according to this cleaning Instruction unloads process by program unloading interface function caller, clears up all rubbish in data acquisition system to delete this suggestion Data, wherein it is proposed that all junk datas in cleaning data acquisition system refer to all installation kits in suggestion cleaning data acquisition system Mark is to corresponding installation kit.
Wherein, when deleting these junk datas, can first obtain the store path of all junk datas, then enter successively Row is deleted, or it is also possible to obtaining store path one by one and deleting, that is, step " is deleted this suggestion and cleared up the institute in data acquisition system Have junk data " specifically can be with using any one mode following:
(1) first kind of way;
Obtain the store path of all junk datas in suggestion cleaning data acquisition system, delete this store path successively and correspond to position The data put.
(2) second way;
Determine that this suggestion is cleared up with the presence or absence of the junk data needing cleaning in data acquisition system, if existing it is determined that current Need cleaning junk data, obtain this be currently needed for clear up junk data store path, delete this store path correspond to The data of position, and return the step that execution determines the junk data with the presence or absence of needs cleaning in this suggestion cleaning data acquisition system Suddenly.
If this suggestion clears up not existing in data acquisition system needs the junk data of cleaning, flow process terminates.
Optionally, in order to improve the motility of the program, can also allow for user and this suggestion cleaning data acquisition system is carried out Modification, to further confirm that the installation kit that needs are cleared up, that is, after step " showing this cleaning information ", the method is also Can include:
Receive user is asked according to the modification that this cleaning information is inputted, and asks to update described suggestion according to this modification Cleaning data acquisition system, suggestion cleaning data acquisition system after being updated.
Then now, step " receive according to described cleaning information triggered cleaning instruction when, delete this suggestion All junk datas in cleaning data acquisition system " are specifically as follows:Receive according to this cleaning information triggered clear During reason instruction, all junk datas in data acquisition system are cleared up in suggestion after deleting this renewal.
For example, if this cleaning information shows that the junk data being currently needed for clearing up includes installation kit A, installation kit B With installation kit C, then, if user does not need to remove installation kit A, a modification request can be sent, to indicate more new suggested Cleaning data acquisition system so that the junk data being currently needed for clearing up does not include installation kit A, that is, only includes installation kit B and installation kit C.Wherein, the approach that user's transmission modification is asked can have multiple, such as, if original installation kit A, installation kit B and installation kit C Corresponding tick boxes are all chosen, then user can will choose cancellation in the tick boxes corresponding to installation kit A, thus triggering The transmission of this modification request, etc., will not be described here.
From the foregoing, it will be observed that the present embodiment adopts the memory space of end of scan, to obtain the peace being preserved in this memory space Dress bag, the then attribute information according to this installation kit, to determine it as mark, mount message, version information and temporal information etc. Whether it is junk data, such as, if this mount message instruction installed mistake of installation kit and/or the instruction of this temporal information are installed Bag described memory space existence time exceeded preset threshold value and/or according to this version information determine there are multiple differences The legacy version installation kit of version and/or the installation kit determining presence repetition according to this version information, then can be by this installation kit It is defined as junk data, and the mark of this installation kit is added to suggestion cleaning data acquisition system, subsequently, clear according to this suggestion Reason data acquisition system generates and shows cleaning information, is instructed according to the cleaning that this cleaning information is triggered receiving When, delete all junk datas in suggestion cleaning data acquisition system;Because the program can be according to the mount message of installation kit, version The information such as this information and temporal information, as foundation, filters out unnecessary packet as junk data, and is automatically purged, Voluntarily can only carry out screening and can only dispose the side of mounted installation kit by user accordingly, with respect in prior art For case, cleaning efficiency can be improved, improve cleaning effect, and can reduce because deleting of being led to of the maloperation of user by mistake The occurrence of.
Embodiment two,
Citing is described in further detail by method according to described by embodiment one below.
In the present embodiment, by by the cleaning system of this junk data specifically integrated in the terminal as a example illustrate, be Description is convenient, in the present embodiment, the cleaning system of this junk data is referred to as garbage system.
When terminal receives the cleaning system start-up request of user's transmission, started clear according to this cleaning system start-up request Reason system, and the cleaning operation of junk data is executed by cleaning system, as shown in Figure 2 a, a kind of method for cleaning of junk data, Idiographic flow can be as follows:
201st, clear up the junk data scan instruction of system receiving user's input.
202nd, cleaning system, under the triggering of described junk data scan instruction, starts search engine the storage to terminal Space is scanned, to obtain the installation kit being preserved in this memory space.
For example, specifically can be with end of scan memory space, the entitled apk of suffix under all catalogues or under part assigned catalogue File, wherein, the file in the embodiment of the present invention refers to the file needing completely to can read, that is, non-breakage file.
203rd, cleaning system determines the attribute information of this installation kit, and wherein, this attribute information can include the mark of installation kit The information such as knowledge, mount message, version information and temporal information.
204th, according to this attribute information, cleaning system determines whether this installation kit is junk data, if so, then execution step 205, if it is not, then add the mark of this installation kit retaining in list to suggestion, this suggestion can be shown on the screen of terminal Retain list, and return execution step 202, for example, specifically can be as follows:
If this mount message instruction installed mistake of installation kit and/or this temporal information instruction installation kit are in memory space Existence time exceeded preset threshold value and/or according to this version information determine exist multiple different editions legacy version install Bag and/or the installation kit determining presence repetition according to this version information, then be defined as junk data by this installation kit, then hold Row step 205.
Otherwise, if this mount message instruction installation kit not yet installed and this temporal information instruction installation kit is empty in storage Though between existence time not less than preset threshold value and according to this version information determine this installation kit do not exist multiple different editions or There are multiple different editions but be belonging to the installation kit of latest edition and determine the installation that there is not repetition according to this version information Bag, it is determined that this installation kit is not junk data, the mark of this installation kit is added and retains in list to suggestion, and return execution Step 202.
Such as, referring to Fig. 2 b however, it is determined that installation kit A and installation kit B is not junk data, then respectively by the mark of installation kit A The mark knowing and installing B is added to suggestion reservation list.
Wherein, preset threshold value can be configured according to the demand of practical application, such as, could be arranged to 15 days or 30 My god, etc..
Optionally, the installation kit in list is retained for suggestion, may also provide mounting interface so that user is installed, Such as, referring to Fig. 2 b, a mounting interface can be respectively provided with by the mark installing the mark of A and installation kit B, such as one The icon of spanner pattern, when user passes through the icon clicking on this spanner pattern, you can triggering installation instruction, hereafter, cleaning system System just can call the installation procedure of corresponding installation kit to be installed according to this installation instruction, and it specifically calls and the side of installation Method similarly to the prior art, will not be described here.
205th, the mark of the installation kit that this is defined as junk data by cleaning system is added to suggestion cleaning data acquisition system, Such as add to suggestion cleaning list.
For example however, it is determined that installation kit C, installation kit D and installation kit E etc. are junk data, then respectively by the mark of installation kit C Mark of knowledge, the mark of installation kit D and installation kit E etc. is added to suggestion cleaning list.
Hereafter, execution step 202 can be returned, until will be scanned for all installation kits in memory space, for example, this Shi Qingli system may determine that and whether there is not yet scanned installation kit in memory space, if so, then execution step 202, if All scanned, then can be with execution step 206.
Certainly, user can also stop this scan operation at any time, then cleaning system now can direct execution step 206, I.e. based on current suggestion cleaning list, to generate cleaning information.
206th, cleaning system is cleared up list according to this suggestion and is generated cleaning information, and display should on the screen of terminal Cleaning information.
For example, cleaning system can call the corresponding program of each junk data in this suggestion cleaning data acquisition system to unload respectively Carry interface function, cleaning information is generated based on this program unloading interface function, and this cleaning is shown on the screen of terminal Information.
Wherein, this cleaning information specifically can include a cleaning triggering key, can also include these junk datas Data message, such as, the number of installation kit, total size, the size of each installation kit, installation kit title, download time and/or Installation kit version etc., in addition, it can include the evaluation situation of this installation kit, in the comment of such as evaluation score and/or online friend Hold, etc..
Wherein, when being particularly shown, with the hobby of the demand according to practical application or user, the pattern of display can be set Put, such as, whole cleaning information contents can be shown it is also possible to the cleaning information content of display portion, or, Only display one can also play frame, just show all or part of content of cleaning information after user clicks on, etc., This repeats no more.
Such as, referring to Fig. 2 b however, it is determined that installation kit C, installation kit D and installation kit E etc. are junk data, then can set up Mark of mark, the mark of installation kit D and installation kit E of installation kit C etc. is shown on the interface of cleaning, and respectively in installation kit C The lower section of the mark of mark, the mark of installation kit D and installation kit E etc. show corresponding installation kit size and version number, additionally, Quantity and the total size of these installation kits can also be shown in the top, the quantity of such as display installation kit is 46, and total size is 384MB, etc..
Optionally, in order to improve the motility of the program, can also allow for user and this suggestion cleaning list modified, To confirm the installation kit finally needing to be cleared up.Such as, referring to Fig. 2 b, can be in the mark of the mark of installation kit C, installation kit D Know and installation kit E mark side, be respectively provided with an Option Box, the content default setting of this Option Box is to choose, when with When family confirms not need to clear up certain installation kit, the content modification of corresponding for this installation kit Option Box can be just " selection ", Or the installation kit retaining suggestion in list is set to " selection " so as to referred to as junk data, etc., thus trigger modification asking Ask so that cleaning system updates this suggestion cleaning list according to this modification request, suggestion cleaning list after being updated.
207th, cleaning system receive user instructs according to the cleaning that this cleaning information is triggered.
For example, user can by click on or slide should " cleaning triggering key ", slide screen or rock screen etc. operation come Trigger this cleaning instruction.
208th, cleaning system instructs all junk datas deleted in this suggestion cleaning list according to this cleaning.
For example, after cleaning system receives this cleaning instruction, can be connect by program unloading according to this cleaning instruction Mouth function call program unloading process, and allow this program unloading process to clear up all rubbish numbers in list to delete this suggestion According to unloading this suggestion and clear up the corresponding installation kit of all installation kits mark in list.
Wherein, when deleting these junk datas, can first obtain the store path of all junk datas, then enter successively Row is deleted, and such as, if junk data includes installation kit C and D, can obtain store path and the installation of installation kit C respectively The store path of bag D, then deletes to installation kit C and D successively according to these store paths;Or it is also possible to obtain one by one Take store path and delete, such as, first obtain installation kit C store path, according to this installation kit C store path to installation kit C is deleted, and then obtains the store path of installation kit D again, and the store path according to installation kit D is deleted to installation kit D, By that analogy, etc., specifically can be found in embodiment one, will not be described here.
From the foregoing, it will be observed that the present embodiment adopts the memory space of end of scan, to obtain the peace being preserved in this memory space Dress bag, the then attribute information according to this installation kit, to determine it as mark, mount message, version information and temporal information etc. Whether it is junk data, such as, if this mount message instruction installed mistake of installation kit and/or the instruction of this temporal information are installed Bag described memory space existence time exceeded preset threshold value and/or according to this version information determine there are multiple differences The legacy version installation kit of version and/or the installation kit determining presence repetition according to this version information, then can be by this installation kit It is defined as junk data, and the mark of this installation kit is added to suggestion cleaning list, subsequently, row are cleared up according to this suggestion Table generates and shows cleaning information, and when receiving the cleaning instruction being triggered according to this cleaning information, deletion is built All junk datas in view cleaning list;Because the program can be according to the mount message of installation kit, version information and time The information such as information, as foundation, filter out unnecessary packet as junk data, and are automatically purged, accordingly, with respect to Voluntarily can only carry out screening and can only dispose the scheme of mounted installation kit in prior art by user for, permissible Improve cleaning efficiency, improve cleaning effect, and can reduce because the maloperation of user led to the occurrence of deleting by mistake.
Further, user can also modify to this suggestion cleaning list according to the demand of itself, therefore, it can carry The motility of this cleaning system high.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention also provides a kind of cleaning system of junk data, referred to as Cleaning system, as shown in Figure 3 a, this cleaning system includes scanning element 301, determining unit 302, identifying unit 303, generates list Unit 304 and deletion unit 305, as follows:
Scanning element 301, for the memory space of end of scan, to obtain the installation kit being preserved in this memory space.
For example, scanning element 301 specifically can be used in end of scan memory space, specifies such as under all catalogues or partly The file of the entitled apk of suffix under catalogue, wherein, the file in the embodiment of the present invention refers to the file needing completely to can read, I.e. non-breakage file.
Determining unit 302, for determining the attribute information of this installation kit, wherein, this attribute information can include installation kit Mark, mount message, the information such as version information and temporal information.
For this mount message, identifying unit 303, if indicate that the installed mistake of installation kit and/or described temporal information refer to Show that installation kit has exceeded preset threshold value and/or according to the determination presence of described version information in the existence time of described memory space The legacy version installation kit of multiple different editions and/or the installation kit determining presence repetition according to described version information, then pacify this Dress bag is defined as junk data, and the mark of this installation kit is added to suggestion cleaning data acquisition system.
Otherwise, such as, if this mount message instruction installation kit not yet installed and this temporal information instruction installation kit is being deposited Not less than preset threshold value and according to this version information, the existence time in storage space determines that this installation kit does not have multiple different editions Though or there are multiple different editions but be belonging to latest edition installation kit and according to this version information determine there is not repetition Installation kit, then identifying unit 303 can determine that this installation kit is not junk data, this installation kit can not be processed, or Person, the mark of this installation kit is added to suggestion retention data set, such as suggestion retains in list.
Wherein, preset threshold value can be configured according to the demand of practical application, such as, could be arranged to 15 days or 30 My god, etc..
Signal generating unit 304, clears up data acquisition system according to this suggestion and generates and show cleaning information.
Delete unit 305, for when receiving the cleaning instruction being triggered according to this cleaning information, deleting this and building All junk datas in view cleaning data acquisition system.
For example, signal generating unit 304 specifically can call each junk data in this suggestion cleaning data acquisition system to correspond to respectively Program unloading interface function, generated based on this program unloading interface function and show this cleaning information, be i.e. this generation list Unit 304 can include prompting and generate subelement and display subelement, as follows:
Prompting generates subelement, for calling the corresponding program of each junk data in this suggestion cleaning data acquisition system respectively Unloading interface function, generates cleaning information based on this program unloading interface function, wherein, this cleaning information is at least wrapped Include a cleaning triggering key;
Display subelement, for showing this cleaning information;
Then now, delete unit 305, specifically can be used for the cleaning being triggered by this cleaning triggering key in receive user During instruction, process is unloaded by program unloading interface function caller according to this cleaning instruction, to delete this suggestion cleaning number According to all junk datas in set.
Optionally, this cleaning information, specifically in addition to can including a cleaning triggering key, can also include this The data message of a little junk datas, such as, the number of installation kit, total size, the size of each installation kit, installation kit title, under Load time and/or installation kit version etc., that is, this signal generating unit 304 can also include information determination subelement, as follows:
Information determination subelement, for determining the data message of this junk data, wherein, this data message includes installation kit Number, total size, the size of each installation kit, installation kit title, download time and/or installation kit version etc.;
Then now, prompting generates subelement, specifically can be used for calling the corresponding program unloading of this junk data to connect respectively Mouth function, generates cleaning information based on described program unloading interface function, wherein, this cleaning information includes this data Information and a cleaning triggering key.
Certainly, this data message acceptable others information, such as, can include the evaluation situation of this installation kit, such as The comment content of evaluation score and/or online friend, etc., will not be described here.
Wherein, when being particularly shown, with the hobby of the demand according to practical application or user, the pattern of display can be set Put, such as, whole cleaning information contents can be shown it is also possible to the cleaning information content of display portion, or, Only display one can also play frame, just show all or part of content of cleaning information after user clicks on, etc., This repeats no more.
Additionally, it should be noted that, delete unit 305 when deleting these junk datas, can first obtain all rubbish numbers According to store path, then deleted successively, or it is also possible to obtained store path deleting, that is, one by one:
Delete unit 305, specifically can be used for when receiving the cleaning instruction being triggered according to this cleaning information, Obtain the store path of all junk datas in suggestion cleaning data acquisition system, delete the number of this store path correspondence position successively According to.
Or, delete unit 305, specifically can be used for being referred to according to the cleaning that this cleaning information is triggered receiving When making, determine in suggestion cleaning data acquisition system with the presence or absence of the junk data needing cleaning, if existing it is determined that being currently needed for clear The junk data of reason, is currently needed for the store path of junk data cleared up described in acquisition, deletes described store path and correspond to position The data put, and return the operation with the presence or absence of the junk data needing to clear up in execution determination suggestion cleaning data acquisition system.
Optionally, in order to improve the motility of the program, can also allow for user and this suggestion cleaning data acquisition system is carried out Modification, to further confirm that the installation kit that needs are cleared up, that is, as shown in Figure 3 b, this cleaning system can also include updating list Unit 306;
Updating block 306, asks according to the modification that this cleaning information is inputted for receive user, according to this modification Request updates described suggestion cleaning data acquisition system, suggestion cleaning data acquisition system after being updated.
Then now, delete unit 305, specifically can be used for receive according to described cleaning information triggered clear During reason instruction, all junk datas in data acquisition system are cleared up in suggestion after deleting this renewal.
For example, if this cleaning information shows that the junk data being currently needed for clearing up includes installation kit A, installation kit B With installation kit C, then, if user does not need to remove installation kit A, a modification request can be sent, to indicate more new suggested Cleaning data acquisition system so that the junk data being currently needed for clearing up does not include installation kit A, that is, only includes installation kit B and installation kit C.Wherein, the approach that user's transmission modification is asked can have multiple, such as, if original installation kit A, installation kit B and installation kit C Corresponding tick boxes are all chosen, then user can will choose cancellation in the tick boxes corresponding to installation kit A, thus triggering The transmission of this modification request, etc., will not be described here.
When being embodied as, above unit can be realized it is also possible to carry out combination in any as independent entity, as Same or several entities realizing, being embodied as of above unit, can be found in enforcement above, will not be described here.
The cleaning system of this junk data specifically can be so that, in integrated terminal, this terminal be specifically as follows mobile phone or panel computer Deng equipment.
From the foregoing, it will be observed that the scanning element 301 of the cleaning system of the present embodiment adopts the memory space of end of scan, to obtain The installation kit being preserved in this memory space, then by identifying unit 303 according to the attribute information of this installation kit, such as identifies, pacifies Dress information, version information and temporal information etc. determining whether it is junk data, such as, if this mount message instruction installation kit Installed mistake and/or this temporal information indicate installation kit described memory space existence time exceeded preset threshold value, And/or determine there is the legacy version installation kit of multiple different editions and/or determine according to this version information according to this version information There is the installation kit repeating, then this installation kit can be defined as junk data, and the mark of this installation kit is added to building In view cleaning data acquisition system, subsequently, clear up data acquisition system by signal generating unit 304 according to this suggestion to generate and show cleaning prompting Information, and when receiving the cleaning instruction being triggered according to this cleaning information, delete suggestion cleaning by deleting unit 305 All junk datas in data acquisition system;Because the program can be believed according to the mount message of installation kit, version information and time The information such as breath, as foundation, filter out unnecessary packet as junk data, and are automatically purged, accordingly, with respect to existing Have for can only voluntarily carrying out screening and can only disposing the scheme of mounted installation kit by user in technology, Ke Yiti High cleaning efficiency, improves cleaning effect, and can reduce because the maloperation of user led to the occurrence of deleting by mistake.
Example IV,
Accordingly, the embodiment of the present invention also provides a kind of terminal, any one that can be provided with the integrated embodiment of the present invention The cleaning system of junk data.As shown in figure 4, this terminal can include radio frequency (RF, Radio Frequency) circuit 401, bag Include the memorizer 402 of one or more computer-readable recording mediums, input block 403, display unit 404, sensing Device 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity) module 407, include one or one The part such as the processor 408 of above processing core and power supply 409.It will be understood by those skilled in the art that shown in Fig. 4 The restriction of terminal structure not structure paired terminal, can include ratio and illustrate more or less of part, or combine some parts, Or different part arrangements.Wherein:
RF circuit 401 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, by base station After downlink information receives, transfer to one or more than one processor 408 is processed;In addition, by be related to up data is activation to Base station.Generally, RF circuit 401 includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, use Family identity module (SIM, Subscriber Identity Module) card, transceiver, bonder, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..Additionally, RF circuit 401 can also by radio communication and network and its His equipment communication.Described radio communication can use arbitrary communication standard or agreement, including but not limited to global system for mobile telecommunications system System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division many Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memorizer 402 can be used for storing software program and module, and processor 408 is stored in memorizer 402 by operation Software program and module, thus executing various function application and data processing.Memorizer 402 can mainly include storing journey Sequence area and storage data field, wherein, storing program area can (compare the application program needed for storage program area, at least one function As sound-playing function, image player function etc.) etc.;Storage data field can store according to terminal using the data being created (such as voice data, phone directory etc.) etc..Additionally, memorizer 402 can include high-speed random access memory, can also include Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Phase Ying Di, memorizer 402 can also include Memory Controller, to provide processor 408 and input block 403 to memorizer 402 Access.
Input block 403 can be used for numeral or the character information of receives input, and produces and user setup and function Control relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, in a specific embodiment In, input block 403 may include Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or touch Control plate, can collect user thereon or neighbouring touch operation (such as user use any suitable object such as finger, stylus or Operation on Touch sensitive surface or near Touch sensitive surface for the adnexa), and corresponding connection dress is driven according to formula set in advance Put.Optionally, Touch sensitive surface may include touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus inspection Survey the touch orientation of user, and detect the signal that touch operation brings, transmit a signal to touch controller;Touch controller from Receive touch information on touch detecting apparatus, and be converted into contact coordinate, then give processor 408, and can reception processing Order that device 408 is sent simultaneously is executed.Furthermore, it is possible to it is multiple using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes Touch sensitive surface.Except Touch sensitive surface, input block 403 can also include other input equipments.Specifically, other are defeated Enter equipment and can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, Mus One or more of mark, action bars etc..
Display unit 404 can be used for display and by the information of user input or is supplied to the information of user and the various of terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display Unit 404 may include display floater, optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) are configuring display floater.Further , Touch sensitive surface can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends process to Device 408, to determine the type of touch event, provides accordingly according to the type of touch event on a display panel with preprocessor 408 Visual output.Although in the diagram, Touch sensitive surface and display floater are to realize inputting as two independent parts and to input Function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor 405, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be according to ambient light The brightness to adjust display floater for the light and shade, proximity transducer can cut out display floater and/or the back of the body when terminal moves in one's ear Light.As one kind of motion sensor, Gravity accelerometer can detect (generally three axles) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used for identify mobile phone attitude application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal Gyroscope, barometer, drimeter, thermometer, the other sensors such as infrared ray sensor, will not be described here.
Voicefrequency circuit 406, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can The signal of telecommunication after the voice data receiving is changed, is transferred to speaker, is converted to acoustical signal output by speaker;Another Aspect, the acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data after being received by voicefrequency circuit 406, then After voice data output processor 408 is processed, through RF circuit 401 being sent to such as another terminal, or by voice data Export to memorizer 402 to process further.Voicefrequency circuit 406 is also possible that earphone jack, with provide peripheral hardware earphone with The communication of terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 407 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 4 shows WiFi module 407, but it is understood that, it is simultaneously not belonging to must be configured into of terminal, can not change as needed completely Omit in the scope of the essence becoming invention.
Processor 408 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, leads to Cross and run or software program and/or module that execution is stored in memorizer 402, and call and be stored in memorizer 402 Data, the various functions of execution terminal and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor 408 can wrap Include one or more processing cores;Preferably, processor 408 can integrated application processor and modem processor, wherein, should Mainly process operating system, user interface and application program etc. with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 408.
Terminal also includes the power supply 409 (such as battery) powered to all parts it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 408, thus realizing management charging, electric discharge and power managed by power-supply management system Etc. function.Power supply 409 can also include one or more direct current or alternating current power supply, recharging system, power failure inspection The random component such as slowdown monitoring circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal can also include photographic head, bluetooth module etc., will not be described here.Specifically in this enforcement In example, the processor 408 in terminal can be according to following instruction, will be corresponding for the process of one or more application program Executable file is loaded in memorizer 402, and to be run the application program being stored in memorizer 402 by processor 408, from And realize various functions:
The memory space of end of scan, to obtain the installation kit being preserved in this memory space, determines the genus of this installation kit Property information, this attribute information includes mark, mount message, version information and the temporal information of installation kit;If this mount message refers to Show that the installed mistake of installation kit and/or this temporal information instruction installation kit have exceeded preset threshold in the existence time of memory space Value and/or according to this version information determine there is the legacy version installation kit of multiple different editions and/or according to this version information Determine there is the installation kit repeating, then this installation kit is defined as junk data, and the mark of this installation kit is added to suggestion In cleaning data acquisition system;Clear up data acquisition system according to this suggestion to generate and show cleaning information;Clear according to this receiving During the cleaning instruction that reason information is triggered, delete this suggestion and clear up all junk datas in data acquisition system.
For example, it is possible to call each junk data corresponding program unloading interface letter in this suggestion cleaning data acquisition system respectively Number, is generated based on this program unloading interface function and shows this cleaning information, wherein, this cleaning information at least includes One cleaning triggering key.
Then now, when specifically can be used for the cleaning instruction being triggered by this cleaning triggering key in receive user, according to This cleaning instruction unloads process by program unloading interface function caller, clears up the institute in data acquisition system to delete this suggestion There is junk data.
Optionally, this cleaning information, specifically in addition to can including a cleaning triggering key, can also include this The data message of a little junk datas, such as, the number of installation kit, total size, the size of each installation kit, installation kit title, under Load time and/or installation kit version etc., that is, this processor 408 can also carry out the instruction of following operation:
Determine the data message of this junk data, wherein, this data message include the number of installation kit, total size, each The size of installation kit, installation kit title, download time and/or installation kit version etc..
Certainly, this data message acceptable others information, such as, can include the evaluation situation of this installation kit, such as The comment content of evaluation score and/or online friend, etc., will not be described here.
Wherein, when being particularly shown, with the hobby of the demand according to practical application or user, the pattern of display can be set Put, such as, whole cleaning information contents can be shown it is also possible to the cleaning information content of display portion, or, Only display one can also play frame, just show all or part of content of cleaning information after user clicks on, etc., This repeats no more.
Additionally, it should be noted that, when deleting these junk datas, can first obtain the storage road of all junk datas Footpath, is then deleted successively, or it is also possible to obtains store path one by one and delete, that is, step is " clear according to this receiving During the cleaning instruction that reason information is triggered, delete this suggestion and clear up all junk datas in data acquisition system " specifically permissible As follows:
When receiving the cleaning instruction being triggered according to this cleaning information, obtain institute in suggestion cleaning data acquisition system There is the store path of junk data, delete the data of this store path correspondence position successively.
Or, when receiving the cleaning instruction being triggered according to this cleaning information, determine suggestion cleaning data set Whether there is in conjunction needs the junk data of cleaning, if existing it is determined that being currently needed for the junk data cleared up, obtains described working as The store path of the front junk data needing cleaning, deletes the data of described store path correspondence position, and returns and execute determination With the presence or absence of the operation of the junk data needing cleaning in suggestion cleaning data acquisition system.
Optionally, in order to improve the motility of the program, can also allow for user and this suggestion cleaning data acquisition system is carried out Modification, to further confirm that the installation kit that needs are cleared up, that is, this processor 408 can also carry out the instruction of following operation:
Receive user is asked according to the modification that this cleaning information is inputted, and asks to update described suggestion according to this modification Cleaning data acquisition system, suggestion cleaning data acquisition system after being updated.
Then now, step " when receiving the cleaning instruction being triggered according to this cleaning information, deletes this suggestion clear All junk datas in reason data acquisition system " can include:Receiving the cleaning being triggered according to described cleaning information During instruction, all junk datas in data acquisition system are cleared up in suggestion after deleting this renewal.
What each operated above is embodied as can be found in embodiment above, will not be described here.
From the foregoing, it will be observed that the terminal of the present embodiment can pass through the memory space of scanning itself, to obtain in this memory space The installation kit being preserved, the then attribute information according to this installation kit, such as mark, mount message, version information and temporal information Etc. determining whether it is junk data, such as, if this mount message instruction installed mistake of installation kit and/or this time letter Breath instruction installation kit described memory space existence time exceeded preset threshold value and/or according to this version information determine deposit Determine there is the installation kit repeating in the legacy version installation kit of multiple different editions and/or according to this version information, then will be permissible This installation kit is defined as junk data, and the mark of this installation kit is added to suggestion cleaning data acquisition system, subsequently, root Generate and show cleaning information according to this suggestion cleaning data acquisition system, triggered according to this cleaning information receiving During cleaning instruction, delete all junk datas in suggestion cleaning data acquisition system;Because the program can be according to the peace of installation kit The information such as dress information, version information and temporal information, as foundation, filter out unnecessary packet as junk data, and automatically It is purged, accordingly, with respect to voluntarily can only carrying out screening by user in prior art and mounted peace can only be disposed For the scheme of dress bag, cleaning efficiency can be improved, improve cleaning effect, and can reduce because the maloperation of user is led The occurrence of by mistake deleting of cause.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage Medium can include:Read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The method for cleaning of a kind of junk data that the embodiment of the present invention is provided and system are described in detail above, Specific case used herein is set forth to the principle of the present invention and embodiment, and the explanation of above example is to use Understand the method for the present invention and its core concept in help;Simultaneously for those skilled in the art, according to the think of of the present invention Think, all will change in specific embodiments and applications, in sum, it is right that this specification content should not be construed as The restriction of the present invention.

Claims (10)

1. a kind of method for cleaning of junk data is it is characterised in that include:
The memory space of end of scan, to obtain the installation kit being preserved in described memory space;
Determine the attribute information of described installation kit, described attribute information includes the mark of described installation kit, mount message, version letter Breath and temporal information;
If the described mount message instruction installed mistake of installation kit and/or described temporal information instruction installation kit are in described storage The existence time in space has exceeded preset threshold value and/or has determined the old edition that there are multiple different editions according to described version information This installation kit and/or the installation kit determining presence repetition according to described version information, then be defined as rubbish number by described installation kit According to, and the mark of described installation kit is added to suggestion cleaning data acquisition system, the form bag of described suggestion cleaning data acquisition system Include list, menu or picture;
Generate and show cleaning information according to described suggestion cleaning data acquisition system;
Receive according to described cleaning information triggered cleaning instruction when, delete described suggestion cleaning data acquisition system in All junk datas;
Described according to described suggestion cleaning data acquisition system generate and show cleaning information, including:Call described suggestion respectively Each junk data corresponding program unloading interface function in cleaning data acquisition system;Generated based on described program unloading interface function Cleaning information, described cleaning information at least includes a cleaning triggering key;Show described cleaning information;
Described receive according to described cleaning information triggered cleaning instruction when, delete described suggestion cleaning data set All junk datas in conjunction, specially:In the cleaning instruction that receive user is triggered by described cleaning triggering key, according to Described cleaning instruction unloads process by program unloading interface function caller, to delete in described suggestion cleaning data acquisition system All junk datas.
2. method according to claim 1 it is characterised in that described receive according to described cleaning information touched During the cleaning instruction sent out, delete all junk datas in described suggestion cleaning data acquisition system, including:
When receiving the cleaning instruction being triggered according to described cleaning information, obtain all in suggestion cleaning data acquisition system The store path of junk data;
Delete the data of described store path correspondence position successively.
3. method according to claim 1 it is characterised in that described receive according to described cleaning information touched During the cleaning instruction sent out, delete all junk datas in described suggestion cleaning data acquisition system, including:
Receive according to described cleaning information triggered cleaning instruction when, determine described suggestion cleaning data acquisition system in With the presence or absence of the junk data needing cleaning;
If existing it is determined that being currently needed for the junk data cleared up, described in acquisition, it is currently needed for the storage of the junk data of cleaning Whether path, deletes the data of described store path correspondence position, and return execution and determine in described suggestion cleaning data acquisition system The step that there is the junk data needing cleaning.
4. method according to claim 1 is it is characterised in that described generate cleaning based on described program unloading interface function Before information, also include:
Determine the data message of described junk data, described data message includes the number of installation kit, total size, each installation kit Size, installation kit title, download time and/or installation kit version;
Then also include described data message in described cleaning information.
5. the method according to any one of claims 1 to 3 it is characterised in that described display described cleaning information it Afterwards, also include:
The modification request that receive user is inputted according to described cleaning information;
Described suggestion cleaning data acquisition system, suggestion cleaning data acquisition system after being updated are updated according to described modification request;
Described receive according to described cleaning information triggered cleaning instruction when, delete described suggestion cleaning data set All junk datas in conjunction, specially:Receive according to described cleaning information triggered cleaning instruction when, delete All junk datas in suggestion cleaning data acquisition system after described renewal.
6. a kind of cleaning system of junk data is it is characterised in that include:
Scanning element, for the memory space of end of scan, to obtain the installation kit being preserved in described memory space;
Determining unit, for determining the attribute information of described installation kit, described attribute information includes the mark of described installation kit, peace Dress information, version information and temporal information;
For described mount message, identifying unit, if indicate that the installed mistake of installation kit and/or the instruction of described temporal information are installed Bag described memory space existence time exceeded preset threshold value and/or according to described version information determine exist multiple not Determine there is the installation kit repeating with the legacy version installation kit of version and/or according to described version information, then by described installation kit It is defined as junk data, and the mark of described installation kit is added to suggestion cleaning data acquisition system, described suggestion cleaning data The form of set includes list, menu or picture;
Signal generating unit, generates and shows cleaning information according to described suggestion cleaning data acquisition system;
Delete unit, for receive according to described cleaning information triggered cleaning instruction when, delete described suggestion All junk datas in cleaning data acquisition system;
Wherein, described signal generating unit includes prompting generation subelement and display subelement;
Prompting generates subelement, for calling the corresponding program of each junk data in described suggestion cleaning data acquisition system to unload respectively Carry interface function, cleaning information is generated based on described program unloading interface function, described cleaning information at least includes One cleaning triggering key;
Display subelement, for showing described cleaning information;
Described deletion unit, specifically for receive user by described cleaning triggering key triggered cleaning instruction when, according to Described cleaning instruction unloads process by program unloading interface function caller, to delete in described suggestion cleaning data acquisition system All junk datas.
7. system according to claim 6 it is characterised in that
Described deletion unit, specifically for receive according to described cleaning information triggered cleaning instruction when, obtain In suggestion cleaning data acquisition system, the store path of all junk datas, deletes the data of described store path correspondence position successively.
8. system according to claim 6 it is characterised in that
Described deletion unit, specifically for receive according to described cleaning information triggered cleaning instruction when, determine With the presence or absence of the junk data needing cleaning in suggestion cleaning data acquisition system, if existing it is determined that being currently needed for the rubbish cleared up Data, is currently needed for the store path of junk data cleared up described in acquisition, deletes the data of described store path correspondence position, And return the step with the presence or absence of the junk data needing to clear up in execution determination suggestion cleaning data acquisition system.
9. system according to claim 6 is it is characterised in that described signal generating unit also includes information determination subelement;
Information determination subelement, for determining the data message of described junk data, described data message includes the individual of installation kit Number, total size, the size of each installation kit, installation kit title, download time and/or installation kit version;
Described prompting generates subelement, for calling described junk data corresponding program unloading interface function respectively, based on institute State program unloading interface function and generate cleaning information, described cleaning information includes described data message and a cleaning Triggering key.
10. the system according to any one of claim 6 to 8 is it is characterised in that also include updating block;
Updating block, the modification request being inputted according to described cleaning information for receive user, please according to described modification Ask renewal described suggestion cleaning data acquisition system, suggestion cleaning data acquisition system after being updated;
Described deletion unit, specifically for receive according to described cleaning information triggered cleaning instruction when, delete All junk datas in suggestion cleaning data acquisition system after described renewal.
CN201410720209.5A 2014-12-02 2014-12-02 Clearing method and system for junk data Active CN104572819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410720209.5A CN104572819B (en) 2014-12-02 2014-12-02 Clearing method and system for junk data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410720209.5A CN104572819B (en) 2014-12-02 2014-12-02 Clearing method and system for junk data

Publications (2)

Publication Number Publication Date
CN104572819A CN104572819A (en) 2015-04-29
CN104572819B true CN104572819B (en) 2017-02-22

Family

ID=53088881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410720209.5A Active CN104572819B (en) 2014-12-02 2014-12-02 Clearing method and system for junk data

Country Status (1)

Country Link
CN (1) CN104572819B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293783B (en) * 2015-05-15 2022-06-03 腾讯科技(深圳)有限公司 Installation package cleaning method and equipment
CN106406747A (en) * 2015-08-03 2017-02-15 中兴通讯股份有限公司 Hard disk storage management method and apparatus for mobile terminal
CN106557525B (en) * 2015-09-30 2020-07-28 北京金山安全软件有限公司 Method and device for cleaning application program residual file and electronic equipment
CN106708847A (en) * 2015-11-12 2017-05-24 腾讯科技(深圳)有限公司 Screenshot file prompt method and device
CN105653635A (en) * 2015-12-25 2016-06-08 北京奇虎科技有限公司 Database management method and apparatus
CN105897935A (en) * 2016-06-23 2016-08-24 北京小米移动软件有限公司 Processing and recommending method of cache files, processing and recommending device of cache files, terminal and server
CN106227744A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 Terminal document managing device, terminal and terminal document management method
CN106599017B (en) * 2016-10-20 2019-09-17 广州优视网络科技有限公司 Scanning analytic method, device and the mobile terminal of installation kit
CN106301968B (en) * 2016-10-25 2019-10-25 Oppo广东移动通信有限公司 A kind of processing method of terminal data, apparatus and system
CN106777286A (en) * 2016-12-29 2017-05-31 北京猎豹移动科技有限公司 A kind of method for cleaning and electronic equipment
CN107798554A (en) * 2017-08-28 2018-03-13 平安科技(深圳)有限公司 Cleaning method, storage medium and the server of breakpoint list
CN109343860A (en) * 2018-08-23 2019-02-15 腾讯科技(深圳)有限公司 A kind of method, apparatus, server and medium for clearing up Game patches
CN109344128A (en) * 2018-10-31 2019-02-15 中国银行股份有限公司 A kind of history file method for cleaning and device based on ZOS platform
CN109472888A (en) * 2018-11-29 2019-03-15 上海与德通讯技术有限公司 Automobile data recorder, video recording delet method and storage medium for automobile data recorder
CN112241395A (en) * 2019-07-17 2021-01-19 腾讯科技(深圳)有限公司 Method and device for cleaning application program file, terminal equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110225579A1 (en) * 2010-03-12 2011-09-15 Nikhil Khandelwal Configurable software deployment
CN102880714B (en) * 2012-09-29 2016-08-24 北京奇虎科技有限公司 File clean-up method and device
CN103942067B (en) * 2014-03-31 2017-11-03 广东欧珀移动通信有限公司 Smart machine clears up the method and device of software installation APMB package automatically

Also Published As

Publication number Publication date
CN104572819A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104572819B (en) Clearing method and system for junk data
CN104951212B (en) Desktop data processing method, the device and system of a kind of mobile terminal
JP6461173B2 (en) Message withdrawal method and apparatus
CN103473163B (en) application program detection method and device
CN103279288B (en) Data transmission method, device and terminal unit
CN103473092B (en) A kind of download the processing method of application, device and terminal unit
CN104598262A (en) Method and device for updating mobile application
CN105824641A (en) Method and device for displaying graphic code
US9742900B2 (en) Method, terminal device and storage medium for displaying information
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN106095456A (en) User is guided to download the method for application program, device and mobile terminal
CN106227588A (en) The creation method of a kind of multi-instance object, device and mobile terminal
CN106658354B (en) A kind of data transmission method and equipment
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN106547844A (en) A kind for the treatment of method and apparatus of user interface
CN104378488A (en) Harassing call processing method and device
CN106056001A (en) Private data protection method and apparatus based on mobile terminal and mobile terminal
US20220255639A1 (en) Radio frequency parameter processing method and device, and mobile terminal and storage medium
CN106201547A (en) Method, device and the mobile terminal that a kind of message based on mobile terminal shows
CN106528335A (en) Data backup method and device and terminal
CN105530239A (en) Multimedia data obtaining method and device
CN106506815A (en) A kind of application enables method and relevant device
CN104135504B (en) A kind of service providing method, Apparatus and system based on application
CN103561155B (en) Send the method for note, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant