CN106598880A - Cache management method and terminal - Google Patents

Cache management method and terminal Download PDF

Info

Publication number
CN106598880A
CN106598880A CN201611170249.2A CN201611170249A CN106598880A CN 106598880 A CN106598880 A CN 106598880A CN 201611170249 A CN201611170249 A CN 201611170249A CN 106598880 A CN106598880 A CN 106598880A
Authority
CN
China
Prior art keywords
application
terminal
cache size
caching
unit
Prior art date
Application number
CN201611170249.2A
Other languages
Chinese (zh)
Inventor
莫天虎
Original Assignee
深圳市金立通信设备有限公司
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 深圳市金立通信设备有限公司 filed Critical 深圳市金立通信设备有限公司
Priority to CN201611170249.2A priority Critical patent/CN106598880A/en
Publication of CN106598880A publication Critical patent/CN106598880A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0891Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using clearing, invalidating or resetting means

Abstract

Embodiments of the invention provide a cache management method and a terminal. The method comprises the steps of setting a warning value of occupying a memory of the terminal by a cache of an application; obtaining a cache size of the current application; if the terminal is used by a user, giving out a reminder about a distance between the cache size of the application and the warning value; judging whether a clearing instruction of clearing the cache of the application is received or not; and if yes, clearing the cache of the application. The warning value of the cache size of each application is set, the current cache size of the application is obtained, the distance between the current cache size of the application and the warning value is reminded to the user, and the cache of the application is cleared after the clearing instruction is received, so that the user can separately clear the application of which the cache needs to be cleared to release the memory, the process is convenient and quick, and the user can obtain better experience.

Description

A kind of method and terminal of cache management

Technical field

The present invention relates to electronic technology field, more particularly to a kind of method and terminal of cache management.

Background technology

As smart machine is increasingly popularized, mobile phone hardware accessory more and more higher, also therewith water rises for internal memory and memory space Height, the internal memory also more and more higher that cell phone software takes, the memory space of occupancy is also more and more.It is most of on market to remove sky Between method be all to use fail-safe software, cleaning tool etc, and be to show the cache size of all applications, and be also Once clear up all of, while need display is also all of, it is impossible to directly effectively clear up caching of certain application.

The content of the invention

The embodiment of the present invention provides a kind of method of cache management, directly can effectively clear up application cache, convenient and swift.

In a first aspect, embodiments providing a kind of method of cache management, the method includes:

Arranging the caching of application can take the warning value of the tag memory size;

Obtain the cache size of presently described application;

Show the prompting of the cache size apart from the warning value of the application;

Judge whether to receive the cleaning instruction that the caching to the application is cleared up;

If so, the caching of the application is cleared up.

On the other hand, a kind of terminal is embodiments provided, the terminal includes:

Setting unit, the caching for arranging application can take the warning value of the tag memory size;

First acquisition unit, for obtaining the cache size of presently described application;

Reminding unit, for showing the prompting of the cache size apart from the warning value of the application;

First judging unit, for judging whether to receive the cleaning instruction that the caching to the application is cleared up;

Cleaning unit, for if so, clearing up the caching of the application.

The method and terminal of the cache management of the embodiment of the present invention, the warning of the cache size by arranging each application Value, and obtain using current cache size, the distance of the current cache size of application and warning value is reminded to user, and Receive the caching after cleaning instruction to applying to clear up, so as to allow user individually can remove needs caching releasing memory Application cleared up, it is convenient and swift, allow user preferably to be experienced.

Description of the drawings

In order to be illustrated more clearly that embodiment of the present invention technical scheme, below embodiment will be described needed for be used Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.

Fig. 1 is a kind of schematic flow diagram of the method for cache management that the embodiment of the present invention one is provided;

Fig. 2 is a kind of schematic flow diagram of the method for cache management that the embodiment of the present invention two is provided;

Fig. 3 is the schematic block diagram of the terminal that the embodiment of the present invention one is provided;

Fig. 4 is the schematic block diagram of the terminal that the embodiment of the present invention two is provided;

