CN105447178A - Junk files reminding method and apparatus - Google Patents

Junk files reminding method and apparatus Download PDF

Info

Publication number
CN105447178A
CN105447178A CN201510921177.XA CN201510921177A CN105447178A CN 105447178 A CN105447178 A CN 105447178A CN 201510921177 A CN201510921177 A CN 201510921177A CN 105447178 A CN105447178 A CN 105447178A
Authority
CN
China
Prior art keywords
mask
garbage files
size
ratio
memory space
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
CN201510921177.XA
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 Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510921177.XA priority Critical patent/CN105447178A/en
Publication of CN105447178A publication Critical patent/CN105447178A/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/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • 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/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a junk files reminding method and apparatus. The method comprises: detecting storage amount of junk files of a target object; according to the difference between the storage amount and a preset storage threshold, determining a coverage size of a mask layer on a display element of the target object; and according to the coverage size, generating the mask layer and display the mask layer, wherein the mask layer is covered on the display element. According to the method provided by the present disclosure, the mask layer is covered on the display element of the target object, and the current junk file size of the target object can be indicated. The junk files reminding method is relatively intuitive, and good in the reminding effect.

Description

The based reminding method of garbage files and device
Technical field
The application relates to communication technical field, particularly relates to based reminding method and the device of garbage files.
Background technology
Along with the fast development of intelligent terminal technology, the function of intelligent terminal is more and more abundanter.Usually, can install multiple application program in intelligent terminal, each application program in use all can produce various rubbish.At present, most of terminal can be provided with the instrument of garbage-cleaning function, and this type of garbage-cleaning instrument normally provides concrete rubbish memory space numerical value, if judge, garbage files is more, then can need to clear up garbage files by reminding user.
Summary of the invention
For overcoming Problems existing in correlation technique, present disclose provides based reminding method and the device of garbage files.
According to the first aspect of disclosure embodiment, provide a kind of based reminding method of garbage files, described method comprises:
The memory space of the garbage files of detected target object;
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
Optionally, described destination object comprises operating system, and the display element of described operating system comprises desktop;
The described difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object, comprising:
The memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold;
When described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as described mask covering size on the table;
When described first ratio is more than or equal to 1, determine that described mask equals the size of described desktop in the covering size of described desktop.
Optionally, described destination object comprises application program, and the display element of described application program comprises application icon;
The described difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object, comprising:
The memory space of the garbage files of computing application program and the second ratio of default application storage threshold value;
When described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put on as described mask at application program image;
When described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
Optionally, described method also comprises:
After described mask display, delete described garbage files and cancel the described mask of display.
Optionally, the described garbage files of described deletion, comprising:
When detect in described mask, to there is preset touch event time, delete described garbage files; Or,
When judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files; Or,
When receiving rubbish delete instruction, delete described garbage files.
According to the second aspect of disclosure embodiment, provide a kind of alarm set of garbage files, described device comprises:
Memory space detection module, is configured to the memory space of the garbage files of detected target object;
Cover size determination module, be configured to the difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Mask display module, is configured to generate mask according to described covering size and show; Wherein, described mask covers on described display element.
Optionally, described destination object comprises operating system, and the display element of described operating system comprises desktop;
Described covering size determination module, comprising:
First ratio calculating sub module, is configured to the memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold;
First covers size determination submodule, is configured to when described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as described mask covering size on the table; When described first ratio is more than or equal to 1, determine that described mask equals the size of described desktop in the covering size of described desktop.
Optionally, described destination object comprises application program, and the display element of described application program comprises application icon;
Described covering size determination module, comprising:
Second ratio calculating sub module, is configured to the memory space of the garbage files of computing application program and the second ratio of default application storage threshold value;
Second covers size determination submodule, is configured to when described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put at application program image as described mask; When described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
Optionally, described device also comprises:
Cancel display module, be configured to, after described mask display, delete described garbage files and cancel the described mask of display.
Optionally, described in cancel display module, comprise following one or more submodule:
First deletes submodule, be configured to when detect in described mask, to there is preset touch event time, delete described garbage files; Or,
Second deletes submodule, is configured to, when judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files; Or,
3rd deletes submodule, is configured to, when receiving rubbish delete instruction, delete described garbage files.
According to the third aspect of disclosure embodiment, a kind of alarm set of garbage files is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The memory space of the garbage files of detected target object;
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In the disclosure, according to the memory space of garbage files and the difference of default storage threshold, determine the covering size of mask on the display element of destination object, generate mask according to described covering size and show, this mask covers on the display element of destination object, can indicate the size of the garbage files of current target object, this garbage files alerting pattern is comparatively directly perceived, reminds effect better.
In the disclosure, the memory space of the garbage files of operating system can be detected, according to the ratio of this memory space and predetermined system storage threshold, the covering size of mask to desktop can be determined; When mask display is covered desktop, can remind system rubbish file intuitively, it reminds effect better.
In the disclosure, the memory space of the garbage files of application program can be detected, according to the ratio of this memory space and default application storage threshold value, the covering size of mask application programs icon can be determined; When mask display is covered application program image timestamp, can remind the garbage files of application programs intuitively, it reminds effect better.
In the disclosure, after mask display, if delete garbage files, then revocable display mask, thus enrich the function of terminal.
In the disclosure, deletion garbage files can be triggered in several ways, make garbage-cleaning function more intelligent, improve the intelligent level of terminal.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of the based reminding method of a kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 2 A is the process flow diagram of the based reminding method of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 2 B is the prompting process schematic diagram of a kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 2 C is the prompting process schematic diagram of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 3 A is the process flow diagram of the based reminding method of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 3 B is the prompting process schematic diagram of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 4 is the block diagram of the alarm set of a kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 5 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 6 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 7 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 8 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment.
Fig. 9 is the block diagram of a kind of alarm set for garbage files of the disclosure according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
As shown in Figure 1, Fig. 1 is the process flow diagram of the based reminding method of a kind of garbage files of the disclosure according to an exemplary embodiment, can be applicable in terminal, comprises the following steps:
In a step 101, the memory space of the garbage files of detected target object.
In a step 102, according to the difference of described memory space and default storage threshold, the covering size of mask on the display element of described destination object is determined.
In step 103, generate mask according to described support size and show; Wherein, described mask covers on described display element.
Above-mentioned terminal can be intelligent terminal, the terminals such as such as computing machine, smart mobile phone, panel computer or E-book reader.Can install the application program of various function in terminal, each application program in use can produce garbage files usually.Each application program is different according to the difference of frequency of utilization or its function, its garbage files produced number with vary in size.Such as, video class application software or music class software, its garbage files produced is video file or audio file, and therefore its garbage files is usually larger.When each application program produces more garbage files, the storage space that system is larger can be taken, and the travelling speed of influential system.Normally show current garbage files size by garbage-cleaning instrument in correlation technique, but most of user does not understand the meaning of garbage files size, it is poor to the prompting effect of garbage files.
In disclosure embodiment, according to the memory space of garbage files and the difference of default storage threshold, determine the covering size of mask on the display element of destination object, generate mask according to described covering size and show, this mask covers on the display element of destination object, can indicate the size of the garbage files of current target object, this garbage files alerting pattern is comparatively directly perceived, reminds effect better.
Wherein, destination object can be the application program of installing in terminal; For the detection of the garbage files of application program, according to the installation path of application program, cache file folder can be found, this cache file folder stores data cached, also be garbage files, detect taking up room of cache file folder, the memory space of garbage files can be obtained.Destination object can also be the operating system of terminal, and the garbage files of operating system can be the summation of the garbage files of all application programs.
The difference of memory space and default storage threshold can be the modes such as both differences, or both ratio.Default storage threshold is the storage numerical value being used to indicate garbage files size preset, such as, can be the memory spaces such as 800M, 1G or 2G; Such as, such as, or this default storage threshold can also be memory span according to terminal and determine, being 20% of memory span etc., or can also determining according to the residual capacity of the storer of terminal, is 30% of storer residual capacity etc.Those skilled in the art flexible configuration can preset storage threshold as required, and the present embodiment is not construed as limiting this.
Display element is corresponding with destination object, and such as, for application program, its display element can be application icon; For operating system, its display element can be terminal desktop.
Mask refers to the layer with certain transparent value, and the parameter of mask comprises size, display position and transparent value.The embodiment that the disclosure provides, the size of mask is determined according to the difference of memory space and default storage threshold, mask is when showing, it covers on the display element of destination object, therefore the garbage files of destination object and the difference of default storage threshold can be represented intuitively by mask, can the current garbage files of reminding user number, remind effect better.
When generating mask, the development language of the operating system that can adopt according to different terminals and bottom regulation realize mask effect.Such as, corresponding Android system, can adopt WindowManager class to realize mask.WindowManager class achieves ViewManager interface, and ViewManager interface allows add on Activity or remove view, and therefore WindowManager also allows to carry out the interpolation of View on Activity and removes operation.Mask can adopt View to realize, and all kinds of parameters of setting View, can realize required mask effect.
In an optional implementation, described method also can comprise:
After described mask display, delete described garbage files and cancel the described mask of display.
The embodiment that the disclosure provides, after mask display, if delete garbage files, then revocable display mask, thus has enriched the function of terminal.
Wherein, the described garbage files of described deletion, can comprise one or more modes following:
First kind of way, when detect in described mask, to there is preset touch event time, delete described garbage files.
This preset touch event can be click event, double-click event etc.When after mask display, if user inputs preset touch event in mask, then the cleaning of garbage files automatically can be realized.
The second way, when judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files;
This default cleaning threshold can be the numerical value that 1G, 2G etc. preset, when judging that garbage files gets more and more, when reaching default cleaning threshold, and can Automatic clearance garbage files.
The third mode, when receiving rubbish delete instruction, delete described garbage files.
This rubbish delete instruction can trigger in several ways, can be such as the garbage-cleaning option provided in garbage-cleaning instrument, when user chooses this garbage-cleaning option, then trigger this rubbish delete instruction, when receiving this instruction, can Automatic clearance garbage files.
As seen from the above-described embodiment, deletion garbage files can be triggered in several ways, make garbage-cleaning function more intelligent, improve the intelligent level of terminal.
As shown in Figure 2 A, be the process flow diagram of the based reminding method of the another kind of garbage files according to an exemplary embodiment, can apply in the terminal, comprise the steps 201 to 205:
In step 201, the memory space of the garbage files of detected target object.This destination object comprises operating system, and the display element of operating system comprises desktop.
In step 202., the memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold.
In step 203, when described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as the covering size of described mask on described desktop.
In step 204, when described first ratio is more than or equal to 1, determine that the covering size of described mask on described desktop equals the size of described desktop.
In step 205, generate mask according to described covering size and show; Wherein, described mask covers on described display element.
In disclosure embodiment, destination object can be operating system, can install the memory space of summation as the garbage files of destination object of the garbage files memory space of each application program in detection system.
Predetermined system storage threshold is the storage numerical value being used to indicate the garbage files size of operating system preset, such as, can be the memory spaces such as 1G or 2G; Such as, such as, or this predetermined system storage threshold can also be memory span according to terminal and determine, being 20% of memory span etc., or can also determining according to the residual capacity of the storer of terminal, is 30% of storer residual capacity etc.
The embodiment that the disclosure provides, the difference of memory space and default storage threshold adopts the memory space of the garbage files of operating system and the ratio of predetermined system storage threshold.Calculate the ratio of memory space and predetermined system storage threshold, obtain this first ratio.
When the first ratio is less, represent that the memory space of the garbage files of current operation system is less, if the first large percentage, represent that the memory space of the garbage files of operating system is larger; If this first ratio is more than 1, represent that the memory space of the garbage files of operating system has exceeded predetermined system storage threshold.
In order to the memory space of the garbage files to operating system is reminded, desktop can be adopted as the display element of operating system, calculate mask covering size on the table according to above-mentioned first ratio.When the first ratio is less than 1, first ratio that the size of desktop is multiplied by is as described mask covering size on the table; Such as, if first ratio that calculates is 0.8, can determine that mask covering size is on the table 80%.
As shown in Figure 2 B, show a kind of prompting process schematic diagram of garbage files, the terminal in Fig. 2 B is described for smart mobile phone, and the garbage files that have detected operating system in smart mobile phone is 800M, and predetermined system storage threshold is 1000M, the first ratio is 0.8; Be 0.8 according to the first ratio-dependent mask covering size on the table, that is to say and cover 80% of desktop; As in Fig. 2 B, what this mask covered desktop from bottom to up for desktop 80% illustrates.
Be understandable that, in actual applications, this mask can also be cover desktop from top to bottom, or covers desktop from left to right, or covers desktop from right to left.And the desktop in smart mobile phone can comprise multi-screen, the number of its screen is relevant with the number of the application program of installing in system or default, such as, usually can comprise five screens etc.When practical application, can be that each screen is all coated with mask in desktop, then user be when the screen sliding different, all shows mask; Also can be specify a certain screen in desktop to be coated with mask; Schematic diagram in Fig. 2 B to desktop wherein a screen be coated with mask and carried out example explanation.
When the first ratio is more than or equal to 1, determine that mask equals the size of described desktop in the covering size of described desktop.Such as, if first ratio that calculates is greater than 1, represents that current system garbage files has exceeded predetermined system threshold value, can determine that the covering size of mask equals the size of desktop, that is to say that mask covers whole desktop.As shown in Figure 2 C, show the prompting process schematic diagram of another kind of garbage files, from Fig. 2 C, this mask covers whole desktop.
As seen from the above-described embodiment, can to the memory space of the garbage files of operating system, according to the ratio of this memory space and predetermined system storage threshold, the covering size of mask to desktop can be determined; When mask display is covered desktop, can remind system rubbish file intuitively, it reminds effect better.
As shown in Figure 3A, be the process flow diagram of the based reminding method of the another kind of garbage files according to an exemplary embodiment, can apply in the terminal, comprise the steps 301 to 303:
In step 301, the memory space of the garbage files of detected target object.This destination object comprises application program, and the display element of application program comprises application icon.
In step 302, the memory space of the garbage files of computing application program and the second ratio of default application storage threshold value.
In step 303, when described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put on as described mask at application program image.
In step 304, when described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
In step 305, generate mask according to described covering size and show; Wherein, described mask covers on described display element.
In disclosure embodiment, destination object can be application program.Presetting application storage threshold value is the storage numerical value being used to indicate the garbage files size of application program preset, such as, can be the memory spaces such as 300M or 500M; Such as, such as, or this predetermined system storage threshold can also be memory span according to terminal and determine, being 5% of memory span etc., or can also determining according to the residual capacity of the storer of terminal, is 10% of storer residual capacity etc.
The embodiment that the disclosure provides, the difference of memory space and default application storage threshold value adopts the ratio of the memory space of the garbage files of application program and default application storage threshold value.Calculate the ratio of memory space and default application storage threshold value, obtain this second ratio.
When the second ratio is less, represent that the memory space of the garbage files of current application program is less, if the second large percentage, represent that the memory space of the garbage files of application program is larger; If this second ratio is more than 1, represent that the memory space of the garbage files of application program has exceeded default application storage threshold value.
In order to the memory space of the garbage files of application programs is reminded, application icon can be adopted as the display element of application program, according to the covering size that above-mentioned second ratio calculating mask is put at application program image.When the second ratio is less than 1, the covering size that second ratio that application program image target size is multiplied by is put on as described mask at application program image; Such as, if second ratio that calculates is 0.8, can determine that mask is 80% in the covering size that application program image is put on.When the second ratio is more than or equal to 1, determine that mask covers size in described application program image target and equals described application program image target size.Such as, if second ratio that calculates is greater than 1, represents that the garbage files of current application program has exceeded default application program threshold value, can determine that the covering size of mask equals application program image target size, that is to say that mask covers whole application icon.
As shown in Figure 3 B, show the prompting process schematic diagram of another kind of garbage files, the terminal in Fig. 3 B is described for smart mobile phone, and have detected the garbage files that rice in smart mobile phone chats program is 500M, and predetermined system storage threshold is 400M, the first ratio is more than 1; Cover whole rice according to the first ratio-dependent mask and chat program icon.
As seen from the above-described embodiment, can the memory space of garbage files of application programs, according to the ratio of this memory space and default application storage threshold value, the covering size of mask application programs icon can be determined; When mask display is covered application program image timestamp, can remind the garbage files of application programs intuitively, it reminds effect better.
Be understandable that, shown in Fig. 2 A and Fig. 3 A two kind of mode, in actual applications, its a kind of enforcement separately can be selected, then can remind the garbage files of operating system or application program separately, also can be that two kinds of modes are implemented simultaneously, then can remind the garbage files of operating system or application program simultaneously.
Corresponding with the embodiment of preceding method, the alarm set that the disclosure additionally provides garbage files and the embodiment of terminal applied thereof.
As shown in Figure 4, Fig. 4 is the block diagram of the alarm set of a kind of garbage files of the disclosure according to an exemplary embodiment, and described device comprises: memory space detection module 41, covering size determination module 42 and mask display module 43.
Memory space detection module 41, is configured to the memory space of the garbage files of detected target object.
Cover size determination module 42, be configured to the difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object.
Mask display module 43, is configured to generate mask according to described covering size and show; Wherein, described mask covers on described display element.
As seen from the above-described embodiment, according to the memory space of garbage files and the difference of default storage threshold, determine the covering size of mask on the display element of destination object, generate mask according to described covering size and show, this mask covers on the display element of destination object, can the size of the current garbage files of indicating target object, this garbage files alerting pattern is comparatively directly perceived, reminds effect better.
As shown in Figure 5, Fig. 5 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described destination object comprises operating system, and the display element of described operating system comprises desktop.
Described covering size determination module 42, comprising: the first ratio calculating sub module 421 and first covers size determination submodule 422.
First ratio calculating sub module 421, is configured to the memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold.
First covers size determination submodule 422, is configured to when described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as described mask covering size on the table; When described first ratio is more than or equal to 1, determine that described mask equals the size of described desktop in the covering size of described desktop.
As seen from the above-described embodiment, can to the memory space of the garbage files of operating system, according to the ratio of this memory space and predetermined system storage threshold, the covering size of mask to desktop can be determined; When mask display is covered desktop, can remind system rubbish file intuitively, it reminds effect better.
As shown in Figure 6, Fig. 6 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described destination object comprises application program, and the display element of described application program comprises application icon.
Described covering size determination module 42, comprising: the second ratio calculating sub module 423 and second covers size determination submodule 424.
Second ratio calculating sub module 423, is configured to the memory space of the garbage files of computing application program and the second ratio of default application storage threshold value.
Second covers size determination submodule 424, is configured to when described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put at application program image as described mask; When described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
As seen from the above-described embodiment, can the memory space of garbage files of application programs, according to the ratio of this memory space and default application storage threshold value, the covering size of mask application programs icon can be determined; When mask display is covered application program image timestamp, can remind the garbage files of application programs intuitively, it reminds effect better.
As shown in Figure 7, Fig. 7 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment, and this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described device also comprises: cancel display module 44.
Cancel display module 44, be configured to, after described mask display, delete described garbage files and cancel the described mask of display.
As seen from the above-described embodiment, after mask display, if delete garbage files, then revocable display mask, thus enrich the function of terminal.
As shown in Figure 8, Fig. 8 is the block diagram of the alarm set of the another kind of garbage files of the disclosure according to an exemplary embodiment, this embodiment is on aforementioned basis embodiment illustrated in fig. 4, describedly cancel display module 44, comprise following one or more submodule: first deletes submodule, second deletes submodule or the 3rd and delete submodule.In order to example is convenient, above-mentioned three submodules are shown in Fig. 8.
First deletes submodule 441, be configured to when detect in described mask, to there is preset touch event time, delete described garbage files.
Second deletes submodule 442, is configured to, when judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files.
3rd deletes submodule 443, is configured to, when receiving rubbish delete instruction, delete described garbage files.
As seen from the above-described embodiment, deletion garbage files can be triggered in several ways, make garbage-cleaning function more intelligent, improve the intelligent level of terminal.
Accordingly, the disclosure also provides a kind of alarm set of garbage files, and described device includes processor; For the storer of storage of processor executable instruction; Wherein, described processor is configured to:
The memory space of the garbage files of detected target object.
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object.
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
In said apparatus, the implementation procedure of the function and efficacy of unit specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit illustrated as separating component or can may not be and physically separates, parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Fig. 9 is the block diagram of a kind of alarm set 900 for garbage files according to an exemplary embodiment.Such as, device 900 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, the terminals such as personal digital assistant.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing components 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 909 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of device 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 914 can detect the opening/closing state of device 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 902 of instruction, above-mentioned instruction can perform said method by the processor 909 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Wherein, when the instruction in described storage medium is performed by described processor, make device 900 can perform a kind of based reminding method of garbage files, comprising:
The memory space of the garbage files of detected target object.
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object.
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The disclosure is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.
The foregoing is only preferred embodiment of the present disclosure, not in order to limit the disclosure, all within spirit of the present disclosure and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the disclosure protects.

