CN104317956A - Query and memory space cleaning method and system based on cloud server - Google Patents

Query and memory space cleaning method and system based on cloud server Download PDF

Info

Publication number
CN104317956A
CN104317956A CN201410642240.1A CN201410642240A CN104317956A CN 104317956 A CN104317956 A CN 104317956A CN 201410642240 A CN201410642240 A CN 201410642240A CN 104317956 A CN104317956 A CN 104317956A
Authority
CN
China
Prior art keywords
information
checked
mobile terminal
catalogue
server
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
CN201410642240.1A
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 CN201410642240.1A priority Critical patent/CN104317956A/en
Publication of CN104317956A publication Critical patent/CN104317956A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • G06F16/24534Query rewriting; Transformation
    • G06F16/24537Query rewriting; Transformation of operators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24552Database cache management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Quality & Reliability (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a query and memory space cleaning method based on a cloud server and a query and memory space cleaning system thereof, wherein the memory space cleaning method based on the cloud server comprises the following steps of: scanning the memory space by a mobile terminal and taking a path of a currently scanned catalogue as to-be-queried information and inquiring it in a local database; confirming that information matched with the to-be-queried information is absent from the local database in the mobile terminal, and uploading the to-be-queried information to the server; collecting garbage from corresponding catalogues by the mobile terminal according to the cleaning strategies of the content returned by the server. Through application of the method and the system, the query efficiency can be improved so as to save the memory space and further improve the cleaning efficiency.

Description

Based on the inquiry of cloud server, storage space method for cleaning and system
Technical field
The present invention relates to terminal cleaning software engineering, specifically, the present invention relates to based on the inquiry of cloud server, storage space method for cleaning and system.
Background technology
Mobile terminal refers to the computer equipment that can use in movement, comprises mobile phone, panel computer etc.Along with popularizing of mobile terminal, the program be installed on mobile terminal gets more and more.Program is installed on mobile terminals, usually all can produce the file directory realizing some function in order to promote program operating rate or helper when running; These file directorys occupy a large amount of storage spaces, and on not affecting the normal use of program after the cleaning of these file directorys, therefore, these file directorys can be defined as CACHE DIRECTORY (also can referred to as CACHE DIRECTORY).If CACHE DIRECTORY can not get timely cleaning, storage spaces a large amount of in mobile terminal will be taken; Therefore be necessary to clear up CACHE DIRECTORY, the storage space of release mobile terminal.
The method of existing cleaning storage space, generally includes: scan the storage space of mobile terminal; From the catalogue of the storage space scanned, determine and the catalogue that the CACHE DIRECTORY prestored matches, and the catalogue determined is cleared up.Wherein, the CACHE DIRECTORY prestored is collected usually all in advance, specifically can be stored in the full dose database of the server end in local data base or high in the clouds.Such as, technician operation high in the clouds, backstage server end on, for often kind of program, the various functions of service routine, carry out record to the CACHE DIRECTORY that program produces in operational process, and with this program corresponding stored.
In fact, in mobile terminal, the program of actual installation is also few, in the process of carrying out storage space cleaning, the catalogue scanned from storage space and all CACHE DIRECTORYs of collecting in advance is needed to carry out match query, could determine whether this catalogue scanned is CACHE DIRECTORY, this will consume a large amount of match query time, and search efficiency is low and cause the cleaning speed of storage space slow further.And, if the CACHE DIRECTORY corresponding to all programs of collecting in advance is pre-stored in the local data base of mobile terminal, then can take a large amount of storage spaces; If the CACHE DIRECTORY corresponding to all programs of collecting in advance is pre-stored in the full dose database of the server in high in the clouds, then when network is not communicated with, easily cause mobile terminal to inquire about, also just cannot clear up storage space in time.
As can be seen here, existing storage space method for cleaning exists that search efficiency is low, to take storage space large or cannot inquire about the deficiencies such as cleaning when network is not communicated with; Therefore, be necessary to provide a kind of storage space method for cleaning saved storage space, improve search efficiency.
Summary of the invention
For the defect that above-mentioned prior art exists, the invention provides a kind of inquiry based on cloud server, storage space method for cleaning and system, in order to save the storage space of mobile terminal, and improve search efficiency.
The invention provides a kind of querying method based on cloud server, comprising:
Mobile terminal is inquired about in the local database for information to be checked;
Described mobile terminal to determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server;
Described mobile terminal carries out respective handling after receiving the Query Result that described server returns.
Preferably, described mobile terminal, according to the Query Result received and described information to be checked, upgrades local data base.
Preferably, described information to be checked is specially described mobile terminal in the process scanned storage space, the path of the catalogue of Current Scan.
Preferably, the path that described Query Result is specially the catalogue that described server is uploaded for described mobile terminal carries out inquiring about the result obtained in full dose database; And
Described Query Result specifically comprises: the Prune Policies of described catalogue.
Preferably, described mobile terminal carries out respective handling after receiving the Query Result that described server returns, and specifically comprises:
The Prune Policies of the described catalogue that described mobile terminal returns according to described server, carries out garbage-cleaning to respective directories.
Preferably, described mobile terminal to determine in described local data base not with the information of described information match to be checked after, also comprise:
Described mobile terminal searches the information whether had with described information match to be checked in blacklist; And
Described described information to be checked to be uploaded onto the server, is specially:
If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server;
Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
Preferably, before described information to be checked is uploaded onto the server, also comprise:
Md5 encryption is carried out to described information to be checked; And
The path of the catalogue of preserving in described full dose database is all through md5 encryption.
According to a further aspect in the invention, additionally provide a kind of storage space method for cleaning based on cloud server, comprising:
The path of the catalogue of Current Scan, in the process scanned storage space, is inquired about as information to be checked by mobile terminal in the local database;
Described mobile terminal to determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server;
The Prune Policies of the described catalogue that described mobile terminal returns according to described server, carries out garbage-cleaning to respective directories.
Preferably, described mobile terminal to determine in described local data base not with the information of described information match to be checked after, also comprise:
Described mobile terminal searches the information whether had with described information match to be checked in blacklist; And
Described described information to be checked to be uploaded onto the server, is specially:
If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server;
Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
Preferably, described storage space is specially: the internal memory of described mobile terminal, and/or nonvolatile storage space.
Preferably, at described mobile terminal in the process that storage space is scanned, 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.
Preferably, the Prune Policies of the described catalogue that described mobile terminal returns according to described server, carries out garbage-cleaning to respective directories, specifically 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; And
After the click event of described mobile terminal receives " key cleaning " button, according to the Prune Policies of the described catalogue that described server returns, garbage-cleaning is carried out to respective directories.
Preferably, described based in the storage space method for cleaning of cloud server, also comprise:
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.
Preferably, described based in the storage space method for cleaning of cloud server, also comprise:
Receive a kind data " expansion " button click event after, the relevant information of each subitem under described display interface shows such other data;
Wherein, the relevant information of described subitem comprises: the title of described subitem, take size and choose state.
Preferably, described mobile terminal, in the process scanned storage space, also comprises:
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 inquiry system based on cloud server, comprising:
Mobile terminal, for inquiring about in the local database for information to be checked; To determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And carry out respective handling after receiving the Query Result that described server returns;
Server, after receiving information to be checked that described mobile terminal uploads, inquires about for described information to be checked, is returned by Query Result to described mobile terminal in full dose database.
Preferably, described mobile terminal also for according to the Query Result received and described information to be checked, upgrades local data base.
Preferably, described information to be checked is specially described mobile terminal in the process scanned storage space, the path of the catalogue of Current Scan.
Preferably, the path that described Query Result is specially the catalogue that described server is uploaded for described mobile terminal carries out inquiring about the result obtained in full dose database; And
Described Query Result specifically comprises: the Prune Policies of described catalogue.
Preferably, described mobile terminal, specifically for the Prune Policies of described catalogue returned according to described server, carries out garbage-cleaning to respective directories.
Preferably, described mobile terminal also for determine in described local data base not with the information of described information match to be checked after, in blacklist, search the information whether had with described information match to be checked; If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server; Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
Preferably, the path of the catalogue of preserving in the described full dose database in described server is all through md5 encryption; And
Described mobile terminal also for before described information to be checked being uploaded onto the server, carries out md5 encryption to described information to be checked.
Present invention also offers a kind of storage space based on cloud server cleaning system, comprising:
Mobile terminal, in the process scanned storage space, inquires about as information to be checked in the local database using the path of the catalogue of Current Scan; To determine in local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And the Prune Policies of the described catalogue returned according to described server, garbage-cleaning is carried out to respective directories;
Server, after receiving information to be checked that described mobile terminal uploads, inquires about for described information to be checked, is returned by the Query Result including the Prune Policies of described catalogue to described mobile terminal in full dose database.
Preferably, described mobile terminal also for determine in described local data base not with the information of described information match to be checked after, in blacklist, search the information whether had with described information match to be checked; If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server; Wherein, record in described blacklist: the catalogue that the path of system directory, user create.
Present invention also offers a kind of mobile terminal, comprising:
Scan module, for scanning storage space, and exports the path of the catalogue of Current Scan in the process of scanning as information to be checked;
Enquiry module, inquires about in the local database for the information to be checked exported by described scan module; To determine in local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And export after receiving the Prune Policies of the described catalogue that described server returns;
Cleaning module, for the Prune Policies of described catalogue exported according to described enquiry module, carries out garbage-cleaning to respective directories.
Preferably, described enquiry module is inquired about in the local database specifically for the information to be checked exported by described scan module; To determine in local data base not with the information of described information match to be checked after, in blacklist, search the information whether had with described information match to be checked; If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server; And export after receiving the Prune Policies of the described catalogue that described server returns;
Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
Preferably, described enquiry module is also for according to described information to be checked, and the Prune Policies of described catalogue that described server returns, and upgrades local data base.
In technical scheme of the present invention, the path of the catalogue of Current Scan is inquired about by mobile terminal in the local database, if determine, the catalogue of Current Scan is not after the common CACHE DIRECTORY stored in local data base, just information to be checked is uploaded onto the server and inquires about; And the Prune Policies of the catalogue of the Current Scan returned according to server, garbage-cleaning is carried out to this catalogue.Compare existing storage space method for cleaning, due to the local data library storage in the solution of the present invention is the path of common CACHE DIRECTORY, and the CACHE DIRECTORY of storage is few, takies storage space little; And when determining that the catalogue to be checked in mobile terminal is common CACHE DIRECTORY, by can corresponding cleaning be carried out to the match query of local data base, without the need to mating with CACHE DIRECTORY information all in full dose database, saving inquiry and clearance time, improving inquiry, cleaning efficiency; Meanwhile, after the catalogue being gone out scanning by local data base None-identified, in conjunction with the full dose database of server, the storage space of mobile terminal effectively can be cleared up.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 is the structural representation of the inquiry system based on cloud server of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the querying method based on cloud server of the embodiment of the present invention;
Fig. 3 is the structural representation of the cleaning of the storage space based on the cloud server system of the embodiment of the present invention;
Fig. 4 a is the schematic flow sheet of the storage space method for cleaning based on cloud server of the embodiment of the present invention;
Fig. 4 b is the display interface schematic diagram that the statistical conditions of mobile terminal to the catalogue of suggestion cleaning of the embodiment of the present invention show;
Fig. 4 c is the display interface schematic diagram after the catalogue of mobile terminal to scanning of the embodiment of the present invention is sorted out;
Fig. 5 is the inner structure schematic diagram of the mobile terminal 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 (PersonalDigital 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.
Main thought of the present invention is, mobile terminal is inquired about in the local database for information to be checked; To determine in local data base not with the information of information match to be checked after, information to be checked is uploaded onto the server; Respective handling is carried out after receiving the Query Result that server returns.By the above-mentioned querying method for information to be checked, both reached full dose coupling, improved search efficiency; Save again the storage space of mobile terminal.
And then, this querying method is applied in the scale removal process of storage space, greatly can improves cleaning efficiency.Particularly, be not directly all CACHE DIRECTORYs stored in the catalogue of scanning and full dose database are carried out matching inquiry to the cleaning of storage space, but first inquire about in the local data base storing CACHE DIRECTORY common in mobile terminal, if inquire coupling, then directly can carry out respective handling to the catalogue of this scanning by Prune Policies accordingly according to what store in local data base, and without the need to carrying out full dose coupling, inquiry and clearance time can be saved, improve inquiry, cleaning efficiency; If search the CACHE DIRECTORY matched less than the path with catalogue to be checked in the local database, then the path of catalogue to be checked is uploaded onto the server and carry out full dose coupling, effectively to clear up the storage space of mobile terminal.
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawing.
Embodiments provide a kind of inquiry system based on cloud server, as shown in Figure 1, specifically can comprise: mobile terminal 101 and server 102.
Wherein, mobile terminal 101 utilizes the cloud server of server 102 to carry out the method for information inquiry, as shown in Figure 2, specifically can comprise the steps:
S201: mobile terminal is inquired about in the local database for information to be checked.
In this step, mobile terminal 101 that cloud looks into engine is installed information to be checked to be compared with the pre-Query Information of the setting stored in local data base quantity and mate, if determine to exist in local data base the information with information match to be checked, then can treat Query Information according to processing policy corresponding with information to be checked in local data base and carry out respective handling, or obtain the Query Result corresponding with information to be checked from local data base.
Wherein, store mobile terminal 101 in local data base and set the information that in the mobile terminal 101 of quantity, common carrying out is inquired about, the information that namely common pre-inquiry processes usually; Further, the corresponding processing policy of information corresponding stored that usually can also process for the pre-Query Information stored in this local data base.
In practical application, information to be checked can be specially mobile terminal 101 in the process scanned storage space, the path of the catalogue of Current Scan; Like this, the path of the catalogue of Current Scan can be inquired about as information to be checked by mobile terminal 101 in the local database.Correspondingly, the pre-Query Information stored in local data base can be specially CACHE DIRECTORY common in mobile terminal 101.Such as, the CACHE DIRECTORY of the program of TOP500 common in mobile terminal 101 can be stored in local data base.
S202: in mobile terminal determination local data base not with the information of information match to be checked after, information to be checked is uploaded onto the server.
Particularly, mobile terminal 101 to determine in local data base not with the information of information match to be checked after, engine can be looked into by cloud and information to be checked is uploaded onto the server 102.Consider in mobile terminal 101 often there are some information that can not inquire about (such as, the system information etc. of mobile terminal); If the information upload server that can not inquire about, and carry out full dose coupling, easily cause the waste of uplink traffic and query time.
Therefore, in order to improve search efficiency, more preferably, to determine in local data base not with information to be checked (such as, the path of the catalogue of Current Scan) after the information that matches, mobile terminal 101 can search the information whether had with information match to be checked in the blacklist preset.Wherein, the information can not inquired about in mobile terminal 101 is recorded in the blacklist preset.Such as, the path being previously determined to be the catalogue that can not clear up can be recorded in the blacklist preset, include but not limited to: the path etc. of the catalogue that the path of system directory, user create.
More preferably, in order to ensure the information security of mobile terminal, mobile terminal 101, information to be checked being uploaded onto the server before 102, can also be treated Query Information and be encrypted, such as MD5 (Message Digest 5Algorithm, Message Digest 5) encryption.How to carry out md5 encryption to information to be well known to those skilled in the art, repeat no more herein.
S203: server is inquired about in full dose database for information to be checked, is returned by Query Result to mobile terminal.
Wherein, all pre-Query Information collected in advance is stored in full dose database; And can for the pre-Query Information of every bar stored, the processing policy of this pre-Query Information of corresponding stored.Such as, the pre-Query Information in full dose database can be specially the CACHE DIRECTORY of all programs of collecting in advance; And store corresponding Prune Policies for every bar CACHE DIRECTORY, such as validity cleaning or careful cleaning etc.
In this step, the pre-Query Information in the information to be checked received and full dose database can be carried out match query, and be returned to mobile terminal 101 by the Query Result obtained after receiving the information to be checked that mobile terminal 101 uploads by server 102.Wherein, the Query Result obtained is specially the information to be checked (such as, the path of catalogue) that server 102 uploads for mobile terminal 101 to carry out inquiring about the result obtained in full dose database; The processing policy (such as, the Prune Policies of catalogue) of information to be checked can be comprised in the Query Result obtained.
In practical application, in order to protect the information security of mobile terminal, if the information to be checked that mobile terminal 101 is uploaded is through md5 encryption, then the pre-Query Information stored in the full dose database in server 102 also can through md5 encryption.Such as, the CACHE DIRECTORY of preserving in full dose database is all through md5 encryption.
S204: mobile terminal carries out respective handling after receiving the Query Result that server returns.
Particularly, mobile terminal 101 can be treated Query Information according to the processing policy in the Query Result received and carry out respective handling after receiving the Query Result that server 102 returns for the information to be checked uploaded.
In practical application, when the information to be checked that mobile terminal 101 is uploaded is specially the path of catalogue, the Prune Policies of the catalogue that mobile terminal 101 can return for the path of the catalogue uploaded according to server, carries out garbage-cleaning to respective directories.
S205: mobile terminal, according to the Query Result received and information to be checked, upgrades local data base.
Particularly, after mobile terminal 101 receives the Query Result that server 102 returns for the information to be checked uploaded, can also according to the Query Result received and information to be checked, update process is carried out to local data base, store by the common pre-Query Information of information to be checked as mobile terminal 101, and by the processing policy of this information to be checked also corresponding stored.
Preferably, above-mentioned querying method can be applied to the embodiment of the present invention and additionally provide a kind of storage space based on cloud server cleaning system, and as shown in Figure 3, described system specifically comprises: mobile terminal 301, server 302.
Utilize the storage space cleaning system of above-mentioned querying method, method flow as shown in fig. 4 a can be adopted, storage space is cleared up:
S401: the path of the catalogue of Current Scan, in the process scanned storage space, is inquired about as information to be checked by mobile terminal in the local database.
The storage spaces such as wherein, storage space can be specifically: the internal memory of mobile terminal 301, and/or nonvolatile storage space, such as buffer memory, SD card (Secure Digital Memory Card, safe digital card); CACHE DIRECTORY common in the mobile terminal 301 of setting quantity is stored in local data base.Such as, the CACHE DIRECTORY of the program of TOP500 common in mobile terminal 301 can be stored in local data base.Further, also corresponding Prune Policies is stored for CACHE DIRECTORY in local data base.
In the embodiment of the present invention, Prune Policies specifically 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.
In this step, cloud is installed and looks into the mobile terminal 301 of engine in the process that storage space is scanned, can using the path of the catalogue of Current Scan as information to be checked; And this information to be checked is compared with the CACHE DIRECTORY stored in local data base mate, if determine to exist in local data base the CACHE DIRECTORY with information match to be checked, then can obtain Prune Policies corresponding with the path of the catalogue of Current Scan in local data base.In practical application, prefix matching method well-known to those skilled in the art specifically can be adopted between information to be checked with the CACHE DIRECTORY stored in local data base to compare and to mate, not repeat them here.
In practical application, mobile terminal 301, in the process scanned storage space, can also show the path of the catalogue of Current Scan on display interface.More preferably, the size of the catalogue of Current Scan can also be shown on display interface.
Wherein, the size of catalogue can obtain in the following way: the routing information obtaining the catalogue of Current Scan; Routing information according to catalogue searches respective scanned strategy in scanning strategy database; The size of the catalogue that Current Scan goes out is determined according to the scanning strategy found.Such as, if the scanning strategy found is specially: resolve total description document, then can according to this scanning strategy, search and total description document under resolving catalogue, according to the size of each file recorded in total description document, calculate the size of the catalogue that Current Scan goes out.Further, if scanning strategy is specially: file size mean value; Then can according to this scanning strategy, after obtaining the sum of file under catalogue, by the product of sum with file size mean value, as the size of the catalogue that Current Scan goes out.
More preferably, at mobile terminal in the process that storage space is scanned, after mobile terminal receives scan instruction, carry out the cleaning data scanning of internal memory, nonvolatile storage space simultaneously.Wherein, 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.
Further, mobile terminal can also 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, calculates overall progress; And on display interface, carry out the progress display of progress announcer according to overall progress, and 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, 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, receiving " cleaning data details are checked " button click event after, in 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 etc.Wherein, the generic of the cleaning data scanned specifically by scanning process, 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.
After the click event receiving " the cleaning data details of internal memory are checked " button, can on display interface the cleaning data details of display memory; 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 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, understand the Prune Policies of cleaning data for the ease of user, more preferably, on display interface, the data of corresponding every kind, can also show the size of the cleaning data of the suggestion cleaning of such other data, and " expansion " button.
Correspondingly, receive a kind data " expansion " button click event after, on display interface, 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.
S402: in mobile terminal determination local data base not with the information of information match to be checked after, information to be checked is uploaded onto the server.
Particularly, if after information to be checked is mated with CACHE DIRECTORY comparisons all in local data base by mobile terminal 301, determine do not have in local data base with the CACHE DIRECTORY of information match to be checked, then to look into engine by cloud and information to be checked is uploaded onto the server 302.
Consider the system directory in mobile terminal 301, the information such as catalogue that user creates is not junk information, can not clear up often.Therefore, whether in order to improve the cleaning efficiency of storage space, more preferably, upload onto the server before 302 at mobile terminal 301 by information to be checked, can prejudge this information to be checked is the catalogue that can not clear up; If the catalogue that can not clear up, then carry out full dose coupling without the need to uploading onto the server; Otherwise, information to be checked is uploaded and does further inquiry.Like this, the catalogue that can not clear up can be avoided to upload onto the server, cause the waste of uplink traffic; Also can save the full dose coupling of the catalogue that can not clear up, save query time, improve search efficiency and cleaning efficiency.
Particularly, mobile terminal 301 to determine in local data base not with the CACHE DIRECTORY of information match to be checked after, mobile terminal 301 can also search the catalogue whether had with information match to be checked in blacklist.Wherein, blacklist pre-sets, and can include but not limited to: the path etc. of the catalogue that the path of system directory, user create.
More preferably, in order to save the query time of subsequent server, information to be checked (i.e. the path of the catalogue of Current Scan) is being uploaded onto the server before 302, the catalogue of Current Scan can also be mated with the General Catalog preset list, if there is the General Catalog identical with the catalogue of Current Scan in General Catalog list, then can upload rule corresponding to this General Catalog, the catalogue of Current Scan is uploaded.Wherein, the rule of uploading corresponding to General Catalog presets, and such as, the rule of uploading of General Catalog can specifically: the ground floor catalogue of this General Catalog is uploaded or the first to the second layer of General Catalog catalogue uploaded etc.
More preferably, in order to ensure the information security of mobile terminal 301, mobile terminal 301, information to be checked being uploaded onto the server before 102, can also be treated Query Information to the md5 encryption algorithm adopting those skilled in the art commonly use and be encrypted.
S403: server is inquired about in full dose database for information to be checked, returns the Query Result of the Prune Policies including catalogue to mobile terminal.
Wherein, store the CACHE DIRECTORY produced when all programs of collecting in advance are run in full dose database, and have corresponding Prune Policies for every bar CACHE DIRECTORY corresponding stored.Like this, server 302 is inquired about in full dose database for the information to be checked received after receiving the information to be checked that mobile terminal 301 uploads; And find in full dose database with the catalogue of the information match to be checked received after, the Query Result including the Prune Policies of this catalogue can be returned to mobile terminal 301.Wherein, the match query of the catalogue in information to be checked and full dose database, also can adopt prefix matching method well-known to those skilled in the art to carry out, not repeat them here.
In practical application, except comprising the Prune Policies of catalogue in Query Result, can further include the information such as ID of the size of catalogue, the software name of the program of mark, bag list of file names, version number, mobile terminal.Therefore, more preferably, if the Prune Policies of the catalogue of Current Scan is specially suggestion cleaning, namely clear up completely, then all sizes of catalogue being defined as suggestion cleaning at present can be added up; As shown in Figure 4 b, and show on the display interface of mobile terminal 301.
In practical application, if the information to be checked that mobile terminal 301 is uploaded is through md5 encryption, correspondingly, the CACHE DIRECTORY stored in full dose database is also through md5 encryption.
More preferably, in the embodiment of the present invention, the full dose database in server 302 can be specially prefix type database, and prefix type database can have the routing information of the catalogue of common prefix and with this common prefix for index stores.
Correspondingly, server 302 can obtain the routing information of the catalogue of Current Scan, and extract prefix information from routing information before inquiring about in full dose database for information to be checked.Like this, server 302 can find out the prefix information matched with the prefix information extracted in prefix type database; And by the routing information of the prefix information found out corresponding in prefix type database compared with the routing information of acquisition; If comparative result is consistent, then the Query Result including the Prune Policies of respective path information record in prefix type database returns to mobile terminal 301.
Wherein, from the routing information of the catalogue of Current Scan, extract prefix information and can have multiple implementation; Wherein a kind of implementation is: for the catalogue of Current Scan, can determine that this catalogue is at the directory name storing aerial the superiors' catalogue, carries out hash algorithm to this catalogue at the directory name storing aerial the superiors' catalogue and obtains prefix information according to the routing information of this catalogue; In addition, a kind of implementation is in addition: for the catalogue of Current Scan, determine the superiors catalogue of this catalogue in storage space according to the routing information of this catalogue, directly this catalogue is being stored the directory name of aerial the superiors' catalogue as prefix information.
Such as, for the catalogue/user/share in SD card storage space, prefix information can be obtained by carrying out Hash operation to user, also can using user as prefix information.
Like this, the prefix information extracted in routing information according to the catalogue from Current Scan, only by the routing information of the catalogue of Current Scan, compare with the routing information corresponding with this prefix information stored in prefix type database and mate, and mate without the need to carrying out comparison one by one with all records in prefix type database, make Query Efficiency high, accelerate the cleaning speed of storage space, improve Consumer's Experience.
S404: the Prune Policies of the catalogue that mobile terminal returns according to server, carries out garbage-cleaning to respective directories.
Particularly, mobile terminal 301 therefrom parses the Prune Policies of catalogue after receiving the Query Result that server 302 returns, and according to the Prune Policies parsed, carries out garbage-cleaning to corresponding catalogue.
More preferably, the classification information of catalogue can also be carried in Prune Policies.Accordingly, more preferably, after mobile terminal 301 parses the Prune Policies of catalogue from the Query Result that server 302 returns, according to the classifying method that the classification information of the catalogue of carrying in Prune Policies can also adopt those skilled in the art to commonly use, after the path of the respective directories of Current Scan is sorted out, show in interface as illustrated in fig. 4 c after data for clearance of all categories are added up.Such as, the data for clearance classifying as internal memory rubbish or buffer memory rubbish or advertisement rubbish etc. can be shown.
More preferably, in the embodiment of the present invention, in order to strengthen the interactive experience of product and user's vision, effective alleviation period of reservation of number, can after mobile terminal receives the Prune Policies of the catalogue that server returns, according to all catalogues scanned and corresponding Prune Policies thereof, the cleaning of catalogue can be carried out based on suspended window, allow user can managing mobile terminal very easily.
And based on the method for cleaning of suspended window, specifically can comprising the following steps: according to the first suspended window being operated to the call instruction produced, calling the second suspended window; Receive and the cleaning instruction produced is operated to the second suspended window; According to cleaning instruction, file is cleared up.Wherein, the display state of the second suspended window called be following any one: when the first suspended window be memory usage show time, the second suspended window display conventional interface; 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, the content that the 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; Second suspended window comprises internal memory and accelerates interface, cleaning interface and conventional interface.
In practical application, 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; It is the conventional interface of the second suspended window that internal memory accelerates interface, and described cleaning prompting region is control regions, and is provided with and points out official documents and correspondence accordingly.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.
Wherein, 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 sub-interface is respectively equipped with for call stop the sub-interface of scanning scan function control, for call clear up sub-interface stopping scan function control, for calling the key clearing function control clearing up sub-interface.
In practical application, the program that different users installs in the terminal is often different, and therefore, the common CACHE DIRECTORY stored in the local database is also different; And the common CACHE DIRECTORY stored in the local database is more, follow-up to carry out the possibility of full dose coupling at server less.
Therefore, more preferably, in order to improve overall search efficiency and the cleaning efficiency of storage space, the embodiment of the present invention provide based in the storage space method for cleaning of cloud server, at the Prune Policies of the catalogue that mobile terminal 301 returns according to server 302, after garbage-cleaning is carried out to respective directories, can also S405 as follows, local data base is upgraded:
S405: mobile terminal, according to the Query Result received and information to be checked, upgrades local data base.
Particularly, after mobile terminal 301 receives the Query Result that server 302 returns for the information to be checked uploaded, can also according to the Prune Policies in Query Result and information to be checked, update process is carried out to local data base, path by Current Scan stores as CACHE DIRECTORY common in mobile terminal 301, and by the Prune Policies of this catalogue also corresponding stored.
The embodiment of the present invention additionally provides and is a kind ofly provided with the mobile terminal that cloud looks into engine, and as shown in Figure 5, mobile terminal specifically can comprise; Scan module 501, enquiry module 502, cleaning module 503.
Wherein, the path of the catalogue of Current Scan in the process of scanning for scanning storage space, and exports as information to be checked by scan module 501.
Enquiry module 502 is inquired about in the local database for the information to be checked exported by scan module; To determine in local data base not with the information of information match to be checked after, information to be checked is uploaded onto the server; And export after the Prune Policies of catalogue that returns of reception server.In practical application, enquiry module 502 is specially the cloud be arranged in mobile terminal and looks into engine.
Particularly, the information to be checked that scan module 501 exports by enquiry module 502 is inquired about in the local database; To determine in local data base not with the information of information match to be checked after, the information whether had with information match to be checked can also be searched in blacklist; If blacklist does not have with the information of information match to be checked, then information to be checked to be uploaded onto the server; And export after the Prune Policies of catalogue that returns of reception server.Wherein, record in blacklist: the path of the catalogue that the path of system directory, user create.
Preferably, in order to protect the information security of mobile terminal, enquiry module 502 also for before information to be checked being uploaded onto the server, is treated Query Information and is carried out md5 encryption.
More preferably, the to be checked information of enquiry module 502 also for exporting according to scan module 501, and the Prune Policies of catalogue that server returns, upgrade local data base.
Cleaning module 503, for the Prune Policies of catalogue exported according to enquiry module 502, carries out garbage-cleaning to respective directories.
In the embodiment of the present invention, concrete function based on each module in the mobile terminal in the inquiry system of cloud server, storage space cleaning system and server and mobile terminal realizes, with reference to querying method, the storage space method for cleaning based on cloud server, can be not described in detail in this.
In technical scheme of the present invention, be the path of common CACHE DIRECTORY due to what store in local data base, the CACHE DIRECTORY of storage is few, takies storage space little; And after applying technical scheme of the present invention, when catalogue to be checked is in the terminal common CACHE DIRECTORY, corresponding cleaning can be carried out by the inquiry of local data base, without the need to mating with CACHE DIRECTORYs all in full dose database, save inquiry and clearance time, improve inquiry, cleaning efficiency; Meanwhile, after the catalogue being gone out scanning by local data base None-identified, full dose coupling can be carried out in conjunction with the full dose database of server, the storage space of mobile terminal is effectively cleared up.
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. based on a querying method for cloud server, it is characterized in that, comprising:
Mobile terminal is inquired about in the local database for information to be checked;
Described mobile terminal to determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server;
Described mobile terminal carries out respective handling after receiving the Query Result that described server returns.
2. method according to claim 1, is characterized in that, described information to be checked is specially described mobile terminal in the process scanned storage space, the path of the catalogue of Current Scan.
3. method according to claim 2, is characterized in that, the path that described Query Result is specially the catalogue that described server is uploaded for described mobile terminal carries out inquiring about the result obtained in full dose database; And
Described Query Result specifically comprises: the Prune Policies of described catalogue.
4., based on a storage space method for cleaning for cloud server, it is characterized in that, comprising:
The path of the catalogue of Current Scan, in the process scanned storage space, is inquired about as information to be checked by mobile terminal in the local database;
Described mobile terminal to determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server;
The Prune Policies of the described catalogue that described mobile terminal returns according to described server, carries out garbage-cleaning to respective directories.
5. method according to claim 4, is characterized in that, described mobile terminal to determine in described local data base not with the information of described information match to be checked after, also comprise:
Described mobile terminal searches the information whether had with described information match to be checked in blacklist; And
Described described information to be checked to be uploaded onto the server, is specially:
If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server;
Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
6. based on an inquiry system for cloud server, it is characterized in that, comprising:
Mobile terminal, for inquiring about in the local database for information to be checked; To determine in described local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And carry out respective handling after receiving the Query Result that described server returns;
Server, after receiving information to be checked that described mobile terminal uploads, inquires about for described information to be checked, is returned by Query Result to described mobile terminal in full dose database.
7. system according to claim 6, is characterized in that, described information to be checked is specially described mobile terminal in the process scanned storage space, the path of the catalogue of Current Scan.
8., based on a storage space cleaning system for cloud server, it is characterized in that, comprising:
Mobile terminal, in the process scanned storage space, inquires about as information to be checked in the local database using the path of the catalogue of Current Scan; To determine in local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And the Prune Policies of the described catalogue returned according to described server, garbage-cleaning is carried out to respective directories;
Server, after receiving information to be checked that described mobile terminal uploads, inquires about for described information to be checked, is returned by the Query Result including the Prune Policies of described catalogue to described mobile terminal in full dose database.
9. a mobile terminal, is characterized in that, comprising:
Scan module, for scanning storage space, and exports the path of the catalogue of Current Scan in the process of scanning as information to be checked;
Enquiry module, inquires about in the local database for the information to be checked exported by described scan module; To determine in local data base not with the information of described information match to be checked after, described information to be checked is uploaded onto the server; And export after receiving the Prune Policies of the described catalogue that described server returns;
Cleaning module, for the Prune Policies of described catalogue exported according to described enquiry module, carries out garbage-cleaning to respective directories.
10. mobile terminal according to claim 9, is characterized in that,
Described enquiry module is inquired about in the local database specifically for the information to be checked exported by described scan module; To determine in local data base not with the information of described information match to be checked after, in blacklist, search the information whether had with described information match to be checked; If described blacklist does not have with the information of described information match to be checked, then described information to be checked to be uploaded onto the server; And export after receiving the Prune Policies of the described catalogue that described server returns;
Wherein, record in described blacklist: the path of the catalogue that the path of system directory, user create.
CN201410642240.1A 2014-11-13 2014-11-13 Query and memory space cleaning method and system based on cloud server Pending CN104317956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410642240.1A CN104317956A (en) 2014-11-13 2014-11-13 Query and memory space cleaning method and system based on cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410642240.1A CN104317956A (en) 2014-11-13 2014-11-13 Query and memory space cleaning method and system based on cloud server

Publications (1)

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

Family

ID=52373188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410642240.1A Pending CN104317956A (en) 2014-11-13 2014-11-13 Query and memory space cleaning method and system based on cloud server

Country Status (1)

Country Link
CN (1) CN104317956A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224356A (en) * 2015-08-28 2016-01-06 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN106161532A (en) * 2015-04-09 2016-11-23 Tcl集团股份有限公司 A kind of orientation method for cleaning based on cloud service and system
CN106201601A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of file clean-up method, electronic equipment and server
CN106383748A (en) * 2016-09-05 2017-02-08 Tcl集团股份有限公司 Cloud service-based storage space clearing method and system
CN108197253A (en) * 2017-12-29 2018-06-22 方正璞华软件(武汉)股份有限公司 The equipment query method, apparatus and equipment of a kind of cloud monitor supervision platform
CN108427737A (en) * 2018-02-28 2018-08-21 上海连尚网络科技有限公司 A kind of data clearing method, equipment and computer-readable medium
CN109525546A (en) * 2018-09-11 2019-03-26 江苏拓华人防工程有限公司 A kind of cloud monitoring system of facing moving terminal
WO2019056754A1 (en) * 2017-09-21 2019-03-28 北京金山安全软件有限公司 Junk feature acquisition method, apparatus, server and readable storage medium
CN110362546A (en) * 2019-07-22 2019-10-22 网易(杭州)网络有限公司 Acquisition methods, device and the document conversion system of convert file
CN111464571A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method and system, server and client
CN113051271A (en) * 2021-03-26 2021-06-29 郑州阿帕斯数云信息科技有限公司 Cold and hot data separation method, device and equipment
CN113572746A (en) * 2021-07-12 2021-10-29 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and storage medium
CN114743625A (en) * 2022-04-14 2022-07-12 浙江远图技术股份有限公司 Electronic health record management method, system and computer storage medium
CN114756509A (en) * 2022-05-19 2022-07-15 北京百度网讯科技有限公司 Operation method, system, device and storage medium of file system

Citations (5)

* 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
CN103324639A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Useless item clearing method and device
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files

Patent Citations (5)

* 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
CN103324639A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Useless item clearing method and device
CN103365882A (en) * 2012-03-30 2013-10-23 网秦无限(北京)科技有限公司 Method and system for cleaning junk files on mobile terminal
CN103559276A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and device for clearing useless files
CN103559299A (en) * 2013-11-14 2014-02-05 贝壳网际(北京)安全技术有限公司 Method, device and mobile terminal for cleaning up files

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐海浪等: "面向移动终端的云监控研究", 《计算机科学》 *

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161532A (en) * 2015-04-09 2016-11-23 Tcl集团股份有限公司 A kind of orientation method for cleaning based on cloud service and system
CN105224356A (en) * 2015-08-28 2016-01-06 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN105224356B (en) * 2015-08-28 2018-09-14 北京金山安全软件有限公司 Directory clearing method and device and mobile terminal
CN106201601A (en) * 2016-06-30 2016-12-07 北京奇虎科技有限公司 A kind of file clean-up method, electronic equipment and server
CN106383748A (en) * 2016-09-05 2017-02-08 Tcl集团股份有限公司 Cloud service-based storage space clearing method and system
WO2019056754A1 (en) * 2017-09-21 2019-03-28 北京金山安全软件有限公司 Junk feature acquisition method, apparatus, server and readable storage medium
CN110019033A (en) * 2017-09-21 2019-07-16 北京金山安全软件有限公司 Junk feature acquisition method and device, server and readable storage medium
CN108197253A (en) * 2017-12-29 2018-06-22 方正璞华软件(武汉)股份有限公司 The equipment query method, apparatus and equipment of a kind of cloud monitor supervision platform
CN108427737A (en) * 2018-02-28 2018-08-21 上海连尚网络科技有限公司 A kind of data clearing method, equipment and computer-readable medium
CN109525546A (en) * 2018-09-11 2019-03-26 江苏拓华人防工程有限公司 A kind of cloud monitoring system of facing moving terminal
CN111464571A (en) * 2019-01-18 2020-07-28 阿里巴巴集团控股有限公司 Communication method and system, server and client
CN111464571B (en) * 2019-01-18 2022-04-26 阿里巴巴集团控股有限公司 Communication method and system, server and client
CN110362546A (en) * 2019-07-22 2019-10-22 网易(杭州)网络有限公司 Acquisition methods, device and the document conversion system of convert file
CN113051271A (en) * 2021-03-26 2021-06-29 郑州阿帕斯数云信息科技有限公司 Cold and hot data separation method, device and equipment
CN113051271B (en) * 2021-03-26 2024-01-19 郑州阿帕斯数云信息科技有限公司 Cold and hot data separation method, device and equipment thereof
CN113572746A (en) * 2021-07-12 2021-10-29 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and storage medium
CN113572746B (en) * 2021-07-12 2023-05-19 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and storage medium
CN114743625A (en) * 2022-04-14 2022-07-12 浙江远图技术股份有限公司 Electronic health record management method, system and computer storage medium
CN114756509A (en) * 2022-05-19 2022-07-15 北京百度网讯科技有限公司 Operation method, system, device and storage medium of file system

Similar Documents

Publication Publication Date Title
CN104317956A (en) Query and memory space cleaning method and system based on cloud server
CN104317627A (en) Clear data one click scan method and device of storage space
CN103548003B (en) Method and system for improving the client-side fingerprint cache of deduplication system backup performance
JP5369105B2 (en) Technology to recover program information of clips of broadcast programs shared online
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
US8140495B2 (en) Asynchronous database index maintenance
CN104317952A (en) Scanning method and device for storage space in mobile terminal
CN100492367C (en) Reminding device and method used for download system
CN102693388B (en) Data safety protection processing system, method and storage medium
CN101278289B (en) System and method for providing an object to support data structures in WORM storage
CN107066457B (en) user information view construction method and system
CN101692668B (en) Device and method for automatically downloading, resolving and storing aviation meteorological data
US20070006310A1 (en) Systems and methods for identifying malware distribution sites
US20110307451A1 (en) System and method for distributed objects storage, management, archival, searching, retrieval and mining in private and public clouds and deep invisible webs
WO1998040804A3 (en) Distributed relational database
CN101908077A (en) Duplicated data deleting method applicable to cloud backup
CN108595511B (en) Diversified meteorological hydrological data classification storage processing method and system
CN102937924B (en) File allocation table (FAT) data recovery method based on file characteristic and file system
CN104317741B (en) Recognition and cleaning method and system of cache directories
CN104317951A (en) Method and device for cleaning memory space based on prefix database
CN103366117B (en) A kind of viral restorative procedure of infection type and system
EP2024879A1 (en) Significant change search alerts
CN104536792A (en) Method and device for eliminating application program residual files
CN102932391A (en) Method and device for processing data in peer to server/peer (P2SP) system, and P2SP system

Legal Events

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

Application publication date: 20150128