Fig. 5 is the schematic block diagram that the embodiment of the present invention four is provided.

Specific embodiment

Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than the embodiment of whole.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.

It should be appreciated that when using in this specification and in the appended claims, term " including " and "comprising" are indicated The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole The presence or addition of body, step, operation, element, component and/or its set.

It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.

As in this specification and in the appended claims as use, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".

In implementing, the terminal described in the embodiment of the present invention including but not limited to such as has touch sensitive surface Other of the mobile phone of (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc are just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).

In discussion below, the terminal for including display and touch sensitive surface is described.It is, however, to be understood that It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.

Terminal supports various application programs, such as it is following in one or more:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.

The various application programs that can be performed in terminal can be public using at least one of such as touch sensitive surface Physical user-interface device.Can adjust among applications and/or in corresponding application programs and/or change and touch sensitive table The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal (for example, is touched Sensing surface) can support that there are the various application programs of user interface directly perceived and transparent for a user.

In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.

It should be appreciated that in embodiments of the present invention, alleged processor can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be any conventional processor etc..

It should be appreciated that terminal is only an example of portable multifunction device, and terminal can have than The more or less of component of shown component, two or more components can be combined or can have different component Configuration or cloth Put.Can be with including the combination of one or more signal transactings and/or the hardware, software or hardware and software of special IC To realize various parts.

It will also be understood that although the grade of term first, second can be used for describing various elements with here, these elements should not This is limited to these terms.These terms are only used for that these elements are distinguished from each other out.For example, without departing from the scope of the invention Under the premise of, first terminal can be referred to as second terminal, and similarly, second terminal can be referred to as first terminal.First Terminal and second terminal are terminal, but their not same terminals.

It is a kind of schematic flow diagram of the method for cache management that the embodiment of the present invention one is provided, as schemed institute referring to Fig. 1 Show, the method comprises the following steps S11~S18:

Step S11:Arrange application caching can occupied terminal memory size warning value.

Specifically, when installation one is applied in terminal, warning value that each application arranges a cache size is corresponded to, For example, it is mounted with to apply A, generates caching of the correspondence using A in terminal when using using A, the warning value of setting is 500M, The cache size warning value that then can be retained in terminal using A is 500M.Specifically when arranging, each is warned using corresponding caching Ring value can be unified value, or each application of correspondence by user oneself one warning value of setting.

Step S12:Interval preset duration carries out intermittent scanning to application.

Specifically, a scan period is preset, it is assumed that the cycle is half an hour, then, terminal can be little every half When the CACHE DIRECTORY of all applications is scanned, obtain each CACHE DIRECTORY information using under.

Step S13:Obtained according to intermittent scanning and apply current cache size.

Specifically, intermittent scanning is got after the CACHE DIRECTORY information of each application, under identifying each CACHE DIRECTORY Cache file size, and all cache file sizes under same application are added the cache size for obtaining the application.Periodically After scanning, newest cache size is drawn every time.

Step S14:Identify that the default feature matched with the cache size of application is reminded.

Specifically, some correspondences are pre-set and represents that the feature of cache size section is reminded, it is assumed that caching warning value is set For 500M, the feature of setting gradient reminds to be distinguish between cache size with the distance of warning value in the capacity of 500M, example Such as, arrange cache size be 0-100M when be first gradient, correspondence fisrt feature remind, 100M-200M be the second gradient, correspondence Second feature is reminded, by that analogy, warning value five gradients of correspondence of 500M, relative to have five features to remind, the reality that will be obtained Border cache size is mutually compared with five gradients, and which gradient judgement belongs to, and when such as cache size is 120M, belongs to the second gradient, Correspondence provides second feature prompting.

Step S15:Feature is reminded to be included on the icon of application.

