CN104331488B - File clean-up method, apparatus and equipment based on suspended window - Google Patents

File clean-up method, apparatus and equipment based on suspended window Download PDF

Info

Publication number
CN104331488B
CN104331488B CN201410642267.0A CN201410642267A CN104331488B CN 104331488 B CN104331488 B CN 104331488B CN 201410642267 A CN201410642267 A CN 201410642267A CN 104331488 B CN104331488 B CN 104331488B
Authority
CN
China
Prior art keywords
interface
suspended window
cleaning
sub
function control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410642267.0A
Other languages
Chinese (zh)
Other versions
CN104331488A (en
Inventor
王猛
肖文峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology 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 CN201410642267.0A priority Critical patent/CN104331488B/en
Publication of CN104331488A publication Critical patent/CN104331488A/en
Application granted granted Critical
Publication of CN104331488B publication Critical patent/CN104331488B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • 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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of file clean-up method based on suspended window, comprises the following steps:According to call instruction caused by the operation of the first suspended window, the second suspended window is called;Receive cleaning instruction caused by being operated to the second suspended window;Instructed according to cleaning, file is cleared up.The present invention also provides a kind of file clean-up device based on suspended window and the mobile terminal device provided with the device.By the above-mentioned means, the present invention can utilize suspended window to needing the file instant alerts of cleaning in mobile terminal, and cleared up based on suspended window.

Description

File clean-up method, apparatus and equipment based on suspended window
Technical field
The present invention relates to computer realm, specifically, the present invention relates to a kind of file clean-up method based on suspended window, Device and equipment.
Background technology
With the continuous development of mobile terminal, especially mobile phone, from function machine before be changed into collection communication, work and The intelligent machine of amusement.While smart mobile phone function increase, its corresponding application also increases, to ensure the performance of smart mobile phone, It is cleared up at any time and is very important.
At present, the process of smart mobile phone file clean-up is usually:Start cleaning application program, entered using application program is cleared up Row file clean-up.User can be cleared up complete liquidation project or part cleaning project, the deficiency performance of such a manner of cleaning up For:For clearance time, there is subjectivity, determine when cleared up by user, smart mobile phone can not be kept at any time High-performance;For clearing up content, same specific subjectivity, select cleaning project to be cleared up by user, cause to clear up clear Reason project may be ignored, and influence the performance of smart mobile phone.The deficiency of this manner of cleaning up can produce low Consumer's Experience.
The content of the invention
The purpose of the present invention is intended at least solve one of above-mentioned technological deficiency, particularly in the terminal, utilizes suspension Window is cleared up based on suspended window the file instant alerts that need to clear up.
The present invention provides a kind of file clean-up method based on suspended window, comprises the following steps:According to the first suspended window Call instruction caused by operation, call the second suspended window;Receive cleaning instruction caused by being operated to the second suspended window;According to Cleaning instruction, is cleared up file.
The present invention provides a kind of file clean-up device based on suspended window, including:First calling module, for according to the Call instruction caused by the operation of one suspended window, calls the second suspended window;Receiving module, the second suspended window is operated for receiving Caused cleaning instruction;Cleaning modul, for being instructed according to cleaning, file is cleared up.
The present invention provides a kind of mobile terminal device, and it includes the file clean-up device based on suspended window.
In the present invention, first according to call instruction caused by the operation of the first suspended window, the second suspended window is called, then Second suspended window is operated, instruction is cleared up according to caused by operation, file is cleared up.
Such scheme proposed by the present invention, the content of the first suspended window displaying is current memory occupancy, when having detected When file need to be cleared up, cleaning prompting is also showed that.User can according to cleaning prompting immediately, targetedly carry out file clean-up.
Such scheme proposed by the present invention, the second suspended window are called by the first suspended window, and the second suspended window of calling is direct The control corresponding with cleaning prompting is shown, is cleared up by operational controls, improves Consumer's Experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, and these will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Brief description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments Substantially and it is readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of file clean-up method one embodiment of the invention based on suspended window;
Fig. 2 is the schematic flow sheet of file clean-up method another embodiment of the invention based on suspended window;
Fig. 3 is the structural representation of file clean-up device one embodiment of the invention based on suspended window;
Fig. 4 is the initial sub-interface of a specific embodiment of the invention;
Fig. 5 is the scanning sub-interface of a specific embodiment of the invention;
Fig. 6 is that the stopping of a specific embodiment of the invention scans sub-interface;
Fig. 7 is the cleaning sub-interface of a specific embodiment of the invention;
Fig. 8 is the cleaning sub-interface of a specific embodiment of the invention;
Fig. 9 is the interface with cleaning prompting region of a specific embodiment of the invention.
Embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from beginning to end Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges Diction " comprising " refer to the feature, integer, step, operation, element and/or component be present, but it is not excluded that in the presence of or addition One or more other features, integer, step, operation, element, component and/or their groups.It should be understood that when we claim member Part is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " can include wireless connection or wireless coupling.It is used herein to arrange Taking leave "and/or" includes whole or any cell and all combinations of one or more associated list items.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), there is the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that have with the context of prior art The consistent meaning of meaning, and unless by specific definitions as here, idealization or the implication of overly formal otherwise will not be used To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, it only possesses the equipment of the wireless signal receiver of non-emissive ability, includes receiving again and transmitting hardware Equipment, its have on bidirectional communication link, can perform two-way communication reception and launch hardware equipment.This equipment It can include:Honeycomb or other communication equipments, it has single line display or multi-line display or shown without multi-line The honeycomb of device or other communication equipments;PCS (Personal Communications Service, PCS Personal Communications System), it can With combine voice, data processing, fax and/or its communication ability;PDA (Personal Digital Assistant, it is personal Digital assistants), it can include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day Go through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, its have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " they can be portable, can transport, installed in the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communication terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone or the equipment such as intelligent television, set top box with music/video playing function.
Those skilled in the art of the present technique are appreciated that remote network devices used herein above, and it includes but is not limited to count The cloud that calculation machine, network host, single network server, multiple webserver collection or multiple servers are formed.Here, Yun Youji Formed in a large amount of computers or the webserver of cloud computing (Cloud Computing), wherein, cloud computing is Distributed Calculation One kind, a super virtual computer being made up of the computer collection of a group loose couplings.In embodiments of the invention, distal end It can be realized and communicated by any communication mode between the network equipment, terminal device and WNS servers, included but is not limited to, be based on 3GPP, LTE, WIMAX mobile communication, based on TCP/IP, the computer network communication of udp protocol and based on bluetooth, infrared The low coverage wireless transmission method of transmission standard.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of file clean-up method one embodiment of the invention based on suspended window, such as Shown in Fig. 1, comprise the following steps:
S11, according to call instruction caused by the operation of the first suspended window, call the second suspended window.
During file clean-up, the first suspended window is shown all the time, and predominantly user shows the current memory of mobile terminal Occupancy, when detecting that mobile terminal has file to clear up, also show that cleaning prompting.
The effect of first suspended window is, when its system is in table minimums, also family can be used to see that the system is being transported OK.
In the present embodiment, the first suspended window is smaller, including characterizes the ball of memory usage and characterize cleaning prompting Balloon dialog box;For memory usage, refresh once per 10s;When memory usage is below 80%, display is blue;When Memory usage 80% and more than, display is red;When triggering balloon dialog box, balloon dialog box is deployable, and display is corresponding Prompt official documents and correspondence.
In the present embodiment, the second suspended window is larger, including internal memory accelerates interface, cleaning interface and conventional interface.All circles The function in face is as follows:
A. internal memory accelerates interface to include initial sub-interface and completes sub-interface, and initial sub-interface is used to show that current memory accounts for With rate, it which is provided with and click on acceleration function control, the control, which is used to call, completes sub-interface.
Internal memory accelerate detailed process be:Before acceleration, initial sub-interface shows current memory occupancy, works as memory usage During less than 80%, initial sub-interface display blueness, when memory usage is 80% and the above, initial sub-interface display is red; After clicking on acceleration function control, memory usage drops to 0% from initial value and gone up again the memory usage to acceleration, interface Color also occurs to change accordingly, ultimately generates and completes sub-interface.
Wherein, complete sub-interface and also show raised speed how many, how many computational methods that raise speed are:Current memory before acceleration Occupancy subtracts the current memory occupancy after accelerating, if the difference of the two is less than 1%, completes sub-interface and then shows " up to most It is good ".
Wherein, the current memory occupancy that initial sub-interface is shown is read from the first suspended window, is shown with the first suspended window Memory usage it is identical.
B. clearing up interface includes scanning sub-interface, stops scanning sub-interface, cleaning sub-interface and cleared up sub-interface.Scanning Sub-interface, the scanning sub-interface that stops, scan function control is respectively equipped with cleaning sub-interface, stops scan function control, a key Clearing function control, scan function control, which is used to call, stops scanning sub-interface, and stopping scan function control, which is used to call, to be cleared up Sub-interface, a key clearing function control, which is used to call, has cleared up sub-interface.
The detailed process of cleaning is:Before cleaning, scanning sub-interface displaying current stored value;After click scan functionality controls, Stop scanning sub-interface and show the rubbish value scanned;Click on after stopping scan function control, if having scanned rubbish, go to clear Sub-interface is managed, if not scanning rubbish, goes to scanning sub-interface;Cleaning sub-interface shows the rubbish scanned, this interface On be additionally provided with details control, for inquiring about rubbish details;After clicking on a key clearing function control, cleared up sub-interface show it is clear The rubbish of reason.
Wherein, if the rubbish scanned is less than or equal to 50M, scanning sub-interface is stopped, cleaning sub-interface is blueness;If sweep The rubbish described is more than 50M, then stops scanning sub-interface, cleaning sub-interface is red.
After click scan functionality controls, nonvolatile storage space is scanned, after the completion of scanning, cleared up using a key Functionality controls carry out a key cleaning to the rubbish scanned, can without being cleared up by different operations different rubbish Reduce the operation of user.
After clicking on details control, the data of following at least one classification are shown:Data cached, installation bag data, unloading are residual Residual according to etc..
C. often include opening management function control certainly with interface, unload prepackage functionality controls, privacy clearing function control, trip Play/video acceleration function control, software offloading functions control and timing clearing function control.Above-mentioned functionality controls are corresponding work( The entrance of energy.
In further embodiments, after timing clearing function control is triggered to, into timed task interface, it is " fixed to show Shi Zidong is cleared up ", " time switch WiFi network ", " time switch offline mode ", " time switch silent mode " four.
Wherein, it is powerful acceleration to open management certainly, software can be forbidden to open certainly, strength releasing memory.
Privacy cleaning can prevent privacy leakage, easily cleaning not trace, and it mainly clears up the photo, short not deleted thoroughly Letter, address list, message registration, chat record, recording, video etc..Privacy record lookup be specially:Orient first it is all can There can be the position of privacy record, then be come out whole privacies record and doubtful privacy record matching by matching, then pass through Judge to remove doubtful privacy record, it is final to obtain whole privacy records.
Above-mentioned each interface is equipped with the control for setting control and entering system interface, wherein, set control to be used for suspending Window is configured.Set content mainly includes:Whether the first suspended window is opened, ignores list is set and prompting is set etc., prompts Set such as:Clear up content, interval time of prompting etc..
The content shown according to the first suspended window, the dispaly state of the second suspended window of calling include following two situations:
A. when the first suspended window is that memory usage is shown, the second suspended window shows conventional interface, conventional interface tool Body is that internal memory accelerates interface.
B. when the first suspended window be memory usage and cleaning prompting displaying when, the second suspended window show conventional interface and Increase cleaning prompting region on conventional interface.Wherein, it is control regions to clear up prompting region.
Wherein, clear up prompting region and be provided with the prompting official documents and correspondence corresponding with the cleaning prompting of the first suspended window.
In other embodiments, when cleaning prompting is corresponding with the function at the second suspended window interface, the second suspended window is straight Connect the interface needed for display cleaning prompting.
As shown in figure 4, Fig. 4 is the initial sub-interface of a specific embodiment of the invention, initial sub-interface includes:Total internal memory 0- 2G, with internal memory (memory usage) 82%, click on acceleration function control, the initial sub-interface function of display official documents and correspondence " acceleration " and The official documents and correspondence " 360 cleaning master " shown into system interface control.
As shown in figure 5, Fig. 5 is the scanning sub-interface of a specific embodiment of the invention, scanning sub-interface includes:Total storage is empty Between 0-8G, with memory space 7.2G, scan function control, the official documents and correspondence " cleaning " of display scanning sub-interface function and into system The official documents and correspondence " 360 cleaning master " that interface control is shown.
As shown in fig. 6, the stopping that Fig. 6 is a specific embodiment of the invention scans sub-interface, stopping scanning sub-interface includes: Rubbish value 25MB, official documents and correspondence " it is recommended that cleaning ", stopping scan function control, the scanning animation scanned " scans:… The official documents and correspondence that qihoo.360.cn ", display stop the official documents and correspondence " cleaning " of scanning sub-interface function and shown into system interface control " 360 cleaning master ".
As shown in fig. 7, Fig. 7 is the cleaning sub-interface of a specific embodiment of the invention, cleaning sub-interface includes:Scan Rubbish 235MB, official documents and correspondence " it is recommended that cleaning ", details control, a key clearing function control, the official documents and correspondence of display cleaning sub-interface function " cleaning " and the official documents and correspondence " 360 cleaning master " shown into system interface control.
As shown in figure 8, Fig. 8 is the cleaning sub-interface of a specific embodiment of the invention, having cleared up sub-interface includes:Official documents and correspondence The text that " having cleared up 325MB rubbish ", display have been cleared up the official documents and correspondence " cleaning " of sub-interface function and shown into system interface control Case " 360 cleaning master ".
As shown in figure 9, Fig. 9 is the interface with cleaning prompting region of a specific embodiment of the invention, the interface is Fig. 4 Shown initial sub-interface, and initial sub-interface is provided with cleaning prompting region, the official documents and correspondence for clearing up prompting region is " to be of little use soft Part is excessive, and click goes to unload!”.S12, receive cleaning instruction caused by being operated to the second suspended window.
Because the present embodiment is cleared up based on the second suspended window, it is therefore desirable to the second suspended window is operated, Functionality controls or cleaning prompting region specially to the second suspended window operate.
S13, instructed according to cleaning, file is cleared up.
A. the cleaning instruction according to caused by being operated to functionality controls, is cleared up file.
When the first suspended window does not clear up prompting, user voluntarily can be cleared up selection function control.
It is pointed out that when the first suspended window has cleaning prompting, user also can voluntarily select the second suspended window Functionality controls are cleared up.
B. according to clearing up instruction caused by cleaning prompting region operation, interface or system circle of the second suspended window are called Face, file is cleared up.
B kind manner of cleaning up is described in detail below by specific embodiment.
A. whether after user mobile phone newly installs software, detecting has start/from the background from opening authority in the software newly installed, if Have and obtained Root authority, then the first suspended window is prompted.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows that official documents and correspondence is " newly-increased to open certainly Software, put this processing.", after clicking on cleaning prompting region, jump to the conventional interface of the second suspended window, by commonly use interface from Open management function control to enter from management system interface is opened, carry out opening management certainly.
Wherein, the acquisition process of Root authority is:Triggering obtains the operation of Root authority;Send and obtain asking for Root authority Ask;After receiving the request, whether detection mobile terminal is locally cached with the code for the solution for successfully obtaining root authority; If no, pass through the code of whois lookup solution corresponding with local.The acquisition of Root authority, can also be in mobile terminal In built-in SDK (SoftwareDevelopmentKit, SDK), by the solution for obtaining root authority Code be written in SDK, when need obtain root authority when, then can send call request to SDK.
Wherein, open and be mainly manifested in certainly, after having some events completion in Android system, broadcast message can be sent, such as:Receive An event for receiving short message will be produced to a short message, and once inside generates these events, will be to all notes The radio receiver object of the volume application program of the event broadcasts these events;Application program is receiving broadcast message Afterwards, responded by the way that oneself the mode such as to be aroused to.
Such as:Android system can send one after start completion when starting first application process (desktop) Standard Broadcast (standard broadcasting) message, the entitled " android.intent.action.BOOT_ of message COMPLETED”;For application program, it is exactly to register the static broadcast for receiving BOOT_COMPLETED to open certainly, and is being received Oneself is aroused during broadcast;Because above-mentioned static broadcast is that resident type is broadcasted, after closing application program, if being broadcast to Come, application program also can automatic running, application program possesses the ability for arousing oneself when receiving broadcast.
Static broadcast be defined in the configuration file of each application program, therefore can be according to the broadcast message pair of sensitive event The character string answered inquires about the configuration file of each application program, to determine to register the application program of sensitive event.
In actual applications, opening the UI of management certainly can be managed to opening certainly for application program, such as:Journey can be applied each The annex displaying of sequence allows button and forbids button, and after user, which clicks on, forbids button, program inhibition is permitted from opening when user clicks on Perhaps button, program allow to open certainly.Allow button and forbid button to be intended only as example, the UI for opening management certainly is not any limitation as.
It is not intended to for user from the application program opened, can uses and prevent its reception from registering sensitive event broadcast message Mode forbids opening certainly.Wherein, stop mode includes following several:
Scheme one, stop the process of application program, because process stops, application program can not receive registered sensitive thing The broadcast message of part, even if receiving, it can not also start.
Scheme two, force to stop the process of application program, it is halted state to make its bag-like state, due to being marked as stopping shape The program of state can not receive broadcast, therefore it can be prevented to receive the broadcast message of registered sensitive event.
Scheme three, the component of disabling applications, for application program, broadcast message is by its radio receiver Come what is received, and radio receiver possesses " android as the application component in program:Enable " attributes, if it is possible to logical Cross " android:Enable " attributes forbid the component of program, then program will be unable to receive the broadcast message of sensitive event.
B. after the screen locking of mobile phone solution, memory headroom is detected, if memory headroom is prompted less than 20%, first suspended window, this Detection can be spaced the scheduled time and be detected.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows official documents and correspondence " memory headroom Less than 20%, this Free up Memory is put ", after clicking on cleaning prompting region, into system drive assay surface, and then carry out further Cleaning.
C. after the screen locking of mobile phone solution, memory space is detected, if memory space inadequate 20%, the first suspended window is prompted, this Detection can be spaced the scheduled time and be detected.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows official documents and correspondence " memory space Less than 20%, this Free up Memory is put ", after clicking on cleaning prompting region, into system drive assay surface, and then carry out further Cleaning.
D. after the screen locking of mobile phone solution, whether detection can normally unload pre-installed software more than 5 sections, if exceeding and having obtained Root power Limit, the first suspended window prompted, and this detection can be spaced the scheduled time and be detected, and in the given time, prompt number also may be used It is defined as needed.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows official documents and correspondence " 5 sections of prepackages Software is off-loadable, puts this Free up Memory ", after clicking on cleaning prompting region, the conventional interface of the second suspended window is jumped to, by commonly using The unloading prepackage functionality controls at interface enter unloading preloaded system interface, are unloaded.
In his embodiment, in detection process, the software information of installation of mobile terminal can be sent to server, service Device identifies the pre-installed software in mobile terminal according to the software information of reception and its own pre-installed software database to prestore, and Judge the off-loadable property of pre-installed software, feed back corresponding off-loadable property information.
Wherein, the off-loadable property of pre-installed software is described by unloading mark, unloading mark includes:It is off-loadable (can be normal Unloading), with caution unloading and it is not off-loadable.User can identify unloading pre-installed software according to unloading.This mode is when system processing prepackage When the rule of software does not update, it can be handled by the rule of the newest processing pre-installed software of cloud server so that use Family can correctly unload prepackage.
After mobile phone solution screen locking, whether detection can normally unload pre-installed software more than 5 sections, if exceeding but there is no Root power Limit, the first suspended window are equally prompted.
The official documents and correspondence that shows of second suspended window cleaning prompting region is " 5 sections of pre-installed softwares can disable, and put this Free up Memory ", point Cleaning prompting region is hit, into corresponding system interface.
E. after the screen locking of mobile phone solution, whether detection is of little use software more than 5 sections, if exceeding, the first suspended window is prompted, this Detection can be spaced the scheduled time and be detected.Wherein, when being of little use of detecting of be of little use software number and the last time of this detection Software number is identical, then this is without prompting.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows official documents and correspondence, and " 5 sections seldom It is off-loadable with software, put this Free up Memory ", after clicking on cleaning prompting region, the conventional interface of the second suspended window is jumped to, by normal Enter software uninstalling system interface with the software offloading functions control at interface, unloaded.
F. after the screen locking of mobile phone solution, whether similar software is detected more than 3 sections, if exceeding, the first suspended window is prompted, this inspection Survey can be spaced the scheduled time and be detected.
The first suspended window is clicked on, calls the second suspended window, the second suspended window cleaning prompting region shows official documents and correspondence " similar software Excessively, Free up Memory is clicked on ", cleaning prompting region is clicked on, corresponding system interface is jumped to or plays frame, unloaded.
Wherein, the New function that the first suspended window can not be used user in system also is reminded.
In other embodiments, it is connected when mobile phone screen locking and with computer by USB line, at night between 11-5 points, detection With the presence or absence of the storage rubbish cleared up more than 100M, if in the presence of the first suspended window is prompted, and this detection can be spaced predetermined Time is detected.
The first suspended window is clicked on, calls the second suspended window, the second suspended window directly shows that it clears up interface, it is clear to carry out rubbish Reason.
Any of the above mode, in the first suspended window scheduled time (such as 2 hours) no longer produce new prompting.
In the present embodiment, cleaning prompting whether come into force, the clear up official documents and correspondence of prompting region, detection opportunity and prompting is spaced etc. Control of racking can all be entered.
In other embodiments, file can also be cleared up by high in the clouds, entered below by some specific embodiments Row explanation.
A. file directory information is sent to server;Server is according to the file directory information of reception and its what is prestored unload Residual Clean Up Database, file directory of the identification with unloading residual are carried, and catalog recognition information and cleaning order are fed back to Mobile terminal;According to the file directory of catalog recognition information scanning mobile terminal;The file mesh that will be scanned according to cleaning order File is cleared up corresponding to record.
B. Installer Information is sent to server;Server is according to the program information of reception and its caching to prestore Clean Up Database, program of the identification with caching, and identification information and cleaning order are fed back into mobile terminal;Believed according to identification The installation procedure of breath scanning mobile terminal;Order is cleared up according to corresponding to the installation procedure scanned, clears up corresponding program Caching.
Described above, the present embodiment carries out instant alerts using the first suspended window to the file that cleaning is needed in mobile terminal, And cleared up based on the second suspended window, facilitate the operation of user, improve Consumer's Experience.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of file clean-up method another embodiment of the invention based on suspended window, As shown in Fig. 2 comprise the following steps:
S21, according to call instruction caused by the operation of the first suspended window, call the second suspended window.
S22, receive cleaning instruction caused by being operated to the second suspended window.
S23, instructed according to cleaning, file is cleared up.
In the present embodiment, step S21, S22, S23 are identical with the step in embodiment illustrated in fig. 1, will not be repeated here.
S24, after the completion of file clean-up, the second suspended window is closed in the scheduled time.
Second suspended window can be closed automatically in the given time, it is also possible to which family is voluntarily closed.
S25, after the second suspended window is closed, call the pop-up guided accordingly to file clean-up.
It is described in detail below by specific embodiment.
A. after the second suspended window is closed, call for setting the pop-up ignored using list, will be commonly used by pop-up Software be added to and ignore using in list, avoiding being cleaned.Specifically, the setting that user is clicked in pop-up is ignored using list Button, list interface is applied into ignoring;User can also click on the cancel button in pop-up, close pop-up.
B. after the second suspended window is closed, whether if system has obtained Root authority, detecting in mobile terminal has suggestion to forbid From the software opened, if so, calling the pop-up for opening management certainly.Suggest specifically, pop-up is shown by checkbox form Forbid to be chosen from the software opened, user;User can also click on the cancel button in pop-up, close pop-up.
C. after the second suspended window is closed, whether if system does not obtain Root authority, detecting in mobile terminal has suggestion deactivation Pre-installed software, if so, calling the pop-up for disabling pre-installed software.Specifically, clicking on the deactivation button in pop-up, jump to Unloading prepackage interface;The cancel button in pop-up is clicked on, closes pop-up.The prepackage that some resident backstages are disabled using the pop-up is soft Part, it can effectively reduce the occupancy of internal memory.
In the present embodiment, cleaning system can be also effectively managed background program, is specially:System foreground program In running, the behavioural characteristic of meeting monitoring backstage operation program is (such as:Networking, CPU take, SD card IO takes, EMS memory occupation); Corresponding dislike is produced according to behavioural characteristic and handles prompt message;After foreground program is out of service, corresponding prompt message is shown, And record the operational order of user;When monitoring same or similar program behavior feature again, according to the user instruction of record Background program is managed.This mode disclosure satisfy that user to saving system resource, many-sided demand of electricity.
D. after the second suspended window is closed, when not detecting that suggestion forbids from the software that opens or suggest the pre-installed software disabled When, detect in mobile terminal with the presence or absence of being of little use software, if in the presence of calling the pop-up for uninstall.Specifically, click on Button is unloaded, jumps to uninstall interface;Cancel button is clicked on, closes pop-up.
E. the second suspended window close after, when do not detect suggestion forbid from open software, suggest disable pre-installed software Or be of little use software when, detect whether to have turned on automatic cleaning, if not opening, call the bullet for opening automatic cleaning internal memory Window.
Method described above, that the present embodiment can further improve file clean-up using pop-up, improve Consumer's Experience so that User clears up the file that need to be cleared up in time.
Referring to Fig. 3, Fig. 3 is the structural representation of file clean-up device one embodiment of the invention based on suspended window, such as Shown in Fig. 3, including:First calling module 31, receiving module 32, cleaning modul 33, the calling module 35 of closedown module 34 and second.
The function of above-mentioned each module is as follows:
First calling module 31 is used to, according to call instruction caused by the operation of the first suspended window, call second to suspend Window;Receiving module 32, which is used to receive, operates caused cleaning instruction to the second suspended window;Cleaning modul 33 is used for according to cleaning Instruction, is cleared up file;Closedown module 34 is used for after the completion of the file clean-up of cleaning modul 33, and second is closed in the scheduled time Suspended window;After second calling module 35 is used for the closing of the second suspended window, the pop-up guided accordingly to file clean-up is called.
Wherein, the first suspended window is mainly the current memory occupancy that user shows mobile terminal, mobile whole when detecting When end has file to clear up, cleaning prompting is also showed that.
The content shown according to the first suspended window, the dispaly state of the second suspended window of calling include following two situations: A. when the first suspended window is that memory usage is shown, the second suspended window shows conventional interface, and the conventional interface is specially internal memory Accelerate interface.B. when the first suspended window be memory usage and cleaning prompting displaying when, the second suspended window show conventional interface and Increase cleaning prompting region on conventional interface.Wherein, it is control regions to clear up prompting region.
Second suspended window is operated, including the functionality controls on each interface of the second suspended window are operated or hanged to second Cleaning prompting region in floating window is manipulated.
After the completion of the cleaning of cleaning modul 33, the second suspended window is closed, and the second calling module 35 calls the corresponding frame that plays to enter One step guides cleaning.
The device of the present embodiment can be applied in mobile terminal device, especially smart mobile phone.
The file clean-up device based on suspended window of the present embodiment immediately, targetedly can carry out clear to mobile terminal Reason, it is convenient for the user to operate, improve Consumer's Experience.
Described above is only some embodiments of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (9)

  1. A kind of 1. file clean-up method based on suspended window, it is characterised in that comprise the following steps:
    According to call instruction caused by the operation of the first suspended window, the second suspended window is called;
    The content of first suspended window displaying is:The cleaning for needing file clean-up of current memory occupancy and detection is prompted, institute The cleaning prompting for stating the first suspended window carries including opening software prompt, memory space prompting, software unloading prompting or what's new certainly Show;
    The dispaly state of second suspended window of the calling is:When first suspended window is memory usage and cleaning prompting exhibition When showing, the second suspended window shows increase cleaning prompting region on conventional interface and conventional interface, and the cleaning prompting region is provided with The prompting official documents and correspondence corresponding with the cleaning prompting of the first suspended window;Second suspended window includes internal memory and accelerates interface, cleaning circle Face and conventional interface;
    Wherein, the internal memory accelerates interface to include initial sub-interface and completes sub-interface, and initial sub-interface is used to show in current Occupancy is deposited, which is provided with and click on acceleration function control, the control, which is used to call, completes sub-interface;Before acceleration, initial sub-interface Current memory occupancy is shown, when memory usage is less than 80%, initial sub-interface display blueness, when memory usage is 80% and during the above, initial sub-interface display is red, and after clicking on acceleration function control, memory usage drops to from initial value 0% gos up the memory usage to acceleration again, and interface color also occurs to change accordingly, ultimately generates and complete sub-interface;
    The cleaning interface includes scanning sub-interface, stops scanning sub-interface, cleaning sub-interface and cleared up sub-interface, scanning Interface, stop scanning sub-interface, scan function control be respectively equipped with cleaning sub-interface, to stop scan function control, a key clear Functionality controls are managed, scan function control, which is used to call, stops scanning sub-interface, stops scan function control and is used to call cleaning Interface, a key clearing function control, which is used to call, has cleared up sub-interface;If the rubbish scanned is less than or equal to 50M, stopping is swept Sub-interface, cleaning sub-interface are retouched to be blue, if the rubbish scanned is more than 50M, stops scanning sub-interface, cleaning sub-interface is It is red;
    The conventional interface include from open management function control, unloading prepackage functionality controls, privacy clearing function control, game/ Video acceleration function control, software offloading functions control and timing clearing function control;
    The internal memory accelerates the conventional interface that interface is the second suspended window, and the cleaning prompting region is control regions, and is provided with Corresponding prompting official documents and correspondence;
    Cleaning instruction caused by being operated to second suspended window is received, second suspended window operation is included outstanding to second The functionality controls of floating window or cleaning prompting region operation;
    Instructed according to the cleaning, file is cleared up, including referred to according to cleaning caused by cleaning prompting region operation Order, interface or the system interface of the second suspended window are called, file is cleared up;The mode cleared up file is at least Including one of following:
    After new installation software, whether in the software newly installed have start/from the background from open authority, if having and having obtained Root power if detecting Limit, then the first suspended window is prompted;
    After solving screen locking, memory headroom is detected, if memory headroom is prompted less than 20%, first suspended window;
    After solving screen locking, whether detection can normally unload pre-installed software more than 5 sections, if exceeding and having obtained Root authority, first is outstanding Floating window is prompted;
    After solving screen locking, whether detection is of little use software more than 5 sections, if exceeding, the first suspended window is prompted;
    After solving screen locking, whether similar software is detected more than 3 sections, if exceeding, the first suspended window is prompted.
  2. 2. the file clean-up method according to claim 1 based on suspended window, it is characterised in that referred to according to the cleaning Order, clears up file, includes afterwards:
    After the completion of file clean-up, second suspended window is closed in the scheduled time.
  3. 3. the file clean-up method according to claim 2 based on suspended window, it is characterised in that institute is closed in the scheduled time The second suspended window is stated, is included afterwards:
    Call the pop-up guided accordingly to file clean-up.
  4. 4. the file clean-up method according to claim 1 based on suspended window, it is characterised in that the initial sub-interface shows The current memory occupancy shown is the memory usage of the first suspended window displaying.
  5. 5. the file clean-up method according to claim 1 based on suspended window, it is characterised in that the internal memory accelerates interface Sub-interface, clear up interface sub-interface and conventional interface on be equipped with setting control, set control to be used to carry out suspended window Set.
  6. A kind of 6. file clean-up device based on suspended window, it is characterised in that including:
    First calling module, for according to call instruction caused by the operation of the first suspended window, calling the second suspended window;
    The content of first suspended window displaying is:The cleaning for needing file clean-up of current memory occupancy and detection is prompted, institute The cleaning prompting for stating the first suspended window carries including opening software prompt, memory space prompting, software unloading prompting or what's new certainly Show;
    The dispaly state of second suspended window of the calling is:When first suspended window is memory usage and cleaning prompting exhibition When showing, the second suspended window shows increase cleaning prompting region on conventional interface and conventional interface, and the cleaning prompting region is provided with The prompting official documents and correspondence corresponding with the cleaning prompting of the first suspended window;Second suspended window includes internal memory and accelerates interface, cleaning circle Face and conventional interface;
    Wherein, the internal memory accelerates interface to include initial sub-interface and completes sub-interface, and initial sub-interface is used to show in current Occupancy is deposited, which is provided with and click on acceleration function control, the control, which is used to call, completes sub-interface;Before acceleration, initial sub-interface Current memory occupancy is shown, when memory usage is less than 80%, initial sub-interface display blueness, when memory usage is 80% and during the above, initial sub-interface display is red, and after clicking on acceleration function control, memory usage drops to from initial value 0% gos up the memory usage to acceleration again, and interface color also occurs to change accordingly, ultimately generates and complete sub-interface;
    The cleaning interface includes scanning sub-interface, stops scanning sub-interface, cleaning sub-interface and cleared up sub-interface, scanning Interface, stop scanning sub-interface, scan function control be respectively equipped with cleaning sub-interface, to stop scan function control, a key clear Functionality controls are managed, scan function control, which is used to call, stops scanning sub-interface, stops scan function control and is used to call cleaning Interface, a key clearing function control, which is used to call, has cleared up sub-interface;If the rubbish scanned is less than or equal to 50M, stopping is swept Sub-interface, cleaning sub-interface are retouched to be blue, if the rubbish scanned is more than 50M, stops scanning sub-interface, cleaning sub-interface is It is red;
    The conventional interface include from open management function control, unloading prepackage functionality controls, privacy clearing function control, game/ Video acceleration function control, software offloading functions control and timing clearing function control;
    The internal memory accelerates the conventional interface that interface is the second suspended window, and the cleaning prompting region is control regions, and is provided with Corresponding prompting official documents and correspondence;
    Receiving module, caused cleaning instruction is operated to second suspended window for receiving, second suspended window is grasped Make to include the functionality controls to the second suspended window or cleaning prompting region operation;
    Cleaning modul, for being instructed according to the cleaning, file is cleared up, including according to cleaning prompting region operation institute Caused cleaning instruction, calls interface or the system interface of the second suspended window, file is cleared up;It is described that file is carried out clearly The mode of reason comprises at least one of following:
    After new installation software, whether in the software newly installed have start/from the background from open authority, if having and having obtained Root power if detecting Limit, then the first suspended window is prompted;
    After solving screen locking, memory headroom is detected, if memory headroom is prompted less than 20%, first suspended window;
    After solving screen locking, whether detection can normally unload pre-installed software more than 5 sections, if exceeding and having obtained Root authority, first is outstanding Floating window is prompted;
    After solving screen locking, whether detection is of little use software more than 5 sections, if exceeding, the first suspended window is prompted;
    After solving screen locking, whether similar software is detected more than 3 sections, if exceeding, the first suspended window is prompted.
  7. 7. the file clean-up device according to claim 6 based on suspended window, it is characterised in that described device includes:
    Closedown module, after the completion of cleaning modul file clean-up, second suspended window is closed in the scheduled time.
  8. 8. the file clean-up device according to claim 7 based on suspended window, it is characterised in that described device includes:
    Second calling module, after being closed for second suspended window, call the pop-up guided accordingly to file clean-up.
  9. A kind of 9. mobile terminal device, it is characterised in that including claim 6 to 8 it is one of any described in based on suspended window File clean-up device.
CN201410642267.0A 2014-11-13 2014-11-13 File clean-up method, apparatus and equipment based on suspended window Active CN104331488B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410642267.0A CN104331488B (en) 2014-11-13 2014-11-13 File clean-up method, apparatus and equipment based on suspended window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410642267.0A CN104331488B (en) 2014-11-13 2014-11-13 File clean-up method, apparatus and equipment based on suspended window

Publications (2)

Publication Number Publication Date
CN104331488A CN104331488A (en) 2015-02-04
CN104331488B true CN104331488B (en) 2018-04-10

Family

ID=52406215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410642267.0A Active CN104331488B (en) 2014-11-13 2014-11-13 File clean-up method, apparatus and equipment based on suspended window

Country Status (1)

Country Link
CN (1) CN104331488B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881601A (en) * 2015-06-17 2015-09-02 北京奇虎科技有限公司 Floating window display setup, control method and device
CN105117323B (en) * 2015-10-14 2018-09-25 广州华多网络科技有限公司 A kind of condition detection method of terminal and its CPU or memory
CN105892789A (en) * 2015-11-10 2016-08-24 乐视网信息技术(北京)股份有限公司 Resource interaction method for mobile intelligent terminal, and mobile intelligent terminal
CN106897138A (en) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 A kind of method and apparatus of the optimization operating system environment based on suspended window
CN105653429A (en) * 2015-12-23 2016-06-08 珠海格力电器股份有限公司 Application program processing method and device
CN107256191A (en) * 2017-05-17 2017-10-17 努比亚技术有限公司 Cartoon display method, device and the computer-readable recording medium of task cleaning
CN108446156B (en) * 2018-03-16 2021-01-08 维沃移动通信有限公司 Application program control method and terminal
CN111444116B (en) * 2020-03-23 2022-11-25 海信电子科技(深圳)有限公司 Storage space fragment processing method and device
CN115098448A (en) * 2022-08-26 2022-09-23 深圳市必凡娱乐科技有限公司 Software cleaning method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978275B2 (en) * 2001-08-31 2005-12-20 Hewlett-Packard Development Company, L.P. Method and system for mining a document containing dirty text
CN1920828A (en) * 2006-08-28 2007-02-28 华为技术有限公司 Method and system for cleaning garbage files
CN1976279A (en) * 2006-12-04 2007-06-06 北京飞天诚信科技有限公司 Automatic monitoring and cleaning intelligent key system and working method thereof
CN101650720A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Archived junk message cleanup system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6978275B2 (en) * 2001-08-31 2005-12-20 Hewlett-Packard Development Company, L.P. Method and system for mining a document containing dirty text
CN1920828A (en) * 2006-08-28 2007-02-28 华为技术有限公司 Method and system for cleaning garbage files
CN1976279A (en) * 2006-12-04 2007-06-06 北京飞天诚信科技有限公司 Automatic monitoring and cleaning intelligent key system and working method thereof
CN101650720A (en) * 2008-08-14 2010-02-17 鸿富锦精密工业(深圳)有限公司 Archived junk message cleanup system and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
360清理大师V3.0.3-安卓手机用户的必备清理神器;ufozn;《http://bbs.gfan.com/android-7574542-1-1.html》;20140731;第1-4页 *

Also Published As

Publication number Publication date
CN104331488A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN104331488B (en) File clean-up method, apparatus and equipment based on suspended window
CN102938808B (en) Information method for recording in mobile terminal and device
AU2014348821B2 (en) Location-based software updates
CN104573611B (en) A kind of distributed recognition of face group system
CN106126562A (en) A kind of pop-up hold-up interception method and terminal
CN104881601A (en) Floating window display setup, control method and device
CN106060909A (en) Network access method and mobile terminal
CN104376263A (en) Application behavior intercepting method and application behavior intercepting device
CN103970774A (en) Notice icon clearing method and device
CN104702406A (en) Identity verification method and identity verification device
CN105094630B (en) The prompt information processing method and device of application program PUSH message
CN103034397A (en) Dynamic unlocking method, device and mobile terminal based on recent tasks
CN106775809A (en) A kind of method of mobile terminal internal memory cleaning, device and mobile terminal
CN109195143A (en) Method for network access, mobile terminal and readable storage medium storing program for executing
CN106161749A (en) A kind of malicious call recognition methods, and device
CN107562539A (en) Applied program processing method and device, computer equipment, storage medium
CN106056001A (en) Private data protection method and apparatus based on mobile terminal and mobile terminal
CN108052390A (en) Memory method for cleaning, mobile terminal and readable storage medium storing program for executing based on thread block
CN112469096A (en) Cell switching method and device
CN105791552B (en) A kind of SMS processing method, device and mobile terminal
CN105847446A (en) Network data obtaining method, device and system
CN108241808A (en) identification code display control method, terminal and computer readable storage medium
CN109714478A (en) Double-sided screen terminal display control method, device, mobile terminal and storage medium
CN106502827A (en) A kind of data back up method and equipment
CN105306611B (en) A kind of method and device of identification short message port number ownership

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right