CN105893153A - Memory cleaning method and device for mobile terminal - Google Patents

Memory cleaning method and device for mobile terminal Download PDF

Info

Publication number
CN105893153A
CN105893153A CN201610201249.8A CN201610201249A CN105893153A CN 105893153 A CN105893153 A CN 105893153A CN 201610201249 A CN201610201249 A CN 201610201249A CN 105893153 A CN105893153 A CN 105893153A
Authority
CN
China
Prior art keywords
application program
cleaning
rank
group
characteristic information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610201249.8A
Other languages
Chinese (zh)
Inventor
陈永华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baina Weier Wireless Communication Equipment Co Ltd
Original Assignee
Beijing Baina Weier Wireless Communication Equipment 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 Baina Weier Wireless Communication Equipment Co Ltd filed Critical Beijing Baina Weier Wireless Communication Equipment Co Ltd
Priority to CN201610201249.8A priority Critical patent/CN105893153A/en
Publication of CN105893153A publication Critical patent/CN105893153A/en
Pending legal-status Critical Current

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/5016Allocation 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 the resource being the memory
    • 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 provides a memory cleaning method and device for a mobile terminal. The method comprises the steps that statistics is performed on usage characteristic information of each application program within a current statistical period; according to the usage characteristic information, a cleaning level is distributed to each application program; the current usage status of a memory is obtained, a cleaning strategy corresponding to the current usage status of the memory is determined, and the application program of the corresponding cleaning level is cleaned. Intelligent cleaning of the memory of the mobile terminal is achieved according to usage habits of a user, the operation efficiency of the mobile terminal is improved, and the fluency for starting application programs again is ensured to a certain extent.

Description