Specifically, after identifying that corresponding feature is reminded, feature is reminded and is embodied on the icon of application, for example, will be slow Deposit size five features from less to more and remind and be set to five colors that application icon is carried out shade, such as shade face from less to more Color is set to successively light green, dark green, yellow, pale red and peony, it is assumed that when cache size is 80M, belongs to first gradient, correspondence first Feature is reminded, will application icon light green color shade, when cache size increases to 220M, belong to 3rd gradient, correspondence the Three features remind, will application icon yellow shade is changed into by light green color shade.

Step S16:Judge whether user's finger is default with generation cleaning instruction to the slide at terminal operation interface Operation matches.

Specifically, pre-set a finger slide checking for clearing up the caching of intended application to refer to Order, terminal determines whether to receive verifies the user's finger slide that instruction matches with finger slide.For example, if It is checking instruction to put user's finger and pin the finger manipulation that application icon quickly marks upwards, then judging the finger manipulation of user is It is no to match with checking instruction.

Step S17:If so, cleaning instruction is generated.

Specifically, if the finger manipulation of user matches with the checking instruction of finger slide, cleaning instruction is generated, Order equivalent to cleaning is sent to terminal.

Step S18:If receiving cleaning instruction, the caching to applying is cleared up.

Specifically, terminal is received after cleaning instruction, and the caching of intended application will be cleared up, in release terminal Deposit.By the warning value for arranging the cache size of each application, and obtain using current cache size, by the current slow of application Deposit size to remind to user with the distance of warning value, and the caching to applying after cleaning instruction is received is cleared up, so as to User is allowed intuitively to learn each current cache size of each application, individually to needing removing caching releasing memory to answer It is convenient and swift with being cleared up, allow user preferably to be experienced.

Further, can be scanned just for current application when the cache size of terminal-pair application is scanned, i.e. It is current to run certain application, after the signal for exiting the application is received, start to be scanned the cache size of the application, Immediately the cache size of the application is given the user.Can so allow scanning more targetedly, speed is faster.

It is a kind of schematic flow diagram of the method for cache management that the embodiment of the present invention two is provided, as schemed institute referring to Fig. 2 Show, the method comprises the following steps S21~S26:

Step S21:Arrange application caching can occupied terminal memory size warning value.

Specifically, when installation one is applied in terminal, corresponding to each application can arrange the warning of a cache size Value, if cache size has reached warning value, for example, is mounted with to apply A, and generating correspondence in terminal when using using A should With the caching of A, the warning value of setting is 500M, then the cache size warning value that can be retained in terminal using A is 500M.Specifically When arranging, each can be that unified value, or corresponding each application are set by user oneself using corresponding caching warning value Put a warning value.

Step S22:Obtain the cache size of current application.

Specifically, terminal detects that each, using corresponding cache size, for example, presets a scan period, it is assumed that Cycle is half an hour, then, terminal can be scanned every half an hour to the CACHE DIRECTORY of all applications, and obtaining each should CACHE DIRECTORY information with.

Step S23:Show the prompting of the cache size apart from warning value of application.

Specifically, after getting the CACHE DIRECTORY information of each application, the cache file under each CACHE DIRECTORY is identified Size, and all cache file sizes under same application are added the cache size for obtaining the application.In user's using terminal When, give the user the prompting of the current cache size of application.

Step S24:Judge whether the cache size applied reaches default cleaning threshold.

Specifically, a cleaning threshold is pre-set, whether terminal will be to reaching default cleaning threshold using cache size Judged.For example, cleaning threshold can be warning value, and whether terminal-pair application cache size reaches warning value is judged, Cleaning threshold can also be the numerical value that other users are voluntarily arranged, such as, the 80% of warning value, terminal-pair application cache size is It is no to reach the 80% of warning value and judged.

Step S25:If so, cleaning instruction is generated.

Specifically, once using cache size reach cleaning threshold, will generate cleaning instruction.

Step S26:If receiving cleaning instruction, the caching of application is cleared up.

Specifically, if terminal receives the cleaning instruction that the caching to applying is cleared up, cleaning instruction will be passed Up to system, the caching of application is purged by system.Thus, will enter automatically when the caching of application reaches certain threshold value Row cleaning, operates on it without the need for user, efficient and convenient.

