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

Clearing method and system for junk data Download PDF

Info

Publication number
CN104572819A
CN104572819A CN201410720209.5A CN201410720209A CN104572819A CN 104572819 A CN104572819 A CN 104572819A CN 201410720209 A CN201410720209 A CN 201410720209A CN 104572819 A CN104572819 A CN 104572819A
Authority
CN
China
Prior art keywords
cleaning
information
installation kit
data
junk
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410720209.5A
Other languages
Chinese (zh)
Other versions
CN104572819B (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; 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, be specifically related to a kind of method for cleaning and system of junk data.
Background technology
Along with the development of the communication technology, in terminal, the kind of various application is also day by day various, these also bring some problems, such as while being applied in and offering convenience to our life, because the renewal speed of each application is very fast, therefore, usually can preserve the various renewals bag of download in terminal, comprise that user downloads voluntarily, and system is downloaded automatically, etc.; Again such as, user is when downloading the installation kit of certain application, downloaded unintentionally the installation kit of several versions simultaneously, these upgrade bag and installation kit occupies a large amount of storage space of terminal, but in fact not belong to the data that user really needs, therefore, the unwanted data of these unnecessary users can be called junk data, in order to save the storage space of terminal, improving terminal capabilities, needing timing to clear up these junk datas.
In the prior art, when clearing up junk data, usually need user to select the junk data needing to carry out clearing up voluntarily, and then the junk data that user selects is cleared up; Or system can select the installation kit installed as junk data voluntarily, and clears up.
To in the research and practice process of prior art, the present inventor finds, existing scheme not only cleaning effect is not good, and easily causes the situation of by mistake deleting to occur because of the maloperation of user.
Summary of the invention
The embodiment of the present invention provides a kind of method for cleaning and system of junk data, not only can improve cleaning efficiency, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
A method for cleaning for junk data, comprising:
The storage space of end of scan, to obtain the installation kit preserved in described storage space;
Determine the attribute information of described installation kit, described attribute information comprises the mark of described installation kit, mount message, version information and temporal information;
If described mount message instruction installation kit had been mounted and/or described temporal information instruction installation kit has exceeded preset threshold value in the life period of described storage space and/or determined to exist the legacy version installation kit of multiple different editions according to described version information and/or determine to there is the installation kit repeated according to described version information, then described installation kit is defined as junk data, and the mark of described installation kit is added in suggestion cleaning data acquisition;
Generate according to described suggestion cleaning data acquisition and show cleaning information;
When receiving the cleaning instruction triggered according to described cleaning information, delete all junk datas in described suggestion cleaning data acquisition.
A cleaning system for junk data, comprising:
Scanning element, for the storage space of end of scan, to obtain the installation kit preserved in described storage space;
Determining unit, for determining the attribute information of described installation kit, described attribute information comprises the mark of described installation kit, mount message, version information and temporal information;
Identifying unit, if to be mounted for described mount message instruction installation kit and/or described temporal information instruction installation kit has exceeded preset threshold value in the life period of described storage space and/or determined to exist the legacy version installation kit of multiple different editions according to described version information and/or determine to there is the installation kit repeated according to described version information, then described installation kit is defined as junk data, and the mark of described installation kit is added in suggestion cleaning data acquisition;
Generation unit, generates according to described suggestion cleaning data acquisition and shows cleaning information;
Delete cells, for when receiving the cleaning instruction triggered according to described cleaning information, deletes all junk datas in described suggestion cleaning data acquisition.
The embodiment of the present invention adopts the storage space of end of scan, to obtain the installation kit preserved in this storage space, then according to the attribute information of this installation kit, as mark, mount message, version information and temporal information etc. determine whether it is junk data, such as, if this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of described storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit can be defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition, subsequently, generate according to this suggestion cleaning data acquisition and show cleaning information, when receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in suggestion cleaning data acquisition, because the program can according to information such as the mount message of installation kit, version information and temporal informations as foundation, filter out unnecessary packet as junk data, and automatically remove, therefore, can only carry out screening and can only dispose for the scheme of mounted installation kit voluntarily by user relative in prior art, can cleaning efficiency be improved, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method for cleaning of the junk data that the embodiment of the present invention provides;
Fig. 2 a is another process flow diagram of the method for cleaning of the junk data that the embodiment of the present invention provides;
Fig. 2 b is the interface schematic diagram of the method for cleaning of the junk data that the embodiment of the present invention provides;
Fig. 3 a is the structural representation of the cleaning system of the junk data that the embodiment of the present invention provides;
Fig. 3 b is another structural representation of the cleaning system of the junk data that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method for cleaning and system of junk data.Below be described in detail respectively.
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 specifically can be in the terminal integrated, and this terminal is specifically as follows the equipment such as mobile phone or panel computer.
A kind of method for cleaning of junk data, comprise: the storage space of end of scan, to obtain the installation kit preserved in this storage space, determine the attribute information of this installation kit, this attribute information comprises the mark of installation kit, mount message, version information and temporal information; If this mount message instruction installation kit had been mounted and/or this temporal information instruction installation kit has exceeded preset threshold value in the life period of storage space and/or determined to exist the legacy version installation kit of multiple different editions according to this version information and/or determine to there is the installation kit repeated according to this version information, then this installation kit is defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition; Generate according to this suggestion cleaning data acquisition and show cleaning information; When receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in this suggestion cleaning data acquisition.
As shown in Figure 1, the idiographic flow of the method for cleaning of this junk data can be as follows:
101, the storage space of end of scan, to obtain the installation kit preserved in this storage space.
Such as, specifically can in end of scan storage space, as suffix under all catalogues or under part assigned catalogue is called the file of apk, wherein, the file in the embodiment of the present invention refers to needs the complete file that can read, i.e. non-damaged file.
102, determine the attribute information of this installation kit, wherein, this attribute information can comprise mark, mount message, the information such as version information and temporal information of installation kit.
Wherein, the mark of installation kit can identify the information of installation kit for the title of installation kit or code name etc.; Whether whether mount message is used to indicate the installation situation of this installation kit, such as mounted, what time is mounted, install successful, etc.; Version information describes the distribution situation of installation kit, can reflect the renewal situation of installation kit; Temporal information then refers to the life period of installation kit at storage space, such as what time downloads, how long housing at this storage space, etc.
103, determine whether this installation kit is junk data according to this attribute information, if so, then perform step 104, if not, then return and perform step 101, such as, specifically can be as follows:
If this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit is defined as unnecessary installation kit, be called junk data in embodiments of the present invention, so perform step 104, otherwise, then determine it is not unnecessary installation kit, namely not junk data, can not process this installation kit, or, the mark of this installation kit is added into suggestion and retains data acquisition, retain as advised in list, then return and perform step 101.
Wherein, preset threshold value can be arranged according to the demand of practical application, such as, can be set to 15 days or 30 days, etc.
104, the mark of this installation kit is added in a set, for convenience, in embodiments of the present invention, this set is called suggestion cleaning data acquisition.
Wherein, this suggestion cleaning data acquisition can be shown by various ways, such as, can in the form of a list, the form of menu or with the form of picture, etc., for convenience, in embodiments of the present invention, to all be described for tabular form, namely this suggestion cleaning data acquisition is specially suggestion cleaning list.
After this, can return and perform step 101, until by scanned for all installation kits in storage space.
105, generate cleaning information according to this suggestion cleaning data acquisition, and show this cleaning information, such as, specifically can be as follows:
(1) the program unloading interface function that in this suggestion cleaning data acquisition, each junk data is corresponding is called respectively.
Such as, specifically according to the mark of each installation kit (i.e. junk data) in cleaning data acquisition, the program unloading interface function of its correspondence can be called respectively.
Wherein, can unload process by calling program by this program unloading interface function, this program unloading process is mainly used in unloading corresponding installation kit.
(2) generate cleaning information based on this program unloading interface function, this cleaning information at least comprises a cleaning and triggers key.
Wherein, trigger key by this cleaning, for carrying out garbage data cleaning operation for user, namely user can trigger key by this cleaning and trigger cleaning instruction.
Optionally, other information can also be comprised in this cleaning information, such as can also carry the data message of this junk data, wherein, this data message can comprise 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 comprise the evaluation situation of this installation kit, the comment content of such as evaluation score and/or online friend, etc.That is, before step " generates cleaning information " based on this program unloading interface function, the method for cleaning of this junk data can also comprise:
Determine the data message of this junk data.
Then, step " generate cleaning information based on this program unloading interface function, this cleaning information at least comprises a cleaning and triggers key " is specially:
Generate cleaning information based on this program unloading interface function, this cleaning information comprises the data message of this junk data and a cleaning triggers the information such as key.
(3) this cleaning information is shown.
Wherein, during concrete display, can arrange according to the pattern of hobby to display of the demand of practical application or user, such as, whole cleaning information contents can be shown, also can the cleaning information content of display section, or, only display one can also play frame, after user clicks, just show all or part of content of cleaning information, etc., do not repeat them here.
106, when receiving the cleaning instruction triggered according to this cleaning information, all junk datas in this suggestion cleaning data acquisition are deleted.
Such as, specifically can when receiving the cleaning instruction that user is triggered by this cleaning triggering key, according to this cleaning instruction by program unloading interface function calling program unloading process, to delete all junk datas in this suggestion cleaning data acquisition, wherein, all junk datas in suggestion cleaning data acquisition refer to the installation kit of all installation kit marks to correspondence in suggestion cleaning data acquisition.
Wherein, when deleting these junk datas, first can obtain the store path of all junk datas, then delete successively, or, also can obtain store path one by one and delete, namely step " be deleted all junk datas in this suggestion cleaning data acquisition " and specifically can be adopted any one mode following:
(1) first kind of way;
Obtain the store path of all junk datas in suggestion cleaning data acquisition, delete the data of this store path correspondence position successively.
(2) second way;
Determine whether there is the junk data needing cleaning in this suggestion cleaning data acquisition, if exist, then determine the current junk data needing cleaning, obtain this current store path needing the junk data of cleaning, delete the data of this store path correspondence position, and return the step performing and determine whether to there is the junk data needing cleaning in this suggestion cleaning data acquisition.
If there is not the junk data needing cleaning in this suggestion cleaning data acquisition, then flow process terminates.
Optionally, in order to improve the dirigibility of the program, user can also be allowed to modify to this suggestion cleaning data acquisition, and to confirm the installation kit needing to carry out clearing up further, after namely step " shows this cleaning information ", the method can also comprise:
Receive the amendment request that user inputs according to this cleaning information, upgrade described suggestion cleaning data acquisition according to this amendment request, obtain upgrading rear suggestion cleaning data acquisition.
Then now, step " when receiving the cleaning instruction triggered according to described cleaning information; delete all junk datas in this suggestion cleaning data acquisition " is specifically as follows: when receiving the cleaning instruction triggered according to this cleaning information, deleting this renewal and advising afterwards clearing up all junk datas in data acquisition.
Such as, if the current junk data of cleaning that needs of this cleaning information display comprises installation kit A, installation kit B and installation kit C, so, if user does not need to remove installation kit A, then can send an amendment request, to indicate more new suggested cleaning data acquisition, make the current junk data of cleaning that needs not comprise installation kit A, namely only include installation kit B and installation kit C.Wherein, the approach that user sends amendment request can have multiple, such as, if originally installation kit A, installation kit B and the tick boxes corresponding to installation kit C are chosen all, then user can will choose cancellation in the tick boxes corresponding to installation kit A, thus trigger the transmission of this amendment request, etc., do not repeat them here.
As from the foregoing, the present embodiment adopts the storage space of end of scan, to obtain the installation kit preserved in this storage space, then according to the attribute information of this installation kit, as mark, mount message, version information and temporal information etc. determine whether it is junk data, such as, if this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of described storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit can be defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition, subsequently, generate according to this suggestion cleaning data acquisition and show cleaning information, when receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in suggestion cleaning data acquisition, because the program can according to information such as the mount message of installation kit, version information and temporal informations as foundation, filter out unnecessary packet as junk data, and automatically remove, therefore, can only carry out screening and can only dispose for the scheme of mounted installation kit voluntarily by user relative in prior art, can cleaning efficiency be improved, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
Embodiment two,
According to the method described by embodiment one, below citing is described in further detail.
In the present embodiment, be described so that the cleaning system of this junk data is specifically integrated in the terminal, for convenience, in the present embodiment, by the cleaning system of this junk data referred to as garbage system.
When the cleaning system that terminal receives user's transmission starts request, start request according to this cleaning system and start cleaning system, and perform the cleaning operation of junk data by cleaning system, as shown in Figure 2 a, a method for cleaning for junk data, idiographic flow can be as follows:
201, the junk data scan instruction of system receives user input is cleared up.
202, system of clearing up, under the triggering of described junk data scan instruction, starts search engine and scans the storage space of terminal, to obtain the installation kit preserved in this storage space.
Such as, specifically can in end of scan storage space, suffix is called the file of apk under all catalogues or under part assigned catalogue, and wherein, the file in the embodiment of the present invention refers to needs the complete file that can read, i.e. non-damaged file.
203, cleaning system determines the attribute information of this installation kit, and wherein, this attribute information can comprise mark, mount message, the information such as version information and temporal information of installation kit.
204, according to this attribute information, cleaning system determines whether this installation kit is junk data, if, then perform step 205, if not, then the mark of this installation kit is added into suggestion to retain in list, this suggestion can be shown retain list on the screen of terminal, and return execution step 202, such as, specifically can be as follows:
If this mount message instruction installation kit had been mounted and/or this temporal information instruction installation kit has exceeded preset threshold value in the life period of storage space and/or determined to exist the legacy version installation kit of multiple different editions according to this version information and/or determine to there is the installation kit repeated according to this version information, then this installation kit is defined as junk data, so perform step 205.
Otherwise, if this mount message instruction installation kit not yet installed and this temporal information instruction installation kit does not exceed preset threshold value in the life period of storage space and determines that according to this version information but though this installation kit does not exist multiple different editions or there is multiple different editions belong to the installation kit of latest edition and determine not exist the installation kit of repetition according to this version information, then determine that this installation kit is not junk data, the mark of this installation kit is added into suggestion to retain in list, and returns execution step 202.
Such as, see Fig. 2 b, if determine, installation kit A and installation kit B is not junk data, then the mark of the mark of installation kit A and installation B be added in suggestion reservation list respectively.
Wherein, preset threshold value can be arranged according to the demand of practical application, such as, can be set to 15 days or 30 days, etc.
Optionally, installation kit in list is retained for suggestion, mounting interface can also be provided so that user installs, such as, see Fig. 2 b, can by the installation mark of A and the mark of installation kit B, a mounting interface is set respectively, the such as icon of a spanner pattern, when user passes through the icon clicking this spanner pattern, can trigger installation instruction, after this, cleaning system just can according to the installation procedure of the corresponding installation kit of this installation instruction calls to install, what it was concrete call with installation method similarly to the prior art, do not repeat them here.
This mark being defined as the installation kit of junk data is added in suggestion cleaning data acquisition by 205, cleaning system, is such as added in suggestion cleaning list.
Such as, if determine, installation kit C, installation kit D and installation kit E etc. are junk data, then the mark of the mark of installation kit C, installation kit D and the mark etc. of installation kit E are added into respectively in suggestion cleaning list.
After this, can return and perform step 202, until by scanned for all installation kits in storage space, such as, now clear up system and can judge whether exist not yet by the installation kit scanned in storage space, if, then perform step 202, if all scanned, then can perform step 206.
Certainly, user also can stop this scan operation at any time, then clear up system and now directly can perform step 206, namely based on current suggestion cleaning list, generates cleaning information.
206, system of clearing up generates cleaning information according to this suggestion cleaning list, and on the screen of terminal, show this cleaning information.
Such as, cleaning system can call the program unloading interface function that in this suggestion cleaning data acquisition, each junk data is corresponding respectively, generates cleaning information, and on the screen of terminal, show this cleaning information based on this program unloading interface function.
Wherein, this cleaning information specifically can comprise a cleaning and trigger key, the data message of these junk datas can also be comprised, such as, the size of the number of installation kit, total size, each installation kit, installation kit title, download time and/or installation kit version etc., in addition, can also comprise the evaluation situation of this installation kit, the comment content of such as evaluation score and/or online friend, etc.
Wherein, during concrete display, can arrange according to the pattern of hobby to display of the demand of practical application or user, such as, whole cleaning information contents can be shown, also can the cleaning information content of display section, or, only display one can also play frame, after user clicks, just show all or part of content of cleaning information, etc., do not repeat them here.
Such as, see Fig. 2 b, if determine, installation kit C, installation kit D and installation kit E etc. are junk data, the mark etc. of the mark of installation kit C, the mark of installation kit D and installation kit E then can be shown on the interface setting up cleaning, and show corresponding installation kit size and version number in the below of the mark etc. of the mark of installation kit C, the mark of installation kit D and installation kit E respectively, in addition, the quantity of these installation kits and total size can also be shown in the top, if the quantity showing installation kit is 46, total size is 384MB, etc.
Optionally, in order to improve the dirigibility of the program, user can also be allowed to modify to this suggestion cleaning list, to confirm the final installation kit needing to carry out clearing up.Such as, see Fig. 2 b, can in the mark of installation kit C, the side of the mark of installation kit D and the mark of installation kit E, an Option Box is set respectively, the content default setting of this Option Box is for choosing, when user confirms not need to clear up certain installation kit, just can be " not choosing " by the content modification of Option Box corresponding for this installation kit, or the installation kit that suggestion retains in list is set to " choosing ", it is made to be called junk data, etc., thus trigger amendment request, cleaning system is made to upgrade this suggestion cleaning list according to this amendment request, obtain upgrading rear suggestion cleaning list.
207, the cleaning instruction that system receives user triggers according to this cleaning information is cleared up.
Such as, user can by clicking or slide this " cleaning trigger key ", slide screen or rock the operations such as screen and trigger this cleaning instruction.
208, cleaning system deletes all junk datas in this suggestion cleaning list according to this cleaning instruction.
Such as, after cleaning system acceptance to this cleaning instruction, can according to this cleaning instruction by program unloading interface function calling program unloading process, and allow this program unloading process to delete all junk datas in this suggestion cleaning list, namely unload the installation kit corresponding to all installation kit marks in this suggestion cleaning list.
Wherein, when deleting these junk datas, first can obtain the store path of all junk datas, then delete successively, such as, if junk data comprises installation kit C and D, then can obtain the store path of installation kit C and the store path of installation kit D respectively, then successively installation kit C and D be deleted according to these store paths; Or, also can obtain store path one by one and delete, such as, first obtain the store path of installation kit C, the store path according to this installation kit C is deleted installation kit C, and then obtain the store path of installation kit D, store path according to installation kit D is deleted installation kit D, by that analogy, etc., specifically see embodiment one, can not repeat them here.
As from the foregoing, the present embodiment adopts the storage space of end of scan, to obtain the installation kit preserved in this storage space, then according to the attribute information of this installation kit, as mark, mount message, version information and temporal information etc. determine whether it is junk data, such as, if this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of described storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit can be defined as junk data, and the mark of this installation kit is added in suggestion cleaning list, subsequently, generate according to this suggestion cleaning list and show cleaning information, when receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in suggestion cleaning list, because the program can according to information such as the mount message of installation kit, version information and temporal informations as foundation, filter out unnecessary packet as junk data, and automatically remove, therefore, can only carry out screening and can only dispose for the scheme of mounted installation kit voluntarily by user relative in prior art, can cleaning efficiency be improved, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
Further, user can also modify to this suggestion cleaning list according to the demand of self, therefore, can improve the dirigibility of this cleaning system.
Embodiment three,
In order to implement above method better, the embodiment of the present invention also provides a kind of cleaning system of junk data, is called for short cleaning system, as shown in Figure 3 a, this cleaning system comprises scanning element 301, determining unit 302, identifying unit 303, generation unit 304 and delete cells 305, as follows:
Scanning element 301, for the storage space of end of scan, to obtain the installation kit preserved in this storage space.
Such as, scanning element 301 specifically may be used in end of scan storage space, and as suffix under all catalogues or under part assigned catalogue is called the file of apk, wherein, the file in the embodiment of the present invention refers to needs the complete file that can read, i.e. non-damaged file.
Determining unit 302, for determining the attribute information of this installation kit, wherein, this attribute information can comprise mark, mount message, the information such as version information and temporal information of installation kit.
Identifying unit 303, if for this mount message instruction installation kit be mounted and/or described temporal information instruction installation kit the life period of described storage space exceeded preset threshold value and/or according to described version information determine to exist multiple different editions legacy version installation kit and/or according to described version information determine exist repeat installation kit, then this installation kit is defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition.
Otherwise, such as, if this mount message instruction installation kit was not yet installed, and this temporal information instruction installation kit does not exceed preset threshold value in the life period of storage space, and determine that but though this installation kit does not exist multiple different editions or there is multiple different editions belong to the installation kit of latest edition according to this version information, and determine according to this version information the installation kit that there is not repetition, then identifying unit 303 can determine that this installation kit is not junk data, can not process this installation kit, or, the mark of this installation kit is added into suggestion and retains data acquisition, as advised retaining in list.
Wherein, preset threshold value can be arranged according to the demand of practical application, such as, can be set to 15 days or 30 days, etc.
Generation unit 304, generates according to this suggestion cleaning data acquisition and shows cleaning information.
Delete cells 305, for when receiving the cleaning instruction triggered according to this cleaning information, deletes all junk datas in this suggestion cleaning data acquisition.
Such as, generation unit 304 specifically can call the program unloading interface function that in this suggestion cleaning data acquisition, each junk data is corresponding respectively, generate based on this program unloading interface function and show this cleaning information, namely this generation unit 304 can comprise prompting generation subelement and display subelement, as follows:
Prompting generates subelement, for calling the program unloading interface function that in this suggestion cleaning data acquisition, each junk data is corresponding respectively, generate cleaning information based on this program unloading interface function, wherein, this cleaning information at least comprises a cleaning and triggers key;
Display subelement, for showing this cleaning information;
Then now, delete cells 305, specifically may be used for when receiving the cleaning instruction that user is triggered by this cleaning triggering key, according to this cleaning instruction by program unloading interface function calling program unloading process, to delete all junk datas in this suggestion cleaning data acquisition.
Optionally, this cleaning information specifically triggers except key except comprising a cleaning, the data message of these junk datas can also be comprised, such as, the size of the number of installation kit, total size, each installation kit, installation kit title, download time and/or installation kit version etc., namely this generation unit 304 can also comprise information determination subelement, as follows:
Information determination subelement, for determining the data message of this junk data, wherein, this data message comprises the number of installation kit, 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 may be used for calling program unloading interface function corresponding to this junk data respectively, generates cleaning information based on described program unloading interface function, wherein, this cleaning information comprises this data message and a cleaning triggering key.
Certainly, this data message can also other information, such as, can comprise the evaluation situation of this installation kit, the comment content of such as evaluation score and/or online friend, etc., do not repeat them here.
Wherein, during concrete display, can arrange according to the pattern of hobby to display of the demand of practical application or user, such as, whole cleaning information contents can be shown, also can the cleaning information content of display section, or, only display one can also play frame, after user clicks, just show all or part of content of cleaning information, etc., do not repeat them here.
In addition, it should be noted that, delete cells 305, when deleting these junk datas, first can obtain the store path of all junk datas, then delete successively, or, also can obtain store path one by one and delete, that is:
Delete cells 305, specifically may be used for when receiving the cleaning instruction triggered according to this cleaning information, obtains the store path of all junk datas in suggestion cleaning data acquisition, deletes the data of this store path correspondence position successively.
Or, delete cells 305, specifically may be used for when receiving the cleaning instruction triggered according to this cleaning information, determine whether there is the junk data needing cleaning in suggestion cleaning data acquisition, if exist, then determine the current junk data needing cleaning, obtain the described current store path needing the junk data of cleaning, delete the data of described store path correspondence position, and return the operation performing and determine whether to there is the junk data needing cleaning in suggestion cleaning data acquisition.
Optionally, in order to improve the dirigibility of the program, user can also be allowed to modify to this suggestion cleaning data acquisition, and to confirm the installation kit needing to carry out clearing up further, namely as shown in Figure 3 b, this cleaning system can also comprise updating block 306;
Updating block 306, for receiving the amendment request that user inputs according to this cleaning information, upgrades described suggestion cleaning data acquisition according to this amendment request, obtains upgrading rear suggestion cleaning data acquisition.
Then now, delete cells 305, specifically may be used for when receiving the cleaning instruction triggered according to described cleaning information, deletes this renewal and advises afterwards clearing up all junk datas in data acquisition.
Such as, if the current junk data of cleaning that needs of this cleaning information display comprises installation kit A, installation kit B and installation kit C, so, if user does not need to remove installation kit A, then can send an amendment request, to indicate more new suggested cleaning data acquisition, make the current junk data of cleaning that needs not comprise installation kit A, namely only include installation kit B and installation kit C.Wherein, the approach that user sends amendment request can have multiple, such as, if originally installation kit A, installation kit B and the tick boxes corresponding to installation kit C are chosen all, then user can will choose cancellation in the tick boxes corresponding to installation kit A, thus trigger the transmission of this amendment request, etc., do not repeat them here.
During concrete enforcement, above unit as independently entity realization, also can carry out combination in any, realize as same or several entities, the concrete enforcement of above unit, see enforcement above, can not repeat them here.
The cleaning system of this junk data specifically can in integrated terminal, and this terminal is specifically as follows the equipment such as mobile phone or panel computer.
As from the foregoing, the scanning element 301 of the cleaning system of the present embodiment adopts the storage space of end of scan, to obtain the installation kit preserved in this storage space, then by the attribute information of identifying unit 303 according to this installation kit, as mark, mount message, version information and temporal information etc. determine whether it is junk data, such as, if this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of described storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit can be defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition, subsequently, clear up data acquisition by generation unit 304 according to this suggestion generate and show cleaning information, and when receiving the cleaning instruction triggered according to this cleaning information, the all junk datas in suggestion cleaning data acquisition are deleted by delete cells 305, because the program can according to information such as the mount message of installation kit, version information and temporal informations as foundation, filter out unnecessary packet as junk data, and automatically remove, therefore, can only carry out screening and can only dispose for the scheme of mounted installation kit voluntarily by user relative in prior art, can cleaning efficiency be improved, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
Embodiment four,
Accordingly, the embodiment of the present invention also provides a kind of terminal, can the cleaning system of any one junk data that provides of the integrated embodiment of the present invention.As shown in Figure 4, this terminal can comprise radio frequency (RF, RadioFrequency) circuit 401, the storer 402 including one or more computer-readable recording mediums, input block 403, display unit 404, sensor 405, voicefrequency circuit 406, Wireless Fidelity (WiFi, Wireless Fidelity) module 407, include the parts such as processor 408 and power supply 409 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 4, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 401 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 408 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 401 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM, Subscriber IdentityModule) card, transceiver, coupling mechanism, low noise amplifier (LNA, Low Noise Amplifier), diplexer etc.In addition, RF circuit 401 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division MultipleAccess), Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, ShortMessaging Service) etc.
Storer 402 can be used for storing software program and module, and processor 408 is stored in software program and the module of storer 402 by running, thus performs the application of various function and data processing.Storer 402 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal.In addition, storer 402 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 402 can also comprise Memory Controller, to provide the access of processor 408 and input block 403 pairs of storeies 402.
Input block 403 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, in a specific embodiment, input block 403 can comprise Touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or Trackpad, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on Touch sensitive surface or near Touch sensitive surface such as finger, stylus) thereon, and drive corresponding coupling arrangement according to the formula preset.Optionally, Touch sensitive surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 408, and the order that energy receiving processor 408 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize Touch sensitive surface.Except Touch sensitive surface, input block 403 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 404 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 404 can comprise display panel, optionally, the forms such as liquid crystal display (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, OrganicLight-Emitting Diode) can be adopted to configure display panel.Further, Touch sensitive surface can cover display panel, when Touch sensitive surface detects thereon or after neighbouring touch operation, sends processor 408 to determine the type of touch event, provide corresponding vision to export with preprocessor 408 on a display panel according to the type of touch event.Although in the diagram, Touch sensitive surface and display panel be as two independently parts realize inputting and input function, in certain embodiments, can by Touch sensitive surface and display panel integrated and realize input and output function.
Terminal also can comprise at least one sensor 405, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel, and proximity transducer at fast mobile terminal to time in one's ear, can cut out display panel and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 406, loudspeaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit 406 can by receive voice data conversion after electric signal, be transferred to loudspeaker, by loudspeaker be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone, voice data is converted to after being received by voicefrequency circuit 406, after again voice data output processor 408 being processed, through RF circuit 401 to send to such as another terminal, or export voice data to storer 402 to process further.Voicefrequency circuit 406 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user to send and receive e-mail by WiFi module 407, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 4 shows WiFi module 407, be understandable that, it does not belong to must forming of terminal, can omit in the scope of essence not changing invention as required completely.
Processor 408 is control centers of terminal, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 402 and/or module is stored in by running or performing, and call the data be stored in storer 402, perform various function and the process data of terminal, thus integral monitoring is carried out to mobile phone.Optionally, processor 408 can comprise one or more process core; Preferably, processor 408 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 408.
Terminal also comprises the power supply 409 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 408 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 409 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 408 in terminal can according to following instruction, executable file corresponding for the process of one or more application program is loaded in storer 402, and the application program be stored in storer 402 is run by processor 408, thus realize various function:
The storage space of end of scan, to obtain the installation kit preserved in this storage space, determines the attribute information of this installation kit, and this attribute information comprises the mark of installation kit, mount message, version information and temporal information; If this mount message instruction installation kit had been mounted and/or this temporal information instruction installation kit has exceeded preset threshold value in the life period of storage space and/or determined to exist the legacy version installation kit of multiple different editions according to this version information and/or determine to there is the installation kit repeated according to this version information, then this installation kit is defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition; Generate according to this suggestion cleaning data acquisition and show cleaning information; When receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in this suggestion cleaning data acquisition.
Such as, the program unloading interface function that in this suggestion cleaning data acquisition, each junk data is corresponding can be called respectively, generate based on this program unloading interface function and show this cleaning information, wherein, this cleaning information at least comprises a cleaning and triggers key.
Then now, specifically may be used for when receiving the cleaning instruction that user is triggered by this cleaning triggering key, according to this cleaning instruction by program unloading interface function calling program unloading process, to delete all junk datas in this suggestion cleaning data acquisition.
Optionally, this cleaning information specifically triggers except key except comprising a cleaning, the data message of these junk datas can also be comprised, such as, the size of the number of installation kit, total size, each installation kit, installation kit title, download time and/or installation kit version etc., namely this processor 408 can also perform the instruction of following operation:
Determine the data message of this junk data, wherein, this data message comprises the number of installation kit, total size, the size of each installation kit, installation kit title, download time and/or installation kit version etc.
Certainly, this data message can also other information, such as, can comprise the evaluation situation of this installation kit, the comment content of such as evaluation score and/or online friend, etc., do not repeat them here.
Wherein, during concrete display, can arrange according to the pattern of hobby to display of the demand of practical application or user, such as, whole cleaning information contents can be shown, also can the cleaning information content of display section, or, only display one can also play frame, after user clicks, just show all or part of content of cleaning information, etc., do not repeat them here.
In addition, it should be noted that, when deleting these junk datas, first can obtain the store path of all junk datas, then delete successively, or, also can obtain store path one by one and delete, namely step " when receiving the cleaning instruction triggered according to this cleaning information, delete this suggestion cleaning data acquisition in all junk datas " specifically can be as follows:
When receiving the cleaning instruction triggered according to this cleaning information, obtaining the store path of all junk datas in suggestion cleaning data acquisition, deleting the data of this store path correspondence position successively.
Or, when receiving the cleaning instruction triggered according to this cleaning information, determine whether there is the junk data needing cleaning in suggestion cleaning data acquisition, if exist, then determine the current junk data needing cleaning, obtain the described current store path needing the junk data of cleaning, delete the data of described store path correspondence position, and return the operation performing and determine whether to there is the junk data needing cleaning in suggestion cleaning data acquisition.
Optionally, in order to improve the dirigibility of the program, user can also be allowed to modify to this suggestion cleaning data acquisition, and to confirm the installation kit needing to carry out clearing up further, namely this processor 408 can also perform the instruction of following operation:
Receive the amendment request that user inputs according to this cleaning information, upgrade described suggestion cleaning data acquisition according to this amendment request, obtain upgrading rear suggestion cleaning data acquisition.
Then now, step " when receiving the cleaning instruction triggered according to this cleaning information; delete all junk datas in this suggestion cleaning data acquisition " can comprise: when receiving the cleaning instruction triggered according to described cleaning information, deleting this renewal and advising afterwards clearing up all junk datas in data acquisition.
The concrete enforcement of each operation see embodiment above, can not repeat them here above.
As from the foregoing, the terminal of the present embodiment can by the storage space of scanning itself, obtain the installation kit preserved in this storage space, then according to the attribute information of this installation kit, as mark, mount message, version information and temporal information etc. determine whether it is junk data, such as, if this mount message instruction installation kit was mounted, and/or this temporal information instruction installation kit exceedes preset threshold value in the life period of described storage space, and/or determine according to this version information the legacy version installation kit that there is multiple different editions, and/or determine to there is the installation kit repeated according to this version information, then this installation kit can be defined as junk data, and the mark of this installation kit is added in suggestion cleaning data acquisition, subsequently, generate according to this suggestion cleaning data acquisition and show cleaning information, when receiving the cleaning instruction triggered according to this cleaning information, delete all junk datas in suggestion cleaning data acquisition, because the program can according to information such as the mount message of installation kit, version information and temporal informations as foundation, filter out unnecessary packet as junk data, and automatically remove, therefore, can only carry out screening and can only dispose for the scheme of mounted installation kit voluntarily by user relative in prior art, can cleaning efficiency be improved, improve cleaning effect, and can reduce because the generation of situation of deleting that causes of the maloperation of user by mistake.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
Above the method for cleaning of a kind of junk data that the embodiment of the present invention provides and system are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a method for cleaning for junk data, is characterized in that, comprising:
The storage space of end of scan, to obtain the installation kit preserved in described storage space;
Determine the attribute information of described installation kit, described attribute information comprises the mark of described installation kit, mount message, version information and temporal information;
If described mount message instruction installation kit had been mounted and/or described temporal information instruction installation kit has exceeded preset threshold value in the life period of described storage space and/or determined to exist the legacy version installation kit of multiple different editions according to described version information and/or determine to there is the installation kit repeated according to described version information, then described installation kit is defined as junk data, and the mark of described installation kit is added in suggestion cleaning data acquisition;
Generate according to described suggestion cleaning data acquisition and show cleaning information;
When receiving the cleaning instruction triggered according to described cleaning information, delete all junk datas in described suggestion cleaning data acquisition.
2. method according to claim 1, is characterized in that, described when receiving the cleaning instruction triggered according to described cleaning information, deletes all junk datas in described suggestion cleaning data acquisition, comprising:
When receiving the cleaning instruction triggered according to described cleaning information, obtain the store path of all junk datas in suggestion cleaning data acquisition;
Delete the data of described store path correspondence position successively.
3. method according to claim 1, is characterized in that, described when receiving the cleaning instruction triggered according to described cleaning information, deletes all junk datas in described suggestion cleaning data acquisition, comprising:
When receiving the cleaning instruction triggered according to described cleaning information, determine whether there is the junk data needing cleaning in described suggestion cleaning data acquisition;
If exist, then determine the current junk data needing cleaning, obtain the described current store path needing the junk data of cleaning, delete the data of described store path correspondence position, and return the step performing and determine whether to there is the junk data needing cleaning in described suggestion cleaning data acquisition.
4. the method according to any one of claims 1 to 3, is characterized in that, described generates according to described suggestion cleaning data acquisition and shows clear up information, comprising:
Call the program unloading interface function that in described suggestion cleaning data acquisition, each junk data is corresponding respectively;
Generate cleaning information based on described program unloading interface function, described cleaning information at least comprises a cleaning and triggers key;
Show described cleaning information;
Described when receiving the cleaning instruction triggered according to described cleaning information, delete all junk datas in described suggestion cleaning data acquisition, be specially: when receiving the cleaning instruction that user is triggered by described cleaning triggering key, according to described cleaning instruction by program unloading interface function calling program unloading process, to delete all junk datas in described suggestion cleaning data acquisition.
5. method according to claim 4, is characterized in that, described based on before described program unloading interface function generation cleaning information, also comprises:
Determine the data message of described junk data, described data message comprises the number of installation kit, total size, the size of each installation kit, installation kit title, download time and/or installation kit version;
Then also comprise described data message in described cleaning information.
6. the method according to any one of claims 1 to 3, is characterized in that, after the described cleaning information of described display, also comprises:
Receive the amendment request that user inputs according to described cleaning information;
Upgrade described suggestion cleaning data acquisition according to described amendment request, obtain upgrading rear suggestion cleaning data acquisition;
Described when receiving the cleaning instruction triggered according to described cleaning information, delete all junk datas in described suggestion cleaning data acquisition, being specially: when receiving the cleaning instruction triggered according to described cleaning information, deleting described renewal and advising afterwards clearing up all junk datas in data acquisition.
7. a cleaning system for junk data, is characterized in that, comprising:
Scanning element, for the storage space of end of scan, to obtain the installation kit preserved in described storage space;
Determining unit, for determining the attribute information of described installation kit, described attribute information comprises the mark of described installation kit, mount message, version information and temporal information;
Identifying unit, if to be mounted for described mount message instruction installation kit and/or described temporal information instruction installation kit has exceeded preset threshold value in the life period of described storage space and/or determined to exist the legacy version installation kit of multiple different editions according to described version information and/or determine to there is the installation kit repeated according to described version information, then described installation kit is defined as junk data, and the mark of described installation kit is added in suggestion cleaning data acquisition;
Generation unit, generates according to described suggestion cleaning data acquisition and shows cleaning information;
Delete cells, for when receiving the cleaning instruction triggered according to described cleaning information, deletes all junk datas in described suggestion cleaning data acquisition.
8. system according to claim 7, is characterized in that,
Described delete cells, specifically for when receiving the cleaning instruction triggered according to described cleaning information, obtaining the store path of all junk datas in suggestion cleaning data acquisition, deleting the data of described store path correspondence position successively.
9. system according to claim 7, is characterized in that,
Described delete cells, specifically for when receiving the cleaning instruction triggered according to described cleaning information, determine whether there is the junk data needing cleaning in suggestion cleaning data acquisition, if exist, then determine the current junk data needing cleaning, obtain the described current store path needing the junk data of cleaning, delete the data of described store path correspondence position, and return the step performing and determine whether to there is the junk data needing cleaning in suggestion cleaning data acquisition.
10. the system according to any one of claim 7 to 9, is characterized in that, described generation unit comprises prompting and generates subelement and display subelement;
Prompting generates subelement, for calling the program unloading interface function that in described suggestion cleaning data acquisition, each junk data is corresponding respectively, generate cleaning information based on described program unloading interface function, described cleaning information at least comprises a cleaning and triggers key;
Display subelement, for showing described cleaning information;
Described delete cells, specifically for when receiving the cleaning instruction that user is triggered by described cleaning triggering key, according to described cleaning instruction by program unloading interface function calling program unloading process, to delete all junk datas in described suggestion cleaning data acquisition.
11. systems according to claim 10, is characterized in that, described generation unit also comprises information determination subelement;
Information determination subelement, for determining the data message of described junk data, described data message comprises the number of installation kit, total size, the size of each installation kit, installation kit title, download time and/or installation kit version;
Described prompting generates subelement, for calling program unloading interface function corresponding to described junk data respectively, generates cleaning information based on described program unloading interface function, and described cleaning information comprises described data message and a cleaning triggers key.
12. systems according to any one of claim 7 to 9, is characterized in that, also comprise updating block;
Updating block, for receiving the amendment request that user inputs according to described cleaning information, upgrades described suggestion cleaning data acquisition according to described amendment request, obtains upgrading rear suggestion cleaning data acquisition;
Described delete cells, specifically for when receiving the cleaning instruction triggered according to described cleaning information, deleting described renewal and advising afterwards clearing up all junk datas in data acquisition.
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 true CN104572819A (en) 2015-04-29
CN104572819B 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)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
WO2016145804A1 (en) * 2015-08-03 2016-09-22 中兴通讯股份有限公司 Data processing and device
CN106227744A (en) * 2016-07-12 2016-12-14 努比亚技术有限公司 Terminal document managing device, terminal and terminal document management method
CN106293783A (en) * 2015-05-15 2017-01-04 腾讯科技(深圳)有限公司 The method for cleaning of a kind of installation kit and equipment
CN106301968A (en) * 2016-10-25 2017-01-04 广东欧珀移动通信有限公司 The processing method of a kind of terminal data, Apparatus and system
CN106557525A (en) * 2015-09-30 2017-04-05 北京金山安全软件有限公司 The method for cleaning of application program Stub File, device and electronic equipment
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal
CN106708847A (en) * 2015-11-12 2017-05-24 腾讯科技(深圳)有限公司 Screenshot file prompt method and device
CN106777286A (en) * 2016-12-29 2017-05-31 北京猎豹移动科技有限公司 A kind of method for cleaning and electronic equipment
CN109344128A (en) * 2018-10-31 2019-02-15 中国银行股份有限公司 A kind of history file method for cleaning and device based on ZOS platform
CN109343860A (en) * 2018-08-23 2019-02-15 腾讯科技(深圳)有限公司 A kind of method, apparatus, server and medium for clearing up Game patches
WO2019041826A1 (en) * 2017-08-28 2019-03-07 平安科技(深圳)有限公司 Breakpoint list cleaning method and apparatus, storage medium, and server
CN109472888A (en) * 2018-11-29 2019-03-15 上海与德通讯技术有限公司 Automobile data recorder, video recording delet method and storage medium for automobile data recorder

