CN105893146A - Memory processing method and device - Google Patents

Memory processing method and device Download PDF

Info

Publication number
CN105893146A
CN105893146A CN201610184529.2A CN201610184529A CN105893146A CN 105893146 A CN105893146 A CN 105893146A CN 201610184529 A CN201610184529 A CN 201610184529A CN 105893146 A CN105893146 A CN 105893146A
Authority
CN
China
Prior art keywords
application
launched
internal memory
less
terminal
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.)
Granted
Application number
CN201610184529.2A
Other languages
Chinese (zh)
Other versions
CN105893146B (en
Inventor
杨冬东
杜慧
顾凌华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610184529.2A priority Critical patent/CN105893146B/en
Publication of CN105893146A publication Critical patent/CN105893146A/en
Application granted granted Critical
Publication of CN105893146B publication Critical patent/CN105893146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Abstract

The invention relates to a memory processing method and device. The memory processing method comprises the following steps: judging whether the number of applications operated in a terminal is less than a preset value or not; determining the least used applications in a short term in the operated applications in the terminal if the number of the operated applications is less than the preset value, wherein the recently least used applications can comprise applications, the foreground operation times of which are less than or equal to a preset time, and the short term is time period, the interval from which to the current time is less than a preset time length; clearing data corresponding to the least used applications in the short term according to the capacity of a memory of the terminal. According to the memory processing method and device, the normal operation of the applications can be ensured.

Description

Internal memory processing method and device
Technical field
It relates to memory management field, particularly relate to a kind of internal memory processing method and device.
Background technology
Internal memory, as one of vitals in terminal, can store the process data of processor.For improving the process effect of processor Rate, process data corresponding for this application, after running an application, can be stored to internal memory, processor can be made to exist by processor When user uses this application next time, according to process data this application of quick startup optimization that this application is corresponding.
Application in terminal gets more and more and the restriction of memory size so that the available resources in internal memory are fewer and feweri.Generally, only At low memory, say, that when the available resources in internal memory are not enough to store the new process data starting application correspondence, internally Deposit into the cleaning of row resource.
But, internally deposit into the cleaning of row resource when low memory, can make the application being currently running that card occurs, thus cannot Properly functioning.
Disclosure
For overcoming problem present in correlation technique, the disclosure provides a kind of internal memory processing method and device.Described technical scheme is such as Under:
First aspect according to disclosure embodiment, it is provided that a kind of internal memory processing method, including:
Receiving position inquiry request;
Judge that whether the number of the application being currently running in terminal is less than preset value;
If the number of the application being currently running is less than preset value, determine the application having run application minimum use near-mid term in terminal; Least recently used application comprise the steps that at no distant date at the number of times of front stage operation less than or equal to the application of preset times;It is in the recent period The interval of distance current time is less than the time period of preset duration;
The capacity of the internal memory according to terminal, the data of the application correspondence of cleaning internal memory minimum use near-mid term.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: the application judging to be currently running in terminal Whether number is less than preset value;If the number of the application being currently running is less than preset value, clear up answering of internal memory minimum use near-mid term By corresponding data, and the most only carry out resource cleaning when low memory, thus can reduce and be currently running application card occurs Probability, it is ensured that application properly functioning, improves Consumer's Experience.
Alternatively, it is judged that the number of the application being currently running in terminal whether less than preset value, including:
Whether the load of decision processor is more than presetting load value;
If the load of processor is less than or equal to presetting load value, determine that the number of the application being currently running is less than preset value.The party In method can by judge the load of processor to determine the number of the application being currently running in terminal whether less than preset value, and Without detecting for just running application, and, it is not necessary to the resource that internal memory uses is analyzed, and simplifies processing procedure, reduces Resource shared by this processing procedure, it is ensured that the process performance of terminal.
Alternatively, it is judged that the number of the application being currently running in terminal whether less than preset value, including:
Judge whether the duration that the display screen of terminal is closed is more than preset duration;
If the duration that display screen is closed is more than preset duration, determine that the application being currently running is less than preset value.The method In can be judged by the duration that the display screen of terminal is closed, it is provided that another kind determines the application that is currently running Implementation method, and without detecting for just running application, and, it is not necessary to the resource that internal memory uses is analyzed, at simplification Reason process, reduces the resource shared by this processing procedure, it is ensured that the process performance of terminal.
Optionally, the method also includes:
Applying in start-up course according in the application run first, the load of processor is more than the duration presetting load value, Determine the starting duration of the first application;
Determine that first applies the number of times at front stage operation;
If the starting duration of the first application is more than preset duration, and, first applies at front stage operation number of times more than preset times value Application, the data keeping the first application corresponding are stored in internal memory.The method keeps startup time length and commonly used application Corresponding data are stored in internal memory, can avoid startup time length and commonly used apply after data scrubbing, owing to again opening The dynamic memory source brought is the most occupied, improves the cleaning effect of memory source, it is ensured that application properly functioning.
Optionally, the method also includes:
Judge that application to be launched is user's request application or the application of non-user demand;
If application to be launched is the application of non-user demand, it is limited to the memory source of application to be launched distribution, or, do not start and treat Start application.The method can by be limited to unwelcome application distribution memory source, or, do not start unwelcome Application, can avoid unwelcome application too much taking memory source, improves available resources in internal memory.
Optionally, it is judged that application to be launched be user's request application or non-user demand application include:
Detect the request that the arranges message of application to be launched;
Show application to be launched in System menu item arranges interface;Wherein, the interface that arranges of application to be launched includes: user The mark that demand application is corresponding, and, the mark that the application of non-user demand is corresponding;
Obtain application to be launched arranges confirmation message;Wherein, arrange confirmation message to include: the mark that application to be launched is corresponding;
According to the mark that application to be launched is corresponding, it is judged that mark corresponding to application to be launched be mark corresponding to user's request application also It it is the mark of non-user's request application correspondence;
If what application to be launched was corresponding is designated the mark that user's request application is corresponding, determine that application to be launched is user's request application;
If the mark of the non-user demand that the is designated application correspondence that application to be launched is corresponding, determine that application to be launched is non-user demand Application.
Optionally, detect the request that the arranges message of application to be launched, including:
The position detection operation requests message that application to be launched is corresponding on the display screen of terminal;
If operation requests is long touch control operation request message of pressing, or, double-click touch control operation request message, by operation requests message It is defined as the request that the arranges message of application to be launched.
Optionally, the method also includes:
Judge whether system service and application exist RAM leakage;
If system service exists RAM leakage, it is limited to the memory source of system service distribution;
If application exists RAM leakage, cleaning internal memory is applied the data of correspondence.The method is by being limited to there is RAM leakage , there are the data that the application of RAM leakage is corresponding in cleaning internal memory, it is ensured that the available money of internal memory in the memory source of system service distribution Source, it is to avoid there is system service and service too much the taking memory source of RAM leakage, improve the service efficiency of memory source.
Optionally, the method also includes:
If the system service of terminal or application are never at front stage operation, it is limited to system service or the memory source of application distribution.
Disclosure embodiment being explained below and provides a kind of internal memory processing means, wherein device part is corresponding with said method, corresponding Content technologies effect is identical, does not repeats them here.
Second aspect according to disclosure embodiment, it is provided that a kind of internal memory processing means, including:
Judge module, is configured to judge that whether the number of the application being currently running in terminal is less than preset value;
First determines module, if the number of application being configured to be currently running is less than preset value, determines and has run application in terminal The application of minimum use near-mid term;Least recently used application comprises the steps that number of times at front stage operation is less than or equal at no distant date The application of preset times;It is the interval time period less than preset duration of distance current time in the recent period;
Cleaning module, is configured to the capacity of the internal memory according to terminal, the number of the application correspondence of cleaning internal memory minimum use near-mid term According to.
Optionally, it is judged that module, whether the load of decision processor it is additionally configured to more than presetting load value;
This device also includes:
Second determines module, if the load being configured to processor is less than or equal to preset load value, determines the application being currently running Number less than preset value.
Optionally, it is judged that module, it is additionally configured to judge when whether the duration that the display screen of terminal is closed is more than default Long;
This device also includes:
3rd determines module, if be configured to duration that display screen is closed more than preset duration, determine and is currently running The number of application is less than preset value.
Optionally, this device also includes:
4th determines module, is configured to apply in start-up course according in the application run first, and the load of processor is big In the duration of default load value, determine the starting duration of the first application;Determine that first applies the number of times at front stage operation;
Keep module, if the starting duration being configured to the first application is more than preset duration, and, first applies at front stage operation Number is stored in internal memory more than preset times value, the data keeping the first application corresponding.
Optionally, it is judged that module, it is additionally configured to judge that application to be launched is user's request application or the application of non-user demand;
This device also includes:
First limits module, if being configured to application to be launched is the application of non-user demand, is limited to the interior of application to be launched distribution Deposit resource;
Or,
This device also includes:
Start module, be configured to not start application to be launched.
Optionally, detection module, it is configured to detect the request that the arranges message of application to be launched;
Display module, be configured to show application to be launched in System menu item arranges interface;Wherein, application to be launched Arrange interface to include: the mark that user's request application is corresponding, and, the mark that the application of non-user demand is corresponding;
Acquisition module, be configured to obtain application to be launched arranges confirmation message;Wherein, arrange confirmation message to include: wait to open The mark that dynamic application is corresponding.
Judge module, is additionally configured to the mark corresponding according to application to be launched, it is judged that mark corresponding to application to be launched is user Mark or non-user demand that demand application is corresponding apply corresponding mark;
This device also includes:
5th determines module, if being configured to the mark being designated user's request application correspondence that application to be launched is corresponding, determining and treating Start application to apply for user's request;If the mark of the non-user demand that the is designated application correspondence that application to be launched is corresponding, determine and treat Start application to apply for non-user demand.
Optionally, detection module, it is additionally configured to the position detection operation requests that application to be launched on the display screen of terminal is corresponding Message;
This device also includes:
6th determines module, if being configured to operation requests to ask message for long by touch control operation, or, double-clicking touch control operation please Seek message, operation requests is defined as the request that the arranges message of application to be launched.
Optionally, it is judged that module, it is additionally configured to detecting system service and whether application exists RAM leakage;
This device also includes:
Second limits module, if being configured to system service to there is RAM leakage, is limited to the memory source of this system service distribution;
This cleaning module, if being additionally configured to application to there is RAM leakage, applies the data of correspondence in cleaning internal memory.
Optionally, device also includes:
3rd limit module, if be configured to terminal system service or application never at front stage operation, be limited to system service or The memory source of application distribution.
The third aspect according to disclosure embodiment, it is provided that a kind of internal memory processing means, this device includes:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, this processor is configured to:
Judge that whether the number of the application being currently running in terminal is less than preset value;
If the number of the application being currently running is less than preset value, determine the application having run application minimum use near-mid term in terminal; Least recently used application comprise the steps that at no distant date at the number of times of front stage operation less than or equal to the application of preset times;It is in the recent period The interval of distance current time is less than the time period of preset duration;
The capacity of the internal memory according to terminal, the data of the application correspondence of cleaning internal memory minimum use near-mid term.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: the internal memory process side that embodiment of the disclosure Whether method and device, be less than preset value by the number judging the application being currently running in terminal, if the application being currently running is individual Number is less than preset value, the data of the application correspondence of cleaning internal memory minimum use near-mid term.In this way, it is possible to decrease transport There is the probability of card in row application, it is ensured that application properly functioning, improves Consumer's Experience.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, can not limit The disclosure.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and For explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of internal memory processing method shown in an exemplary embodiment;
Fig. 2 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 3 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 4 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 5 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 6 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 7 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment;
Fig. 8 is the block diagram according to a kind of internal memory processing means shown in an exemplary embodiment;
Fig. 9 A is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Fig. 9 B is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Fig. 9 C is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Fig. 9 D is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Fig. 9 E is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Fig. 9 F is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment;
Figure 10 is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, hereinafter will be described in more detail.These accompanying drawings and literary composition WD is not intended to be limited the scope of disclosure design by any mode, but is this area by reference specific embodiment Technical staff illustrates the concept of the disclosure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.When explained below relates to accompanying drawing, Unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Described in following exemplary embodiment Embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended claims The example of the apparatus and method that middle some aspects described in detail, the disclosure are consistent.
Fig. 1 is the flow chart according to a kind of internal memory processing method shown in an exemplary embodiment, and the present embodiment processes with this internal memory Method is applied to can to install and run in any terminal of application.This internal memory processing method can include following several step:
In step S101, it is judged that whether the number of the application being currently running in terminal is less than preset value.
In step s 102, if the number of this application being currently running less than preset value, determine this terminal has been run in application near The application of phase minimum use.
The application of this least recently used comprise the steps that at no distant date at the number of times of front stage operation less than or equal to the application of preset times; This is the interval time period less than preset duration of distance current time in the recent period.
In step s 103, according to the capacity of the internal memory of this terminal, clear up this least recently used application correspondence in this internal memory Data.
Specifically, if the number of this application being currently running is no less than preset value, then the flow process of this internal memory processing method terminates.
In the case of the number of this application being currently running is less than preset value, memory source is cleared up and can make transporting The impact that row application causes is less.This step S103 can be the capacity according to this internal memory, determine this least recently used extremely A few application, and clear up the data that in this internal memory, the application of this least recently used is corresponding, i.e. deletes in this internal memory this recent The data that few application used is corresponding.
In this way in the number of this application being currently running less than in the case of this preset value, cleaning internal memory near-mid term is minimum to be made Data corresponding to application, it is possible to decrease be currently running application and the probability of card occur, it is ensured that application properly functioning, improve and use Family is experienced.
The internal memory processing method that the disclosure provides, including: judge that whether the number of the application being currently running in terminal is less than preset value; If the number of the application being currently running is less than preset value, determine the application having run application minimum use near-mid term in this terminal, root According to the capacity of this internal memory, clear up the data that in this internal memory, the application of this least recently used is corresponding.In this way, just reducing Run application and occurring the probability of card, it is ensured that application properly functioning, improve Consumer's Experience.
Fig. 2 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method can include following several step:
In step s 201, it is judged that whether the load of processor is more than presetting load value.
In step S202, if the load of this processor is less than or equal to this default load value, determine this application being currently running Number is less than preset value.
In step S203, if the number of this application being currently running less than this preset value, determine terminal has been run in application near The application of phase minimum use.
Least recently used application comprise the steps that at no distant date at the number of times of front stage operation less than or equal to the application of preset times;Closely Phase is the interval time period less than preset duration of distance current time.
In step S204, according to the capacity of the internal memory of this terminal, clear up this least recently used application correspondence in this internal memory Data.
If the load of this processor is more than this default load value, it is determined that the number of this application being currently running is pre-more than or equal to this If value, then the flow process of this internal memory processing method terminates.
Optionally, procedure described above S201 can also is that, whether the load judging preset duration inner treater is all higher than preset negative Load value, if the load of this processor is no more than this default load value in this preset duration, determines this application being currently running Number is less than preset value.
If the load of this processor is not more than this default load value, it may be determined that processor is in idle condition, and in terminal, this is transported The number of the application of row is not more than preset value.
The internal memory processing method that the disclosure provides, including: whether the load of decision processor is more than presetting load value, if this process The load of device is less than or equal to this default load value, determines that the number of this application being currently running is less than preset value, if this is transported The number of the application of row, less than this preset value, determines the application having run application minimum use near-mid term in this terminal, interior according to this The capacity deposited, clears up the data that in this internal memory, the application of this least recently used is corresponding.In this way, processor is born Be loaded into row judge to determine the number of the application being currently running in terminal whether less than preset value, and without for just run apply into Row detection, and, it is not necessary to the resource that internal memory uses is analyzed, and simplifies processing procedure, reduces the resource shared by this processing procedure, Ensureing the process performance of terminal, the number in this application being currently running internally deposits into row money in the case of being less than this preset value simultaneously Source cleaning also can reduce and is currently running application and the probability of card occur, it is ensured that application properly functioning, improves Consumer's Experience.
Fig. 3 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method can include following several step:
In step S301, it is judged that whether the duration that the display screen of terminal is closed is more than preset duration.
In step s 302, if the duration that is closed of this display screen more than this preset duration, determine that this is currently running should Number less than preset value.
In step S303, if the number of this application being currently running is less than this preset value, determines in this terminal and run in application Least recently used is applied.
Wherein, least recently used application comprises the steps that at no distant date number of times the answering less than or equal to preset times of front stage operation With;It is the interval time period less than preset duration of distance current time in the recent period;
In step s 304, according to the capacity of the internal memory of this terminal, clear up this least recently used application correspondence in this internal memory Data.
If the duration that this display screen is closed is not more than, i.e. less than or equal to this preset duration, it is determined that this is currently running The number of application no less than this preset value, then the flow process of this internal memory processing method terminates.
Optionally, before step S301, the method may also include that the duration determining that this display screen is closed.
Wherein it is determined that the duration that this display screen is closed can be the state of detection display screen, if this display screen does not works, Determine that this display screen is closed, and determine the duration that this display screen is closed.
If the duration that this display screen is closed is more than this preset duration, it may be determined that user is not actuated in this preset duration should With, other application outside off-duty voice application, thus just can determine that the number of this application being currently running can be less than preset value.
The internal memory processing method that the disclosure provides, including: judge whether the duration that display screen is closed is more than preset duration, If the duration that this display screen is closed is more than this preset duration, determine that the number of this application being currently running is less than preset value, If the number of this application being currently running is less than this preset value, determine the application having run application minimum use near-mid term in this terminal, And the capacity of the internal memory according to this terminal, clear up the data that in this internal memory, the application of this least recently used is corresponding.By this side Formula, the duration being closed display screen judges that whether the number determining the application being currently running in terminal is less than presetting Value, and without detecting for just running application, and, it is not necessary to the resource that internal memory uses is analyzed, and simplifies processing procedure, Reduce the resource shared by this processing procedure, it is ensured that the process performance of terminal, and preset less than this in this application being currently running Internally deposit into the cleaning of row resource in the case of value and also can reduce the probability being currently running application appearance card, it is ensured that the normal fortune of application OK, Consumer's Experience is improved.
Fig. 4 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method is in shown in any of the above-described embodiment On the basis of depositing processing method, the method may also include following several step:
In step S401, applying in start-up course according in this application being currently running first, the load of processor is more than pre- If the duration of load value, determine the starting duration of this first application.
In step S402, determine that this first applies the number of times at front stage operation.
In step S403, if starting duration of this first application is more than preset duration, and, this first is applied at front stage operation Number is stored in this internal memory more than preset times value, the data keeping this first application corresponding.
Specifically, can be to try to keep this startup time length and the data of commonly used application correspondence for a long time in step S403 It is stored in this internal memory, and the most cleaned, say, that and in this internal memory, this startup time length and commonly used application are right The data buffer storage time that the data buffer storage time answered is corresponding more than other application.For this startup time length and commonly used application, Especially use frequently, if by the data scrubbing of its correspondence, each startup again can committed memory again, affect the effect that internal memory is cleared up, And the time started is longer every time, thus startup also produces extra load pressure every time.
It should be noted that in the internal memory processing method of this exemplary embodiment, step S401-step S403 can be any of the above-described Before the internal memory processing method of embodiment, or, perform afterwards, it is possible to parallel with the internal memory processing method of any of the above-described embodiment Performing, the disclosure is not in this, as restriction.
The internal memory processing method that the disclosure provides, including: according in the first start-up course in the application being currently running, processor Load, more than the duration of default load value, determines the starting duration of this first application;Determine that this first is applied at front stage operation Number of times, if starting duration of this first application is more than preset duration, and, at front stage operation number of times more than preset times value, protect The data holding this first application corresponding are stored in this internal memory.Keep this startup time length and commonly used answering in this way Be stored in this internal memory by corresponding data, can avoid startup time length and often start apply after data scrubbing, due to again The memory source that secondary startup brings is the most occupied, improves the cleaning effect of memory source, and that also can avoid that frequent starting brings is negative Carry pressure, it is ensured that application properly functioning.
Fig. 5 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method is in shown in any of the above-described embodiment On the basis of depositing processing method, the method may also include following several step:
In step S501, it is judged that application to be launched is user's request application or the application of non-user demand.
Specifically, in terminal, application to be launched is user's request application or the application of non-user demand, can be to be pre-configured in this End side, it is also possible to be according to user input this application to be launched configuration information determined by.
Optionally, in this step S501, it is judged that application to be launched is user's request application or the application of non-user demand, Ke Yitong Cross following manner to realize:
Detect the request that the arranges message of this application to be launched;
Show this application to be launched in System menu item arranges interface;Wherein, the interface that arranges of this application to be launched includes: The mark that user's request application is corresponding, and, the mark that the application of non-user demand is corresponding;
Receive application to be launched arranges confirmation message;Wherein, the confirmation message that arranges of this application to be launched includes: this is to be launched The mark that application is corresponding;
According to the mark that this application to be launched is corresponding, it is judged that the mark of this application correspondence to be launched is the mark that user's request application is corresponding Know or the mark that the application of non-user demand is corresponding;
If what this startup application was corresponding is designated the mark that user's request application is corresponding, determine that this application to be launched is that user's request should With;
If the mark of the non-user demand that the is designated application correspondence that this startup application is corresponding, determine that this application to be launched is that non-user needs Ask application.
Optionally, detect the request that the arranges message of this application to be launched, may include that
The position detection operation requests message that this application to be launched is corresponding on the display screen of this terminal;
If this operation requests is long touch control operation request message of pressing, or, double-click touch control operation request message, by this operation requests Message is defined as the request that the arranges message of this application to be launched.
Specifically, the position that on this display screen, this application to be launched is corresponding, can be this application to be launched on this touching display screen Position corresponding to icon.If this position that this application to be launched is corresponding on a display screen, detect that default operation requests disappears Breath, as long press touch control operation request message or, double-click touch control operation and ask message, just this operation requests message can be defined as The request that the arranges message of this application to be launched, i.e. user arrange request message for this application to be launched.
The confirmation message that arranges of this application to be launched can be that user is according to arranging on interface from these user's need in this application to be launched Seek the mark that application is corresponding, and, this non-user demand applies the mark that this application to be launched selected in corresponding mark is corresponding, Inputted arranges confirmation.
It should be noted that this user's request application alternatively referred to as welcome application, the application of this non-user demand is not alternatively referred to as subject to Welcome application.
In step S502, if this application to be launched is the application of non-user demand, it is limited to the internal memory money of this application to be launched distribution Source, or, do not start this application to be launched.
Specifically, it is limited to the memory source of this application to be launched distribution, so that be the internal memory money of this application to be launched distribution Source is less than presets preset value, or, it is not the memory source of this application to be launched distribution correspondence.Do not start this application to be launched, The resource needed for this application to be launched distribution startup can be, such as processor resource, memory source etc..If this to be launched should With for welcome application, not processing this application to be launched, the flow process of this internal memory processing method terminates.
It should be noted that in the internal memory processing method of this exemplary embodiment, step S501-step S502 can be any of the above-described Before the internal memory processing method of embodiment, or, perform afterwards, it is possible to parallel with the internal memory processing method of any of the above-described embodiment Performing, the disclosure is not in this, as restriction.
The internal memory processing method that the disclosure provides, including: judge that application to be launched is that user's request application or non-user demand should With;If this application to be launched is the application of non-user demand, it is limited to the memory source of this application to be launched distribution, or, do not open This application to be launched dynamic.In this way, by being limited to the memory source of non-user demand application distribution, or, do not open Dynamic non-user demand application, can avoid non-user demand to apply too much taking memory source, improve available resources in internal memory.
Fig. 6 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method is in shown in any of the above-described embodiment On the basis of depositing processing method, the method may also include following several step:
In step s 601, it is judged that whether system service and application exist RAM leakage.
Specifically, step S601 can be detect the code that this system service is corresponding with application, it is judged that this system service and application Whether there is memory overflow.
In step S602, if this system service exists RAM leakage, it is limited to the memory source of this system service distribution.
In step S603, if this application exists RAM leakage, clear up the data that in this internal memory, this application is corresponding.
It is limited to exist the memory source of the system service distribution of memory overflow, normal use based on this system service can ensured Properly functioning in the case of, it is to avoid the memory source caused due to memory overflow is not enough.There is memory overflow in cleaning internal memory The data that application is corresponding, the memory source that memory overflow can be avoided to cause is not enough.
It should be noted that in the internal memory processing method of this exemplary embodiment, step S601-step S603 can be any of the above-described Before the internal memory processing method of embodiment, or, perform afterwards, it is possible to parallel with the internal memory processing method of any of the above-described embodiment Performing, the disclosure is not in this, as restriction.
The internal memory processing method that the disclosure provides, including: judge whether system service and application exist RAM leakage, if this system There is RAM leakage in service, is limited to the memory source of this system service distribution, if this application exists RAM leakage, clears up this interior The data that in depositing, this application is corresponding.With it, the memory source of the system service distribution of RAM leakage can be limited to exist, Cleaning internal memory exists the data that the application of RAM leakage is corresponding, it is ensured that normal use based on this system service properly functioning, Avoid the system service owing to there is RAM leakage and service to memory source too much to take caused memory source not enough, carry The service efficiency of high memory source.
Fig. 7 is the flow chart according to a kind of internal memory processing method shown in another exemplary embodiment, the present embodiment with this internal memory at Reason method is applied to can to install and run in any terminal of application.This internal memory processing method is in shown in any of the above-described embodiment On the basis of depositing processing method, the method may also include following several step:
Whether S701, the system service judging this terminal or application be at front stage operation.
If the system service of this terminal of S702 or application are never at front stage operation, it are limited to this system service or apply the interior of distribution Deposit resource.
Specifically, for never in the system of front stage operation or service or application, it uses frequency relatively low, within distributing for it Deposit resource to limit, the service efficiency of internal memory can be improved.If the system service of this terminal or apply at front stage operation, the most right This application processes, and the flow process of this internal memory processing method terminates.
It should be noted that in the internal memory processing method of this exemplary embodiment, step S701-step S703 can be any of the above-described Before the internal memory processing method of embodiment, or, perform afterwards, it is possible to parallel with the internal memory processing method of any of the above-described embodiment Performing, the disclosure is not in this, as restriction.
The internal memory processing method that the disclosure provides, including: judge the system service of this terminal or whether apply at front stage operation, if The system service of this terminal or application, never at front stage operation, are limited to this system service or the memory source of application distribution.Pass through The method, limits the memory source never used in system service or the application at front stage operation, can improve making of internal memory By efficiency, it is ensured that application properly functioning.
Following for disclosure device embodiment, may be used for performing method of disclosure embodiment.For in disclosure device embodiment The details not disclosed, refer to method of disclosure embodiment.
Fig. 8 is the block diagram according to a kind of internal memory processing means shown in an exemplary embodiment, and this internal memory processing means can be passed through Software, hardware or both be implemented in combination with become terminal some or all of that can install and run application.This internal memory processes Device may include that
Judge module 801, is configured to judge that whether the number of the application being currently running in terminal is less than preset value.
First determines module 802, if the number being configured to this application being currently running is less than this preset value, determines in this terminal Run the application of application minimum use near-mid term;This least recently used application comprise the steps that at no distant date front stage operation time Number is less than or equal to the application of preset times;This is the interval time period less than preset duration of distance current time in the recent period.
Cleaning module 803, is configured to the capacity of the internal memory according to this terminal, and clearing up this least recently used in this internal memory should By corresponding data.
The processing means of positional information that the disclosure provides, including judge module, is configured to judge to be currently running in terminal Whether the number of application is less than preset value;First determines module, if the number being configured to this application being currently running is pre-less than this If value, determine the application having run application minimum use near-mid term in this terminal;Cleaning module, is configured to according to this terminal The capacity of internal memory, clears up the data that in this internal memory, the application of this least recently used is corresponding.In this way, reduction is transported There is the probability of card in row application, it is ensured that application properly functioning, improves Consumer's Experience.
Fig. 9 A is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Optionally, mould is as above judged Whether block 801, be additionally configured to the load of decision processor more than presetting load value.With reference to Fig. 9 A, the structure of this device is at figure On the basis of block diagram shown in 8, this device also includes:
Second determines module 804, if the load being configured to this processor is less than or equal to this default load value, determines that this is The number of the application run is less than preset value.
The internal memory processing means that the disclosure provides, determines the application being currently running in terminal by judging the load of processor Number whether less than preset value, and without detecting for just running application, and, it is not necessary to the resource that internal memory uses is carried out Analyze, simplify processing procedure, reduce the resource shared by this processing procedure, it is ensured that the process performance of terminal, at this most The number of the application run also can reduce and is currently running application and card occur less than internally depositing into the cleaning of row resource in the case of this preset value Probability, it is ensured that application properly functioning, improve Consumer's Experience.
Fig. 9 B is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Optionally, mould is as above judged Block 801, is additionally configured to judge whether the duration that the display screen of terminal is closed is more than preset duration.With reference to Fig. 9 B, The structure of this device is on the basis of block diagram shown in Fig. 8, and this device also includes:
3rd determines module 805, if being configured to duration that display screen is closed more than this preset duration, determines that this is just Number in the application run is less than preset value.
The internal memory processing means that the disclosure provides, by put out screen duration judge to determine the application that is currently running in terminal Whether number is less than preset values, and without detecting for just running application, and, it is not necessary to the resource that internal memory uses is analyzed, Simplify processing procedure, reduce the resource shared by this processing procedure, it is ensured that the process performance of terminal, and be currently running at this The number of application also can reduce and is currently running application and the several of card occur less than internally depositing into the cleaning of row resource in the case of this preset value Rate, it is ensured that application properly functioning, improves Consumer's Experience.
Fig. 9 C is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.With reference to Fig. 9 C, this device Structure is on the basis of block diagram shown in Fig. 8, and this device also includes:
4th determines module 806, is additionally configured to apply in start-up course according to first, and the load of processor is preset more than this The duration of load value, determines the starting duration of this first application;Determine that this first applies the number of times at front stage operation.
Keep module 807, if being configured to the starting duration of the first application more than preset duration, and, this first is applied on foreground Number of run is more than preset times value, and the data keeping the first application corresponding are stored in internal memory.
The internal memory processing means that the disclosure provides, by keeping this startup time length in this internal memory and commonly used application corresponding Data are the most cleaned, can avoid startup time length and often start apply after data scrubbing, in being again started up bringing Deposit resource the most occupied, improve the cleaning effect of memory source, also can avoid the load pressure that frequent starting brings, it is ensured that should Properly functioning.
Fig. 9 D is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Optionally, it is judged that module 801, It is additionally configured to judge whether application to be launched is welcome application.With reference to Fig. 9 D, the structure of this device is at block diagram shown in Fig. 8 On the basis of, this device may also include that
Detection module 808, the position detection operation requests being configured on the display screen of this terminal this application to be launched corresponding disappears Breath.
5th determines module 809, if being configured to this operation requests message to ask message for long by touch control operation, or, double-click Touch control operation request message, is defined as the request that the arranges message of this application to be launched by this operation requests message.
Display module 810, be configured to show this application to be launched in System menu item arranges interface;Wherein, this waits to open The interface that arranges of dynamic application includes: the mark that user's request application is corresponding, and, the mark that the application of non-user demand is corresponding,
Receiver module 811, be configured to receive application to be launched arranges confirmation message;Wherein, this arranges and confirms that message includes: The mark that this application to be launched is corresponding.
Optionally, it is judged that module 801, it is additionally configured to the mark corresponding according to this application to be launched, it is judged that this application to be launched Corresponding mark is mark or the mark of non-user demand application correspondence of user's request application correspondence.
Further, this device also includes:
6th determines module 812, if being configured to the mark being designated user's request application correspondence that this application to be launched is corresponding, Determine that this application to be launched is user's request application;If the mark of the non-user demand that the is designated application correspondence that this application to be launched is corresponding Know, determine that this application to be launched is the application of non-user demand.
This device also includes:
First limits module 813, if being configured to this application to be launched is the application of non-user demand, is limited to this application to be launched The memory source of distribution.
Or,
Start module 814, be configured to not start this application to be launched.
The internal memory processing means that the disclosure provides, by being limited to the memory source of unwelcome application distribution, or, do not open Dynamic unwelcome application, can avoid unwelcome application too much taking memory source, improves available resources in internal memory.
Fig. 9 E is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Optionally, it is judged that module 801, It is additionally configured to detecting system service and whether application exists RAM leakage.With reference to Fig. 9 E, the structure of this device is at frame shown in Fig. 8 On the basis of figure, this device also includes:
Second limits module 815, if being configured to this system service to there is RAM leakage, is limited to the interior of this system service distribution Deposit resource.
Cleaning module 803, if being additionally configured to this application to there is RAM leakage, clears up the data that in this internal memory, this application is corresponding.
The internal memory processing means that the disclosure provides, by being limited to exist the memory source of the system service distribution of RAM leakage, clearly Reason internal memory exists the data that the application of RAM leakage is corresponding, it is ensured that normal use based on this system service properly functioning, keep away Exempt from the system service owing to there is RAM leakage and service to memory source too much to take caused memory source not enough, improve The service efficiency of memory source.
Fig. 9 F is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Optionally, it is judged that module 801, It is additionally configured to judge that whether the system service of this terminal or application are at front stage operation.With reference to Fig. 9 F, the structure of this device is at Fig. 9 On the basis of shown block diagram, this device also includes:
3rd limits module 816, if being configured to the system service of terminal or applying never at front stage operation, is limited to this system Service or the memory source of application distribution.
The internal memory processing means that the disclosure provides, by never providing in the system service of front stage operation or the internal memory of application distribution Source limits, and can improve the service efficiency of internal memory, it is ensured that application properly functioning.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in the enforcement about the method Example is described in detail, explanation will be not set forth in detail herein.
Figure 10 is the block diagram according to a kind of internal memory processing means shown in another exemplary embodiment.Such as, device 1000 is permissible It is mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, Body-building equipment, personal digital assistant etc. can install and run any type of terminal of application.This device 1000 can be Android (Android) terminal of operating system framework, it is also possible to for the terminal of other operating system frameworks.
With reference to Figure 10, device 1000 can include following one or more assembly: processes assembly 1002, memorizer 1004, electricity Source component 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of input/output (I/O), sensor cluster 1014, and communications component 1016.
Process assembly 1002 and generally control the integrated operation of device 1000, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 1002 and can include that one or more processor 1020 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 1002 can include one or more module, Be easy between process assembly 1002 and other assemblies is mutual.Such as, process assembly 1002 and can include multi-media module, with Facilitate multimedia groupware 1008 and process between assembly 1002 mutual.
Memorizer 1004 is configured to store various types of data to support the operation at device 1000.The example of these data Including on device 1000 operation any application program or the instruction of method, contact data, telephone book data, message, Picture, video etc..Memorizer 1004 can be real by any kind of volatibility or non-volatile memory device or combinations thereof Existing, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic is deposited Reservoir, flash memory, disk or CD.
The various assemblies that power supply module 1006 is device 1000 provide electric power.Power supply module 1006 can include power-supply management system, One or more power supplys, and other generate, manage and distribute, with for device 1000, the assembly that electric power is associated.
The touching display screen of one output interface of offer that multimedia groupware 1008 is included between described device 1000 and user. In certain embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).Touch panel bag Include one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can be not only Sensing touches or the border of sliding action, but also detects the persistent period relevant to described touch or slide and pressure.? In some embodiments, multimedia groupware 1008 includes a front-facing camera and/or post-positioned pick-up head.When device 1000 is in behaviour Operation mode, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 1010 is configured to output and/or input audio signal.Such as, audio-frequency assembly 1010 includes a mike (MIC), when device 1000 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 1004 or via communication set Part 1016 sends.In certain embodiments, audio-frequency assembly 1010 also includes a speaker, is used for exporting audio signal.
I/O interface 1012 provides interface for processing between assembly 1002 and peripheral interface module, above-mentioned peripheral interface module can be Keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: main bar button, volume button, start button and locking Button.
Sensor cluster 1014 includes one or more sensor, for providing the state estimation of various aspects for device 1000. Such as, what sensor cluster 1014 can detect device 1000 opens/closed mode, the relative localization of assembly, such as described Assembly is display and the keypad of device 1000, and sensor cluster 1014 can also detect device 1000 or device 1,000 1 The position change of individual assembly, the presence or absence that user contacts with device 1000, device 1000 orientation or acceleration/deceleration and dress Put the variations in temperature of 1000.Sensor cluster 1014 can include proximity transducer, is configured to do not having any physics The existence of object near detection during contact.Sensor cluster 1014 can also include optical sensor, such as CMOS or ccd image Sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also include that acceleration passes Sensor, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1016 is configured to facilitate the communication of wired or wireless mode between device 1000 and other equipment.Device 1000 Wireless network based on communication standard can be accessed, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communications component 1016 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, described communications component 1016 also includes near-field communication (NFC) module, to promote junction service. Such as, can be based on 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 1000 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate Array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, and are used for performing above-mentioned session and show Method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium including instruction, such as, include The memorizer 1004 of instruction, above-mentioned instruction can have been performed said method by the processor 1020 of device 1000.Such as, institute State non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, Floppy disk and optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1000 Time so that device 1000 is able to carry out a kind of internal memory processing method.
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to other enforcement of the disclosure Scheme.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or adaptation Property change follow the general principle of the disclosure and include the undocumented common knowledge in the art of the disclosure or conventional techniques Means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and permissible Carrying out various modifications and changes without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (19)