Further, when the application cache in terminal automatically to reaching cleaning threshold is cleared up, the manual of user is retained The operation that instruction is cleared up, can so facilitate user being not up to cleaning threshold to some however it is necessary that clearing up caching to release Operated when putting internal memory.

It is a kind of schematic block diagram of terminal that the embodiment of the present invention one is provided, as illustrated, the terminal bag referring to Fig. 3 Include:

Setting unit 10, for arrange application caching can occupied terminal memory size warning value;

First acquisition unit 20 is used to obtain the cache size of current application includes scanning element 21 and second acquisition unit 22;

Scanning element 21, intermittent scanning is carried out for being spaced preset duration to application;

Second acquisition unit 22, obtains according to intermittent scanning and applies current cache size;

If reminding unit 30 is used for user's using terminal, provide the cache size of application includes knowing apart from the prompting of warning value Other unit 31 and display unit 32;

Recognition unit 31, the default feature that the cache size for identifying with apply matches is reminded;

Display unit 32, for feature to be reminded into the icon included in application;

First judging unit 40, the cleaning that the caching for judging whether to receive to applying is cleared up is instructed includes the Two judging units 41 and performance element 42;

Second judging unit 41, for judging whether user's finger clears up the slide at terminal operation interface with generating The predetermined registration operation of instruction matches;

Performance element 42, for if so, generating cleaning instruction;

Cleaning unit 50, if for receiving cleaning instruction, the caching to applying is cleared up.

Specifically, terminal 99 is installed after application, and the caching for arranging application by setting unit 10 can occupied terminal memory size Warning value, after user's using terminal application, scanning element 21 can be spaced preset duration and carry out intermittent scanning to application, and by the Two acquiring units 22 are obtained according to scanning result applies current cache size, and recognition unit 31 is known according to the cache size of application Do not go out the default feature matched with the cache size of application to remind, and included feature prompting in application by display unit 32 On icon, when user operates to application icon, the second judging unit 41 can judge user's finger to terminal operation interface Slide whether match with the predetermined registration operation for generating cleaning instruction, if matched, performance element 42 will be generated clearly Reason instruction, if terminal 99 receives cleaning instruction, the caching that cleaning unit 50 starts to applying is cleared up.

By the warning value for arranging the cache size of each application, and obtain using current cache size, by application Current cache size is reminded to user with the distance of warning value, and the caching to applying after cleaning instruction is received is carried out clearly Reason, so as to allow user intuitively to learn each current cache size of each application, individually to needing to remove caching release The application of internal memory is cleared up, convenient and swift, allows user preferably to be experienced.

It is a kind of schematic block diagram of terminal that the embodiment of the present invention two is provided, as illustrated, the terminal bag referring to Fig. 4 Include:

Setting unit 10, for arrange application caching can occupied terminal memory size warning value;

First acquisition unit 20, for obtaining the cache size of current application;

Reminding unit 30, for showing the prompting of the cache size apart from warning value of application;

3rd judging unit 43, for judging whether the cache size applied reaches default cleaning threshold;

Performance element 42, for if so, generating cleaning instruction;

Cleaning unit 50, if for receiving cleaning instruction, the caching to applying is cleared up.

Specifically, specifically, terminal 99 is installed after application, and the caching for arranging application by setting unit 10 can be in occupied terminal The warning value of size is deposited, after user's using terminal application, first acquisition unit 20 obtains the cache size of current application, and passes through Reminding unit 30 provides the prompting of the cache size apart from warning value of application, and the 3rd judging unit 43 can be monitored and delayed using current Deposit size and judge whether the cache size applied reaches default cleaning threshold, if reached, will be generated clearly by performance element 42 Reason instruction, once cleaning unit 50 receives the cleaning instruction of performance element 42, starts the caching to applying and clears up.

Thus, will be cleared up automatically when the caching of application reaches certain threshold value, operate on it without the need for user, It is efficient and convenient.