The internal memory method for cleaning of mobile terminal and device
Technical field
The present embodiments relate to technical field of mobile terminals, the internal memory particularly relating to a kind of mobile terminal is clear Reason method and apparatus.
Background technology
Along with the fast development of mobile communication, the function of mobile terminal from strength to strength, is installed on mobile whole Application program on end is also in explosive growth.After user closes these application programs, after system Platform continues to running, and occupies the internal memory of system, causes system to be run slowly, and even crash phenomenon, Have a strong impact on user's use to mobile terminal.
In order to clear up the internal memory in mobile terminal in prior art, the method for employing is to transport backstage The method of application program Close All of row or the side of the white list of application program cleared up by user setup Method.
Although the method for the application program Close All of running background can the most internally be deposited into row clearly Reason, but when causing being again started up application program, toggle speed is the slowest.The application journey cleared up by user setup The method of the white list of sequence, along with the change of user's use habit, needs white list is carried out regular repairing Change, add user operation.
Summary of the invention
The embodiment of the present invention provides the internal memory method for cleaning of a kind of mobile terminal and device, it is achieved that according to The intelligence cleaning to mobile terminal internal memory of the use habit at family, had both improve the operational efficiency of mobile terminal, Ensure that smoothness when being again started up application program the most to a certain extent.
The embodiment of the present invention provides the internal memory method for cleaning of a kind of mobile terminal, including:
Within the current statistic cycle, the use characteristic information of each application program is added up;
According to described use characteristic information, clear up rank for described application assigned;
Obtain the use state of current memory, determine corresponding with the use state of described current memory clear Reason strategy, clears up the application program of corresponding cleaning rank.
The embodiment of the present invention provides the internal memory cleaning plant of a kind of mobile terminal, including:
Statistical module, for carrying out the use characteristic information of each application program within the current statistic cycle Statistics;
Distribution module, for according to described use characteristic information, clearing up rank for described application assigned;
Cleaning module, for obtaining the use state of current memory, determines and the use of described current memory The Prune Policies that state is corresponding, clears up the application program of corresponding cleaning rank.
The embodiment of the present invention provides internal memory method for cleaning and the device of a kind of mobile terminal, by current system In the meter cycle, the use characteristic information to each application program is added up;According to described use characteristic information, Rank is cleared up for described application assigned;Obtain current memory use state, determine with described currently The Prune Policies that the use state of internal memory is corresponding, clears up the application program of corresponding cleaning rank. Achieve the intelligence cleaning to mobile terminal internal memory of the use habit according to user, both improve mobile terminal Operational efficiency, ensure that smoothness when being again started up application program the most to a certain extent.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow chart of the internal memory method for cleaning embodiment one of mobile terminal of the present invention;
Fig. 2 is the flow chart of the internal memory method for cleaning embodiment two of mobile terminal of the present invention;
Fig. 3 is the flow chart of the internal memory method for cleaning embodiment three of mobile terminal of the present invention;
Fig. 4 is the flow chart of the internal memory method for cleaning embodiment four of mobile terminal of the present invention;
Fig. 5 is the structural representation of the internal memory cleaning plant embodiment one of mobile terminal of the present invention;
Fig. 6 is the structural representation of the internal memory cleaning plant embodiment two of mobile terminal of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow chart of the internal memory method for cleaning embodiment one of mobile terminal of the present invention, such as Fig. 1 institute Showing, the executive agent of the internal memory method for cleaning of the mobile terminal that the present embodiment provides is the interior of mobile terminal Deposit cleaning plant, the internal memory cleaning plant of this mobile terminal can integrated in the terminal, mobile terminal Can be smart mobile phone, panel computer etc..The then internal memory cleaning side of the mobile terminal that the present embodiment provides Method comprises the following steps.
Step 101, united to the use characteristic information of each application program within the current statistic cycle Meter.
In the present embodiment, the current statistic cycle can preset, as can be nearest 5 days in, or In nearest two weeks etc..
When the use characteristic information of each application program can be the use frequency of application program, use Long, it is also possible to include internal memory shared when application program runs, other use characteristic information etc., this reality Execute in example and do not limit.
In the present embodiment, the method that each application program uses characteristic information add up can be passed through Start the service day after tomorrow of mobile terminal, monitor all process stacks being currently running according to certain frequency, right The use characteristic information of each application program being currently running is added up.
Specifically, can determine, by the process checking stack top, the application program being currently running, work as stack When the process on top is with last registration inconsistent, then explanation starts new application program, the most recordable The new title starting application program and time, calculate the use duration of an application program.And can Internal memory shared by the application program that statistics is currently running.According to the record access times to each application program Carry out accumulation calculating, it is thus achieved that the use frequency of each application program.
Step 102, according to using characteristic information, clears up rank for application assigned.
Specifically, in the present embodiment, can be according to multiple use characteristic informations and the cleaning rank preset Allocation rule, clears up rank for application assigned, it is possible to according to a certain use characteristic information, for answering By program distribution cleaning rank, the present embodiment does not limits.
According to multiple use characteristic informations and the allocation rule of default cleaning rank, divide for application program Join to clear up rank and can illustrate and be: the use of each application program of statistics within the current statistic cycle Characteristic information includes: use frequency, shared internal memory when using duration and run.The cleaning level preset Other allocation rule can be: distributes weight for each use characteristic information, uses feature according to three The weighted sum of information obtains the cleaning rank of application program.Wherein, use frequency is the lowest, use duration The shortest or committed memory the biggest application program when running, corresponding cleaning rank is the highest.Otherwise, make , when using duration the longest or run committed memory the least application program the highest by frequency, corresponding is clear Reason rank is the lowest.
According to a certain use characteristic information, can illustrate for application assigned cleaning rank and be: The use characteristic information of each application program is added up for using frequency, according to use in the current statistic cycle Characteristic information, for application assigned cleaning rank particularly as follows: to use frequency order from more to less, Application program is divided into many groups, for often organizing application assigned cleaning rank.
Such as: can be the cleaning level of 10 times and above application assigned by nearest 5 days use frequencies Wei D level;The cleaning rank of the application assigned using frequency to be 5 to 10 times by nearest 5 days is C Level;The cleaning rank of the application assigned using frequency to be 1 to 5 times by nearest 5 days is B level;Will be Nearly 5 days use frequency be 1 time and applications below program distribution cleaning rank be A level, wherein, A Level > B level > C level > D level.
Step 103, obtains the use state of current memory, determines relative with the use state of current memory The Prune Policies answered, clears up the application program of corresponding cleaning rank.
In the present embodiment, the use state of current memory can be: free memory accounts for the percentage ratio of total internal memory.
In the present embodiment, the use state correspondence previously according to internal memory stores Prune Policies, Prune Policies Core concept to be that free memory accounts for the percentage ratio of total internal memory the biggest, the application program needing cleaning is the fewest, The application program of cleaning is cleared up rank the fewest, and clear up the highest application program proportion of rank more High.The percentage ratio that free memory accounts for total internal memory is the least, and the application program needing cleaning is the most, answering of cleaning It is the most with program is cleared up rank.
Illustration is: the use state of current memory is: free memory accounts for the percentage ratio of total internal memory A≤10%, corresponding Prune Policies is: clear up the application program of all cleaning grades;Making of current memory By state being: free memory accounts for the percentage ratio 10% < A < 30% of total internal memory, corresponding Prune Policies is: Clear up the application program of all A level B level C levels;The use state of current memory is: free memory accounts for always Percentage ratio 30%≤the A < 50% of internal memory, corresponding Prune Policies is: clear up answering of all A level B levels Use program;Free memory accounts for the A of total internal memory >=50%, corresponding Prune Policies is: clear up all A levels Application program.
In the present embodiment, previously according to internal memory use state correspondence store Prune Policies core concept not Become, but concrete Prune Policies the present embodiment does not limits.
The internal memory method for cleaning of the mobile terminal that the present embodiment provides.Including: within the current statistic cycle, The use characteristic information of each application program is added up;According to using characteristic information, for application program Distribution cleaning rank;Obtain the use state of current memory, determine relative with the use state of current memory The Prune Policies answered, clears up the application program of corresponding cleaning rank.Achieve according to user's The use habit intelligence cleaning to mobile terminal internal memory, had both improve the operational efficiency of mobile terminal, had existed again Ensure that smoothness when being again started up application program to a certain extent.
Fig. 2 is the flow chart of the internal memory method for cleaning embodiment two of mobile terminal of the present invention, as in figure 2 it is shown, The internal memory method for cleaning of mobile terminal that the present embodiment provides, on the basis of embodiment one, is one more Preferred embodiment.Then the internal memory method for cleaning of the mobile terminal that the present embodiment provides includes following step Suddenly.
Step 201, united to the use characteristic information of each application program within the current statistic cycle Meter, this use characteristic information includes: use frequency.
Further, due to the use frequency of each application program with the use habit of user close phase Closing, in order to the application program use habit recent to user is added up, in the present embodiment, statistics is every Individual application program use frequency within the current statistic cycle.
Step 202, to use frequency order from more to less, is divided into many groups, for often by application program Group application assigned cleaning rank.
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program, for Often group application assigned same cleaning rank.
Specifically, in the present embodiment, multiple frequency can be set when for application assigned cleaning rank Threshold value, contrasts the use frequency in each application program with multiple frequency thresholds, respectively according to right Being divided into many groups application program than result, often the cleaning rank in group application program is identical, and it is clear that difference is organized In reason rank, the cleaning using the few application program of frequency corresponding is superior to the application journey using frequency many The cleaning rank that ordered pair is answered.
Illustration is: multiple frequency thresholds of setting are f1, f2, f3.Wherein f1 > f2 > f3.Should It is f with the use frequency representation in the current statistic cycle of program, if f >=f1, then this group application program In cleaning rank corresponding to each application program be D level, if f1 > f >=f2, then this group application program In cleaning rank corresponding to each application program be C level, if f2 > f >=f3, then this group application program In cleaning rank corresponding to each application program be B level, if f3 > f, then in this group application program The cleaning rank that each application program is corresponding is A level, wherein A level > B level > C level > D level.
In the present embodiment, cleaning rank is arranged number and does not limits.Application to different measurement periods During program distribution cleaning rank, it is to be determined by the use frequency of corresponding measurement period, so application program Cleaning rank can be dynamically change at different measurement periods.
Step 203, obtains the use state of current memory, determines relative with the use state of current memory The Prune Policies answered, clears up the application program of corresponding cleaning rank.
In the present embodiment, the reality of the step 103 in the implementation of step 203 and the embodiment of the present invention one Existing mode is identical, and this is no longer going to repeat them.
The internal memory method for cleaning of mobile terminal that the present embodiment provides, by within the current statistic cycle to often The use frequency of individual application program is added up, and to use frequency order from more to less, will apply journey Sequence is divided into many groups, for often organizing application assigned cleaning rank.Wherein, later group application program is clear Reason is superior to the cleaning rank of previous group application program.Obtain current memory use state, determine with The Prune Policies that the use state of current memory is corresponding, is carried out the application program of corresponding cleaning rank Cleaning.Achieve the intelligence cleaning to mobile terminal internal memory of the use frequency according to recent application program, both Improve the operational efficiency of mobile terminal, ensure that the most to a certain extent and be again started up using frequency higher Application program time smoothness.
Fig. 3 is the flow chart of the internal memory method for cleaning embodiment three of mobile terminal of the present invention, as it is shown on figure 3, The internal memory method for cleaning of mobile terminal that the present embodiment provides, on the basis of embodiment one, is one more Preferred embodiment.Then the internal memory method for cleaning of the mobile terminal that the present embodiment provides includes following step Suddenly.
Step 301, added up the use characteristic information of each application program within the current statistic cycle, This use characteristic information is for using duration.
Further, in the present embodiment, owing to use duration and the user of each application program is to application The use habit of program is the most closely related, and application program uses duration reflect this application program Favorable rating, so in order to the application program use habit recent to user is added up, the present embodiment In, each application program of statistics use duration within the current statistic cycle.
Step 302, to use duration order from more to less, is divided into many groups, for often by application program Group application assigned cleaning rank.
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program, for Often group application assigned same cleaning rank.
Specifically, in the present embodiment, multiple duration can be set when for application assigned cleaning rank Threshold value, by the use duration in the current statistic cycle in each application program respectively with multiple duration threshold values Contrast, be divided into according to comparing result and organize application program more, often the cleaning rank in group application program Identical, in the cleaning ranks of different groups, the cleaning using application program that duration is few corresponding is superior to work as Use the cleaning rank that the many application program of duration is corresponding.
Illustration is: multiple duration threshold values of setting are t1, t2, t3.Wherein t1 > t2 > t3.Should It is t with the use frequency representation in the current statistic cycle of program, if t >=t1, then this group application program In cleaning rank corresponding to each application program be D level, if t1 > t >=t2, then in this group application program Cleaning rank corresponding to each application program be C level, if t2 > t >=t3, then in this group application program The cleaning rank that each application program is corresponding is B level, if t3 > t, then in this group application program each should It is A level, wherein A level by the cleaning rank that program is corresponding > B level > C level > D level.
In the present embodiment, cleaning rank is arranged number and does not limits.Application to different measurement periods During program distribution cleaning rank, it is to be determined by the duration that uses of corresponding measurement period, so application program Cleaning rank can be dynamically change at different measurement periods.
Step 303, obtains the use state of current memory, determines relative with the use state of current memory The Prune Policies answered, clears up the application program of corresponding cleaning rank.
In the present embodiment, the reality of the step 103 in the implementation of step 303 and the embodiment of the present invention one Existing mode is identical, and this is no longer going to repeat them.
The internal memory method for cleaning of mobile terminal that the present embodiment provides, by within the current statistic cycle to often The use duration of individual application program is added up, and uses duration order from more to less, by application program It is divided into many groups, for often organizing application assigned cleaning rank.Wherein, the cleaning of later group application program It is superior to the cleaning rank of previous group application program.Obtain the use state of current memory, determine and work as The Prune Policies that the use state of front internal memory is corresponding, is carried out clearly the application program of corresponding cleaning rank Reason.Achieve the duration that uses according to recent application program the intelligence of mobile terminal internal memory is cleared up, both carried The high operational efficiency of mobile terminal, ensure that the most to a certain extent and is again started up using duration more Smoothness during application program.
Fig. 4 is the flow chart of the internal memory method for cleaning embodiment four of mobile terminal of the present invention, as shown in Figure 4, The internal memory method for cleaning of mobile terminal that the present embodiment provides, on the basis of embodiment one, is one more Preferred embodiment.Then the internal memory method for cleaning of the mobile terminal that the present embodiment provides includes following step Suddenly.
Step 401, added up the use characteristic information of each application program within the current statistic cycle, Wherein, shared internal memory when using characteristic information for using frequency or using duration and run.
Further, in the present embodiment, except adding up the use frequency of each application program or using duration Outward, shared internal memory when each application program runs also is added up.
In the present embodiment, when each application program runs, shared internal memory can be by monitoring institute according to certain frequency There is the process stack being currently running, check that the process of stack top determines the application program being currently running, work as stack When the process on top is with last registration inconsistent, then explanation starts new application program, to new application When program is run, shared internal memory is added up.
Step 402, to use frequency or to use duration order from more to less, is divided into application program Many groups, for often organizing application assigned cleaning rank.
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Further, in the present embodiment, to use frequency or to use duration order from more to less, should Being many groups by procedure division, often organizing in application program, the use frequency coming application program above is many In coming the use frequency of application program below, or the use duration coming application program above is more than Come the use duration of application program below.
Step 403, it is judged that whether have the group including multiple application program, if so, in many group application programs Then perform step 404, if it is not, then perform step 405.
In the present embodiment, it is judged that whether many group application programs have the group including multiple application program, if Include multiple application program, then during contained internal memory continues as this group application program when running with application program Application assigned cleaning rank.
Step 404, according to the order that shared internal memory when running is ascending, for the application in affiliated group Program distribution cleaning rank.
Specifically, predeterminable multiple memory threshold, by the operation time institute in each application program in often group Account for internal memory to contrast with multiple memory threshold respectively, be that each application assigned should according to comparing result Cleaning rank under Zu, when the cleaning that application program that during operation, shared internal memory is many is corresponding is superior to run The cleaning rank that application program that shared internal memory is few is corresponding.
Illustration is: the cleaning rank that the 3rd group of application program is corresponding is B level, this group application program Having multiple application program, multiple memory threshold of setting are respectively p1, p2, p3.Wherein, p1 > p2 > p3. It is p by the use frequency representation in the current statistic cycle of application program, if p >=p1, the then application of this group The cleaning rank that each application program in program is corresponding is B1 level, if p1 > p >=p2, then this group should It is B2 level by the cleaning rank that each application program in program is corresponding, if p2 > p >=p3, then this group The cleaning rank that each application program in application program is corresponding is B3 level, if p3 > p, the then application of this group The cleaning rank that each application program in program is corresponding is B4 level, wherein B1 level > B2 level > B3 Level > B4 level.
In the present embodiment, to the application assigned cleaning rank often organized in application program, wherein, rear one The cleaning rank of individual application program is not less than the cleaning rank of previous application program, i.e. latter application program Cleaning rank can be equal to the cleaning rank of previous application program, it is also possible to for later application program Cleaning is superior to the cleaning rank of previous application program.
Step 405, obtains the use state of current memory, determines relative with the use state of current memory The Prune Policies answered, clears up the application program of corresponding cleaning rank.
Further, in the present embodiment, the Prune Policies prestored with the addition of and often organize in application program The cleaning rank of each application program, but core concept still accounts for the percentage ratio of total internal memory for free memory The biggest, the application program needing cleaning is the fewest, and in the application program of cleaning, cleaning rank is the fewest, and clearly The application program proportion that reason rank is the highest is the highest.The percentage ratio that free memory accounts for total internal memory is the least, needs Application program to be cleared up is the most, clears up rank the most in the application program of cleaning.
Illustration is: the use state of current memory is: free memory accounts for the percentage ratio of total internal memory A≤10%, corresponding Prune Policies is: clear up the application program of all cleaning grades;Making of current memory By state being: free memory accounts for the percentage ratio 10% < A < 20% of total internal memory, corresponding Prune Policies is: Clear up the C1 level in all A level B level C levels, the application program of C2 level;The use state of current memory For: free memory accounts for the percentage ratio 20% < A < 30% of total internal memory, and corresponding Prune Policies is: cleaning institute There is the application program of C3 level in A level B level and C level;Free memory accounts for the percentage ratio of total internal memory 30% < A < 50%, corresponding Prune Policies is: clear up the application program of all A levels.Wherein A1>A2>A3>B1>B2>B3>C1>C2>C3>D1>D2>D3。
The internal memory method for cleaning of mobile terminal that the present embodiment provides, by within the current statistic cycle to often Operation time institute outside the use frequency of individual application program or use time are added up, to each application program Account for internal memory and be also carried out statistics, to use frequency or to use duration order from more to less, application program is drawn It is divided into many groups, for often organizing application assigned cleaning rank, wherein, the cleaning level of later group application program Not Gao Yu the cleaning rank of previous group application program, then judge whether many group application programs have include multiple The group of application program;If many group application programs have the group including multiple application program, according to operation The order that Shi Suozhan internal memory is ascending, clears up rank for the application assigned in affiliated group;Wherein, The cleaning rank of later application program is not less than the cleaning rank of previous application program.Obtain current interior The use state deposited, determines the Prune Policies corresponding with the use state of current memory, to corresponding clear The application program of reason rank is cleared up.Achieve the use habit according to user to mobile terminal internal memory While intelligence cleaning, the application program that committed memory is many is preferentially cleared up, further increases shifting The operational efficiency of dynamic terminal.
Fig. 5 is the structural representation of the internal memory cleaning plant embodiment one of mobile terminal of the present invention, such as Fig. 5 Shown in, the internal memory cleaning plant of the mobile terminal that the present embodiment provides includes: statistical module 501, distribution Module 502 and cleaning module 503.
Wherein, statistical module 501, it is used within the current statistic cycle use to each application program special Reference breath is added up.Distribution module 502, for according to using characteristic information, for application assigned Cleaning rank.Cleaning module 503, for obtaining the use state of current memory, determines and current memory The corresponding Prune Policies of use state, the application program of corresponding cleaning rank is cleared up.
The cleaning plant of the mobile terminal of the present embodiment can perform the technical side of embodiment of the method shown in Fig. 1 Case, it is similar with technique effect that it realizes principle, and here is omitted.
Further, in the device that the present embodiment provides, characteristic information is used to include: to use frequency;Point Join module 502, specifically for: to use frequency order from more to less, application program is divided into many Group, for often organizing application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Or, use characteristic information to include: to use duration;Distribution module 502 specifically for: with use Duration order from more to less, is divided into many groups by application program, for often organizing application assigned cleaning level Not;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Further, distribution module 502 specifically for: for often organizing application assigned same cleaning rank.
The device of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 2 or Fig. 3, in fact Existing principle is similar with technique effect, and here is omitted.
The structural representation of the internal memory cleaning plant embodiment two of Fig. 6 mobile terminal of the present invention, such as Fig. 6 institute Showing, the internal memory cleaning plant of the mobile terminal that the present embodiment provides includes: statistical module 601, distributes mould Block 602, cleaning module 603 and judge module 604.
Wherein, statistical module 601, it is used within the current statistic cycle use to each application program special Reference breath is added up.Distribution module 602, for according to using characteristic information, for application assigned Cleaning rank.Cleaning module 603, for obtaining the use state of current memory, determines and current memory The corresponding Prune Policies of use state, the application program of corresponding cleaning rank is cleared up.
Further, in the device that the present embodiment provides, characteristic information is used to include: to use frequency;Point Join module 602, specifically for: to use frequency order from more to less, application program is divided into many Group, for often organizing application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Or, use characteristic information to include: to use duration;Distribution module 602 specifically for: with use Duration order from more to less, is divided into many groups by application program, for often organizing application assigned cleaning level Not;
Further, in the device that the present embodiment provides, characteristic information is used also to include: shared during operation Internal memory;Judge module 604, be used for distributing module for often group application assigned cleaning rank after, sentence Whether disconnected many group application programs there is the group including multiple application program;Distribution module 602, is additionally operable to If many group application programs having the group including multiple application program, then according to shared internal memory when running by little To big order, clear up rank for the application assigned in affiliated group;Wherein, later application journey The cleaning rank of sequence is not less than the cleaning rank of previous application program.
The device of the present embodiment can perform the technical scheme of embodiment of the method shown in Fig. 4, and it realizes principle Similar with technique effect, here is omitted.
One of ordinary skill in the art will appreciate that: realize all or part of step of above-mentioned each method embodiment Suddenly can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in one and can read and deposit In storage media.This program upon execution, performs to include the step of above-mentioned each method embodiment;And it is aforesaid Storage medium includes: the various medium that can store program code such as ROM, RAM.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, rather than right It limits;Although the present invention being described in detail with reference to foregoing embodiments, this area common Skilled artisans appreciate that the technical scheme described in foregoing embodiments still can be repaiied by it Change, or the most some or all of technical characteristic is carried out equivalent;And these are revised or replace Change, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the internal memory method for cleaning of a mobile terminal, it is characterised in that including:
Within the current statistic cycle, the use characteristic information of each application program is added up;
According to described use characteristic information, clear up rank for described application assigned;
Obtain the use state of current memory, determine corresponding with the use state of described current memory clear Reason strategy, clears up the application program of corresponding cleaning rank.
Method the most according to claim 1, it is characterised in that described use characteristic information bag Include: use frequency;
Described according to described use characteristic information, specifically include for described application assigned cleaning rank:
With described use frequency order from more to less, described application program is divided into many groups, for often group Application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Method the most according to claim 1, it is characterised in that described use characteristic information bag Include: use duration;
Described according to described use characteristic information, specifically include for described application assigned cleaning rank:
With described use duration order from more to less, described application program is divided into many groups, for often group Application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
The most according to the method in claim 2 or 3, it is characterised in that described for often organizing application program Distribution cleaning rank specifically includes:
For described often group application assigned same cleaning rank.
The most according to the method in claim 2 or 3, it is characterised in that described use characteristic information is also Including: shared internal memory during operation;
Described be often group application assigned cleaning rank after, also include:
Judge whether many group application programs have the group including multiple application program;
If many group application programs have the group including multiple application program, then according to shared during described operation The order that internal memory is ascending, clears up rank for the application assigned in affiliated group;
Wherein, the cleaning rank of later application program is not less than the cleaning rank of previous application program.
6. the internal memory cleaning plant of a mobile terminal, it is characterised in that including:
Statistical module, for carrying out the use characteristic information of each application program within the current statistic cycle Statistics;
Distribution module, for according to described use characteristic information, clearing up rank for described application assigned;
Cleaning module, for obtaining the use state of current memory, determines and the use of described current memory The Prune Policies that state is corresponding, clears up the application program of corresponding cleaning rank.
Device the most according to claim 6, it is characterised in that described use characteristic information bag Include: use frequency;
Described distribution module, specifically for: with described use frequency order from more to less, by described should It it is many groups by procedure division, for often organizing application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
Device the most according to claim 6, it is characterised in that described use characteristic information bag Include: use duration;
Described distribution module specifically for: with described use duration order from more to less, by described application Procedure division is many groups, for often organizing application assigned cleaning rank;
Wherein, the cleaning of later group application program is superior to the cleaning rank of previous group application program.
9. according to the device described in claim 7 or 8, it is characterised in that described distribution module is specifically used In: for described often group application assigned same cleaning rank.
10. according to the device described in claim 7 or 8, it is characterised in that described use characteristic information Also include: shared internal memory during operation;
Described device also includes: judge module, is that often group application assigned is clear for described distribution module After reason rank, it is judged that whether many group application programs have the group including multiple application program;
Described distribution module, has, if being additionally operable to organize in application program, the group including multiple application program more, Then according to the order that shared internal memory during described operation is ascending, for the application assigned in affiliated group Cleaning rank;
Wherein, the cleaning rank of later application program is not less than the cleaning rank of previous application program.
CN201610201249.8A 2016-03-31 2016-03-31 Memory cleaning method and device for mobile terminal Pending CN105893153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610201249.8A CN105893153A (en) 2016-03-31 2016-03-31 Memory cleaning method and device for mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610201249.8A CN105893153A (en) 2016-03-31 2016-03-31 Memory cleaning method and device for mobile terminal