1. an internal memory processing method, it is characterised in that including:
Judge that whether the number of the application being currently running in terminal is less than preset value;
If the number of the application being currently running described in is less than described preset value, determines to have run in described terminal and applies near-mid term minimum The application used;The application of described least recently used comprises the steps that secondary less than or equal to presetting at the number of times of front stage operation at no distant date The application of number;The described time period being to be less than apart from the interval of current time preset duration in the recent period;
The capacity of the internal memory according to described terminal, clears up the data that the application of least recently used described in described internal memory is corresponding.
Method the most according to claim 1, it is characterised in that the number of the application being currently running in described judgement terminal is No less than preset value, including:
Whether the load of decision processor is more than presetting load value;
If the load of described processor less than or equal to described default load value, determine described in the number of application that is currently running be less than Preset value.
Method the most according to claim 1, it is characterised in that the number of the application being currently running in described judgement terminal is No less than preset value, including:
Judge whether the duration that the display screen of described terminal is closed is more than preset duration;
If the duration that described display screen is closed more than described preset duration, determine described in the number of application that is currently running Less than preset value.
Method the most according to claim 1, it is characterised in that described method also includes:
Applying in start-up course according in the described application run first, the load of processor is more than presetting continuing of load value Duration, determines the starting duration of described first application;
Determine that described first applies the number of times at front stage operation;
If the starting duration of described first application is more than preset duration, and, described first applies at front stage operation number of times more than presetting Secondary numerical value, the data keeping described first application corresponding are stored in described internal memory.
Method the most according to claim 1, it is characterised in that described method also includes:
Judge that application to be launched is user's request application or the application of non-user demand;
If described application to be launched is the application of non-user demand, it is limited to the memory source of described application to be launched distribution, or, Do not start described application to be launched.
Method the most according to claim 5, it is characterised in that described judgement application to be launched be user's request application or The application of non-user demand includes:
Detect the request that the arranges message of described application to be launched;
Show described application to be launched in System menu item arranges interface;Wherein, the interface that arranges of described application to be launched is wrapped Include: the mark that user's request application is corresponding, and, the mark that the application of non-user demand is corresponding;
Obtain described application to be launched arranges confirmation message;Wherein, the described confirmation message that arranges includes: described application to be launched Corresponding mark;
According to the mark that described application to be launched is corresponding, it is judged that the mark of described application correspondence to be launched is user's request application correspondence Mark or mark corresponding to non-user demand application;
If what described application to be launched was corresponding is designated the mark that user's request application is corresponding, determine that described application to be launched is user Demand is applied;
If the mark of the non-user demand that the is designated application correspondence that described application to be launched is corresponding, determine that described application to be launched is non- User's request is applied.
Method the most according to claim 6, it is characterised in that the request that the arranges message of the described application to be launched of described detection, Including:
The position detection operation requests message that described application to be launched is corresponding on the display screen of described terminal;
If described operation requests is long touch control operation request message of pressing, or, double-click touch control operation request message, by described operation Request is defined as the request that the arranges message of described application to be launched.
Method the most according to claim 1, it is characterised in that described method also includes:
Judge whether system service and application exist RAM leakage;
If described system service exists RAM leakage, it is limited to the memory source of described system service distribution;
If described application exists RAM leakage, clear up the data applying correspondence described in described internal memory.
Method the most according to claim 1, it is characterised in that described method also includes:
If the system service of described terminal or application are never at front stage operation, it is limited to described system service or the internal memory of application distribution Resource.
10. an internal memory processing means, it is characterised in that including:
Judge module, is configured to judge that whether the number of the application being currently running in terminal is less than preset value;
First determines module, if the number of the application being currently running described in being configured to is less than described preset value, determines described terminal In run application minimum use near-mid term application;The application of described least recently used comprises the steps that at no distant date at front stage operation Number of times less than or equal to the application of preset times;The described time period being to be less than apart from the interval of current time preset duration in the recent period;
Cleaning module, is configured to the capacity of internal memory according to described terminal, clears up least recently used described in described internal memory The data that application is corresponding.
11. device according to claim 10, it is characterised in that
Whether described judge module, be additionally configured to the load of decision processor more than presetting load value;
Described device also includes:
Second determines module, if being configured to the load of described processor less than or equal to described default load value, determine described just Number in the application run is less than preset value.
12. devices according to claim 11, it is characterised in that
Described judge module, is additionally configured to judge when whether the duration that the display screen of described terminal is closed is more than default Long;
Described device also includes:
3rd determines module, if being configured to duration that described display screen is closed more than described preset duration, determines institute State the number of the application being currently running less than preset value.
13. devices according to claim 11, it is characterised in that described device also includes:
4th determines module, is configured to apply in start-up course according in the described application run first, bearing of processor Carry more than the duration presetting load value, determine the starting duration of described first application;Determine that described first applies in foreground fortune The number of times of row;
Keep module, if the starting duration being configured to described first application is more than preset duration, and, described first applies front Platform number of run is more than preset times value, and the data keeping described first application corresponding are stored in described internal memory.
14. devices according to claim 11, it is characterised in that
Described judge module, is additionally configured to judge that application to be launched is user's request application or the application of non-user demand;
Described device also includes:
First limits module, if being configured to described application to be launched is the application of non-user demand, is limited to described application to be launched The memory source of distribution;
Or,
Described device also includes:
Start module, be configured to not start described application to be launched.
15. devices according to claim 14, it is characterised in that
Detection module, is configured to detect the request that the arranges message of described application to be launched;
Display module, be configured to show described application to be launched in System menu item arranges interface;Wherein, wait described in open The interface that arranges of dynamic application includes: the mark that user's request application is corresponding, and, the mark that the application of non-user demand is corresponding;
Acquisition module, be configured to obtain described application to be launched arranges confirmation message;Wherein, described setting confirms message bag Include: the mark that described application to be launched is corresponding;
Described judge module, is additionally configured to the mark corresponding according to described application to be launched, it is judged that described application correspondence to be launched Mark be mark corresponding to user's request application or mark corresponding to non-user demand application;
Described device also includes:
5th determines module, if being configured to the mark being designated user's request application correspondence that described application to be launched is corresponding, really Fixed described application to be launched is user's request application;If the non-user demand that the is designated application correspondence that described application to be launched is corresponding Mark, determines that described application to be launched is the application of non-user demand.
16. devices according to claim 15, it is characterised in that
Described detection module, is additionally configured to the position detection operation that described application to be launched on the display screen of described terminal is corresponding Request message;
Described device also includes:
6th determines module, if being configured to described operation requests to ask message for long by touch control operation, or, double-click touch-control behaviour Make request message, described operation requests message is defined as the request that the arranges message of described application to be launched.
17. according to device described in claim 11, it is characterised in that
Described judge module, is additionally configured to detecting system service and whether application exists RAM leakage;
Described device also includes:
Second limits module, if being configured to described system service to there is RAM leakage, is limited to the interior of described system service distribution Deposit resource;
Described cleaning module, if being additionally configured to described application to there is RAM leakage, clears up application correspondence described in described internal memory Data.
18. devices according to claim 11, it is characterised in that described device also includes:
3rd limits module, if being configured to the system service of described terminal or applying never at front stage operation, is limited to described system System service or the memory source of application distribution.
19. 1 kinds of internal memory processing meanss, it is characterised in that described device includes:
Processor;
For storing the memorizer of the executable instruction of described processor;
Wherein, described processor is configured to:
Judge that whether the number of the application being currently running in terminal is less than preset value;
If the number of the application being currently running described in is less than described preset value, determines to have run in described terminal and applies near-mid term minimum The application used;The described time period being to be less than apart from the interval of current time preset duration in the recent period;
The capacity of the internal memory according to described terminal, clears up the data that the application of least recently used described in described internal memory is corresponding.
CN201610184529.2A 2016-03-28 2016-03-28 Memory processing method and device Active CN105893146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610184529.2A CN105893146B (en) 2016-03-28 2016-03-28 Memory processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610184529.2A CN105893146B (en) 2016-03-28 2016-03-28 Memory processing method and device

