CN104317628A - Mobile terminal and storage space cleaning method thereof - Google Patents

Mobile terminal and storage space cleaning method thereof Download PDF

Info

Publication number
CN104317628A
CN104317628A CN201410641626.0A CN201410641626A CN104317628A CN 104317628 A CN104317628 A CN 104317628A CN 201410641626 A CN201410641626 A CN 201410641626A CN 104317628 A CN104317628 A CN 104317628A
Authority
CN
China
Prior art keywords
catalogue
cleaning
data
storage space
directory
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.)
Pending
Application number
CN201410641626.0A
Other languages
Chinese (zh)
Inventor
贾俊涛
肖文峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410641626.0A priority Critical patent/CN104317628A/en
Publication of CN104317628A publication Critical patent/CN104317628A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a mobile terminal and a storage space cleaning method thereof. The storage space cleaning method includes that acquiring directory information in a storage space; confirming directories matched with directories in a pre-stored directory list to be cleaned from the directory information, wherein the directory list further records the corresponding cleaning strategy of the directory; if the confirmed directory cleaning strategy is an effective cleaning strategy, confirming obsolete files under the directory according to the time stamp of each file under the strategy and the effective time length in the cleaning strategy, and cleaning. The storage space cleaning method can identify and clean the scratch files which surpass the effective time length so as to clean more files capable of being cleaned in the storage space, and accordingly the use efficiency of the storage space is improved, and the user experience is improved.

Description