Publications (1)

Publication Number Publication Date
CN105893153A true CN105893153A (en) 2016-08-24

Family

ID=57012019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610201249.8A Pending CN105893153A (en) 2016-03-31 2016-03-31 Memory cleaning method and device for mobile terminal

Country Status (1)

Country Link
CN (1) CN105893153A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407010A (en) * 2016-09-06 2017-02-15 北京珠穆朗玛移动通信有限公司 Internal memory management method and mobile terminal
CN106708615A (en) * 2016-11-21 2017-05-24 珠海市魅族科技有限公司 Application management method and terminal
CN106844045A (en) * 2016-12-31 2017-06-13 安徽金鼎机电装备制造有限公司 A kind of method for cleaning and mobile terminal of running of mobile terminal internal memory
CN107450985A (en) * 2017-07-27 2017-12-08 北京珠穆朗玛移动通信有限公司 EMS memory management process, mobile terminal and storage medium
CN107506235A (en) * 2017-08-08 2017-12-22 硕诺科技(深圳)有限公司 A kind of device and method for forbidding application program automatic running
CN107609071A (en) * 2017-08-31 2018-01-19 深圳天珑无线科技有限公司 A kind of method of file management, mobile terminal and the device with store function
CN107665147A (en) * 2017-09-26 2018-02-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device
CN107734022A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium
CN107734023A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium
CN107766134A (en) * 2017-09-26 2018-03-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device
CN107797871A (en) * 2017-11-30 2018-03-13 努比亚技术有限公司 EMS memory occupation method for releasing resource, mobile terminal and computer-readable recording medium
CN107797851A (en) * 2016-09-05 2018-03-13 展讯通信(上海)有限公司 Method for scheduling task, device and mobile terminal
CN107943582A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Characteristic processing method, apparatus, storage medium and electronic equipment
CN108073520A (en) * 2016-11-10 2018-05-25 腾讯科技(深圳)有限公司 A kind of internal memory control method and device
WO2018157565A1 (en) * 2017-02-28 2018-09-07 中兴通讯股份有限公司 Memory reclamation method and device and computer storage medium
WO2019047045A1 (en) * 2017-09-06 2019-03-14 深圳传音通讯有限公司 Memory cleaning method and user terminal
CN109471719A (en) * 2018-10-15 2019-03-15 Oppo广东移动通信有限公司 Store method for cleaning, device, electronic equipment and storage medium
CN109753316A (en) * 2018-11-22 2019-05-14 惠州Tcl移动通信有限公司 Intelligent terminal and its control method, the device with store function
CN109992438A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN109992370A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN109992363A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN111756922A (en) * 2020-06-15 2020-10-09 北京智明星通科技股份有限公司 Method and system for running mobile phone game and game terminal
CN111930735A (en) * 2020-08-14 2020-11-13 中国工商银行股份有限公司 Data cleaning method and device and electronic equipment
CN112328316A (en) * 2019-08-02 2021-02-05 Tcl集团股份有限公司 APP optimization method, mobile terminal and storage medium
CN112948208A (en) * 2021-02-24 2021-06-11 视若飞信息科技(上海)有限公司 Memory monitoring and recycling method, system, equipment and storage medium
CN113064551A (en) * 2020-05-15 2021-07-02 华为技术有限公司 Data writing, moving and cleaning information sending method and device and file system
CN113220360A (en) * 2016-10-20 2021-08-06 华为技术有限公司 Application starting control method and control equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6742100B1 (en) * 2002-04-12 2004-05-25 Barsa Consulting Group, Llc Method and system for managing memory pools in a partitioned computer system
US6968411B2 (en) * 2002-03-19 2005-11-22 Intel Corporation Interrupt processing apparatus, system, and method
CN104536907A (en) * 2015-01-26 2015-04-22 联想(北京)有限公司 Memory cleaning method and electronic equipment
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968411B2 (en) * 2002-03-19 2005-11-22 Intel Corporation Interrupt processing apparatus, system, and method
US6742100B1 (en) * 2002-04-12 2004-05-25 Barsa Consulting Group, Llc Method and system for managing memory pools in a partitioned computer system
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN104536907A (en) * 2015-01-26 2015-04-22 联想(北京)有限公司 Memory cleaning method and electronic equipment
CN105354093A (en) * 2015-12-09 2016-02-24 广东欧珀移动通信有限公司 Memory management method and mobile terminal