Claims (11)

1. a based reminding method for garbage files, is characterized in that, described method comprises:
The memory space of the garbage files of detected target object;
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
2. method according to claim 1, is characterized in that, described destination object comprises operating system, and the display element of described operating system comprises desktop;
The described difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object, comprising:
The memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold;
When described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as described mask covering size on the table;
When described first ratio is more than or equal to 1, determine that described mask equals the size of described desktop in the covering size of described desktop.
3. method according to claim 1, is characterized in that, described destination object comprises application program, and the display element of described application program comprises application icon;
The described difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object, comprising:
The memory space of the garbage files of computing application program and the second ratio of default application storage threshold value;
When described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put on as described mask at application program image;
When described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
4. method according to claim 1, is characterized in that, described method also comprises:
After described mask display, delete described garbage files and cancel the described mask of display.
5. method according to claim 4, is characterized in that, the described garbage files of described deletion, comprising:
When detect in described mask, to there is preset touch event time, delete described garbage files; Or,
When judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files; Or,
When receiving rubbish delete instruction, delete described garbage files.
6. an alarm set for garbage files, is characterized in that, described device comprises:
Memory space detection module, is configured to the memory space of the garbage files of detected target object;
Cover size determination module, be configured to the difference according to described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Mask display module, is configured to generate mask according to described covering size and show; Wherein, described mask covers on described display element.
7. device according to claim 6, is characterized in that, described destination object comprises operating system, and the display element of described operating system comprises desktop;
Described covering size determination module, comprising:
First ratio calculating sub module, is configured to the memory space of the garbage files of calculating operation system and the first ratio of predetermined system storage threshold;
First covers size determination submodule, is configured to when described first ratio is less than 1, the size of described desktop is multiplied by described first ratio as described mask covering size on the table; When described first ratio is more than or equal to 1, determine that described mask equals the size of described desktop in the covering size of described desktop.
8. device according to claim 6, is characterized in that, described destination object comprises application program, and the display element of described application program comprises application icon;
Described covering size determination module, comprising:
Second ratio calculating sub module, is configured to the memory space of the garbage files of computing application program and the second ratio of default application storage threshold value;
Second covers size determination submodule, is configured to when described second ratio is less than 1, described application program image target size is multiplied by the covering size that described second ratio is put at application program image as described mask; When described second ratio is more than or equal to 1, determine that described mask equals described application program image target size in the covering size that application program image is put on.
9. device according to claim 6, is characterized in that, described device also comprises:
Cancel display module, be configured to, after described mask display, delete described garbage files and cancel the described mask of display.
10. device according to claim 9, is characterized in that, described in cancel display module, comprise following one or more submodule:
First deletes submodule, be configured to when detect in described mask, to there is preset touch event time, delete described garbage files; Or,
Second deletes submodule, is configured to, when judging that described rubbish memory space is greater than default cleaning threshold, delete described garbage files; Or,
3rd deletes submodule, is configured to, when receiving rubbish delete instruction, delete described garbage files.
The alarm set of 11. 1 kinds of garbage files, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
The memory space of the garbage files of detected target object;
According to the difference of described memory space and default storage threshold, determine the covering size of mask on the display element of described destination object;
Generate mask according to described covering size and show; Wherein, described mask covers on described display element.
CN201510921177.XA 2015-12-11 2015-12-11 Junk files reminding method and apparatus Pending CN105447178A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510921177.XA CN105447178A (en) 2015-12-11 2015-12-11 Junk files reminding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510921177.XA CN105447178A (en) 2015-12-11 2015-12-11 Junk files reminding method and apparatus