Fig. 5 is the structure composition schematic diagram of the example IV of the terminal 99 of the present invention.As shown in figure 5, it may include:At least One input equipment 101, at least one output equipment 102, bus 103, transceiver 104, memory 105 and processor 100, above-mentioned input equipment 101, output equipment 102, transceiver 104, memory 105 and processor 100 are connected by bus 103 Connect, wherein:

Input equipment 101, for receiving the input data of outside input terminal 99.In implementing, the embodiment of the present invention Input equipment 101 may include keyboard, mouse, opto-electronic input device, audio input device, touch input device, scanner Deng.

Output equipment 102, for the output data of external output terminal.In implementing, the output of the embodiment of the present invention Equipment 102 may include display, loudspeaker, printer etc..

Bus 103, for being communicated with other equipment.In implementing, the bus 103 of the embodiment of the present invention can be and pass Broadcast an example of medium.Propagation medium typically can be by computer-readable instruction, data structure, program module or other modulation Other data materializations of data-signal (such as carrier wave or other transfer mechanisms) form, for example, propagation medium may include Wired media, such as priority network or straight line connect, and propagation medium may also include wireless medium, such as sound wave, radio frequency, infrared ray Deng.In implementing, the bus 103 of the embodiment of the present invention can be used to receive the access request for accessing terminal.

Transceiver 104, for sending data or from other equipment receiving data to other equipment by bus 103. In implementing, the transceiver 104 of the embodiment of the present invention may include the transceiving devices such as radio-frequency antenna.

Memory 105, for routine data of the storage with various functions.Memory 105 is stored in the embodiment of the present invention Data include Internet Service Provider's data available and the unavailable data of Internet Service Provider, and other can call and transport Capable routine data.In implementing, the memory 105 of the embodiment of the present invention can be system storage, such as, volatile The combination of (such as RAM), non-volatile (such as ROM, flash memory etc.), or both.In implementing, the embodiment of the present invention Memory 105 can also be the external memory storage outside system, such as, and disk, CD, tape etc..

Processor 100, such as CPU, for calling memory 105 in the routine data that stores, and perform following operation:

Arrange application caching can occupied terminal memory size warning value;Interval preset duration is swept to the application cycle of carrying out Retouch;Obtained according to intermittent scanning and apply current cache size;If user's using terminal, the cache size phase with application is identified The default feature of matching is reminded;Feature is reminded to be included on the icon of application;Judge user's finger to terminal operation interface Whether slide matches with the predetermined registration operation for generating cleaning instruction;If so, cleaning instruction is generated;If receiving cleaning to refer to Order, the caching to applying is cleared up.

Specifically, after terminal 99 installs application, the application that the receive user of processor 100 is arranged from input equipment 101 Cache size warning value, or the numerical value for pre-setting is called from memory 105 as the warning value applied, when user makes When using terminal applies, processor 100 can be swept according to the scan period arranged in memory 105 to the cache size applied Retouch, and the warning value by cache size in memory 105 compares, and then by output equipment 102 by current cache size Remind to user, and judge user from input equipment 101 to the information of application operating whether with memory 105 in prestore it is clear Except cache instruction information match, if it is, the caching of 100 pairs of applications of processor is cleared up.

Arrange application caching can occupied terminal memory size warning value;Obtain the cache size of current application;If with Family using terminal, provides the prompting of the cache size apart from warning value of application;Judge whether the cache size applied reaches default Cleaning threshold;If so, cleaning instruction is generated;If receiving cleaning instruction, the caching of application is cleared up.

Specifically, after terminal 99 installs application, the application that the receive user of processor 100 is arranged from input equipment 101 Cache size warning value, or the numerical value for pre-setting is called from memory 105 as the warning value applied, when user makes When using terminal applies, processor 100 can scan the cache size for using rear application every time, and by cache size and memory 105 Interior warning value compares, and then current cache size is reminded to user by output equipment 102, and judges using current Whether cache size reaches the cleaning threshold of the automatic removing caching prestored in memory 105, if it is, the correspondence of processor 100 With caching cleared up.