Publications (2)

Publication Number Publication Date
CN105893146A true CN105893146A (en) 2016-08-24
CN105893146B CN105893146B (en) 2020-01-10

Family

ID=57014474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610184529.2A Active CN105893146B (en) 2016-03-28 2016-03-28 Memory processing method and device

Country Status (1)

Country Link
CN (1) CN105893146B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046031A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040210887A1 (en) * 2003-04-18 2004-10-21 Bergen Axel Von Testing software on blade servers
CN102103541A (en) * 2011-02-28 2011-06-22 中国人民解放军国防科学技术大学 Kernel-module memory management method for preventing memory leaks and multiple memory releases
CN104239094A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Method and device for controlling background application programs and terminal equipment
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040210887A1 (en) * 2003-04-18 2004-10-21 Bergen Axel Von Testing software on blade servers
CN102103541A (en) * 2011-02-28 2011-06-22 中国人民解放军国防科学技术大学 Kernel-module memory management method for preventing memory leaks and multiple memory releases
CN104239094A (en) * 2014-08-29 2014-12-24 小米科技有限责任公司 Method and device for controlling background application programs and terminal equipment
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110046031A (en) * 2018-01-12 2019-07-23 广东欧珀移动通信有限公司 Application processing method and device, electronic equipment, computer readable storage medium
CN110046031B (en) * 2018-01-12 2021-11-09 Oppo广东移动通信有限公司 Application processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105893146B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN104239094B (en) Control method, device and the terminal device of background application
CN106489126A (en) The method and device that a kind of content is shared
CN105955766A (en) Method and device for application preloading
CN104077208A (en) Application program icon display method and apparatus
CN104503740A (en) Memory management method and device
CN104933170A (en) Information exhibition method and device
CN105975301A (en) Memory cleaning method and device, and electronic equipment
CN106537344A (en) A method and apparatus for managing application calls
CN104766005A (en) Management method and device for application software access authority
CN106066770A (en) Memory space management and device
CN106446648A (en) Terminal control method and apparatus
CN106598704A (en) Application program recovery method and apparatus
CN105808305A (en) Static resource loading method and device
CN103914337A (en) Service calling method, device and terminal
CN105893268A (en) Cached image processing method and device
CN105487680A (en) Terminal screen capture method and apparatus and terminal
CN107423394A (en) Page display method and device
CN107040591A (en) A kind of method and device being controlled to client
CN104407924A (en) Method and device for optimizing internal memory
CN106648730A (en) Processing method and device of abnormal application
CN105704322A (en) Weather information obtaining method and apparatus
CN106021130A (en) Memory processing method and device
CN105204712A (en) Method and device for displaying icons of folder
CN104780256A (en) Address book management method and device and intelligent terminal
CN107371222A (en) Virtual card prohibited 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
GR01 Patent grant
GR01 Patent grant