Citations (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
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Patent Citations (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
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103942067A (en) * 2014-03-31 2014-07-23 广东欧珀移动通信有限公司 Method and device for automatically cleaning up software installation package files through intelligent device

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293783A (en) * 2015-05-15 2017-01-04 腾讯科技(深圳)有限公司 The method for cleaning of a kind of installation kit and equipment
WO2016145804A1 (en) * 2015-08-03 2016-09-22 中兴通讯股份有限公司 Data processing and device
CN106557525A (en) * 2015-09-30 2017-04-05 北京金山安全软件有限公司 The method for cleaning of application program Stub File, device 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
CN106599017A (en) * 2016-10-20 2017-04-26 广州优视网络科技有限公司 Method and device for scanning and resolving installation packages, and mobile terminal
WO2018072430A1 (en) * 2016-10-20 2018-04-26 广州优视网络科技有限公司 Method for scanning and parsing installation package, apparatus, mobile terminal and machine-readable storage medium
CN106301968A (en) * 2016-10-25 2017-01-04 广东欧珀移动通信有限公司 The processing method of a kind of terminal data, Apparatus and system
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
WO2019041826A1 (en) * 2017-08-28 2019-03-07 平安科技(深圳)有限公司 Breakpoint list cleaning method and apparatus, storage medium, and server
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

Also Published As

Publication number Publication date
CN104572819B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN103500002B (en) The method of application program management, device and terminal unit
CN104135561B (en) A kind of flow based reminding method of terminal, device and terminal
CN106851654B (en) Pseudo base station identification method, pseudo base station identification device and terminal
CN104065982B (en) The method and apparatus of live streaming media
CN103279288B (en) Data transmission method, device and terminal unit
CN103530040B (en) Object element moving method, device and electronic equipment
CN104168340A (en) Domain name resolution method, server, terminal and system
CN103389863B (en) A kind of display control method and device
CN104951212B (en) Desktop data processing method, the device and system of a kind of mobile terminal
CN104618440A (en) Intelligent equipment control method and device
JP6461173B2 (en) Message withdrawal method and apparatus
CN103327102A (en) Application program recommending method and device
US20170371678A1 (en) Method and apparatus for running game client
CN103227855B (en) The vibration control method of mobile terminal and mobile terminal
CN103543913A (en) Terminal device operation method and device, and terminal device
CN103458016A (en) Method and device for picture management and terminal device
CN104915241B (en) A kind of virtual machine (vm) migration control method and device
CN103414766A (en) Method, device and terminal equipment for installing application
CN103501333A (en) Method, device and terminal equipment for downloading files
CN103544033B (en) Method, device and associated equipment for rolling back application program
CN104518953A (en) Message deleting method, instant messaging terminal and system
CN103327189B (en) Method and device for uploading, browsing and deleting pictures
CN105005909A (en) Method and device for predicting lost users
CN103530115B (en) Application program display method and device and terminal equipment
CN103929796A (en) Access point sharing method and device

Legal Events

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