In several embodiments provided herein, it should be understood that disclosed, terminal and method, can pass through Other modes are realized.For example, device embodiment described above is only schematic, for example, the division of unit, and only For a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be combined Or another system is desirably integrated into, or some features can be ignored, or do not perform.In addition, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit Connect, or electricity, machinery or other forms connections.

Can be as the unit of separating component explanation or may not be physically separate, show as unit Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks On unit.Some or all of unit therein can according to the actual needs be selected to realize the mesh of embodiment of the present invention scheme 's.

In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.

Step in present invention method can according to actual needs carry out order adjustment, merge and delete.

Unit in embodiment of the present invention terminal can according to actual needs be merged, divides and deleted.

The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or replacement all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right The protection domain of requirement is defined.

Claims (10)

1. a kind of method of cache management, it is characterised in that include:
Arranging the caching of application can take the warning value of the tag memory size;
Obtain the cache size of presently described application;
Show the prompting of the cache size apart from the warning value of the application;
Judge whether to receive the cleaning instruction that the caching to the application is cleared up;
If so, the caching of the application is cleared up.
2. buffer memory management method according to claim 1, it is characterised in that the caching of the presently described application of the acquisition is big It is little including:
Interval preset duration carries out intermittent scanning to the application;
Obtain described using current cache size according to the intermittent scanning.
3. buffer memory management method according to claim 1, it is characterised in that the cache size for providing the application away from Prompting from the warning value includes:
Identify that the default feature matched with the cache size of the application is reminded;
The feature is reminded to be included on the icon of the application.
4. buffer memory management method according to claim 1, it is characterised in that described to judge whether to receive to the application Caching cleared up cleaning instruction include:
Judge whether user's finger clears up the slide at the terminal operation interface predetermined registration operation phase of instruction with generation Match somebody with somebody;
If so, the cleaning instruction is generated.
5. the buffer memory management method according to any one of claim 1-4, it is characterised in that methods described also includes:
Whether the cache size for judging the application reaches default cleaning threshold;
If so, the cleaning instruction is generated.
6. a kind of terminal, it is characterised in that include:
Setting unit, the caching for arranging application can take the warning value of the tag memory size;
First acquisition unit, for obtaining the cache size of presently described application;
Reminding unit, for showing the prompting of the cache size apart from the warning value of the application;
First judging unit, for judging whether to receive the cleaning instruction that the caching to the application is cleared up;
Cleaning unit, for if so, clearing up the caching of the application.
7. terminal according to claim 6, it is characterised in that the first acquisition unit is used to obtain presently described application Cache size include:
Scanning element, intermittent scanning is carried out for being spaced preset duration to the application;
Second acquisition unit, obtains described using current cache size according to the intermittent scanning.
8. terminal according to claim 6, it is characterised in that the caching that the reminding unit is used to provide the application is big The prompting of warning value described in small distance includes:
Recognition unit, for identifying that the default feature matched with the cache size of the application is reminded;
Display unit, for the feature to be reminded into the icon included in the application.
9. terminal according to claim 6, it is characterised in that it is right that first judging unit is used to judging whether receiving The cleaning instruction that the caching of the application is cleared up includes:
Second judging unit, for judging whether user's finger refers to the slide at the terminal operation interface with generation cleaning The predetermined registration operation of order matches;
Performance element, for if so, generating the cleaning instruction.
10. the terminal according to any one of claim 6-9, it is characterised in that the terminal also includes:
3rd judging unit, for judging whether the cache size of the application reaches default cleaning threshold;
The performance element is used to if so, generate the cleaning instruction.
CN201611170249.2A 2016-12-16 2016-12-16 Cache management method and terminal CN106598880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611170249.2A CN106598880A (en) 2016-12-16 2016-12-16 Cache management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611170249.2A CN106598880A (en) 2016-12-16 2016-12-16 Cache management method and terminal

Publications (1)

Publication Number Publication Date
CN106598880A true CN106598880A (en) 2017-04-26

Family

ID=58599819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611170249.2A CN106598880A (en) 2016-12-16 2016-12-16 Cache management method and terminal

