CN110515721A - A kind of application management method, device, terminal and computer storage medium - Google Patents

A kind of application management method, device, terminal and computer storage medium Download PDF

Info

Publication number
CN110515721A
CN110515721A CN201810497651.4A CN201810497651A CN110515721A CN 110515721 A CN110515721 A CN 110515721A CN 201810497651 A CN201810497651 A CN 201810497651A CN 110515721 A CN110515721 A CN 110515721A
Authority
CN
China
Prior art keywords
application
memory
frequency
sequence
respectively applied
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
CN201810497651.4A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810497651.4A priority Critical patent/CN110515721A/en
Publication of CN110515721A publication Critical patent/CN110515721A/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/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a kind of application management methods, comprising: obtains the required memory for needing to occupy when the frequency of use respectively applied in the current setting period and each application operation;According to the frequency of use respectively applied and the required memory, the application management sequence respectively applied is determined;It determines and needs to clear up in application, determining application for clearance from current running background application according to application management sequence, and clear up the application for clearance.The embodiment of the invention also discloses a kind of application management device, terminal and computer storage mediums.

Description

A kind of application management method, device, terminal and computer storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of application management method, device, terminal and computer to deposit Storage media.
Background technique
For the consumption demand for meeting consumer, market is poured into the different application of types of functionality such as spring bamboo, and all kinds of intelligence are eventually End, as the manufacturer of smart phone is also prefixed many applications in an operating system.User is when using intelligent terminal, intelligent terminal Multiple application programs often are run simultaneously, Installed System Memory will be caused to occupy in this way and increased, and the increase of application process can not The problems such as stopping pregnancy life such as system rubbish, disk fragments.However, these problems will finally be caused using not smooth or card The generation for phenomenon of pausing, reduces the usage experience of user.
Summary of the invention
To solve existing technical problem, the embodiment of the present invention provides a kind of application operation stream for being able to ascend terminal Application management method, device, terminal and the computer storage medium of smooth property.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the invention provides a kind of application management methods, comprising:
It needs to occupy when obtaining the frequency of use respectively applied in the current setting period and each application operation required Memory;
According to the frequency of use respectively applied and the required memory, the application management row respectively applied is determined Sequence;
It determines and needs to clear up in application, being determined from current running background application to clear according to application management sequence It ought to use, and the application for clearance was cleared up.
It is described according to the frequency of use respectively applied and the required memory in above scheme, it determines described each The application management of application is sorted, comprising:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
It is described according to the frequency of use respectively applied and required memory in above scheme, determine each application Application management sequence after, further includes:
Obtain the frequency of use respectively applied in the history setting period;
According to the history set in the period in the frequency of use respectively applied and the current setting period it is described respectively The comparison result of the frequency of use of application is adjusted application management sequence, obtains the application management row adjusted Sequence.
In above scheme, the determining needs are cleared up before application, further includes:
Obtain current residual electricity and currently available memory;
The required memory for needing to occupy when according to the current residual electricity and the foreground application being currently up operation determines Memory cleaning threshold;
The determining needs clear up application, comprising:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines to need to clear up and answer With.
It is described to need to occupy when being run according to the current residual electricity and the foreground application that is currently up in above scheme Required memory determine memory cleaning threshold, comprising:
Memory assurance coefficient, the memory assurance coefficient and current residual electricity are determined according to the current residual electricity Negative correlation between amount;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, Determine memory cleaning threshold.
It is described that for clearance answer is determined from current running background application according to application management sequence in above scheme With, and the application for clearance is cleared up, comprising:
Sequence according to application management sequence by the cleaning priority applied from high to low, from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold is unsatisfactory for the currently available memory The setting condition.
In above scheme, the determining needs clear up application, comprising:
When detecting that satisfaction or less applies at least one of cleaning condition, it is determined that need to clear up application, it is described to apply clearly Manage bar part include: current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, it is current after The required memory for needing to occupy when the quantity of platform operation application is greater than setting amount threshold, the foreground application operation being currently up is big In memory cleaning threshold.
Second aspect, the embodiment of the invention provides a kind of application management devices, comprising: obtain module, sorting module and Processing module;Wherein,
The acquisition module, for obtaining the frequency of use respectively applied in the current setting period and each application operation When need the required memory that occupies;
The sorting module, described in determining according to the frequency of use respectively applied and the required memory The application management sequence respectively applied;
The processing module needs to clear up in application, being sorted according to the application management from current backstage for determining Application for clearance is determined in operation application, and the application for clearance is cleared up.
In above scheme, the sorting module is specifically used for:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
In above scheme, which further includes adjustment module;Wherein,
The acquisition module is also used to obtain the frequency of use respectively applied in the history setting period;
The adjustment module, for setting in the period frequency of use respectively applied and described current according to the history The comparison result of the frequency of use respectively applied is adjusted application management sequence in the setting period, after being adjusted The application management sequence.
In above scheme,
The acquisition module, is also used to obtain current residual electricity and currently available memory;
The processing module is also used to according to needs when the current residual electricity and the foreground application being currently up operation The required memory occupied determines memory cleaning threshold;
The processing module, also particularly useful for:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines to need to clear up and answer With.
In above scheme, the processing module, also particularly useful for:
Memory assurance coefficient, the memory assurance coefficient and current residual electricity are determined according to the current residual electricity Negative correlation between amount;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, Determine memory cleaning threshold.
In above scheme, the processing module, also particularly useful for:
Sequence according to application management sequence by application cleaning priority from high to low, is answered from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold and the currently available memory are unsatisfactory for institute State setting condition.
In above scheme, the processing module, also particularly useful for:
When detecting that satisfaction or less applies at least one of cleaning condition, it is determined that need to clear up application, it is described to apply clearly Manage bar part include: current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, it is current after The required memory for needing to occupy when the quantity of platform operation application is greater than setting amount threshold, the foreground application operation being currently up is big In memory cleaning threshold.
The third aspect, the embodiment of the invention provides a kind of terminal, the terminal includes: processor and can for storing The memory of the computer program run on a processor;Wherein, the processor is for holding when running the computer program The step of row first aspect the method.
Fourth aspect is deposited in the computer storage medium the embodiment of the invention provides a kind of computer storage medium The step of containing computer program, method as described in relation to the first aspect realized when the computer program is executed by processor.
Application management method, device provided by above-described embodiment, terminal and computer storage medium obtain current setting The required memory that needs to occupy when the frequency of use respectively applied in period and each application are run respectively is applied according to described The frequency of use and the required memory determine the application management sequence respectively applied, determine and need to clear up in application, root Application for clearance is determined from current running background application according to application management sequence, and the application for clearance is carried out Cleaning.In this way, being sorted by the application management for establishing application according to the frequency of use of application and required memory, and answered according to described Application management sequence is managed application, the automatic management to terminal memory source is realized, to improve terminal Application operation fluency, and improve the usage experience of user.
Detailed description of the invention
Fig. 1 is the flow diagram of application management method in one embodiment of the invention;
Fig. 2 is the flow diagram of application management method in another embodiment of the present invention;
Fig. 3 is the cleaning priority list generating process schematic diagram applied in one embodiment of the invention;
Fig. 4 is the process schematic that intelligent terminal clears up background application automatically in one embodiment of the invention;
Fig. 5 is the flow diagram of application management method in one embodiment of the invention;
Fig. 6 is the structural schematic diagram of application management device in one embodiment of the invention;
Fig. 7 is the structural schematic diagram of application management device in another embodiment of the present invention.
Specific embodiment
Technical solution of the present invention is further described in detail with reference to the accompanying drawings and specific embodiments of the specification.Unless It is defined otherwise, all technical and scientific terms used herein with to belong to those skilled in the art of the invention usual The meaning of understanding is identical.Term as used herein in the specification of the present invention is intended merely to description specific embodiment Purpose, it is not intended that in the limitation present invention.Term as used herein "and/or" includes one or more relevant listed items Any and all combinations.
It is a kind of application management method provided in an embodiment of the present invention referring to Fig. 1, comprising the following steps:
Step S101: it needs to account for when obtaining the frequency of use respectively applied in the current setting period and each application operation Required memory;
In the present embodiment, the application management method be applied to terminal, the terminal can be personal computer, mobile phone, The smart machines such as tablet computer.Here, the size in the setting period can be according to the length of time of the daily using terminal of user Situations such as be configured, for example, if the time of the daily using terminal of user be greater than 4 hours, can be by the setting period It is set as 7 days, 15 days etc., if less than 1 hour of the time of the daily using terminal of user, the setting period can be arranged It is 30 days, 45 days etc..The frequency of use respectively applied in the setting period refers to that user makes each application within the setting period With number, wherein can by each application it is corresponding belonging to number of the interface display on foreground be considered as use time of the user to each application Number.In the present embodiment, sets the frequency of use respectively applied in the period and refer to that respectively the corresponding affiliated interface of application is aobvious within the setting period Show the number on foreground, i.e., the number that respectively application is run as foreground application within the setting period.It is respectively answered in the setting period It may include setting in the period respectively using the memory mean value or setting occupied when running that the required memory occupied is needed when with operation Respectively using the memory peak value occupied when running in period.
It should be noted that being needed when terminal is the frequency of use for periodically acquiring each application and each application is run When the required memory to be occupied, the current setting period refers to the setting period nearest apart from current time, described to work as The frequency of use and each application respectively applied in the preceding setting period need the required memory occupied to refer to that distance is worked as when running The frequency of use and each application respectively applied in the setting period of preceding time recently need to occupy required when running Memory.
Step S102: it according to the frequency of use respectively applied and the required memory, determines and described respectively applies Application management sequence;
It should be noted that when respectively including setting week using the required memory for needing to occupy when running in the setting period When the memory mean value occupied when respectively applying operation in the phase, then step S102 can be according to the frequency of use respectively applied With the memory mean value occupied when the operation, come determine it is described respectively apply application management sequence.When each in the setting period When to need the required memory that occupies when using operation include the memory peak value occupied when setting in the period respectively using operation, then step The memory peak value that S102 is occupied when being also possible to according to the frequency of use and the operation respectively applied, it is described to determine The application management sequence respectively applied.
In one embodiment, described according to the frequency of use respectively applied and the required memory, determine described in The application management respectively applied is sorted, and may include:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
Here, it can know that user is to be commonly used or use once in a while etc. to use to the application according to the frequency of use of application Preference needs consumption of the required memory occupied when can know application operation to terminal memory source when running according to application Therefore situation will use frequency as the required memory of the first sequence reference index, application as second described in application Sort reference index, according to the ascending ordering rule of frequency of use memory needed for descending and described to each Using being ranked up, and the application management sequence of the cleaning priority respectively applied from high to low is got, according to Running background application is cleared up in application management sequence, needs to account for when can close relatively low frequency of use and/or operation The required relatively large application of memory discharges the pent occupied memory of application.For example, it is assumed that there is application in terminal A, B, C, M and N, wherein the frequency of use highest and memory mean value using M are minimum, and memory minimum using the frequency of use of N is equal Value is maximum, if being respectively greater than the frequency of use applying the frequency of use of N and being less than using M, application using the frequency of use of A, B, C A, the memory mean value rate of B, C are respectively greater than the memory mean value for applying M and are less than the memory mean value using N, then excellent using the removing of M First grade is minimum, using the removing highest priority of N.For apply A, B, C, if the frequency of use of A and the frequency of use of B it is equal and All be higher than C frequency of use, and the memory mean value of B and the memory mean value of C it is equal and all be higher than A memory mean value, then apply A, the removing priority ranking of B, C are C > B > A.
In this way, according to it is described respectively apply described in use frequency as the first sequence reference index, the institute respectively applied It states required memory to be ranked up each application as the second sequence reference index, establishes the cleaning priority of each application by height Sort to low application management, thus according to application management sequence can the memory source to terminal effectively managed, And ensure that terminal has the free memory for being able to maintain that the foreground application operation being currently up is smooth.
In another embodiment, described according to the frequency of use respectively applied and the required memory, determine institute After the application management sequence for stating each application, it can also include the following steps:
Obtain the frequency of use respectively applied in the history setting period;
According to the history set in the period in the frequency of use respectively applied and the current setting period it is described respectively The comparison result of the frequency of use of application is adjusted application management sequence, obtains the application management row adjusted Sequence.
It should be noted that the frequency of use respectively applied can be acquisition currently in the acquisition history setting period The frequency of use respectively applied in a upper setting period in period was set, correspondingly, described set week according to the history The frequency of use respectively applied and the current comparison result pair for setting the frequency of use respectively applied in the period in phase The application management sequence is adjusted, for according to the use respectively applied in a upper setting period in current setting period Frequency and the current comparison result for setting the frequency of use respectively applied in the period sort to the application management and carry out Adjustment.In the history setting period frequency of use respectively applied and it is described it is current set in the period it is described respectively apply make Whether the frequency of use respectively applied between the period is set from the history setting period to current for identifying with the comparison result of frequency For situations such as remaining unchanged, rising or decline.It is described that the use respectively applied in the period is set according to the history Frequency and the current comparison result for setting the frequency of use respectively applied in the period sort to the application management and carry out Adjustment, the frequency of use that can be the application within the frequency of use raising i.e. described current setting period of application are greater than described go through When history sets the frequency of use of the application in the period, reduces this and apply the cleaning priority in application management sequence, than Such as the cleaning priority in application management sequence is applied to reduce level-one, second level or three-level this;In the use of application When frequency reduces, improves this and apply the cleaning priority in application management sequence, for example this is applied in the application Cleaning priority in management sequence improves level-one, second level or three-level etc..For example, if the frequency of use of some application is current Setting the period is greater than history and sets the period, illustrates that the application may be by customer acceptance and the degree liked reinforcement, then can should It applies the cleaning priority in the application management sequence obtained of currently setting period to reduce level-one, avoids because the application is too early Be cleaned and user need using when terminal generate frequent starting operation.If the frequency of use of some application is current Setting the period is less than history and sets the period, illustrates that the application may weakened by customer acceptance and the degree liked, then can be by This applies the cleaning priority in the application management sequence obtained of currently setting period to improve level-one, so that the application can Being cleaned as early as possible.In this way, by currently being set according to the frequency of use respectively applied in the history setting period with described The comparison result of the frequency of use respectively applied is adjusted application management sequence in fixed cycle, realizes application management sequence Self-teaching and maintenance, can be improved application management sequence accuracy, further increase the usage experience of user.
Step S103: it determines and needs to clear up in application, being sorted according to the application management from current running background application Middle determination application for clearance, and the application for clearance is cleared up.
Here, the determining condition for needing to clear up application can according to the current residual electricity of terminal, it is currently available in Situations such as needing the required memory occupied when the foreground application operation deposit, being currently up flexibly is configured.
In one embodiment, the determining needs are cleared up before application, can also include the following steps: to obtain current residual Electricity and currently available memory;The institute for needing to occupy when according to the current residual electricity and the foreground application being currently up operation Memory is needed to determine memory cleaning threshold;
It is described it is determining need to clear up application, may include: corresponding to the memory cleaning threshold and it is described it is currently available in When being filled with foot setting condition, determines and need to clear up application.
Here, the electricity that the current residual electricity refers to that terminal is currently available for consuming can possess most relative to terminal Ratio shared by big electricity, for example can be 30%, 45% etc..The currently available memory refers to that terminal is currently available for consumption Maximum memory, for example can be 50M, 100M etc..The memory cleaning threshold is for characterizing in order to ensure being currently up in terminal Foreground application being capable of the smooth corresponding required minimum memory of operation.It should be noted that the memory cleaning threshold can root The required memory for needing to occupy when being configured according to actual needs, for example being run according to the foreground application being currently up and setting Fixed coefficient or coefficient of dynamics determine the memory cleaning threshold, and the coefficient of dynamics can be according to the current residual electricity of terminal Situations such as amount, terminal owned maximum memory, determines.In one embodiment, the memory cleaning threshold is currently up The product of the fixed coefficient of the required memory occupied and setting is needed when foreground application is run.The fixed coefficient can be according to reality It needs to be configured, for example is set as 1.2,1.5 etc..It is needed when being run by the foreground application being currently up in needed for occupying It deposits and determines memory cleaning threshold with the fixed coefficient of setting, calculating process is simple, and speed is fast.In one embodiment, the basis The current residual electricity and the foreground application being currently up need the required memory occupied to determine memory cleaning threshold when running, It include: that memory assurance coefficient, the memory assurance coefficient and the current residual electricity are determined according to the current residual electricity Between negative correlation;The required memory and the memory for needing to occupy when according to the foreground application operation being currently up Assurance coefficient determines memory cleaning threshold.
Assuming that memory assurance coefficient is θ, the pass of current residual electricity β, β by taking decimal mode indicates as an example, between θ and β It is that expression formula is as follows:
Wherein, k and b is constant, and is met when greater than 30%, i.e. β is greater than 0.3 to the current residual electricity of terminal, and θ is always It is 1, and when lower than 30%, i.e. β is less than or equal to 0.3 to the current residual electricity of terminal, θ is greater than 1.It is described according to described current The required memory and the memory assurance coefficient for needing to occupy when the foreground application operation of starting, determine memory cleaning threshold, can Made with the product of the required memory and the memory assurance coefficient that need to occupy when being by the foreground application operation being currently up For memory cleaning threshold.Since the memory assurance coefficient is the dynamic parameter determined by current residual electricity, correspondingly, institute Stating memory cleaning threshold is also a dynamic value.The memory cleaning threshold and the currently available memory meet setting condition can be with It is that the memory cleaning threshold is greater than the currently available memory, is also possible to the memory cleaning threshold and currently may be used greater than described With the setting multiple of memory, the setting multiple can be configured according to actual needs, for example be set as 1.3 times.Here, when When the current residual electricity of terminal is lower, the corresponding memory assurance coefficient is bigger, and memory cleaning threshold is also corresponding bigger, to The quantity of cleaning application also can be more, so that application will be reduced to the electric quantity consumption of terminal, extend the cruise duration of terminal.Such as This, needs the required memory occupied to determine that memory is clear when being run according to the current residual electricity and the foreground application being currently up Threshold value is managed, not only mode is flexible, but also can effectively extend the cruise duration of terminal.
In another embodiment, described to be determined from current running background application to clear according to application management sequence It ought to use, and the application for clearance was cleared up, and may include:
Sequence according to application management sequence by the cleaning priority applied from high to low, from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold is unsatisfactory for the currently available memory The setting condition.
Specifically, the application management sequence obtained according to step S103 is by application cleaning priority from high to low suitable Sequence determines application for clearance from current running background application, and the application for clearance is closed, until in described It deposits cleaning threshold and the currently available memory is unsatisfactory for the setting condition.
It here, is that the memory is clear when the memory cleaning threshold meets the setting condition with the currently available memory When managing threshold value greater than the currently available memory, correspondingly, the memory cleaning threshold is unsatisfactory for the currently available memory The setting condition is that the memory cleaning threshold is less than or equal to the currently available memory.When the memory cleaning threshold with It is the setting that the memory cleaning threshold is greater than the currently available memory that the currently available memory, which meets the setting condition, When multiple, correspondingly, it is the memory that the memory cleaning threshold and the currently available memory, which are unsatisfactory for the setting condition, Cleaning threshold is less than or equal to the setting multiple of the currently available memory.In this way, according to application management sequence by application Cleaning priority sequence from high to low successively current running background application is closed, that is, discharge pent backstage Occupied memory is applied in operation, until the memory cleaning threshold and the currently available memory are unsatisfactory for the setting item Part not only realizes the automatic management to terminal memory source, it is ensured that terminal, which has, is able to maintain that the foreground application being currently up Run smooth free memory, and also avoid causing because clearing up excessive running background application user to frequency of use compared with High application generates the operation of frequent starting, saves the resource consumption of terminal.
To sum up, application management method provided by the above embodiment is answered according to the frequency of use of application and the foundation of required memory Application management sequence, and application is managed according to the application management of application sequence, it realizes to terminal memory The automatic management of resource to improve the application operation fluency of terminal, and improves the usage experience of user.
In one embodiment, the determining needs clear up application, may include: to detect that satisfaction is following to apply cleaning condition At least one of when, it is determined that need to clear up application, application cleaning condition includes: that current residual electricity is less than setting electricity Threshold value, currently available memory are less than set memory threshold value, the quantity of current running background application is greater than setting amount threshold, when The required memory for needing to occupy when the foreground application operation of preceding starting is greater than memory cleaning threshold.
Here, the setting power threshold can be configured according to actual needs, for example can be set to 30%, 40% Deng.The set memory threshold value can also be configured according to actual needs, for example can be set to 50M, 70M etc..It is described to set Determining amount threshold can be configured according to actual needs, for example can be set to 5 with first-class.The memory cleaning threshold can To be configured according to actual needs, for example can be set to 80M, 100M etc., or can be the default of currently available memory Ratio.In this way, being cleared up automatically when detecting to be sorted according to application management when meeting accordingly using cleaning condition, root Cleaning application is determined the need for according to the factor of terminal various aspects, mode is flexibly, simply.
The embodiment of the present invention is described in further detail below by specific example, using terminal as intelligent terminal, application The required interior application management saved as using memory mean value and memory peak value, application occupied when running for needing to occupy when operation It is ordered as the cleaning priority list of application, as shown in Fig. 2, being a kind of application management side provided in an embodiment of the present invention Method, comprising the following steps:
Step S201: application message obtains and statistics;
Specifically, occupied memory mean value and memory peak value when the packet name respectively applied in the statistic mixed-state period, operation make It is counted with parameters such as frequencies, generates application message and count list.In intelligent terminal application on startup, also from the application Required EMS memory occupation index when application operation, the application required EMS memory occupation index when running are obtained in Information Statistics list Occupied memory mean value and memory peak value etc. when including application operation.
Step S202: the cleaning priority list of application is generated;
Occupied memory situation, is ranked up each application when specifically, according to the frequency of use of each application, operation, Obtain the cleaning priority list of each application.To use frequency as the first reference index when sequence, in when operation, is occupied Depositing mean value is the second reference index.In addition, by analyzing the application message periodically acquired, it can be excellent to the cleaning of application First grade list is updated, thus the self study and maintenance of the cleaning priority list constantly applied.
Step S203: EMS memory occupation index needed for foreground application is run is obtained;
Specifically, intelligent terminal obtains foreground application operation from application message statistics list in certain application starting Required EMS memory occupation index.
Step S204: the current residual electricity of intelligent terminal is obtained;
Step S205: memory cleaning threshold is determined;
Specifically, EMS memory occupation index needed for being run according to the foreground application and the current residual electricity, dynamic is really Determine memory cleaning threshold, i.e., when the current residual electricity is lower than a certain numerical value, dynamic promotes the size of memory cleaning threshold. In this way, not being cleaned and the higher application of priority reaches optimization by clearing up in the cleaning priority list more applied Memory management and the purpose for extending intelligent terminal continuation of the journey.
Step S206: intelligent terminal carries out memory cleaning;
Specifically, application for clearance is determined according to the cleaning priority list of application, packet name is applied according to for clearance Application processes carry out backstage removing, until the free memory of intelligent terminal is greater than memory cleaning threshold.
Background application is cleared up automatically to the process and intelligent terminal of the cleaning priority list generation of application separately below Process is specifically described.As shown in figure 3, for the cleaning priority list generating process applied in the embodiment of the present invention, including Following steps:
Step S301: number of the interface display belonging to statistics application packet name on foreground;
Specifically, interface display belonging to each application packet name is counted in the number on foreground.
Step S302: the frequency of use f of each application is calculatedi
Specifically, it according to each number using interface display belonging to packet name on foreground in a nearest detection cycle T, obtains The frequency of use f respectively applied installed in intelligent terminal in a nearest detection cycle Ti
Here, the size of the detection cycle T can be configured according to actual needs, for example be set as 15 days or 30 days Deng.fiIndicate that the frequency of use of i-th of application, the minimum value of i are 1, maximum value is the application total quantity installed in intelligent terminal.
Step S303: committed memory situation is respectively applied under statistics application packet name process;
Step S304: the required memory mean value AM for needing to occupy when each application operation is countediWith memory peak value HMi
Specifically, committed memory situation is respectively applied according under the application packet name process of statistics, obtains nearest detection week That installs in intelligent terminal in phase T respectively applies the required memory mean value for needing to occupy when running in a nearest detection cycle T AMiWith memory peak value HMi
Here, AMiIt indicates to apply the required memory mean value for needing to occupy when running in the detection cycle, HM i-thiTable Show i-th and applies the required memory peak value for needing to occupy when running in the detection cycle.
Step S305: according to sequence reference index, each priority a for applying and being cleared up automatically is determinedi
Specifically, according to frequency of use fiWith memory mean value AMiEach application is ranked up, obtains each application by automatic clear The priority a of reasoni, thus according to each priority a for applying and being cleared up automaticallyiGenerate the clear of the interior application of a nearest detection cycle T Manage priority list.
Here, with frequency of use f when sequenceiAs the first sequence reference index, memory mean value AMiAs the second sequence ginseng Examine index.Wherein, frequency of use is minimum and the corresponding priority of the maximum application of memory mean value is 0, that is, the priority being cleaned Highest.Here, the required memory mean value and memory peak value for needing to occupy when can be by periodically obtaining the frequency of use of application, running Etc. information and analyzed, realize the self-teaching and maintenance of the cleaning priority list of application.
As shown in figure 4, intelligent terminal clears up the process of background application automatically, comprising:
Step S401: the required memory peak value HM for needing to occupy when the foreground application operation being currently up is obtainediWith intelligence The current residual free memory of terminal;
Step S402: the current residual electricity of intelligent terminal is obtained;
In practical applications, for being equipped with the mobile phone of Android system, Android system can monitor the change of mobile phone electricity at any time Change, and by Intent transmission broadcast message, using broadcast reception component BroadcastReceiver can be registered in a program, And ACTION_BATTERY_CHANGED information is intercepted by Intent Filter to obtain the current residual electricity of mobile phone (EXTRA_LEVEL)。
Step S403: memory cleaning threshold is determined.
Here, the memory cleaning threshold is the required memory peak value for needing to occupy when the foreground application operation being currently up HMiMultiplied by memory assurance coefficient θ, the memory assurance coefficient θ is determined by the current residual electricity of intelligent terminal, under normal conditions θ value is 1.When the remaining capacity of intelligent terminal is lower than 30%, θ coefficient increases.Assuming that current residual electricity is β, β is with decimal For mode indicates, the relational expression between θ and β is as follows:
Wherein, k and b is constant, and is met when greater than 30%, i.e. β is greater than 0.3 to the current residual electricity of intelligent terminal, θ It is always 1, and when lower than 30%, i.e. β is less than or equal to 0.3 to the current residual electricity of intelligent terminal, θ is greater than 1.
Step S404: each priority a for applying and being cleared up automatically is obtainedi
Step S405: the priority a cleared up automatically according to applicationiBackground application is cleared up, until intelligent terminal is available Memory meets the memory cleaning threshold.
Here, it is the available interior of the intelligent terminal that the free memory of the intelligent terminal, which meets the memory cleaning threshold, It deposits and is greater than the memory cleaning threshold.
In conjunction with Fig. 3 and Fig. 4, application management method is specifically described in the embodiment of the present invention, as shown in figure 5, being this hair A kind of application management method that bright embodiment provides, comprising the following steps:
Step S501: the frequency of use f respectively applied installed in intelligent terminal in a nearest detection cycle T is obtainedi
Here, frequency of use fiIt is indicated with number, the number using interface display belonging to packet name on foreground as counted. Due to enthusiastic degree of the user to a certain application may passage at any time and change, be periodically detected a certain application using frequency Rate can obtain the preferable statistical result of timeliness.
Step S502: respectively applying for installing in intelligent terminal in the nearest detection cycle T of acquisition is detected at nearest one The required memory mean value AM for needing to occupy when operation in cycle TiWith memory peak value HMi
Wherein, memory mean value AMiIt is that certain applies the average value in nearest detection cycle T committed memory, it can be effective Embodiment this application to resource consumption the case where.
Step S503: according to frequency of use fiWith memory mean value AMiEach application is ranked up, it is automatic to obtain each application The priority a of cleaningi
Here, with frequency of use f when sequenceiAs the first reference index, memory mean value AMiFor the second reference index, that is, exist The corresponding priority of the lower application of frequency of use is set above the higher application of frequency of use when carrying out priority ranking, Meet the actual demand of user while being promoted using fluency as far as possible.Wherein, frequency of use is minimum and mean value memory most High is 0 using corresponding priority, that is, the highest priority removed.
Step S504: according to each priority a for applying and being cleared up automaticallyiGenerate the clear of the interior application of a nearest detection cycle Manage priority list;
Here, it is removed and is applied on the basis of the memory cleaning threshold being arranged automatically according to the cleaning priority list of application, It is removed one by one from the application of highest priority, until the free memory of intelligent terminal stops clearly after meeting the memory cleaning threshold Reason.The required memory peak value HM that the memory cleaning threshold needs to occupy when being run by the foreground application being currently upiAnd intelligence The current residual electricity of terminal codetermines.Memory peak value HMiIt is able to reflect the pole for applying the committed memory in certain detection cycle Value can guarantee the operation fluency of application substantially when the reserved free memory of intelligent terminal reaches the extreme value.The memory cleaning Threshold value is by memory peak value HMiIt is calculated multiplied by memory assurance coefficient θ, the value of θ is 1 under normal conditions.When intelligent terminal When remaining capacity is lower than 30%, θ coefficient increases, and the background application of required removing increases, to have the function that extend continuation of the journey.
Step S505: according to priority a in the cleaning priority list of applicationiSequence from high to low successively removes backstage Using until the free memory of intelligent terminal meets the memory cleaning threshold.
Here, after the operation for removing background application terminates, intelligent terminal is still periodically obtained comprising in detection cycle The applied statistics information of the parameters such as occupied memory mean value and memory peak value, frequency of use when the packet name respectively applied, operation, and According to user to the frequency of use situation of each application, comparison of the frequency of use of each application within the two neighboring period is drawn Frequency of use is decreased obviously and higher apply of committed memory mean value suitably promotes the cleaning priority of the application by figure, such as Promote level-one;For the application that frequency of use obviously rises, the cleaning priority of the application is suitably reduced, for example reduces level-one, To realize the self-teaching and maintenance for clearing up priority list of application.
To sum up, by the frequency of use of programming count study application, and the EMS memory occupation situation foundation of each application is combined to answer Cleaning priority list, the automatic certain applications for removing running background.The smoothness using operation can not only effectively be promoted Property, moreover it is possible to the operation that user removes application process or manual maintenance application cleaning list manually is reduced, enhancing user uses intelligence The experience of terminal.The data obtained in application management method provided in this embodiment be nearest user to the frequency of use of application with And the EMS memory occupation situation of application, in conjunction with the comprehensive acquisition memory cleaning threshold of current residual electricity, processing method timeliness is stronger, Also the cruising ability of intelligent terminal is increased to a certain extent.
To realize the above method, the embodiment of the invention also provides a kind of application management devices, as shown in fig. 6, the device It may include: to obtain module 10, sorting module 11 and processing module 12;Wherein,
The acquisition module 10, for obtaining the frequency of use respectively applied in the current setting period and each application fortune The required memory for needing to occupy when row;
The sorting module 11, for determining institute according to the frequency of use respectively applied and the required memory State the application management sequence of each application;
The processing module 12 needs to clear up in application, according to application management sequence after current for determining Application for clearance is determined in platform operation application, and the application for clearance is cleared up.
To sum up, application management device provided by the above embodiment passes through frequency of use according to each application and required memory The application management sequence of each application is established, and application is managed according to application management sequence, is realized in terminal The automatic management of resource is deposited, to improve the application operation fluency of terminal, and improves the usage experience of user.
In one embodiment, the sorting module 11, can be specifically used for:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
In this way, according to it is described respectively apply described in use frequency as the first sequence reference index, the institute respectively applied Required memory is stated to be ranked up the application as the second sequence reference index, establish the cleaning priority of each application by height to Low application management sequence, thus according to application management sequence can the memory source to terminal effectively managed, and Ensure that terminal has the free memory for being able to maintain that the foreground application operation being currently up is smooth.
In one embodiment, which can also include adjustment module 13, wherein
The acquisition module 10 is also used to obtain the frequency of use respectively applied in the history setting period;
The adjustment module 13, for being worked as according to the frequency of use respectively applied in the history setting period with described The comparison result of the frequency of use respectively applied is adjusted application management sequence in the preceding setting period, is adjusted Application management sequence afterwards.
In this way, by setting the frequency of use respectively applied and the current setting period in the period according to the history The comparison result of the interior frequency of use respectively applied is adjusted application management sequence, realizes application management sequence self Study and maintenance, can be improved the accuracy of application management sequence, further increase the usage experience of user.
In another embodiment, the acquisition module 10 can be also used for obtaining current residual electricity and currently available interior It deposits;
The processing module 12 can be also used for according to the current residual electricity and the foreground application being currently up operation When need the required memory that occupies to determine memory cleaning threshold;
The processing module 12, can also be specifically used for:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines to need to clear up and answer With.
In the needs required memory occupied and the fixed coefficient of setting determine when being run by the foreground application being currently up Cleaning threshold is deposited, calculating process is simple, and speed is fast.
In another embodiment, the processing module 12, can also be specifically used for:
Memory assurance coefficient, the memory assurance coefficient and current residual electricity are determined according to the current residual electricity Negative correlation between amount;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, Determine memory cleaning threshold.
The required memory for needing to occupy when in this way, being run according to the current residual electricity and the foreground application being currently up Determine memory cleaning threshold, not only mode is flexible, but also can effectively extend the cruise duration of terminal.
In one embodiment, the processing module 12, can also be specifically used for:
Sequence according to application management sequence by application cleaning priority from high to low, is answered from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold and the currently available memory are unsatisfactory for institute State setting condition.
In this way, pressing the sequence of the cleaning priority of application from high to low successively to current according to application management sequence Running background application is closed, that is, discharges pent running background using occupied memory, until the memory is cleared up Threshold value and the currently available memory are unsatisfactory for the setting condition, not only realize the automatic management to terminal memory source, Ensure that terminal has the free memory for being able to maintain that the foreground application operation being currently up is smooth, and also avoids because clearing up More running backgrounds is applied and user is caused to generate the operation of frequent starting to the higher application of frequency of use, and the money of terminal is saved Source consumption.
In another embodiment, the processing module 12, can also be specifically used for:
When detecting that satisfaction or less applies at least one of cleaning condition, it is determined that need to clear up application, it is described to apply clearly Manage bar part include: current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, it is current after The required memory for needing to occupy when the quantity of platform operation application is greater than setting amount threshold, the foreground application operation being currently up is big In memory cleaning threshold.
In this way, determining the need for cleaning application according to the factor of terminal various aspects, mode is flexibly, simply.
The embodiment of the invention provides a kind of terminals, as shown in fig. 7, the terminal includes: at least one processor 310 and uses In the memory 311 for the computer program that storage can be run on processor 310;Wherein, the processor 310 illustrated in Fig. 7 The number for being not intended to refer to processor 310 is one, is only used for the position pass for referring to processor 310 with respect to other devices System, in practical applications, the number of processor 310 can be one or more;Equally, the memory 311 illustrated in Fig. 7 is also Same meaning is only used for referring to positional relationship of the memory 311 with respect to other devices, in practical applications, memory 311 Number can for one or more.
Wherein, the processor 310 is for executing following steps when running the computer program:
It needs to occupy when obtaining the frequency of use respectively applied in the current setting period and each application operation required Memory;
According to the frequency of use respectively applied and the required memory, the application management row respectively applied is determined Sequence;
It determines and needs to clear up in application, being determined from current running background application to clear according to application management sequence It ought to use, and the application for clearance was cleared up.
In one embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
In another embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
Obtain the frequency of use respectively applied in the history setting period;
According to the history set in the period in the frequency of use respectively applied and the current setting period it is described respectively The comparison result of the frequency of use of application is adjusted application management sequence, obtains the application management row adjusted Sequence.
In one embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
Obtain current residual electricity and currently available memory;
The required memory for needing to occupy when according to the current residual electricity and the foreground application being currently up operation determines Memory cleaning threshold;
The determining needs clear up application, comprising:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines to need to clear up and answer With.
In another embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
Memory assurance coefficient, the memory assurance coefficient and current residual electricity are determined according to the current residual electricity Negative correlation between amount;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, Determine memory cleaning threshold.
In one embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
Sequence according to application management sequence by application cleaning priority from high to low, is answered from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold and the currently available memory are unsatisfactory for institute State setting condition.
In another embodiment, when the processor 310 is also used to run the computer program, following steps are executed:
When detecting that satisfaction or less applies at least one of cleaning condition, it is determined that need to clear up application, it is described to apply clearly Manage bar part include: current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, it is current after The required memory for needing to occupy when the quantity of platform operation application is greater than setting amount threshold, the foreground application operation being currently up is big In memory cleaning threshold.
The terminal further include: at least one network interface 312.Various components in the terminal pass through 313 coupling of bus system It is combined.It is understood that bus system 313 is for realizing the connection communication between these components.It includes number that bus system 313, which is removed, It further include power bus, control bus and status signal bus in addition except bus.But for the sake of clear explanation, in Fig. 7 Various buses are all designated as bus system 313.
Wherein, memory 311 can be volatile memory or nonvolatile memory, may also comprise volatibility and Fei Yi Both the property lost memories.Wherein, nonvolatile memory can be read-only memory (ROM, Read Only Memory), can compile Journey read-only memory (PROM, Programmable Read-Only Memory), Erasable Programmable Read Only Memory EPROM (EPROM, Erasable Programmable Read-Only Memory), electrically erasable programmable read-only memory The storage of (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access Device (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface are deposited Reservoir, CD or CD-ROM (CD-ROM, Compact Disc Read-Only Memory);Magnetic surface storage can be Magnetic disk storage or magnetic tape storage.Volatile memory can be random access memory (RAM, Random Access Memory), it is used as External Cache.By exemplary but be not restricted explanation, the RAM of many forms is available, such as Static random access memory (SRAM, Static Random Access Memory), synchronous static random access memory (SSRAM, Synchronous Static Random Access Memory), dynamic random access memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), double data speed synchronous dynamic RAM (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced synchronous dynamic random Access memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), synchronized links Dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), direct rambus Random access memory (DRRAM, Direct Rambus Random Access Memory).Description of the embodiment of the present invention is deposited Reservoir 311 is intended to include but is not limited to the memory of these and any other suitable type.
Memory 311 in the embodiment of the present invention is for storing various types of data to support the operation of terminal.These The example of data includes: any computer program for operating at the terminal, such as operating system and application program;Connection number According to;Telephone book data;Message;Picture;Video etc..Wherein, operating system includes various system programs, such as ccf layer, core Library layer, driving layer etc., for realizing various basic businesses and the hardware based task of processing.Application program may include various Application program, such as media player (Media Player), browser (Browser) etc., for realizing various applied business. Here, realize that the program of present invention method may include in the application.
The present embodiment additionally provides a kind of computer storage medium, for example including the memory for being stored with computer program 311, above-mentioned computer program can be executed by the processor 310 in terminal, to complete step described in preceding method.Computer storage Medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM Equal memories;Be also possible to include one of above-mentioned memory or any combination various equipment, such as mobile phone, computer, flat Panel device, personal digital assistant etc..
A kind of computer storage medium is stored with computer program, the computer journey in the computer storage medium When being run by processor, following steps are executed:
It needs to occupy when obtaining the frequency of use respectively applied in the current setting period and each application operation required Memory;
According to the frequency of use respectively applied and the required memory, the application management row respectively applied is determined Sequence;
It determines and needs to clear up in application, being determined from current running background application to clear according to application management sequence It ought to use, and the application for clearance was cleared up.
In one embodiment, it when the computer program is run by processor, also executes the following steps:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed in It deposits as the second sequence reference index, according to the row that frequency of use memory needed for descending and described is ascending Sequence rule is ranked up each application, obtains the application management sequence of the cleaning priority respectively applied from high to low.
In another embodiment, it when the computer program is run by processor, also executes the following steps:
Obtain the frequency of use respectively applied in the history setting period;
According to the history set in the period in the frequency of use respectively applied and the current setting period it is described respectively The comparison result of the frequency of use of application is adjusted application management sequence, obtains the application management row adjusted Sequence.
In one embodiment, it when the computer program is run by processor, also executes the following steps:
Obtain current residual electricity and currently available memory;
The required memory for needing to occupy when according to the current residual electricity and the foreground application being currently up operation determines Memory cleaning threshold;
The determining needs clear up application, comprising:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines to need to clear up and answer With.
In another embodiment, it when the computer program is run by processor, also executes the following steps:
Memory assurance coefficient, the memory assurance coefficient and current residual electricity are determined according to the current residual electricity Negative correlation between amount;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, Determine memory cleaning threshold.
In one embodiment, it when the computer program is run by processor, also executes the following steps:
Sequence according to application management sequence by application cleaning priority from high to low, is answered from current running background Successively determine that application for clearance is closed in, until the memory cleaning threshold and the currently available memory are unsatisfactory for institute State setting condition.
In another embodiment, it when the computer program is run by processor, also executes the following steps:
When detecting that satisfaction or less applies at least one of cleaning condition, it is determined that need to clear up application, it is described to apply clearly Manage bar part include: current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, it is current after The required memory for needing to occupy when the quantity of platform operation application is greater than setting amount threshold, the foreground application operation being currently up is big In memory cleaning threshold.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Protection scope of the present invention should be with the scope of protection of the claims with standard.