Publications (1)

Publication Number Publication Date
CN105447178A true CN105447178A (en) 2016-03-30

Family

ID=55557354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510921177.XA Pending CN105447178A (en) 2015-12-11 2015-12-11 Junk files reminding method and apparatus

Country Status (1)

Country Link
CN (1) CN105447178A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106599021A (en) * 2016-10-31 2017-04-26 努比亚技术有限公司 Labeling method for quantities of junk files in application programs and terminal
CN107545010A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Display methods, file clean-up method, apparatus, display device and electronic equipment
CN108021630A (en) * 2017-11-21 2018-05-11 深圳市雷鸟信息科技有限公司 Cleaning garbage files method, intelligent terminal and computer-readable recording medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778977B2 (en) * 2005-06-30 2010-08-17 Samsung Electronics Co., Ltd. Composite image apparatus and copy method thereof
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103605614A (en) * 2013-11-29 2014-02-26 贝壳网际(北京)安全技术有限公司 Method and device for cleaning up memory of mobile terminal
CN104035857A (en) * 2014-06-25 2014-09-10 珠海市君天电子科技有限公司 System junk cleaning performance detecting method and device
CN104156137A (en) * 2014-07-28 2014-11-19 珠海市君天电子科技有限公司 Method, device and terminal for controlling application programs
CN104808991A (en) * 2015-04-17 2015-07-29 深圳市金立通信设备有限公司 Terminal processing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778977B2 (en) * 2005-06-30 2010-08-17 Samsung Electronics Co., Ltd. Composite image apparatus and copy method thereof
CN102750217A (en) * 2012-05-30 2012-10-24 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying application program icons and terminal device
CN103605614A (en) * 2013-11-29 2014-02-26 贝壳网际(北京)安全技术有限公司 Method and device for cleaning up memory of mobile terminal
CN104035857A (en) * 2014-06-25 2014-09-10 珠海市君天电子科技有限公司 System junk cleaning performance detecting method and device
CN104156137A (en) * 2014-07-28 2014-11-19 珠海市君天电子科技有限公司 Method, device and terminal for controlling application programs
CN104808991A (en) * 2015-04-17 2015-07-29 深圳市金立通信设备有限公司 Terminal processing method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107545010A (en) * 2016-06-29 2018-01-05 阿里巴巴集团控股有限公司 Display methods, file clean-up method, apparatus, display device and electronic equipment
CN106599021A (en) * 2016-10-31 2017-04-26 努比亚技术有限公司 Labeling method for quantities of junk files in application programs and terminal
CN108021630A (en) * 2017-11-21 2018-05-11 深圳市雷鸟信息科技有限公司 Cleaning garbage files method, intelligent terminal and computer-readable recording medium
CN108021630B (en) * 2017-11-21 2021-03-30 深圳市雷鸟网络传媒有限公司 Junk file cleaning method, intelligent terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11635810B2 (en) Managing and mapping multi-sided touch
CN104239094B (en) Control method, device and the terminal device of background application
CN105511631B (en) Gesture identification method and device
CN104793846A (en) Displaying method and device for interface of application program
CN105549849A (en) Method and device for processing misoperation instruction
CN104281432A (en) Method and device for regulating sound effect
CN105159559A (en) Mobile terminal control method and mobile terminal
CN105718056A (en) Gesture recognition method and device
CN105657546A (en) Multimedia file playing method and device and terminal
CN104267881A (en) Toolbar operating method and device
CN105224171A (en) icon display method, device and terminal
CN105554255A (en) Operation control method and device for terminal equipment
CN105335062A (en) Information editing operation processing method and apparatus
CN104298424A (en) File operation method and device
CN104750357A (en) Memo information processing method and device
CN106339137A (en) Terminal touch recognition method and device
CN105187671A (en) Recording method and device
CN105528138A (en) Application icon grouping method and apparatus
KR20210005508A (en) Touch signal processing method, apparatus and media
CN105468281A (en) Setup interface display method and device
CN105447178A (en) Junk files reminding method and apparatus
CN107197107A (en) Enabled instruction processing method and processing device
CN106775210A (en) The method and apparatus that wallpaper is changed
CN104636064A (en) Gesture generating method and device
CN105260221A (en) Application installation method and device

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: 20160330