Country Status (1)

Country Link
CN (1) CN106598880A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357741A (en) * 2017-06-05 2017-11-17 努比亚技术有限公司 A kind of application management method, equipment and computer-readable storage medium
CN109324983A (en) * 2017-07-31 2019-02-12 武汉斗鱼网络科技有限公司 A kind of method, storage medium, equipment and the system of automatic cleaning cache file

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324639A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Useless item clearing method and device
CN103577348A (en) * 2013-10-09 2014-02-12 广东欧珀移动通信有限公司 Method and mobile device for automatically counting application cache size and reminding user
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
CN105095107A (en) * 2014-05-04 2015-11-25 腾讯科技(深圳)有限公司 Buffer memory data cleaning method and apparatus
CN105260319A (en) * 2015-09-11 2016-01-20 上海卓易科技股份有限公司 Cleaning method and cleaning system for mobile terminal
CN106095587A (en) * 2016-06-24 2016-11-09 北京金山安全软件有限公司 Cache sweep method, device and the electronic equipment of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324639A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Useless item clearing method and device
CN103577348A (en) * 2013-10-09 2014-02-12 广东欧珀移动通信有限公司 Method and mobile device for automatically counting application cache size and reminding user
CN105095107A (en) * 2014-05-04 2015-11-25 腾讯科技(深圳)有限公司 Buffer memory data cleaning method and apparatus
CN104731712A (en) * 2015-02-06 2015-06-24 深圳市中兴移动通信有限公司 Method for automatically cleaning up caching data and mobile terminal
CN105260319A (en) * 2015-09-11 2016-01-20 上海卓易科技股份有限公司 Cleaning method and cleaning system for mobile terminal
CN106095587A (en) * 2016-06-24 2016-11-09 北京金山安全软件有限公司 Cache sweep method, device and the electronic equipment of application program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357741A (en) * 2017-06-05 2017-11-17 努比亚技术有限公司 A kind of application management method, equipment and computer-readable storage medium
CN109324983A (en) * 2017-07-31 2019-02-12 武汉斗鱼网络科技有限公司 A kind of method, storage medium, equipment and the system of automatic cleaning cache file

Similar Documents

Publication Publication Date Title
EP3046017B1 (en) Unlocking method, device and terminal
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
US9983724B2 (en) Mobile terminal and controlling method for displaying information of a wearable device
CN103500002B (en) The method of application program management, device and terminal unit
RU2666314C2 (en) User terminal apparatus and corresponding control method
KR101907182B1 (en) Application program control method and related apparatus
US10725657B2 (en) Method for displaying graphical user interface and mobile terminal
JP6092702B2 (en) Communication terminal and information transmission method
US10739957B2 (en) Data processing method and electronic device supporting the same
RU2633189C2 (en) Method and device to provide compatibility of application for router control of and built-in router software
EP2530576B1 (en) Mobile terminal and control method thereof
JP6096992B2 (en) Method, apparatus, program and storage medium for saving storage space
US9485364B2 (en) Method of displaying icons according to service usage states and mobile terminal supporting the same
US20130219319A1 (en) Apparatus and method for grouping application program folders in electronic device
US10606406B2 (en) Electronic device and operation method thereof
KR20130056672A (en) A method and apparatus for recommending applications based on context information
KR20140137509A (en) Operating Method of Notification Screen And Electronic Device supporting the same
US9338359B2 (en) Method of capturing an image in a device and the device thereof
US10564833B2 (en) Method and apparatus for controlling devices
RU2633153C2 (en) Method and device for installing management account for smart devices
EP2549723A1 (en) Mobile terminal and method of controlling the same
WO2014026619A1 (en) Method and device for controlling invocation of an application programming interface
CN106537946A (en) Scoring beacon messages for mobile device wake-up
WO2013013559A1 (en) Screen unlocking method and device thereof
ES2733823T3 (en) Procedure to perform a function and electronic device that supports it

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170426

WW01 Invention patent application withdrawn after publication