Claims (10)

1. a kind of application management method, which is characterized in that the described method includes:
Obtain the required memory for needing to occupy when the frequency of use respectively applied in the current setting period and each application operation;
According to the frequency of use respectively applied and the required memory, the application management sequence respectively applied is determined;
It determines and needs to clear up in application, determining for clearance answer from current running background application according to application management sequence With, and the application for clearance is cleared up.
2. the method according to claim 1, wherein described according to the frequency of use respectively applied and institute Required memory is stated, determines the application management sequence respectively applied, comprising:
By it is described respectively apply described in use frequency as the first sequence reference index, it is described respectively apply it is described needed for memory make For the second sequence reference index, according to frequency of use memory needed for descending and described, ascending sequence is advised Then each application is ranked up, obtains the application management sequence of the cleaning priority respectively applied from high to low.
3. according to the method described in claim 2, it is characterized in that, described according to the frequency of use respectively applied and institute Memory is needed, after determining that the application management respectively applied is sorted, further includes:
Obtain the frequency of use respectively applied in the history setting period;
The frequency of use respectively applied and each application in the current setting period in the period are set according to the history The comparison result of frequency of use application management sequence is adjusted, obtain application management sequence adjusted.
4. the method according to claim 1, wherein the determining needs are cleared up before application, further includes:
Obtain current residual electricity and currently available memory;
The required memory occupied is needed to determine memory when according to the current residual electricity and the foreground application being currently up operation Cleaning threshold;
The determining needs clear up application, comprising:
When meeting setting condition corresponding to the memory cleaning threshold and the currently available memory, determines and need to clear up application.
5. according to the method described in claim 4, it is characterized in that, described according to the current residual electricity and be currently up The required memory occupied is needed to determine memory cleaning threshold when foreground application is run, comprising:
Determine memory assurance coefficient according to the current residual electricity, the memory assurance coefficient and the current residual electricity it Between negative correlation;
The required memory and the memory assurance coefficient for needing to occupy when according to the foreground application operation being currently up, determine Memory cleaning threshold.
6. method according to claim 4 or 5, which is characterized in that described to be sorted according to the application management from current Application for clearance is determined in running background application, and the application for clearance is cleared up, comprising:
Sequence according to application management sequence by the cleaning priority applied from high to low, from current running background application In successively determine that application for clearance is closed, until the memory cleaning threshold and the currently available memory be unsatisfactory for it is described Setting condition.
7. the method according to claim 1, wherein the determining needs clear up application, comprising:
When detecting satisfaction or less using at least one of cleaning condition, it is determined that need to clear up application, the application cleaning item Part includes: the backstage fortune that current residual electricity is less than setting power threshold, currently available memory is less than set memory threshold value, current In the required memory for needing to occupy when the quantity of row application is greater than setting amount threshold, the foreground application operation being currently up is greater than Deposit cleaning threshold.
8. a kind of application management device, which is characterized in that described device includes: to obtain module, sorting module and processing module;Its In,
The acquisition module needs when for obtaining the frequency of use respectively applied in the current setting period and each application operation The required memory to be occupied;
The sorting module described is respectively answered for determining according to the frequency of use respectively applied and the required memory Application management sequence;
The processing module needs to clear up in application, being sorted according to the application management from current running background for determining Application for clearance is determined in, and the application for clearance is cleared up.
9. a kind of terminal, which is characterized in that the terminal include processor and by store can run on a processor based on The memory of calculation machine program;Wherein,
When the processor is used to run the computer program, application management side described in any one of perform claim requirement 1 to 7 The step of method.
10. a kind of computer storage medium, which is characterized in that be stored with computer program, institute in the computer storage medium State the step of realizing application management method described in any one of claims 1 to 7 when computer program is executed by processor.
CN201810497651.4A 2018-05-22 2018-05-22 A kind of application management method, device, terminal and computer storage medium Pending CN110515721A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810497651.4A CN110515721A (en) 2018-05-22 2018-05-22 A kind of application management method, device, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810497651.4A CN110515721A (en) 2018-05-22 2018-05-22 A kind of application management method, device, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN110515721A true CN110515721A (en) 2019-11-29