Cited By (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107797851A (en) * 2016-09-05 2018-03-13 展讯通信(上海)有限公司 Method for scheduling task, device and mobile terminal
CN106407010A (en) * 2016-09-06 2017-02-15 北京珠穆朗玛移动通信有限公司 Internal memory management method and mobile terminal
US11474831B2 (en) 2016-10-20 2022-10-18 Huawei Technologies Co., Ltd. Application startup control method and control device
CN113220360A (en) * 2016-10-20 2021-08-06 华为技术有限公司 Application starting control method and control equipment
CN113220360B (en) * 2016-10-20 2023-09-12 华为技术有限公司 Application starting control method and control equipment
CN108073520B (en) * 2016-11-10 2021-09-14 腾讯科技(深圳)有限公司 Memory control method and device
CN108073520A (en) * 2016-11-10 2018-05-25 腾讯科技(深圳)有限公司 A kind of internal memory control method and device
CN106708615A (en) * 2016-11-21 2017-05-24 珠海市魅族科技有限公司 Application management method and terminal
CN106844045A (en) * 2016-12-31 2017-06-13 安徽金鼎机电装备制造有限公司 A kind of method for cleaning and mobile terminal of running of mobile terminal internal memory
WO2018157565A1 (en) * 2017-02-28 2018-09-07 中兴通讯股份有限公司 Memory reclamation method and device and computer storage medium
CN107450985A (en) * 2017-07-27 2017-12-08 北京珠穆朗玛移动通信有限公司 EMS memory management process, mobile terminal and storage medium
CN107506235A (en) * 2017-08-08 2017-12-22 硕诺科技(深圳)有限公司 A kind of device and method for forbidding application program automatic running
CN107609071A (en) * 2017-08-31 2018-01-19 深圳天珑无线科技有限公司 A kind of method of file management, mobile terminal and the device with store function
WO2019047045A1 (en) * 2017-09-06 2019-03-14 深圳传音通讯有限公司 Memory cleaning method and user terminal
CN107665147A (en) * 2017-09-26 2018-02-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device
CN107766134A (en) * 2017-09-26 2018-03-06 厦门美图移动科技有限公司 The cleaned system method and mobile device of a kind of mobile device
CN107665147B (en) * 2017-09-26 2019-12-06 厦门美图移动科技有限公司 System cleaning method of mobile equipment and mobile equipment
CN107766134B (en) * 2017-09-26 2020-01-17 厦门美图移动科技有限公司 System cleaning method of mobile equipment and mobile equipment
CN107734023A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium
CN107734022A (en) * 2017-09-30 2018-02-23 努比亚技术有限公司 Static resource document down loading method, mobile terminal and computer-readable recording medium
CN107734022B (en) * 2017-09-30 2021-08-10 努比亚技术有限公司 Static resource file downloading method, mobile terminal and computer readable storage medium
CN107734023B (en) * 2017-09-30 2021-08-10 努比亚技术有限公司 Static resource file downloading method, mobile terminal and computer readable storage medium
CN107943582A (en) * 2017-11-14 2018-04-20 广东欧珀移动通信有限公司 Characteristic processing method, apparatus, storage medium and electronic equipment
CN107943582B (en) * 2017-11-14 2020-08-04 Oppo广东移动通信有限公司 Feature processing method, feature processing device, storage medium and electronic equipment
CN107797871A (en) * 2017-11-30 2018-03-13 努比亚技术有限公司 EMS memory occupation method for releasing resource, mobile terminal and computer-readable recording medium
CN109992438A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Information processing method, device, computer equipment and computer readable storage medium
CN109992363B (en) * 2017-12-29 2021-03-26 Oppo广东移动通信有限公司 Application program processing method and device, electronic equipment and computer readable storage medium
CN109992363A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN109992370A (en) * 2017-12-29 2019-07-09 广东欧珀移动通信有限公司 Applied program processing method and device, electronic equipment, computer readable storage medium
CN109471719A (en) * 2018-10-15 2019-03-15 Oppo广东移动通信有限公司 Store method for cleaning, device, electronic equipment and storage medium
CN109753316A (en) * 2018-11-22 2019-05-14 惠州Tcl移动通信有限公司 Intelligent terminal and its control method, the device with store function
CN112328316A (en) * 2019-08-02 2021-02-05 Tcl集团股份有限公司 APP optimization method, mobile terminal and storage medium
CN113064551A (en) * 2020-05-15 2021-07-02 华为技术有限公司 Data writing, moving and cleaning information sending method and device and file system
CN113064551B (en) * 2020-05-15 2023-09-01 华为技术有限公司 Data writing, moving and cleaning information sending method and device and file system
CN111756922A (en) * 2020-06-15 2020-10-09 北京智明星通科技股份有限公司 Method and system for running mobile phone game and game terminal
CN111930735A (en) * 2020-08-14 2020-11-13 中国工商银行股份有限公司 Data cleaning method and device and electronic equipment
CN112948208A (en) * 2021-02-24 2021-06-11 视若飞信息科技(上海)有限公司 Memory monitoring and recycling method, system, equipment and storage medium
CN112948208B (en) * 2021-02-24 2022-06-21 视若飞信息科技(上海)有限公司 Memory monitoring and recycling method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105893153A (en) Memory cleaning method and device for mobile terminal
Dye Optimal length of labor contracts
CN107291545A (en) The method for scheduling task and equipment of multi-user in computing cluster
CA2576983A1 (en) Methods and apparatus for tracking and charging for communications resource reallocation
CN109753443A (en) A kind of data processing method, device and electronic equipment
RU2008130412A (en) MULTIPLE CONDITIONAL FORMATION
CN109919315A (en) A kind of forward inference method, apparatus, equipment and the storage medium of neural network
CN103793140B (en) A kind of application icon aligning method and mobile terminal
CN110458453A (en) A kind of method and system of automatic assignment work order
CN110389822A (en) The node scheduling method, apparatus and server of execution task
CN108616553B (en) Method and device for resource scheduling of cloud computing resource pool
CN106125006A (en) Battery charge state determines method and device
CN106598495A (en) Mixed storage service quality control method and control apparatus
CN106201717A (en) A kind of method managing Installed System Memory and terminal
CN105931109A (en) Method and device for account balance update
CN111176840A (en) Distributed task allocation optimization method and device, storage medium and electronic device
CN108681481A (en) The processing method and processing device of service request
CN111262783B (en) Dynamic routing method and device
CN109978679A (en) Credit sharing method, device, system and storage medium
CN108683557A (en) Micro services health degree appraisal procedure, elastic telescopic method and framework
CN105592160B (en) Resource allocation method towards service consumer under a kind of cloud computing environment
CN108664321A (en) System resource allocation method of adjustment and device
CN102360280B (en) Method for allocating registers for mixed length instruction set
CN103095833B (en) Cloud service system update method and device
CN109491791A (en) The principal and subordinate&#39;s enhanced operation method and device of NSGA-II based on Shen prestige many-core processor

Legal Events

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

Application publication date: 20160824

RJ01 Rejection of invention patent application after publication