Mobile terminal and storage space method for cleaning thereof
Technical field
The present invention relates to mobile terminal technology, specifically, the present invention relates to mobile terminal and storage space method for cleaning thereof.
Background technology
Along with the development of mobile terminal technology, the program be installed on mobile terminal gets more and more; Many programs usually can buffer memory is a large amount of on mobile terminals the content such as word, picture in operational process, is used for lifting program operating rate or realize some function of program.But the cache file that program produces is deposited in CACHE DIRECTORY usually, takies storage spaces a large amount of in mobile terminal, is necessary to clear up storage space.
Existing storage space method for cleaning, normally scans the storage space in mobile terminal, being for cleaning or not for the catalogue of cleaning, clearing up scanning catalog recognition for the catalogue for cleaning.
But the present inventor finds, in actual applications, in the catalogue for cleaning adopting existing storage space method for cleaning to identify, still there is much actual files that can carry out clearing up.The files such as the picture file that such as newsreader was downloaded before 3 days and the chat record that text file, chatting programme produced before 1 month, usual user can not read again, browse.Therefore, existing storage space method for cleaning, garbage-cleaning efficiency is lower, still can not discharge storage space to a greater extent, reduces the service efficiency of the storage space of mobile terminal, reduces Consumer's Experience.
Therefore, be necessary the storage space method for cleaning that a kind of mobile terminal is provided, cleared up to identify the file more can cleared up, thus improve the service efficiency of storage space, improve Consumer's Experience.
Summary of the invention
Object of the present invention is intended at least solve one of above-mentioned technological deficiency, particularly identifies the file more can cleared up and is cleared up, thus improves the service efficiency of storage space, improves Consumer's Experience.
The invention provides a kind of storage space method for cleaning of mobile terminal, comprising:
Obtain the directory information in storage space;
From described directory information, determine and the described catalogue matched for the catalogue of clearing up in the directory listing prestored; Wherein, in described directory listing, the corresponding catalogue recorded also records the Prune Policies of this catalogue;
If the Prune Policies of the catalogue determined is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration that this Prune Policies indicates, under determining this catalogue, stale file is cleared up.
Preferably, in described directory listing, the corresponding catalogue recorded also records the data category of this catalogue;
Wherein, the data category of the catalogue recorded in described directory listing comprises:
System disk junk data, ad data, installation kit data, unloading residual data or large file.
Further, described determine with the described catalogue matched for the catalogue of clearing up in the directory listing prestored after, also comprise:
For the catalogue determined, after sorting out by data category belonging to it, demonstrate the size of the catalogue of each data category at display interface, and in described catalogue, the size of data is cleared up in suggestion.
Preferably, be the catalogue of validity cleaning for Prune Policies, calculate the size of suggestion cleaning data in described catalogue according to following method:
By the summation of the size of file stale under this catalogue, as the size of suggestion cleaning data in described catalogue.
Preferably, the directory information in described acquisition storage space, specifically comprises:
Bibliographic structure in described storage space is scanned;
Compare scanning the directory information obtained with the catalogue in the local blacklist stored;
Using the information of the catalogue outside described blacklist as the directory information got;
Wherein, the catalogue in described blacklist comprises: the catalogue that system directory, user create.
Preferably, the directory information in described acquisition storage space, specifically comprises:
Bibliographic structure in described storage space is scanned;
For each catalogue scanned, the timestamp of this catalogue recorded in the timestamp of this catalogue read in present scan process and last scan process is compared; If different, then obtain the directory information of this catalogue.
Preferably, described directory listing is downloaded from server in advance and is obtained.
Preferably, described directory listing obtains according to following method:
Described server is for several program, and in program operation process, analog subscriber operates, and utilizes sandbox technology, records the directory information of the catalogue that cache file that each program produces is deposited;
Described server generates described directory listing according to the directory information of record.
Preferably, described directory listing obtains according to following method:
Multiple mobile terminal being provided with program operation monitoring program, when program in program operation monitoring program monitoring to this mobile terminal creates unacquainted catalogue in operational process, the directory information of this catalogue is carried in catalogue report and uploads onto the server;
Described server generates described directory listing according to the directory information in catalogue report.
Preferably, described storage space is specially the internal memory of described mobile terminal or the storage space of SD card.
Further, during directory information in described acquisition storage space, also comprise:
After receiving scan instruction, carry out the cleaning data scanning of internal memory, nonvolatile storage space simultaneously;
Periodically according to the progress of the cleaning data scanning of internal memory, and the progress of the cleaning data scanning of nonvolatile storage space, calculate overall progress;
On display interface, carry out the progress display of progress announcer according to described overall progress, and according in the cleaning data scanning process of described nonvolatile storage space, the size of the current cleaning data scanned, shows the color of described progress announcer.
Further, the storage space method for cleaning of mobile terminal, also comprises:
After the cleaning data scanning of described internal memory, nonvolatile storage space completes, at described display interface display " a key cleaning " button, and " cleaning data details are checked " button.
Further, the storage space method for cleaning of mobile terminal, also comprises:
After the click event receiving " cleaning data details are checked " button, in described display interface, show below the data of at least one classification:
Internal storage data, data cached, system disk junk data, ad data, installation kit data, unloading residual data, large file; And described method also comprises:
The data of corresponding every kind, also show the size of the cleaning data of the suggestion cleaning of such other data, and " expansion " button.
Further, during directory information in described acquisition storage space, also comprise:
According to operating the call instruction produced to the first suspended window, call the second suspended window;
Receive and the cleaning instruction produced is operated to described second suspended window;
According to described cleaning instruction, file is cleared up.
Preferably, the content that described first suspended window is shown is:
Current memory occupancy; Or
The cleaning of file clean-up that needs of current memory occupancy and detection is pointed out.
Preferably, the display state of the second suspended window called be following any one:
When described first suspended window is memory usage displaying, the second suspended window display conventional interface;
When described first suspended window is memory usage and cleaning prompting shows, the second suspended window shows conventional interface and conventional interface increases cleaning prompting region.
Preferably, described second suspended window comprises internal memory acceleration interface, cleaning interface and conventional interface;
Wherein, described internal memory accelerates interface and comprises initial sub-interface and complete sub-interface, and initial sub-interface is for showing current memory occupancy, and which is provided with to click and accelerate functionality controls, this control is used for having called sub-interface;
Described cleaning interface comprises the sub-interface of scanning, stops the sub-interface of scanning, clears up sub-interface and cleared up sub-interface, scan sub-interface, stop the sub-interface of scanning, clear up and sub-interface is respectively equipped with scan function control, stops scan function control, a key clearing function control, scan function control is used for calling the sub-interface of stopping scanning, stop scan function control to be used for calling the sub-interface of cleaning, a key clearing function control is used for calling has cleared up sub-interface;
Described conventional interface comprises from opening management function control, unloading prepackage functionality controls, privacy clearing function control, game/video acceleration functionality controls, software offloading functions control and timing clearing function control;
Described internal memory accelerates the conventional interface that interface is the second suspended window, and described cleaning prompting region is control regions, and is provided with and points out official documents and correspondence accordingly.
Present invention also offers a kind of mobile terminal, comprising:
Directory information acquisition module, for obtaining the directory information in storage space;
Catalogue comparing module, from described directory information, determines and the described catalogue matched for the catalogue of clearing up in the directory listing prestored; Wherein, in described directory listing, the corresponding catalogue recorded also records the Prune Policies of this catalogue;
Cleaning data determining module, if the Prune Policies of the catalogue determined for described catalogue comparing module is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration of this Prune Policies instruction, under determining this catalogue, stale file is cleaning data;
Cleaning module, for clearing up the cleaning data determined.
Preferably, in described directory listing, the corresponding catalogue recorded also records the data category of this catalogue;
Wherein, the data category of the catalogue recorded in described directory listing comprises:
System disk junk data, ad data, installation kit data, unloading residual data or large file.
Further, described mobile terminal, also comprises: display module; And
The catalogue of described cleaning data determining module also for determining for described catalogue comparing module, sort out by data category belonging to it, and be the catalogue that validity is cleared up for Prune Policies, the summation of the size of stale file under calculating this catalogue, as the size of suggestion cleaning data in this catalogue; And according to categorization results, calculate the size of the catalogue of each data category, and in the catalogue of each data category, the size of data is cleared up in suggestion; And
Described display module is used for the categorization results obtained according to described cleaning data determining module, demonstrates the size of the catalogue of each data category at display interface, and in described catalogue, the size of data is cleared up in suggestion.
Preferably, described directory information acquisition module is specifically for scanning the bibliographic structure in described storage space; Compare scanning the directory information obtained with the catalogue in the local blacklist stored; Using the information of the catalogue outside described blacklist as the directory information got; Wherein, the catalogue in described blacklist comprises: the catalogue that system directory, user create.
Preferably, described directory information acquisition module is specifically for scanning the bibliographic structure in described storage space; For each catalogue scanned, the timestamp of this catalogue recorded in the timestamp of this catalogue read in present scan process and last scan process is compared; If different, then obtain the directory information of this catalogue.
Further, described directory information acquisition module is also for before obtaining the directory information in storage space, when monitoring the program in this mobile terminal and create unacquainted catalogue in operational process, the directory information of this catalogue is carried in catalogue report and uploads onto the server; And download described directory listing in advance from described server; Wherein, described directory listing is that described server is according to described catalogue report generation.
In the scheme of the present embodiment, mobile terminal is according to the catalogue of the wish cleaning recorded corresponding in directory listing and Prune Policies, from the storage space of this mobile terminal, can identify such as because timestamp exceedes effective duration and expired file apart from the current time that this is cleared up, and cleared up; Reach the object of the file more can cleared up in cleaning storage space, thus more storage space can be discharged, improve the service efficiency of storage space, improve Consumer's Experience.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 a is the schematic flow sheet of the storage space method for cleaning of the mobile terminal of the embodiment of the present invention
Fig. 1 b, Fig. 1 c are respectively rubbish scanning display interface schematic diagram, the rubbish scanning result display interface schematic diagram of the embodiment of the present invention;
Fig. 2 is the configuration diagram of the inner structure of the mobile terminal of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the scan method of storage space in the mobile terminal of the embodiment of the present invention;
Fig. 4, Fig. 5 are respectively the schematic flow sheet of the method for two kinds of cleaning cache files of the embodiment of the present invention;
Fig. 6 a is the schematic flow sheet of the cleaning data one-key scan method of the storage space of the embodiment of the present invention;
Fig. 6 b ~ Fig. 6 h is the interface schematic diagram in a key scanning process of the embodiment of the present invention;
Fig. 7, Fig. 8 are respectively two kinds of schematic flow sheets based on the file clean-up method of suspended window of the embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in instructions of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " mobile terminal " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissive ability, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can carry out the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication facilitiess, its honeycomb or other communication facilities of having single line display or multi-line display or not having multi-line display; PCS (Personal Communications Service, PCS Personal Communications System), it can combine voice, data processing, fax and/or its communication ability; PDA (Personal Digital Assistant, personal digital assistant), it can comprise radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (Global Positioning System, GPS) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " mobile terminal " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " mobile terminal " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (Mobile Internet Device, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
The present inventor considers, the ageing stronger files such as the file that such as newsreader is downloaded or the chat record of chatting programme, when the time of the timestamp distance current time of these files is longer, usually can not be called by user again or be checked, therefore, these files can be cleared up as garbage files.
The method of the embodiment of the present invention is applicable to the cleaning of intelligent terminal cache file, the especially cleaning of cache file in mobile terminal.First intelligent terminal obtains cache information and original information, below for the file of particular type, is described cache file information and original information.
A. application program
Application program, in operation or installation process, can produce corresponding cache file, make application program when follow-up operation, not need to resolve again, thus improves the travelling speed of application program.
The application scenarios of the present embodiment method is, when the improper unloading of application program, its some cache file corresponding still exists, due to None-identified cleaning, make these cache files take spatial cache always, if this type of cache file is too much, the performance of intelligent terminal can be affected, reduce Consumer's Experience.
Therefore, the identification for application program invalid cache file is cleared up, and cache information is virtual machine buffer memory bag name, i.e. the bag name of virtual machine cache file, and original information is installation file bag name, is generally the bag name of each file in installation file list.
B. picture
The buffer memory of picture is thumbnail, can realize the fast browsing to picture by thumbnail.
Based on above-mentioned analytic explanation, in the inventive solutions, determine from the catalogue depositing above-mentioned ageing stronger file and the catalogue matched for the catalogue of clearing up of collecting in advance, and then determine the Prune Policies corresponding with the catalogue for clearing up, according to effective duration that this Prune Policies indicates, from the catalogue matched, identify timestamp clear up apart from the modern file exceeding effective duration.Thus, the file that more can carry out clearing up can be identified cleared up from storage space, improve the service efficiency of storage space, improve Consumer's Experience.
In the technical scheme of the embodiment of the present invention, the database of the list that creaties directory in technician's server beyond the clouds, wherein, the Prune Policies that in directory listing, corresponding record has the catalogue for clearing up and matches with the catalogue for clearing up.
The Prune Policies of the catalogue recorded in directory listing can comprise several as follows:
Clear up completely, by this catalogue, and all catalogues in this catalogue and file all carry out cleaning and delete.
Validity is cleared up, and is specially the file to exceeding effective duration in this catalogue, and namely stale file carries out cleaning deletion.
Careful cleaning, namely to user point out the risk that performs cleaning and after the instruction of determination cleaning receiving user, all catalogues in this catalogue and file carried out to cleaning deletion.
Part cleaning, namely to being designated the catalogue of clearing up completely in this catalogue or file carries out cleaning deletion; To the catalogue or the file that are designated careful cleaning in this catalogue, after the instruction of determination cleaning receiving user, carry out cleaning delete; To the catalogue or the file that are not designated cleaning or careful cleaning completely in this catalogue, do not carry out cleaning and delete.
More preferably, in the directory listing of the embodiment of the present invention, the corresponding catalogue for cleaning recorded also records the data category of the catalogue of this wish cleaning.The data category of catalogue comprises: system disk junk data, buffer memory junk data, ad data, installation kit data, unloading residual data and large file.
In fact, the catalogue for cleaning that embodiments of the invention are described in the directory listing of server can adopt following several method to collect:
Wherein, a kind of collection method of directory listing, namely server by utilizing sandbox creaties directory the method for database of list, specifically comprises: server obtains various program by number of ways (such as mobile phone assistant, application market etc.); Sandbox is created, with the running environment of generator program in book server; For several program, in program operation process, analog subscriber operates, and utilizes sandbox technology, records the directory information of the catalogue that cache file that each program produces is deposited; Mate suitable Prune Policies to the directory information of record; According to the directory information recorded and the Prune Policies matched with it, generate directory listing.The directory information of catalogue can comprise: the path of catalogue and title; In addition, the directory information of catalogue can also comprise: the size in the version number of catalogue, timestamp and shared space.
Above-mentionedly utilize sandbox technology, when recording the directory information of the catalogue that cache file that each program produces is deposited, the static nature of all right routine analyzer, the icon, size, CRC (Cyclic Redundancy Check, cyclic redundancy check (CRC)) code etc. of such as program.
Further, by the digital signature of the file of proving program, signature string is obtained, signature time, the term of validity of signing certificate, the information such as the issuer of signing certificate; Operation personnel screens according to certain rule (such as, be whether the signature string of regular company, whether have malice sample etc. in the historical sample signed and issued of this digital signature) these signing messages, finds out believable digital signature; The file that these believable digital signature are signed and issued is indexed in trusted file database by automatic flow, or under being indexed to the corresponding catalogue in directory listing.
Above-mentioned collection method can collect the CACHE DIRECTORY that multiple programs produces in operational process on the server automatically, because CACHE DIRECTORY belongs to the catalogue for cleaning, therefore with artificially collect compared with catalogue, greatly improve the collection efficiency for the catalogue of cleaning and quantity on the whole; Be conducive to the catalogue for cleaning according to automatical and efficient collection, the storage space of mobile terminal cleared up, the service efficiency of storage space can be improved, improve the experience of user.
In addition, the another kind of collection method of directory listing, namely server and multiple mobile terminal utilize exchange technology to create directory the data base method of list, specifically comprise: the directory information of this catalogue, when the program in this mobile terminal that monitors creates unacquainted catalogue in operational process, is carried in catalogue report and uploads onto the server by multiple mobile terminal; The suitable Prune Policies of server matches is to the directory information in catalogue report; According to the directory information matched and Prune Policies, generate directory listing.
In actual applications, by the method for the mutual collection directory listing between server and mobile terminal, except automatically can collecting CACHE DIRECTORY that multiple programs produces in operational process, automatically the catalogue such as depositing the files such as promotional literature, installation kit file, upgrade file or large files can also be collected in mobile terminal, the more catalogue for cleaning can be identified, thus improve the collection efficiency of the catalogue for cleaning.
Mobile terminal, after the server download directory list in high in the clouds, can adopt method flow as shown in Figure 1a, clear up, specifically comprise the steps: the storage space of this mobile terminal
S101: the directory information in the storage space of this mobile terminal of acquisition for mobile terminal.
Particularly, when user is by clicking the scanning button on display interface, mobile terminal confirms to receive scan instruction, triggers the operation that scans the storage space of this mobile terminal and enters rubbish scanning display interface; As Fig. 1 b shows a kind of rubbish scanning display interface.The storage space of mobile terminal can be the storage space in the memory storages such as SD (Secure Digital memory, the data accumulating body of safety) card, micro SD card, also can be the internal memory in mobile terminal.
Mobile terminal, according to scan instruction, scans the bibliographic structure in storage space, obtains the directory information of the catalogue in storage space.The directory information of catalogue can comprise: the path of catalogue and title; In addition, the directory information of catalogue can also comprise: the size in the version number of catalogue, timestamp and shared space.
Preferably, when mobile terminal scans the bibliographic structure in the storage space of this mobile terminal, for the catalogue that Current Scan arrives, the directory information recorded in the directory information of this catalogue and local blacklist can be compared, judge the directory information that whether there is this catalogue in the local blacklist stored: the directory information if so, then not obtaining the catalogue of Current Scan; Otherwise, obtain the directory information of the catalogue of Current Scan.Wherein, specifically can comprise in blacklist: the information etc. of the catalogue that the information of system directory, user create.
Preferably, when mobile terminal scans the bibliographic structure in the storage space of this mobile terminal, for the catalogue that Current Scan arrives, read the current time stamp of the catalogue that this scans, and compare with the timestamp of this catalogue that records in last scan process; If two timestamps are inconsistent, then obtain the directory information of the catalogue of Current Scan; If two timestamps are consistent, then do not obtain the directory information of the catalogue of Current Scan.
More preferably, mobile terminal can carry out cache sweep to the catalogue that directories deep in the spatial cache of storage space is no more than the first setting level (such as 10 layers), obtain cache file, the program depositing such as system disk cache file, program and produce remove after the directory information of catalogue of the garbage files such as Stub File, promotional literature.
More preferably, mobile terminal can carry out scan full hard disk to the catalogue that directories deep all in storage space are no more than the second setting level (such as 4 layers), to obtain the directory information of the catalogue depositing installation kit file (file of such as expansion APK by name) or large files (being such as greater than the file of 10MB).
Further, if mobile terminal scans installation kit file or large files in cache sweep process, then record is carried out to this installation kit file or large files mark, and in scan full hard disk, skip the scanning to the installation kit file recorded or large files, to accelerate whole scanning process.
Further, for the file of system, do not comprise the file of User Catalog, in the process of scanning, safety skips.Pass through file size at server end in advance, filename, fileversion number etc. determine whether it is the file that system directory is corresponding, if match any one in three wherein, then illustrate relevant with system file, also can use which first record, then scan.
S102: mobile terminal, from the directory information obtained, is determined and the described catalogue matched for the catalogue of clearing up in the directory listing prestored.
Particularly, mobile terminal is for the directory information of each catalogue obtained in step S101, if the directory listing can downloaded from server, find out the catalogue for clearing up that directory information is consistent with the directory information of this catalogue, then this catalogue is designated the catalogue for cleaning.
S103: if the Prune Policies of catalogue that mobile terminal is determined is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration that this Prune Policies indicates, under determining this catalogue, stale file is cleared up.
Particularly, mobile terminal is for each catalogue be designated for cleaning, find out should for the Prune Policies of catalogue of cleaning from directory listing, the Prune Policies found out if determine is validity cleaning, then determine that timestamp distance current time exceedes the file of effective duration that this Prune Policies indicates under this catalogue, carries out garbage-cleaning as file stale under this catalogue.
Such as, if mobile terminal determines that effective duration that the Prune Policies of the catalogue depositing newsreader download file indicates the file in this catalogue is all 3 days, then mobile terminal is by timestamp in this catalogue apart from the file of current time more than 3 days, carries out cleaning delete as stale garbage files.
For another example, if mobile terminal determines that effective duration that the Prune Policies of the catalogue of the chat record depositing chatting programme indicates the chat record in this catalogue is all 1 month, then mobile terminal is by timestamp apart from the chat record of current time more than 1 month, carries out cleaning delete as stale garbage files.
Preferably, mobile terminal, for each catalogue be designated for cleaning, finds out the data category corresponding to the catalogue of this wish cleaning and Prune Policies from directory listing, and sorts out each catalogue for cleaning according to data category.
And, mobile terminal is for the catalogue for cleaning of each data category, count the size taken up space for the catalogue of cleaning of this data category, and count the size of suggestion cleaning data in the catalogue of this data category, and each size for suggestion cleaning data in the catalogue of cleaning; By the size of the catalogue of each data category counted after sorting out, respectively to show in display interface for the size of suggestion cleaning data in the catalogue of cleaning.The wherein size of the suggestion cleaning data size that can be specifically Prune Policies for the catalogue of clearing up completely and file take up space.
Such as, display interface is specially rubbish scanning result display interface as illustrated in figure 1 c, and " the system disk rubbish ", " buffer memory " that shows in this interface, " unloading is residual ", " advertisement ", " installation kit " and " large files " represent that data category is the catalogue for cleaning of system disk junk data, buffer memory junk data, unloading residual data, ad data, installation kit data and large file respectively.And, corresponding " system disk rubbish ", " buffer memory ", " unloading is residual ", " advertisement ", " installation kit " and " large files ", show the size of respective suggestion cleaning data: " 100MB ", " 40MB ", " 20MB ", " 10MB ", " 10MB " and " 0MB " respectively." 200MB " that show in this interface represents each size for suggestion cleaning data in the catalogue of cleaning.
More preferably, mobile terminal is the catalogue of validity cleaning for Prune Policies, by the summation of the size of file stale under this catalogue, as the size of suggestion cleaning data in this catalogue.
Further, mobile terminal for each catalogue be designated for cleaning, according to go out find out from directory listing, corresponding to the data category of catalogue of this wish cleaning and Prune Policies, determine the Prune Policies of catalogue for clearing up of each data category; Afterwards, for the catalogue for cleaning of each data category, to the catalogue of data category showing its Prune Policies in display interface.
Such as, mobile terminal is for " the system disk rubbish " that shows in rubbish scanning result display interface as illustrated in figure 1 c, for the catalogue that the data category represented by " system disk rubbish " is system disk junk data, if the Prune Policies of each catalogue is suggestion cleaning in such catalogue, then determine that the Prune Policies of such catalogue is for suggestion cleaning, and the suggestion determined cleaning is shown with the form (namely showing in tick boxes hook) corresponding " system disk rubbish " that tick boxes is selected.
For another example, mobile terminal is for " buffer memory " that show in rubbish scanning result display interface as illustrated in figure 1 c, for the catalogue that the data category represented by " buffer memory " is buffer memory junk data, if the Prune Policies of a part of catalogue or file is suggestion cleaning in this catalogue, and the Prune Policies of another part catalogue or file is careful cleaning, then determine that the Prune Policies of such catalogue is for part cleaning, and the part determined cleaning is shown with the form of the intermediate state of tick boxes (namely showing the square colored in tick boxes) corresponding " buffer memory ".
When user clicks display interface (such as, rubbish scanning result display interface as illustrated in figure 1 c) in cleaning button time, mobile terminal confirms to receive cleaning instruction, can carry out garbage-cleaning according to the corresponding Prune Policies of catalogue for cleaning of each data category.
Based on the storage space method for cleaning of above-mentioned mobile terminal, the block schematic illustration of the inner structure of the mobile terminal of the embodiment of the present invention as shown in Figure 2, comprising: directory information acquisition module 201, catalogue comparing module 202, cleaning data determining module 205 and cleaning module 203.
Directory information acquisition module 201 is for obtaining the directory information in storage space.
Particularly, directory information acquisition module 201 is for scanning the bibliographic structure in the storage space of mobile terminal; Compare scanning the directory information obtained with the catalogue in the local blacklist stored; Using the information of the catalogue outside blacklist as the directory information got; Wherein, the catalogue in blacklist comprises: the catalogue that system directory, user create.
Or directory information acquisition module 201 is for scanning the bibliographic structure in the storage space of mobile terminal; For each catalogue scanned, the timestamp of this catalogue recorded in the timestamp of this catalogue read in present scan process and last scan process is compared; If different, then obtain the directory information of this catalogue.
More excellent, directory information acquisition module 201 is also for before obtaining the directory information in storage space, when monitoring the program in this mobile terminal and create unacquainted catalogue in operational process, the directory information of this catalogue is carried in catalogue report and uploads onto the server; And from server download directory list in advance; Wherein, directory listing is that server is according to catalogue report generation.
Catalogue comparing module 202 for from the directory information of storage space, is determined and the described catalogue matched for the catalogue of clearing up in the directory listing prestored; Wherein, in directory listing, the corresponding catalogue recorded also records the Prune Policies of this catalogue; Directory listing is downloaded from server in advance and is obtained.Further, in directory listing, the corresponding catalogue recorded also records the data category of this catalogue; Data category comprises: system disk junk data, ad data, installation kit data, unloading residual data or large file.
If the Prune Policies of the catalogue that cleaning data determining module 205 is determined for catalogue comparing module 202 is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration of this Prune Policies instruction, under determining this catalogue, stale file is cleaning data.
Cleaning module 203 is cleared up for the cleaning data determined cleaning data determining module 205.
More preferably, also comprise in the mobile terminal of the embodiment of the present invention: display module 204.
Preferably, the catalogue of cleaning data determining module 205 also for determining for catalogue comparing module 202, sort out by data category belonging to it, and be the catalogue that validity is cleared up for Prune Policies, the summation of the size of stale file under calculating this catalogue, as the size of suggestion cleaning data in this catalogue; And according to categorization results, calculate the size of the catalogue of each data category, and in the catalogue of each data category, the size of data is cleared up in suggestion.
Display module 204, for the categorization results obtained according to cleaning data determining module 205, demonstrates the size of the catalogue of each data category at display interface, and in described catalogue, the size of data is cleared up in suggestion.
In the technical scheme of the embodiment of the present invention, directory information acquisition module 201, catalogue comparing module 202, the concrete methods of realizing cleared up module 203, clear up the function of data determining module 205 and display module 204, with reference to the particular content of above-mentioned method flow step as shown in Figure 1, can repeat no more herein.
More excellent, in order to accelerate the process of the directory information obtained in above-mentioned steps S101 in storage space, the embodiment of the present invention additionally provides a kind of scan method of storage space, and the schematic flow sheet of the method as shown in Figure 3, comprises the steps:
S301: when scanning storage space, reads the current time stamp of current catalogue to be scanned.
Particularly, in the process that the storage space of mobile terminal to this mobile terminal scans, for current catalogue to be scanned, read the current time stamp of this catalogue.
Wherein, the storage space of mobile terminal can be specially the internal memory in the storage space of nonvolatile memory or mobile terminal.Nonvolatile memory specifically comprises: EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, SD (Secure Digital Memory, secure digital memory body) card, micro SD card, memory stick, micro hard disk and solid state hard disc etc.
Preferably, mobile terminal, when scanning storage space, for current catalogue to be scanned, determines the quantity of the file under this catalogue; When determining that the quantity of the file under this catalogue exceedes setting threshold value (such as 2000), read the current time stamp of this catalogue.
S302: for current catalogue to be scanned, the timestamp of this catalogue described in the current time of this catalogue read stamp and scanning being recorded compares, and whether both judgements are consistent, if so, then perform step S303; Otherwise, perform step S306.
Particularly, mobile terminal, for current catalogue to be scanned, finds the timestamp of this catalogue from scanning record, the current time of this catalogue read in the timestamp found and step S301 is stabbed and compares, whether both judgements are consistent, if so, then perform step S303; Otherwise, perform step S306.
Wherein, the timestamp of catalogue recorded in scanning record is that mobile terminal obtains and to should catalogue be recorded to during scanning records in last scan process.
In addition, mobile terminal, for current catalogue to be scanned, if do not find the timestamp of this catalogue from scanning record, then performs step S306.
S303: for current catalogue to be scanned, identifies whether this catalogue is bottom catalogue; If so, step S304 is performed; Otherwise, perform step S305.
S304: for the catalogue being identified as bottom catalogue, skips the scanning to this catalogue, and the information of this catalogue will obtained in last scan process, the information as this catalogue obtained in present scan process carries out record.
Particularly, mobile terminal, for the catalogue being identified as bottom catalogue, skips the scanning to this catalogue, and the information of this catalogue will obtained in last scan process, the information as this catalogue obtained in present scan process carries out record.
The information of catalogue can comprise title and the path of this catalogue; In addition, the information of catalogue can also comprise: the size in the version number of this catalogue, timestamp and shared space, and the title of file in this catalogue, version number, timestamp and shared space size.
S305: for the catalogue being identified as non-bottom catalogue, according to the timestamp of sub-directory under this catalogue, determines the scanning of whether skipping sub-directory under this catalogue.
Particularly, mobile terminal is for the catalogue being identified as non-bottom catalogue, and under this catalogue of continuation acquisition, the current time of each sub-directory is stabbed; For each sub-directory, in the current time of this sub-directory stamp and scanning being recorded, the timestamp of this sub-directory compares; According to comparative result, determine whether to skip specifically to comprise the scanning of this sub-directory:
If if mobile terminal judges that comparative result is consistent, and this sub-directory is bottom catalogue, then skip the scanning to this sub-directory, and the information of this sub-directory will obtained in last scan process, the information as this sub-directory obtained in present scan process carries out record.
If mobile terminal judges that comparative result is inconsistent, then scan this sub-directory, the information of this sub-directory obtained by present scan carries out record.
If mobile terminal judges that comparative result is consistent, and this sub-directory is non-bottom catalogue, then foundation same method is according to the timestamp of each catalogue under this sub-directory, determines the scanning of whether skipping each catalogue under this sub-directory.
Preferably, mobile terminal is for the catalogue current to be scanned being identified as non-bottom catalogue, the level of this catalogue can also be determined, and the current time of each sub-directory is stabbed under determining whether continue to obtain this catalogue according to the level of this catalogue: if the level of this catalogue is less than default number of levels (such as 10 layers), then under this catalogue of continuation acquisition, the current time of each sub-directory is stabbed; Otherwise, the current time stamp of each sub-directory under not continuing to obtain this catalogue.
S306: the inconsistent or Unrecorded current catalogue to be scanned of timestamp for timestamp, scan this catalogue, the information of this catalogue obtained by present scan carries out record.
Particularly, mobile terminal is for current catalogue to be scanned, if judge in step s 302, the timestamp of this catalogue found out from scanning record stabs different from the current time of this catalogue read in step S301, then in this step, the current time of this catalogue stamp is replaced the timestamp of this catalogue recorded in scanning record, and this catalogue is scanned, the information of this catalogue obtained by present scan carries out record.
Or, mobile terminal is for current catalogue to be scanned, from scanning record, the timestamp of this catalogue is not found if judge in step s 302, then in this step, the current time of this catalogue read in step S301 stamp is deposited in scanning record, and this catalogue is scanned, the information of this catalogue obtained by present scan carries out record.
In addition, the embodiment of the present invention also provides the method for several cleaning cache file, wherein a kind of schematic flow sheet clearing up the method method of cache file, as described in Figure 4, comprises the following steps:
S401, obtains cache information and the original information corresponding with cache information.
The method of this method is applicable to the cleaning of intelligent terminal cache file, the especially cleaning of cache file in mobile terminal.First intelligent terminal obtains cache information and original information, below for the file of particular type, is described cache file information and original information.
A. application program
Application program, in operation or installation process, can produce corresponding cache file, make application program when follow-up operation, not need to resolve again, thus improves the travelling speed of application program.
The application scenarios of this method method is, when the improper unloading of application program, its some cache file corresponding still exists, due to None-identified cleaning, make these cache files take spatial cache, if this type of cache file is too much always, the performance of intelligent terminal can be affected, reduce Consumer's Experience.
Therefore, the identification for application program invalid cache file is cleared up, and cache information is virtual machine buffer memory bag name, i.e. the bag name of virtual machine cache file, and original information is installation file bag name, is generally the bag name of each file in installation file list.
B. picture
The buffer memory of picture is thumbnail, can realize the fast browsing to picture by thumbnail.
The application scenarios of this method method is, when former picture does not exist, if its corresponding thumbnail is not cleared up in time, can take spatial cache, affect the performance of intelligent terminal.
Therefore, identification for picture invalid cache file is cleared up, cache information is thumbnail information, be specially the information in thumbnails table in database, original information is be the former figure information of mapping relations with thumbnail information, the information namely in database in picture table (image table).
S402, mates cache information with original information.
In conjunction with the analysis of above-mentioned A, B two kinds of scenes, can be two objects that there is corresponding relation by cache information and original comprehension of information, in theory, cache information and original information should keep corresponding relation each other, if one cache information cannot be corresponding with all original information, just this cache information can be considered as object for clearance in this case.
Identification for application program invalid cache file is cleared up, virtual machine buffer memory Bao Mingyu installation file bag name is mated, when the file bag name of virtual machine buffer memory Bao Mingzhong is when the coupling of installation file Bao Mingzhong is less than file bag name corresponding thereto, this cache file corresponding to file bag name is invalid cache file.
Be specially, bag name in Bao Mingyu in .dex file installation file list is mated, when the file bag name in .dex file can not find file bag name corresponding thereto in installation file list, illustrate that this file corresponding to file bag name is not in installment state, therefore, the cache file of this file bag name correspondence is invalid cache file.
Identification for picture invalid cache file is cleared up, thumbnail information is mated with former figure information, when the fileinfo in thumbnail information mates less than fileinfo corresponding thereto in former figure information, the cache file that this fileinfo is corresponding is invalid cache file.
Be specially, information in information in thumbnails table being shown with image is mated, and when the ID in thumbnails table can not find ID corresponding thereto in image table, illustrates that the picture file corresponding to this ID is deleted, therefore, the thumbnail that this ID is corresponding is invalid thumbnail.
S403, when the fileinfo in cache information mates less than fileinfo corresponding thereto in original information, the cache file that cleaning fileinfo is corresponding.
After identifying invalid cache file, invalid cache file is cleared up.
The above, the method for this method cleaning cache file, can carry out identification cleaning to the invalid cache file in buffer memory, need a key cleaning or select cleaning, improve Consumer's Experience effect when avoiding user to clear up invalid cache.
Refer to Fig. 5, Fig. 5 is the schematic flow sheet that the present invention clears up the other method of cache file, as shown in Figure 5, comprises the following steps:
S501, obtains cache information and the original information corresponding with cache information.
S502, mates cache information with original information.
S503, when the fileinfo in cache information mates less than fileinfo corresponding thereto in original information, it is invalid to be designated by cache file corresponding for fileinfo.
S504, after cache information and original information matches complete, cleaning is designated invalid cache file.
Wherein, the step S401 in method shown in step S501, S502 and Fig. 4, S402 are identical, do not repeat them here.
In the method, the invalid cache file identified is identified, after coupling completes, be designated invalid cache file clear up all.
It is pointed out that intelligent terminal can according to user instruction or clocked flip setting up procedure S501, after coupling completes, intelligent terminal can be cleared up for invalid cache file according to user instruction or automatic benchmarking's knowledge.
Further, in order to reduce the operation of mobile phone users, the invention provides an a kind of key scanning method of cleaning data of storage space, as shown in Figure 6 a, its flow process specifically can comprise the steps:
S601: after receiving scan instruction, carries out the cleaning data scanning of internal memory, nonvolatile storage space simultaneously.
Particularly, before carrying out cleaning data scanning, user can send scan instruction to mobile terminal.Such as, by clicking the cleaning data scanning button preset in the display screen of mobile terminal, or the preassembled software supporting a key scanning cleaning of cleaning data can be opened, carrying out the transmission of trigger sweep instruction.Mobile terminal carries out the cleaning data scanning of internal memory, nonvolatile storage space after receiving the scan instruction of user's transmission simultaneously.
In this step, the cleaning data scanning of internal memory, nonvolatile storage space specifically can be performed by same process, also can be performed respectively by two processes.Such as, the cleaning data of internal memory can be performed by the internal memory scan procedure preset; The cleaning data scanning of nonvolatile storage space can be performed by nonvolatile storage space scan procedure.In practical application, no matter the cleaning data scanning of internal memory, nonvolatile storage space is performed by a process or two processes, and internal memory and nonvolatile storage space are separately scanning, and internal memory can start a thread and scan; Nonvolatile storage space can distribute thread according to the state of mobile terminal.Such as, on the mobile terminal of CPU multinuclear, scanning thread can be distributed according to CPU and check figure, distribute at most the scanning that 4 threads carry out nonvolatile storage space.
In practical application, in the process of scanning cleaning data, can by the relevant information of the catalogue of Current Scan (such as, the information such as path, bag name) with to download from cloud server in advance or the information of catalogue the local Clean Up Database stored is mated, the information such as Prune Policies and generic corresponding to the catalogue matched, identify the catalogue of Current Scan for cleaning data, and this cleaning data generic can be determined further, and for clearing up the Prune Policies of these cleaning data.Further, cloud server regularly can carry out renewal upgrading to the Clean Up Database of this locality, upgrades in time to the Prune Policies etc. of the catalogue recorded in Clean Up Database and correspondence.
Wherein, the Prune Policies recorded in Clean Up Database can comprise several as follows:
Clear up completely, by this catalogue, and all sub-directories in this catalogue and file all carry out cleaning and delete.
Validity is cleared up, and namely to the file exceeding effective duration in this catalogue, namely stale file carries out cleaning deletion.
Careful cleaning, namely to user point out perform cleaning risk and receive user determination cleaning instruction after, cleaning is chosen to all sub-directories in this catalogue and file.
Part cleaning, namely carries out cleaning to the catalogue or file that are designated suggestion cleaning in this catalogue and deletes; To the catalogue or the file that are designated careful cleaning in this catalogue, after the instruction of determination cleaning receiving user, carry out cleaning delete; To the catalogue or the file that are not designated suggestion cleaning or careful cleaning in this catalogue, do not carry out choosing cleaning.
Wherein, the generic of the cleaning data recorded in Clean Up Database specifically can comprise: internal storage data, data cached, system disk junk data, ad data, installation kit data, unloading residual data, large file etc.
S602: periodically according to the progress of the cleaning data scanning of internal memory, and the progress of the cleaning data scanning of nonvolatile storage space, calculate overall progress.
Particularly, can in the scanning process of cleaning data, according to following formula 1 calculate i-th cycle arrive time overall progress J i:
J i=j ciw c+ j fiw f(formula 1)
In formula, j cibe the progress of the cleaning data scanning of internal memory during i-th cycle arrival, j fiit is the progress of the cleaning data scanning of nonvolatile storage space during i-th cycle arrival; w cfor internal memory scanning accounts for the accounting weight of overall progress, w ffor nonvolatile storage space scanning accounts for the accounting weight of overall progress; I is natural number.
Wherein, internal memory scanning accounts for the accounting weight that the accounting weight of overall progress and nonvolatile storage space scanning accounts for overall progress and presets.Such as, if after the cleaning data scanning of internal memory completes, its progress accounts for 50% of overall progress; Correspondingly, after the cleaning data scanning of nonvolatile storage space, its progress accounts for 50% of overall progress, then the accounting weight setting that internal memory scanning can be accounted for overall progress is 0.5, is 0.5 by the accounting weight setting that nonvolatile storage space scanning accounts for overall progress.Like this, the progress of the cleaning data of the internal memory of Current Scan be 50%, the progress of the cleaning data of nonvolatile storage space be 20% time, according to above-mentioned formula 1 and the accounting weight that presets, calculating overall progress is 35%.
Certainly, in practical application, method for distinguishing also can be adopted to carry out calculated population progress, such as, according to the progress of the cleaning data scanning of the progress of the cleaning data scanning of internal memory, nonvolatile storage space, internal memory and nonvolatile storage space size separately, calculated population progress can be carried out.
S603: on display interface, carries out the progress display of progress announcer according to overall progress.
In this step, on display interface, according to the overall progress that step S602 periodically calculates, periodically progress display can be carried out by progress bar as shown in Figure 6 b.
Certainly, in practical application, progress announcer, except being specially progress bar, can also be specially circular progress percentage display.
S604: on display interface, according in the cleaning data scanning process of nonvolatile storage space, the size of the current cleaning data scanned, the color of progress displaying announcer.
In the embodiment of the present invention, step S603, step S604 do not have execution sequence successively, and namely step S604 can perform prior to step S603 or with step S603 simultaneously.
Particularly, in the cleaning data scanning process of nonvolatile storage space, can the size of the current cleaning data scanned of Real-time Obtaining; For the some numerical ranges divided in advance, determine the numerical range belonging to size of the cleaning data of the current nonvolatile storage space scanned; Then, for the numerical range determined, according in advance to should numerical range setting color value, the color of progress displaying announcer.
Certainly, in practical application, in scanning process, progress announcer also can according to the size variable color of the cleaning data of the nonvolatile storage space scanned.Such as, during 0-20M, interface is blue to yellow gradual change, is yellow to orange gradual change during 20-100M, and more than 100M is orange to red.When the scan is complete, the data scanned are when a certain interval, and final state is shown as color corresponding to this interval maximal value.During as scanned 50M rubbish, final state is shown as orange.
More preferably, for the ease of user except the differentiation to internal memory and nonvolatile storage space, while overall progress is checked in display, accurately can also understand the size of the cleaning data that internal memory and nonvolatile storage space scan separately, on display interface can also display memory cleaning data procedures in, in the size of the cleaning data of the current internal memory scanned, the cleaning data scanning process of nonvolatile storage space, the size of the cleaning data of the current nonvolatile storage space scanned.
In practical application, after the cleaning data scanning of internal memory, nonvolatile storage space completes, the size of the cleaning data of the size of the cleaning data of the internal memory scanned, nonvolatile storage space can also be shown respectively on display interface.Such as, on display interface as fig. 6 c, " internal memory rubbish " represents the cleaning data of internal memory, and " 204MB " represents the size of the cleaning data of the internal memory scanned; " buffer memory rubbish " represents the cleaning data of nonvolatile storage space, and " 91.4MB " represents the size of the cleaning data of the nonvolatile storage space scanned.
In practical application, while scanning cleaning data, often can obtain the Prune Policies of cleaning data.Therefore, more preferably, in the embodiment of the present invention, complete internal memory, nonvolatile storage space cleaning data scanning after, the size that internal memory, the size summation of cleaning data of nonvolatile storage space and the Prune Policies of correspondence are all cleaning data of suggestion cleaning can also be counted, and show on display interface.
Such as, on display interface as shown in fig 6d, the Prune Policies of the correspondence scanned that what " 135MB " represented is is the size of all cleaning data of suggestion cleaning; What " find 326MB altogether " and represent is the size summation of cleaning data of internal memory, nonvolatile storage space.
More preferably, in the cleaning data scanning process of carrying out internal memory, nonvolatile storage space, can also totally carry out the scanning can forbidding item simultaneously, and after the end of scan, on display interface, as shown in fig 6e, the item size forbidden scanned is shown together with the size of the size of the cleaning data of the internal memory scanned, the cleaning data of nonvolatile storage space.
In the embodiment of the present invention, be to clear up the cleaning data of internal memory, nonvolatile storage space to the object that the cleaning data of internal memory, nonvolatile storage space scan.Therefore, more preferably, after the cleaning data scanning of internal memory, nonvolatile storage space completes, in order to reduce the operation of user, display interface can show " a key cleaning " button; After receiving the click event of " a key cleaning " button, the cleaning data of the internal memory scanned, nonvolatile storage space can be carried out a key cleaning by mobile terminal; And without the need to being cleared up the cleaning data of internal memory, nonvolatile storage space respectively by different trigger actions, be convenient to the operation of user.
More preferably, in practical application, check the cleaning data scanned for the ease of user, display interface can also show " cleaning data details are checked " button.
Correspondingly, after the click event receiving " cleaning data details are checked " button, as shown in Figure 6 f, in display interface, the data of at least one classification are shown below: internal storage data, data cached, system disk junk data, ad data, installation kit data, unloading residual data, large file etc.Wherein, the generic of the cleaning data scanned specifically by the scanning process of step S601, can be determined with the matching result of the Clean Up Database downloaded in advance or store.Like this, data of all categories are shown in display interface, can so that user clearly distinguish the cleaning data of internal memory and the cleaning data of nonvolatile storage space, and the understanding of concrete generic to the cleaning data of nonvolatile storage space, improve Consumer's Experience.
Preferably, " cleaning data details are checked " button can also specifically comprise: " the cleaning data details of internal memory are checked " button, " the cleaning data details of nonvolatile storage space are checked " button.
Such as, on display interface as fig. 6 c, under " 204MB ", " 91.4MB ", correspondence is provided with the link of " the cleaning data details of internal memory are checked " button, the link of " the cleaning data details of nonvolatile storage space are checked " button.
After the click event receiving " the cleaning data details of internal memory are checked " button, the cleaning data details of internal memory as shown in figure 6g can be shown on display interface; After the click event receiving " the cleaning data details of nonvolatile storage space are checked " button, the details of the cleaning data of nonvolatile storage space as shown in figure 6h can be shown on display interface.
Further, consider that the cleaning data scanned often both had existed the cleaning data of suggestion cleaning, also there are the cleaning data of careful cleaning.Therefore, the Prune Policies of cleaning data is understood for the ease of user, more preferably, as shown in Fig. 6 f, 6g, on display interface, the data of corresponding every kind, the size of the cleaning data of the suggestion cleaning of such other data can also be shown, and " expansion " button.
Correspondingly, receive a kind data " expansion " button click event after, on display interface, as shown in figure 6h, show the relevant information of each subitem under such other data; Wherein, the relevant information of subitem comprises: the title of subitem, take size and choose state.
In the embodiment of the present invention, for be defined as suggestion cleaning cleaning data, its under the data of generic usual default setting for choose.Such as, consider that system disk junk data and ad data are generally the cleaning data of suggestion cleaning, therefore, in order to reduce the operation of user, under system disk junk data and ad data, the equal default setting of state of choosing of each subitem is for choose.
Like this, by clicking " expansions " button, state can be chosen according to each subitem under such other data of display, understanding and clear up the Prune Policies of data.And each subitem that the size of the cleaning data of the suggestion cleaning of the data of a classification has been chosen under typically referring to such other data takies the summation of size; After the click event receiving " a key cleaning " button, can remove the data of the subitem chosen.
In fact, for the cleaning data of some suggestion cleaning, user may not think cleaning; And for some cleaning data, user can determine to delete.Therefore, in order to consider the independence of user, user also can choose state adjustment to subitem, so that effective releasing memory and nonvolatile storage space.
In practical application, after the cleaning data scanning of internal memory, nonvolatile storage space completes, can also by the cleaning data upload of the cleaning data of internal memory that scan and nonvolatile storage space to cloud server.Such as, can by the internal memory taken, the cpu of the software in the cleaning data that scan, the information such as rubbish size, regularly upload cloud server.Like this, so that the state of cloud server to customer mobile terminal is analyzed, and corresponding analysis report can be issued to user, be convenient to the better managing mobile terminal of user with this, strengthen Consumer's Experience.
In fact, the inventive method additionally provides the several file clean-up method based on suspended window, wherein a kind of schematic flow sheet of the file clean-up method based on suspended window, as shown in Figure 7, comprises the following steps:
S701, according to operating the call instruction produced to the first suspended window, calls the second suspended window.
In file clean-up process, the first suspended window shows all the time, is mainly the current memory occupancy that user shows mobile terminal, when detecting that mobile terminal has file to clear up, also shows cleaning prompting.
In the method, the first suspended window is smaller, comprises the ball characterizing memory usage and the balloon dialog box characterizing cleaning prompting; For memory usage, every 10s refreshes once; When memory usage is below 85%, display is blue; When memory usage 85% and more than, display is red; When triggering balloon dialog box, balloon dialog box is deployable, and display points out official documents and correspondence accordingly.
In the method, the second suspended window is comparatively large, comprises internal memory and accelerates interface, cleaning interface and conventional interface.The function at each interface is as follows:
A. internal memory acceleration interface comprises initial sub-interface and completes sub-interface, and initial sub-interface is for showing current memory occupancy, and which is provided with to click and accelerate functionality controls, this control is used for having called sub-interface.
The detailed process that internal memory accelerates is: before acceleration, initial sub-showing interface current memory occupancy, and when memory usage is less than 85%, initial sub-interface display is blue, when memory usage be 85% and above time, initial sub-interface display is red; Click after accelerating functionality controls, memory usage drops to 0% memory usage of ging up again to acceleration from initial value, and corresponding change also occurs interface color, has finally generated sub-interface.
Wherein, complete sub-interface and also show to have raised speed how many, how many computing method that raise speed are: the current memory occupancy before acceleration deducts the current memory occupancy after acceleration, if the difference of the two is less than 1%, completes sub-interface and then show " reaching the best ".
Wherein, the current memory occupancy of initial sub-interface display reads from the first suspended window, identical with the memory usage that the first suspended window is shown.
B. clear up interface to comprise the sub-interface of scanning, stop the sub-interface of scanning, clear up sub-interface and cleared up sub-interface.Scan sub-interface, stop the sub-interface of scanning, clear up and sub-interface is respectively equipped with scan function control, stops scan function control, a key clearing function control, scan function control is used for calling the sub-interface of stopping scanning, stop scan function control to be used for calling the sub-interface of cleaning, a key clearing function control is used for calling has cleared up sub-interface.
The detailed process of cleaning is: before cleaning, scan sub-showing interface current stored value; After click scan functionality controls, stop the rubbish value that the sub-interface display of scanning scans; Click after stopping scan function control, if scan rubbish, go to the sub-interface of cleaning, if do not scan rubbish, then go to the sub-interface of scanning; Clear up the rubbish that sub-interface display has scanned, this interface is also provided with details control, for inquiring about rubbish details; After clicking a key clearing function control, clear up the rubbish that sub-interface display has been cleared up.
Wherein, if the rubbish scanned is less than or equal to 50M, then stops the sub-interface of scanning, clear up sub-interface for blue; If the rubbish scanned is greater than 50M, then stops the sub-interface of scanning, clear up sub-interface for red.
C. conventional interface comprises from opening management function control, unloading prepackage functionality controls, privacy clearing function control, game/video acceleration functionality controls, software offloading functions control and timing clearing function control.Above-mentioned functions control is the entrance of corresponding function.
Above-mentioned each interface is equipped with the control arranging control He enter system interface, wherein, arranges control for arranging the second suspended window.
According to the content that the first suspended window is shown, the display state of the second suspended window called comprises following two kinds of situations:
A., when the first suspended window is memory usage displaying, the second suspended window display conventional interface, this conventional interface is specially internal memory and accelerates interface.
B., when the first suspended window is memory usage and cleaning prompting shows, the second suspended window shows conventional interface and conventional interface increases cleaning prompting region.Wherein, cleaning prompting region is control regions.
Wherein, cleaning prompting region is provided with and points out corresponding prompting official documents and correspondence with the cleaning of the first suspended window.
In additive method, when clearing up prompting and being corresponding with the function at the second suspended window interface, the second suspended window directly shows the interface needed for cleaning prompting.
S702, receives and operates to the second suspended window the cleaning instruction produced.
Because this method is cleared up based on the second suspended window, therefore need to operate the second suspended window, be specially and the functionality controls of the second suspended window or cleaning prompting region are operated.
S703, according to cleaning instruction, clears up file.
A. according to operating to functionality controls the cleaning instruction produced, file is cleared up.
When the first suspended window does not clear up prompting, user can clear up by selection function control voluntarily.
It is pointed out that user also can select the functionality controls of the second suspended window to clear up voluntarily when the first suspended window exists cleaning prompting.
B. according to the cleaning instruction produced cleaning prompting region operation, call interface or the system interface of the second suspended window, file is cleared up.
Below by concrete grammar, B kind manner of cleaning up is described in detail.
A. when after the new mounting software of user mobile phone, detect in the new software installed whether have start/backstage from opening authority, if having and obtain Root authority, then the first suspended window is pointed out.
Click the first suspended window, call the second suspended window, and the second suspended window cleaning prompting region display official documents and correspondence " newly-increased from opening software, put this process.", after clicking cleaning prompting region, jump to the conventional interface of the second suspended window, being entered from opening management system interface by the management function control that certainly opens at conventional interface, carrying out from opening management.
B., after mobile phone screen-unblocking, detect memory headroom, if memory headroom is less than 20%, the first suspended window is pointed out, and this detection can detect the interval schedule time.
Click the first suspended window, call the second suspended window, the second suspended window cleaning prompting region display official documents and correspondence " memory headroom, less than 20%, puts this Free up Memory ", after clicking cleaning prompting region, enter system drive assay surface, and then further clear up.
C., after mobile phone screen-unblocking, detect storage space, if memory space inadequate 20%, first suspended window is pointed out, this detection can detect the interval schedule time.
Click the first suspended window, call the second suspended window, the second suspended window cleaning prompting region display official documents and correspondence " memory space inadequate 20% puts this Free up Memory ", after clicking cleaning prompting region, enter system drive assay surface, and then further clear up.
D., after mobile phone screen-unblocking, whether detection normally can unload pre-installed software more than 5 sections, if exceed and obtain Root authority, first suspended window is pointed out, this detection can detect the interval schedule time, and in the given time, prompting number of times also can limit as required.
Click the first suspended window, call the second suspended window, second suspended window cleaning prompting region display official documents and correspondence " 5 sections of pre-installed softwares can unload; put this Free up Memory ", after clicking cleaning prompting region, jump to the conventional interface of the second suspended window, pre-install functionality controls by the unloading at conventional interface and enter unloading preloaded system interface, unload.
After mobile phone screen-unblocking, whether detection normally can unload pre-installed software more than 5 sections, if exceed but there is no Root authority, the first suspended window is pointed out equally.
The official documents and correspondence of the second suspended window cleaning prompting region display is " 5 sections of pre-installed softwares can be stopped using, and put this Free up Memory ", clicks cleaning prompting region, enters corresponding system interface.
E., after mobile phone screen-unblocking, detect and whether be of little use software more than 5 sections, if exceed, the first suspended window is pointed out, and this detection can detect the interval schedule time.Wherein, the software number that is of little use detected when this is identical with the software number that is of little use detected last time, then this is not pointed out.
Click the first suspended window, call the second suspended window, second suspended window cleaning prompting region display official documents and correspondence " 5 sections of softwares that are of little use can unload; put this Free up Memory ", after clicking cleaning prompting region, jump to the conventional interface of the second suspended window, enter software uninstalling system interface by the software offloading functions control at conventional interface, unload.
F., after mobile phone screen-unblocking, whether detect similar software more than 3 sections, if exceed, the first suspended window is pointed out, and this detection can detect the interval schedule time.
Click the first suspended window, call the second suspended window, the second suspended window cleaning prompting region display official documents and correspondence " similar software is too much, clicks Free up Memory ", clicks cleaning prompting region, jumps to corresponding system interface or play frame, unloading.
Wherein, the first suspended window also can be reminded the New function that user in system does not use.
In additive method, be connected with computer when mobile phone screen locking by USB line, at night between 701-5 point, detect whether there is the storage rubbish cleared up being greater than 100M, if exist, the first suspended window is pointed out, this detection can detect the interval schedule time.
Click the first suspended window, call the second suspended window, the second suspended window directly shows its cleaning interface, carries out garbage-cleaning.
Various mode above, in the first suspended window schedule time, (as 2 hours) no longer produce new prompting.
In the method, whether cleaning prompting comes into force, clears up and point out the official documents and correspondence in region, detection opportunity and prompting interval etc. all can carry out cloud control.
The above, this method utilizes the first suspended window to carry out instant alerts to needing the file cleared up in mobile terminal, and clears up based on the second suspended window, user friendly operation, improves Consumer's Experience.
Refer to Fig. 8, Fig. 8 is the another kind of schematic flow sheet based on the file clean-up method of suspended window of the present invention, as shown in Figure 8, comprises the following steps:
S801, according to operating the call instruction produced to the first suspended window, calls the second suspended window.
S802, receives and operates to the second suspended window the cleaning instruction produced.
S803, according to cleaning instruction, clears up file.
In the method, the step in method shown in step S801, S802, S803 and Fig. 7 is identical, does not repeat them here.
S804, after file clean-up completes, closes the second suspended window in the schedule time.
Second suspended window can be closed in the given time automatically, also can user close voluntarily.
S805, after the second suspended window is closed, calls the bullet window guided file clean-up accordingly.
Be described in detail below by concrete grammar.
A. after the second suspended window is closed, calling for arranging the bullet window ignoring application list, the software often used being joined ignore in application list by playing window, avoiding cleaned.Be specially, user clicks the setting played on window and ignores apply names button, enters and ignores application list interface; User also can click the cancel button played on window, closes and plays window.
B. after the second suspended window is closed, if system obtains Root authority, detect in mobile terminal and whether have suggestion to forbid, from the software opened, if having, calling the bullet window for certainly opening management.Be specially, play window and show that the software from opening is forbidden in suggestion by the form of checkbox, user can choose; User also can click the cancel button played on window, closes and plays window.
C. after the second suspended window is closed, if system does not obtain Root authority, detect in mobile terminal the pre-installed software whether having suggestion to stop using, if having, call the bullet window for inactive pre-installed software.Be specially, click the deactivation button played on window, jump to unloading prepackage interface; Click the cancel button played on window, close and play window.Utilize this bullet window to stop using the pre-installed software on some resident backstage, can effectively reduce taking of internal memory.
D., after the second suspended window is closed, when not detecting that the pre-installed software of stopping using from the software opened or suggestion is forbidden in suggestion, detecting in mobile terminal whether there is the software that is of little use, if exist, calling the bullet window for uninstall.Be specially, click unload button, jump to uninstall interface; Click cancel button, close and play window.
E. second suspended window close after, when do not detect suggestion forbid from open software, suggestion stop using pre-installed software or be of little use software time, detect whether open Automatic clearance, if do not open, call the bullet window for opening Automatic clearance internal memory.
The above, this method utilizes and plays the method that window can improve file clean-up further, improves Consumer's Experience, makes user clear up the file that need clear up in time.
In the technical scheme of the embodiment of the present invention, mobile terminal is according to the catalogue of the wish cleaning recorded corresponding in directory listing and Prune Policies, can from the storage space of this mobile terminal, identify such as because timestamp distance current time exceedes effective duration and expired file, and cleared up; Reach the object of the file more can cleared up in cleaning storage space, thus more storage space can be discharged, improve the service efficiency of storage space, improve Consumer's Experience.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in multi-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computing machine) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto-optic disk), ROM (Read-Only Memory, ROM (read-only memory)), RAM (Random Access Memory, storer immediately), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computing machine).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structural drawing and/or block diagram and/or flow graph and these structural drawing and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to multi-purpose computer, special purpose computer or other programmable data disposal routes realizes, thus is performed the scheme of specifying in the frame of structural drawing disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computing machine or other programmable data disposal routes.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a storage space method for cleaning for mobile terminal, is characterized in that, comprising:
Obtain the directory information in storage space;
From described directory information, determine and the described catalogue matched for the catalogue of clearing up in the directory listing prestored; Wherein, in described directory listing, the corresponding catalogue recorded also records the Prune Policies of this catalogue;
If the Prune Policies of the catalogue determined is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration that this Prune Policies indicates, under determining this catalogue, stale file is cleared up.
2. method according to claim 1, is characterized in that, in described directory listing, the corresponding catalogue recorded also records the data category of this catalogue;
Wherein, the data category of the catalogue recorded in described directory listing comprises:
System disk junk data, ad data, installation kit data, unloading residual data or large file.
3. method according to claim 2, is characterized in that, described determine with the described catalogue matched for the catalogue of clearing up in the directory listing prestored after, also comprise:
For the catalogue determined, after sorting out by data category belonging to it, demonstrate the size of the catalogue of each data category at display interface, and in described catalogue, the size of data is cleared up in suggestion.
4. method according to claim 3, is characterized in that, is the catalogue of validity cleaning for Prune Policies, calculates the size of suggestion cleaning data in described catalogue according to following method:
By the summation of the size of file stale under this catalogue, as the size of suggestion cleaning data in described catalogue.
5., according to the arbitrary described method of claim 1-4, it is characterized in that, the directory information in described acquisition storage space, specifically comprises:
Bibliographic structure in described storage space is scanned;
Compare scanning the directory information obtained with the catalogue in the local blacklist stored;
Using the information of the catalogue outside described blacklist as the directory information got;
Wherein, the catalogue in described blacklist comprises: the catalogue that system directory, user create.
6., according to the arbitrary described method of claim 1-4, it is characterized in that, the directory information in described acquisition storage space, specifically comprises:
Bibliographic structure in described storage space is scanned;
For each catalogue scanned, the timestamp of this catalogue recorded in the timestamp of this catalogue read in present scan process and last scan process is compared; If different, then obtain the directory information of this catalogue.
7. a mobile terminal, is characterized in that, comprising:
Directory information acquisition module, for obtaining the directory information in storage space;
Catalogue comparing module, from described directory information, determines and the described catalogue matched for the catalogue of clearing up in the directory listing prestored; Wherein, in described directory listing, the corresponding catalogue recorded also records the Prune Policies of this catalogue;
Cleaning data determining module, if the Prune Policies of the catalogue determined for described catalogue comparing module is validity cleaning, then according to the timestamp of file each under this catalogue, and effective duration of this Prune Policies instruction, under determining this catalogue, stale file is cleaning data;
Cleaning module, for clearing up the cleaning data determined.
8. mobile terminal according to claim 7, is characterized in that, in described directory listing, the corresponding catalogue recorded also records the data category of this catalogue;
Wherein, the data category of the catalogue recorded in described directory listing comprises:
System disk junk data, ad data, installation kit data, unloading residual data or large file.
9. mobile terminal according to claim 8, is characterized in that, also comprises: display module; And
The catalogue of described cleaning data determining module also for determining for described catalogue comparing module, sort out by data category belonging to it, and be the catalogue that validity is cleared up for Prune Policies, the summation of the size of stale file under calculating this catalogue, as the size of suggestion cleaning data in this catalogue; And according to categorization results, calculate the size of the catalogue of each data category, and in the catalogue of each data category, the size of data is cleared up in suggestion; And
Described display module is used for the categorization results obtained according to described cleaning data determining module, demonstrates the size of the catalogue of each data category at display interface, and in described catalogue, the size of data is cleared up in suggestion.
10., according to the arbitrary described mobile terminal of claim 7-9, it is characterized in that,
Described directory information acquisition module is specifically for scanning the bibliographic structure in described storage space; Compare scanning the directory information obtained with the catalogue in the local blacklist stored; Using the information of the catalogue outside described blacklist as the directory information got; Wherein, the catalogue in described blacklist comprises: the catalogue that system directory, user create.
CN201410641626.0A 2014-11-13 2014-11-13 Mobile terminal and storage space cleaning method thereof Pending CN104317628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410641626.0A CN104317628A (en) 2014-11-13 2014-11-13 Mobile terminal and storage space cleaning method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410641626.0A CN104317628A (en) 2014-11-13 2014-11-13 Mobile terminal and storage space cleaning method thereof

Publications (1)

Publication Number Publication Date
CN104317628A true CN104317628A (en) 2015-01-28

Family

ID=52372863

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410641626.0A Pending CN104317628A (en) 2014-11-13 2014-11-13 Mobile terminal and storage space cleaning method thereof

Country Status (1)

Country Link
CN (1) CN104317628A (en)

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811791A (en) * 2015-04-23 2015-07-29 北京奇虎科技有限公司 Video removing method and device and terminal device
CN104978152A (en) * 2015-07-03 2015-10-14 北京奇虎科技有限公司 Method and apparatus for cleaning up files in cache
CN105243102A (en) * 2015-09-17 2016-01-13 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN106101271A (en) * 2016-08-08 2016-11-09 北京小米移动软件有限公司 Optimize the method and device of memory space
CN106101166A (en) * 2016-04-29 2016-11-09 乐视控股(北京)有限公司 Alleviate the method and device of network request pressure
CN106126718A (en) * 2016-07-01 2016-11-16 深圳市金立通信设备有限公司 A kind of picture management method and terminal
CN106156032A (en) * 2015-03-25 2016-11-23 北京奇虎科技有限公司 The recognition methods of cleaning file and device
CN106407340A (en) * 2016-08-09 2017-02-15 北京金山安全软件有限公司 Method and device for clearing screenshot picture and mobile device
CN106407804A (en) * 2016-09-26 2017-02-15 北京小米移动软件有限公司 An apparatus state detection method and device
CN107025269A (en) * 2017-03-07 2017-08-08 广东欧珀移动通信有限公司 A kind of document handling method, device and intelligent terminal
WO2017186029A1 (en) * 2016-04-27 2017-11-02 北京金山安全软件有限公司 Storage-space management method, apparatus, and electronic device
CN107862097A (en) * 2017-12-21 2018-03-30 上海新炬网络技术有限公司 A kind of table data intelligence method for cleaning based on TimesTen memory banks
CN108076224A (en) * 2017-12-21 2018-05-25 广东欧珀移动通信有限公司 application control method, device and storage medium and mobile terminal
CN108427737A (en) * 2018-02-28 2018-08-21 上海连尚网络科技有限公司 A kind of data clearing method, equipment and computer-readable medium
CN108536812A (en) * 2018-04-04 2018-09-14 百度在线网络技术(北京)有限公司 Sweep-out method, device, equipment and the computer-readable medium of invalid data resource
CN109062964A (en) * 2018-06-27 2018-12-21 努比亚技术有限公司 A kind of data-erasure method, terminal and computer readable storage medium
CN109408469A (en) * 2018-09-05 2019-03-01 中国平安人寿保险股份有限公司 Stale data document handling method, device, electronic device and storage medium
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
WO2019090725A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Terminal removing personal file of user on basis of user habits
CN109840123A (en) * 2017-11-28 2019-06-04 合肥美的智能科技有限公司 To the method and apparatus of user's display data
CN110808089A (en) * 2019-10-16 2020-02-18 云知声智能科技股份有限公司 Method and device for displaying defect number under document catalog
CN111913763A (en) * 2020-09-08 2020-11-10 中移(杭州)信息技术有限公司 Method for stopping preinstalled application program, terminal and storage medium
CN114422601A (en) * 2021-12-31 2022-04-29 成都鲁易科技有限公司 File processing method and device based on cloud storage and computer equipment
WO2023272654A1 (en) * 2021-06-30 2023-01-05 深圳传音控股股份有限公司 Storage space cleaning method, mobile terminal, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN102945159A (en) * 2012-10-24 2013-02-27 深圳市万凯达科技有限公司 Automatic application program cleaning method and system based on mobile terminal
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN103377055A (en) * 2012-04-17 2013-10-30 腾讯科技(深圳)有限公司 Method and device for program running in mobile terminal
CN103544035A (en) * 2013-10-21 2014-01-29 北京奇虎科技有限公司 Application clearing method and device for mobile terminal
CN103942496A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Display method and device for system scanning
CN104021160A (en) * 2014-05-26 2014-09-03 北京金山安全软件有限公司 Client data cleaning method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102654872A (en) * 2011-03-03 2012-09-05 腾讯科技(深圳)有限公司 Method and device for cleaning junk files generated by application programs
CN103377055A (en) * 2012-04-17 2013-10-30 腾讯科技(深圳)有限公司 Method and device for program running in mobile terminal
CN102945159A (en) * 2012-10-24 2013-02-27 深圳市万凯达科技有限公司 Automatic application program cleaning method and system based on mobile terminal
CN103092938A (en) * 2013-01-07 2013-05-08 浙江鸿程计算机系统有限公司 Method for intelligently cleaning garbage file of secure digital (SD) card of Android mobile phone
CN103942496A (en) * 2013-01-17 2014-07-23 腾讯科技(深圳)有限公司 Display method and device for system scanning
CN103164268A (en) * 2013-04-02 2013-06-19 北京奇虎科技有限公司 System optimization method and system optimization device
CN103544035A (en) * 2013-10-21 2014-01-29 北京奇虎科技有限公司 Application clearing method and device for mobile terminal
CN104021160A (en) * 2014-05-26 2014-09-03 北京金山安全软件有限公司 Client data cleaning method and device

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156032A (en) * 2015-03-25 2016-11-23 北京奇虎科技有限公司 The recognition methods of cleaning file and device
CN104811791A (en) * 2015-04-23 2015-07-29 北京奇虎科技有限公司 Video removing method and device and terminal device
CN104978152A (en) * 2015-07-03 2015-10-14 北京奇虎科技有限公司 Method and apparatus for cleaning up files in cache
CN105243102A (en) * 2015-09-17 2016-01-13 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
CN105243102B (en) * 2015-09-17 2018-11-23 北京金山安全软件有限公司 Processing method and device for unloading residual file and terminal
WO2017186029A1 (en) * 2016-04-27 2017-11-02 北京金山安全软件有限公司 Storage-space management method, apparatus, and electronic device
US20180341427A1 (en) * 2016-04-27 2018-11-29 Beijing Kingsoft Internet Security Software Co., Ltd. Method and apparatus for managing storage space, and electronic device
CN106101166A (en) * 2016-04-29 2016-11-09 乐视控股(北京)有限公司 Alleviate the method and device of network request pressure
CN105975037A (en) * 2016-05-16 2016-09-28 青岛海信电器股份有限公司 Method for restoring factory settings based on Android system and intelligent equipment
CN106126718A (en) * 2016-07-01 2016-11-16 深圳市金立通信设备有限公司 A kind of picture management method and terminal
CN106101271A (en) * 2016-08-08 2016-11-09 北京小米移动软件有限公司 Optimize the method and device of memory space
CN106407340A (en) * 2016-08-09 2017-02-15 北京金山安全软件有限公司 Method and device for clearing screenshot picture and mobile device
CN106407804B (en) * 2016-09-26 2019-12-06 北京小米移动软件有限公司 equipment state detection method and device
CN106407804A (en) * 2016-09-26 2017-02-15 北京小米移动软件有限公司 An apparatus state detection method and device
CN107025269A (en) * 2017-03-07 2017-08-08 广东欧珀移动通信有限公司 A kind of document handling method, device and intelligent terminal
WO2019090725A1 (en) * 2017-11-10 2019-05-16 华为技术有限公司 Terminal removing personal file of user on basis of user habits
CN110140117B (en) * 2017-11-10 2023-11-17 华为技术有限公司 Terminal automatically cleans personal files of users based on user habits
CN110140117A (en) * 2017-11-10 2019-08-16 华为技术有限公司 Terminal is based on the automatic cleaning individual subscriber file of user's habit
CN109840123A (en) * 2017-11-28 2019-06-04 合肥美的智能科技有限公司 To the method and apparatus of user's display data
CN108076224B (en) * 2017-12-21 2021-06-29 Oppo广东移动通信有限公司 Application program control method and device, storage medium and mobile terminal
CN107862097A (en) * 2017-12-21 2018-03-30 上海新炬网络技术有限公司 A kind of table data intelligence method for cleaning based on TimesTen memory banks
CN108076224A (en) * 2017-12-21 2018-05-25 广东欧珀移动通信有限公司 application control method, device and storage medium and mobile terminal
CN108427737A (en) * 2018-02-28 2018-08-21 上海连尚网络科技有限公司 A kind of data clearing method, equipment and computer-readable medium
CN108536812A (en) * 2018-04-04 2018-09-14 百度在线网络技术(北京)有限公司 Sweep-out method, device, equipment and the computer-readable medium of invalid data resource
CN109062964A (en) * 2018-06-27 2018-12-21 努比亚技术有限公司 A kind of data-erasure method, terminal and computer readable storage medium
CN109408469A (en) * 2018-09-05 2019-03-01 中国平安人寿保险股份有限公司 Stale data document handling method, device, electronic device and storage medium
CN109408414A (en) * 2018-09-30 2019-03-01 湖北华联博远科技有限公司 A kind of software cache cleaner method and system
CN110808089A (en) * 2019-10-16 2020-02-18 云知声智能科技股份有限公司 Method and device for displaying defect number under document catalog
CN110808089B (en) * 2019-10-16 2022-04-01 云知声智能科技股份有限公司 Method and device for displaying defect number under document catalog
CN111913763A (en) * 2020-09-08 2020-11-10 中移(杭州)信息技术有限公司 Method for stopping preinstalled application program, terminal and storage medium
WO2023272654A1 (en) * 2021-06-30 2023-01-05 深圳传音控股股份有限公司 Storage space cleaning method, mobile terminal, and storage medium
CN114422601A (en) * 2021-12-31 2022-04-29 成都鲁易科技有限公司 File processing method and device based on cloud storage and computer equipment

Similar Documents

Publication Publication Date Title
CN104317628A (en) Mobile terminal and storage space cleaning method thereof
CN104317740B (en) The method for cleaning and device of the CACHE DIRECTORY/file based on sandbox technology
CN104317952A (en) Scanning method and device for storage space in mobile terminal
CN104317627A (en) Clear data one click scan method and device of storage space
CN104317741A (en) Recognition and cleaning method and system of cache directories
CN102968297B (en) The software management system of mobile terminal and method
CN102043655B (en) Method and system for carrying out advanced uninstall on software
CN104317956A (en) Query and memory space cleaning method and system based on cloud server
US8970393B2 (en) Data analysis system, such as a theft scenario analysis system for automated utility metering
CN103155477B (en) Data syn-chronization in DCE
CN104375624A (en) Mobile terminal and power saving suggestion method for same
CN105471935B (en) Information prompting method and device
WO2004003704A3 (en) Systems and methods for capturing and archiving email
CN103329108A (en) Test device
CN105187290A (en) Apparatus And Methods For Managing Content Exchange On A Wireless Device
CN109542844A (en) A kind of event log collection method, system and electronic equipment and storage medium
CN102456022A (en) Short message management method and system
CN112363943A (en) Buried point setting method and device, computer equipment and storage medium
CN102360410A (en) User operation discovery method of file system and synchronous system utilizing the same
CN105893636A (en) Historical sharing recording method and device
CN115966313B (en) Integrated management platform based on face recognition
CN103023871A (en) Android privilege escalation attack detection system and method based on cloud platform
CN104317951A (en) Method and device for cleaning memory space based on prefix database
CN104484484A (en) Method and device for removing cache file
CN104992273A (en) Automatic assessment method and system for service post

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150128

RJ01 Rejection of invention patent application after publication