Family

ID=68621817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810497651.4A Pending CN110515721A (en) 2018-05-22 2018-05-22 A kind of application management method, device, terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN110515721A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111383626A (en) * 2020-03-17 2020-07-07 北京百度网讯科技有限公司 Vehicle-mounted voice interaction method, device, equipment and medium
CN112527407A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium
CN113076193A (en) * 2021-03-26 2021-07-06 北京车和家信息技术有限公司 Memory optimization method and device and computer readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111383626A (en) * 2020-03-17 2020-07-07 北京百度网讯科技有限公司 Vehicle-mounted voice interaction method, device, equipment and medium
CN112527407A (en) * 2020-12-07 2021-03-19 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium
CN112527407B (en) * 2020-12-07 2023-09-22 深圳创维-Rgb电子有限公司 Application starting method, terminal and computer readable storage medium
CN113076193A (en) * 2021-03-26 2021-07-06 北京车和家信息技术有限公司 Memory optimization method and device and computer readable storage medium
CN113076193B (en) * 2021-03-26 2024-03-26 北京车和家信息技术有限公司 Memory optimization method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN102053859B (en) Method and device for processing bulk data
CN110515721A (en) A kind of application management method, device, terminal and computer storage medium
CN104484282B (en) A kind of method for recovering internal storage and device
CN106445664A (en) Application program management method and device
CN107968810A (en) A kind of resource regulating method of server cluster, device and system
CN111414070B (en) Case power consumption management method and system, electronic device and storage medium
CN108428042A (en) The automatic division method of electronic device, credit card collection case and storage medium
CN107295090A (en) A kind of method and apparatus of scheduling of resource
CN100571316C (en) Quick constant expense computing system based on memory file and real-time synchronization technique
CN110138688A (en) Dynamic adjusts method, apparatus, equipment and the readable storage medium storing program for executing of business interface
CN108196959A (en) The method for managing resource and device of ETL system
CN107895017A (en) A kind of electric energy quality monitoring system construction method based on big data technology
CN109428950B (en) Automatic scheduling method and system for IP address pool
CN107943423A (en) The management method and computer-readable recording medium of storage resource in cloud system
CN110245021A (en) EMS memory management process, system, electronic equipment and the storage medium of mobile terminal
CN114218036A (en) Resource allocation method and device
CN111988388B (en) Flow distribution method, device, electronic equipment and storage medium
CN113191546A (en) Resource allocation prediction method, resource management device and storage medium
CN108646987A (en) A kind of management method of file volume, device, storage medium and terminal
CN117097620A (en) Terminal resource intelligent supervision system and method based on big data
CN110166964A (en) A kind of determination method and device of base station to be expanded
CN113780625B (en) User electricity charge prediction method, system, terminal and storage medium
CN112527490A (en) Node resource control method and device, electronic equipment and storage medium
CN116204302A (en) Equipment scheduling method based on K8S An Zhuoyun mobile phone
CN106993008A (en) A kind of resource regulating method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination