CN104572264B - The method and mobile terminal device of control application operation - Google Patents
The method and mobile terminal device of control application operation Download PDFInfo
- Publication number
- CN104572264B CN104572264B CN201410856346.1A CN201410856346A CN104572264B CN 104572264 B CN104572264 B CN 104572264B CN 201410856346 A CN201410856346 A CN 201410856346A CN 104572264 B CN104572264 B CN 104572264B
- Authority
- CN
- China
- Prior art keywords
- application
- terminal device
- mobile terminal
- memory headroom
- priority
- 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.)
- Active
Links
Abstract
The embodiment of the invention discloses a kind of method for controlling application to run and mobile terminal device.A kind of method for controlling application operation, it may include:Mobile terminal device receives triggering operation application i instruction;Determine the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough idle reserved memory headrooms to run the application i;The application i is run in the reserved memory headroom of the mobile terminal device, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.The technical scheme of the embodiment of the present invention is conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
Description
Technical field
The present invention relates to network technique field, and in particular to a kind of method and mobile terminal for controlling application operation is set
It is standby.
Background technology
With the continuous reinforcement of mobile terminal device function, the mobile terminal device such as smart mobile phone has become people
Standard configuration electronic equipment in daily life.Go to work, travel, going on business and seeming all to be unable to do without mobile terminal in living scene at home etc.
Equipment.
Sometimes, when mobile terminal device runs more application simultaneously, because memory headroom is limited, it may cause some
High-priority applications (such as core application) smooth can not be run, and high-priority applications are the applications deeply concerned of user's emphasis, such as
Really some high-priority applications can not more smooth operation may seriously hinder the completion of user's key business, and then influence to use
Experience at family.
The content of the invention
The embodiment of the present invention provides the method and mobile terminal device of control application operation, to ensure mobile terminal as far as possible
The smooth operation of high-priority applications in equipment.
First aspect of the embodiment of the present invention provides a kind of method for controlling application operation, it may include:
Mobile terminal device receives triggering operation application i instruction;
The mobile terminal device determines the priority of the application i;
If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough free time
Reserved memory headroom run the application i;The application i is run in the reserved memory headroom of the mobile terminal device, its
In, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
Second aspect of the embodiment of the present invention provides a kind of mobile terminal device, including:
Receiving unit, the instruction for receiving triggering operation application i;
Determining unit, the priority for determining the application i;
Control unit is run, for if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device
Currently there are enough idle reserved memory headrooms to run the application i;In the reserved memory headroom of the mobile terminal device
The application i is run, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved internal memory is empty
Between.
Therefore, in the scheme of the embodiment of the present invention, mobile terminal device is receiving triggering operation application i instruction
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value,
And the mobile terminal device currently has enough idle reserved memory headrooms to run the application i;In the mobile terminal
The reserved memory headroom of equipment runs the application i, the memory headroom of the mobile terminal device include reserved memory headroom and
Unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, is so had
Beneficial to the smooth operation for ensureing high-priority applications in mobile terminal device as far as possible.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of method for controlling application to run provided in an embodiment of the present invention;
Fig. 2-b are the schematic flow sheets of the method for another control application operation provided in an embodiment of the present invention;
Fig. 2-a are a kind of corresponding relation schematic diagrames applied between priority provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another control application operation provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for another control application operation provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic diagram of mobile terminal device provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of another mobile terminal device provided in an embodiment of the present invention.
Embodiment
The embodiment of the present invention provides the method and mobile terminal device of control application operation, to ensure mobile terminal as far as possible
The smooth operation of high-priority applications in equipment.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model that the present invention is protected
Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing and "
Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it
Any deformation, it is intended that covering non-exclusive is included.For example contain the process of series of steps or unit, method, be
The step of system, product or equipment are not limited to list or unit, but the step of alternatively also include not listing or list
Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
A kind of one embodiment for the method for controlling application to run of the present invention, wherein, a kind of method for controlling application operation
Including:Mobile terminal device receives triggering operation application i instruction;The mobile terminal device determines that the application i's is preferential
Level;If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough idle reserved
Memory headroom runs the application i;The application i is run in the reserved memory headroom of the mobile terminal device, wherein, it is described
The memory headroom of mobile terminal device includes reserved memory headroom and unreserved memory headroom.
Referring first to Fig. 1, a kind of flow of the method for control application operation that Fig. 1 provides for one embodiment of the present of invention
Schematic diagram.Wherein, as shown in figure 1, the method for the control application operation that one embodiment of the present of invention is provided can include:
101st, mobile terminal device receives triggering operation application i instruction.
Wherein, above-mentioned mobile terminal device for example can be mobile phone, tablet personal computer, notebook computer, palm PC, movement
Internet device (MID, mobile internet device), wearable device or other kinds of terminal device.
Wherein, can be for example QQ, wechat, map, alarm clock, photograph, music player or game application etc. using i.
102nd, the mobile terminal device determines the priority of the application i.
Wherein, the priority of each application in the mobile terminal device can be previously set by user.Or the movement
The priority of each application in terminal device can also be determined by the mobile terminal device according to preset strategy, for example, system
The highest priority of application, the priority of game application is minimum, other application priority is placed in the middle.Certainly, implementation of the invention
The determination mode of the priority of each application in mobile terminal device is not limited in example.
For example, the priority of each application in the mobile terminal device is recordable in configuration file, inquiry can be passed through
Configuration file is low with the presence or absence of priority in the application being currently running in the memory headroom of the mobile terminal device to determine
In the application of the application i.
103rd, if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough
Idle reserved memory headroom runs the application i;The application is run in the reserved memory headroom of the mobile terminal device
I, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
Reserved memory headroom is mainly the memory headroom reserved higher than the application of threshold value to priority, therefore reserved internal memory is empty
Between application mainly by priority higher than threshold value run occupancy.And unreserved memory headroom can be higher than threshold with running priority level
The application of value, or unreserved memory headroom can also be less than the application of threshold value with running priority level.
The more preferential operation of the higher application of priority (priority in committed memory space is also higher).
Wherein, above-mentioned threshold value can be set according to concrete application, it is assumed for example that there are 5 priority (from high to low successively
For A, B, C, D and E), above-mentioned threshold value can for example be equal to B, C, D or E, and other priority scenes are by that analogy.
Therefore, in the scheme of the present embodiment, mobile terminal device receive triggering operation application i instruction it
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and
The mobile terminal device currently has enough idle reserved memory headrooms to run the application i;Set in the mobile terminal
Standby reserved memory headroom runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom
With unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, so
Be conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
Optionally, in a kind of possible embodiment of the present invention, the mobile terminal device determines that the application i's is excellent
It may also include before first level:It is enough idle non-that the mobile terminal device determines whether the mobile terminal device currently has
Reserved memory headroom runs the application i;Wherein, the mobile terminal device determines that the priority of the application i includes:Institute
State mobile terminal device and determine that the mobile terminal device is described currently without enough idle unreserved memory headroom operations
In the case of using i, the mobile terminal device determines the priority of the application i.
Optionally, in a kind of possible embodiment of the present invention, methods described also includes:In the pre- of mobile terminal device
Stay in the case that the use state of memory headroom meets default Status Change condition, the mobile terminal device by its part or
All reserved memory headroom is changed to unreserved memory headroom.
Wherein, changed the mechanism by introducing reserved memory headroom to unreserved memory headroom, be conducive to improving memory headroom
Service efficiency.
Optionally, in a kind of possible embodiment of the present invention, methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has
Enough idle unreserved memory headrooms run the application i;Transported in the unreserved memory headroom of the mobile terminal device
The row application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
Optionally, in a kind of possible embodiment of the present invention, methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device does not have currently
There are enough idle unreserved memory headrooms to run the application i;The mobile terminal device determination is currently running in described
It is less than the application of the application i in application in the unreserved memory headroom of mobile terminal device with the presence or absence of priority.
If it is determined that existing among the application being currently running in the unreserved memory headroom of the mobile terminal device excellent
K application of the first level less than the application i, the k1 application that the mobile terminal device is closed among the K application;If closing
Close after the k1 application so that the mobile terminal device currently there are enough idle unreserved memory headroom operation institutes
State and apply i, the mobile terminal device runs the application i, the K in the unreserved memory headroom of the mobile terminal device
With the k1 be positive integer and the k1 is less than or equal to the K.
Wherein, it is relatively low by closing priority when memory headroom is using anxiety due to carrying out priority division to application
Application, be so conducive to ensureing as far as possible the smooth operation that higher priority in mobile terminal device is applied.
Optionally, in a kind of possible embodiment of the present invention, methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device does not have currently
There are enough idle unreserved memory headrooms to run the application i;The mobile terminal device determination is currently running in described
It is less than the application of the application i in application in the unreserved memory headroom of mobile terminal device with the presence or absence of priority;
If it is determined that it is low to there is priority among the application being currently running in the memory headroom of the mobile terminal device
It is non-shared by the k1 application that the mobile terminal device reduces among the K application in the K application of the application i
Reserved memory headroom;If causing the mobile terminal device after reducing the shared unreserved memory headroom of the k1 application
Currently there are enough idle unreserved memory headrooms to run the application i, in the unreserved internal memory of the mobile terminal device
I is applied described in space motion, wherein, the K and the k1 are positive integer and the k1 is less than or equal to the K.
Wherein, it is relatively low by reducing priority when memory headroom is using anxiety due to carrying out priority division to application
The shared memory headroom of application, be conducive to ensureing as far as possible the smooth operation that higher priority is applied in mobile terminal device.
Optionally, in a kind of possible embodiment of the present invention, any 1 in the k1 application apply it is preferential
The priority that level can be applied below or equal to any 1 in described K application in addition to k1 is applied.Or the k1
Using any k1 application in can also being applied for described K.
Optionally, in a kind of possible embodiment of the present invention, any 1 in the k2 application apply it is preferential
The priority that level can be applied below or equal to any 1 in described K application in addition to k2 is applied.Or the k2
Individual application also can be any k2 application in described K application.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
The mobile terminal device is caused currently there are enough idle unreserved memory headrooms to run the application after memory headroom
I, is ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently to have enough free time
Unreserved memory headroom run the prompting message of the application i.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
Cause the current unreserved memory headroom operation still without enough idle of the mobile terminal device is described should after memory headroom
With i, ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently without enough
Idle unreserved memory headroom runs the prompting message of the application i.
It is appreciated that by prompt message, advantageously allowing the busy or idle condition in the apparent current memory space of user.
In actual applications, for pointing out the mobile terminal device currently without enough idle memory headroom operation institutes
The prompting message for stating application i can be the message of text message, animated message or breath light blinking message or other forms.And use
Can also in the prompting message for pointing out the mobile terminal device currently to have enough idle memory headroom operation application i
It is the message of text message, animated message or breath light blinking message or other forms.Certainly, for pointing out the mobile terminal
Equipment runs the prompting message of the application i currently without enough idle memory headrooms, different from for pointing out the movement
The prompting message that terminal device currently has enough idle memory headrooms to run the application i can also be text message.
For ease of being better understood from and implementing the such scheme of the embodiment of the present invention, with reference to some specific applied fields
Scape is illustrated.
Referring to Fig. 2-b, a kind of stream of the method for control application operation that Fig. 2-b provide for an alternative embodiment of the invention
Journey schematic diagram.Wherein, as shown in Fig. 2-b, the method for the control application operation that an alternative embodiment of the invention is provided can be wrapped
Include:
201st, mobile terminal device receives triggering operation application i instruction.
Wherein, above-mentioned mobile terminal device for example can be mobile phone, tablet personal computer, notebook computer, palm PC, movement
Internet device, wearable device or other kinds of terminal device.
Wherein, can be for example QQ, wechat, map, alarm clock, photograph, music player or game application etc. using i.
202nd, the mobile terminal device determines the priority of the application i.
If it is determined that the priority of the application i is higher than threshold value, step 203 is performed.
If it is determined that the priority of the application i is less than or equal to the threshold value, step 205 is performed.
Wherein, the priority of each application in the mobile terminal device can be previously set by user.Or the movement
The priority of each application in terminal device can also be determined by the mobile terminal device according to preset strategy, for example, system
The highest priority of application, the priority of game application is minimum, other application priority is placed in the middle.Certainly, implementation of the invention
The determination mode of the priority of each application in mobile terminal device is not limited in example.
For example, the priority of each application in the mobile terminal device is recordable in configuration file, inquiry can be passed through
Configuration file is low with the presence or absence of priority in the application being currently running in the memory headroom of the mobile terminal device to determine
In the application of the application i.Wherein, such as a kind of exemplified possible corresponding relations between application and priority of Fig. 2-a.
203rd, if it is determined that the priority of the application i is higher than threshold value, the mobile terminal device has been determined whether
Enough idle reserved memory headrooms run the application i.
If so, then performing step 204.
If it is not, then performing step 205.
204th, the application i is run in the reserved memory headroom of the mobile terminal device.
205th, to determine whether the mobile terminal device currently has enough idle unreserved for the mobile terminal device
Memory headroom runs the application i.
If so, then performing step 209.
If it is not, then performing step 206.
206th, the mobile terminal device determines to be currently running in the unreserved memory headroom of the mobile terminal device
Application in the presence or absence of priority be less than the application i application.
If so, then performing step 207.
If it is not, then prompting can not run the application i.
207th, if it is determined that existing among the application being currently running in the memory headroom of the mobile terminal device preferential
K application of the level less than the application i, k1 application among the mobile terminal device reduction K application is shared
Unreserved memory headroom.
Wherein, the K and k1 is positive integer and the k1 is less than or equal to the K.
Wherein, the K can for example be equal to 1,2,3,5,6,11,13,20 or other values.
Wherein, the k1 can for example be equal to 1,2,3,5,6,11,13,19 or other values.
208th, the mobile terminal device determines that the shared unreserved memory headroom of the reduction k1 application is afterwards
It is no to cause the mobile terminal device currently to there are enough idle unreserved memory headrooms to run the application i.
If so, then performing step 209.
If it is not, then prompting can not run the application i.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
The mobile terminal device is caused currently there are enough idle unreserved memory headrooms to run the application after memory headroom
I, is ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently to have enough free time
Unreserved memory headroom run the prompting message of the application i.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
Cause the current unreserved memory headroom operation still without enough idle of the mobile terminal device is described should after memory headroom
With i, ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently without enough
Idle unreserved memory headroom runs the prompting message of the application i.
It is appreciated that by prompt message, advantageously allowing the busy or idle condition in the apparent current memory space of user.
209th, the application i is run in the unreserved memory headroom of the mobile terminal device.
Therefore, in the scheme of the present embodiment, mobile terminal device receive triggering operation application i instruction it
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and
The mobile terminal device currently has enough idle reserved memory headrooms to run the application i;Set in the mobile terminal
Standby reserved memory headroom runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom
With unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, so
Be conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
Wherein, it is relatively low by reducing priority when memory headroom is using anxiety due to carrying out priority division to application
The shared memory headroom of application, be conducive to being further ensured that the smooth fortune that higher priority is applied in mobile terminal device
OK.
Referring to Fig. 3, a kind of flow of the method for control application operation that Fig. 3 provides for an alternative embodiment of the invention is shown
It is intended to.Wherein, as shown in figure 3, the method for the control application operation that an alternative embodiment of the invention is provided can include:
301st, mobile terminal device receives triggering operation application i instruction.
Wherein, above-mentioned mobile terminal device for example can be mobile phone, tablet personal computer, notebook computer, palm PC, movement
Internet device, wearable device or other kinds of terminal device.
Wherein, can be for example QQ, wechat, map, alarm clock, photograph, music player or game application etc. using i.
302nd, to determine whether the mobile terminal device currently has enough idle unreserved for the mobile terminal device
Memory headroom runs the application i.
If so, then performing step 309.
If it is not, then performing step 303.
303rd, the mobile terminal device determines the priority of the application i.
If it is determined that the priority of the application i is higher than threshold value, step 304 is performed.
If it is determined that the priority of the application i is less than or equal to the threshold value, step 306 is performed.
Wherein, the priority of each application in the mobile terminal device can be previously set by user.Or the movement
The priority of each application in terminal device can also be determined by the mobile terminal device according to preset strategy, for example, system
The highest priority of application, the priority of game application is minimum, other application priority is placed in the middle.Certainly, implementation of the invention
The determination mode of the priority of each application in mobile terminal device is not limited in example.
For example, the priority of each application in the mobile terminal device is recordable in configuration file, inquiry can be passed through
Configuration file is low with the presence or absence of priority in the application being currently running in the memory headroom of the mobile terminal device to determine
In the application of the application i.Wherein, such as a kind of exemplified possible corresponding relations between application and priority of Fig. 2-a.
304th, if it is determined that the priority of the application i is higher than threshold value, the mobile terminal device has been determined whether
Enough idle reserved memory headrooms run the application i.
If so, then performing step 305.
If it is not, then performing step 306.
305th, the application i is run in the reserved memory headroom of the mobile terminal device.
306th, the mobile terminal device determines to be currently running in the unreserved memory headroom of the mobile terminal device
Application in the presence or absence of priority be less than the application i application.
If so, then performing step 307.
If it is not, then prompting can not run the application i.
307th, if it is determined that existing among the application being currently running in the memory headroom of the mobile terminal device preferential
K application of the level less than the application i, k1 application among the mobile terminal device reduction K application is shared
Unreserved memory headroom.
Wherein, the K and k1 is positive integer and the k1 is less than or equal to the K.
Wherein, the K can for example be equal to 1,2,3,5,6,11,13,20 or other values.
Wherein, the k1 can for example be equal to 1,2,3,5,6,11,13,19 or other values.
308th, the mobile terminal device determines that the shared unreserved memory headroom of the reduction k1 application is afterwards
It is no to cause the mobile terminal device currently to there are enough idle unreserved memory headrooms to run the application i.
If so, then performing step 309.
If it is not, then prompting can not run the application i.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
The mobile terminal device is caused currently there are enough idle unreserved memory headrooms to run the application after memory headroom
I, is ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently to have enough free time
Unreserved memory headroom run the prompting message of the application i.
Optionally, in a kind of possible embodiment of the present invention, if reducing unreserved shared by the k1 application
Cause the current unreserved memory headroom operation still without enough idle of the mobile terminal device is described should after memory headroom
With i, ejected on the display interface of the mobile terminal device for pointing out the mobile terminal device currently without enough
Idle unreserved memory headroom runs the prompting message of the application i.
It is appreciated that by prompt message, advantageously allowing the busy or idle condition in the apparent current memory space of user.
309th, the application i is run in the unreserved memory headroom of the mobile terminal device.
Therefore, in the scheme of the present embodiment, mobile terminal device receive triggering operation application i instruction it
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and
The mobile terminal device currently has enough idle reserved memory headrooms to run the application i;Set in the mobile terminal
Standby reserved memory headroom runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom
With unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, so
Be conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
Wherein, it is relatively low by reducing priority when memory headroom is using anxiety due to carrying out priority division to application
The shared memory headroom of application, be conducive to being further ensured that the smooth fortune that higher priority is applied in mobile terminal device
OK.
Referring to Fig. 4, a kind of flow of the method for control application operation that Fig. 4 provides for an alternative embodiment of the invention is shown
It is intended to.Wherein, as shown in figure 4, the method for the control application operation that an alternative embodiment of the invention is provided can include:
401st, mobile terminal device receives triggering operation application i instruction.
Wherein, above-mentioned mobile terminal device for example can be mobile phone, tablet personal computer, notebook computer, palm PC, movement
Internet device, wearable device or other kinds of terminal device.
Wherein, can be for example QQ, wechat, map, alarm clock, photograph, music player or game application etc. using i.
402nd, to determine whether the mobile terminal device currently has enough idle unreserved for the mobile terminal device
Memory headroom runs the application i.
If so, then performing step 409.
If it is not, then performing step 403.
403rd, the mobile terminal device determines the priority of the application i.
If it is determined that the priority of the application i is higher than threshold value, step 404 is performed.
If it is determined that the priority of the application i is less than or equal to the threshold value, step 406 is performed.
Wherein, the priority of each application in the mobile terminal device can be previously set by user.Or the movement
The priority of each application in terminal device can also be determined by the mobile terminal device according to preset strategy, for example, system
The highest priority of application, the priority of game application is minimum, other application priority is placed in the middle.Certainly, implementation of the invention
The determination mode of the priority of each application in mobile terminal device is not limited in example.
For example, the priority of each application in the mobile terminal device is recordable in configuration file, inquiry can be passed through
Configuration file is low with the presence or absence of priority in the application being currently running in the memory headroom of the mobile terminal device to determine
In the application of the application i.Wherein, such as a kind of exemplified possible corresponding relations between application and priority of Fig. 2-a.
404th, if it is determined that the priority of the application i is higher than threshold value, the mobile terminal device has been determined whether
Enough idle reserved memory headrooms run the application i.
If so, then performing step 405.If it is not, then performing step 406.
405th, the application i is run in the reserved memory headroom of the mobile terminal device.
406th, the mobile terminal device determines to be currently running in the unreserved memory headroom of the mobile terminal device
Application in the presence or absence of priority be less than the application i application.
If so, then performing step 407.
If it is not, then prompting can not run the application i.
407th, if it is determined that being deposited among the application being currently running in the unreserved memory headroom of the mobile terminal device
In K application of the priority less than the application i, the k1 application that the mobile terminal device is closed among the K application.
Wherein, the K and k1 is positive integer and the k1 is less than or equal to the K.
Wherein, the K can for example be equal to 1,2,3,5,6,11,13,20 or other values.
Wherein, the k1 can for example be equal to 1,2,3,5,6,11,13,19 or other values.
408th, whether the mobile terminal device determines to close after the k1 application so that the mobile terminal device
Currently there are enough idle unreserved memory headrooms to run the application i.
If so, then performing step 409.
If it is not, then prompting can not run the application i.
Optionally, in a kind of possible embodiment of the present invention, if causing described move after closing the k1 application
Dynamic terminal device currently has enough idle unreserved memory headrooms to run the application i, in the mobile terminal device
Ejected on display interface for pointing out the mobile terminal device currently there are enough idle unreserved memory headrooms to run institute
State the prompting message using i.
Optionally, in a kind of possible embodiment of the invention, if causing the movement after closing the k1 application
Terminal device is current still to run the application i without enough idle unreserved memory headrooms, in the mobile terminal device
Ejected on display interface for pointing out the mobile terminal device to be run currently without enough idle unreserved memory headrooms
The prompting message of the application i.
It is appreciated that by prompt message, advantageously allowing the busy or idle condition in the apparent current memory space of user.
409th, the application i is run in the unreserved memory headroom of the mobile terminal device.
In other possible embodiments of the present invention, if it is determined that the priority of the application i is high in step 404
In threshold value, the mobile terminal device if it is determined that running the application i, institute currently without enough idle reserved memory headrooms
The priority being currently running in the reserved memory headroom fortune can also be closed less than at least the one of application i by stating mobile terminal device
Individual application, or, it is low that the mobile terminal device can also reduce the priority being currently running in the reserved memory headroom fortune
At least one in application i applies shared memory headroom, and the application is run to vacate some reserved memory headrooms
i。
Therefore, in the scheme of the present embodiment, mobile terminal device receive triggering operation application i instruction it
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and
The mobile terminal device currently has enough idle reserved memory headrooms to run the application i;Set in the mobile terminal
Standby reserved memory headroom runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom
With unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, so
Be conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
Wherein, it is relatively low by closing priority when memory headroom is using anxiety due to carrying out priority division to application
Application, vacate memory headroom, be conducive to being further ensured that the smooth operation that higher priority in mobile terminal device is applied.
Referring to Fig. 5, a kind of mobile terminal device 500 provided in an embodiment of the present invention, it may include:
Receiving unit 510, the instruction for receiving triggering operation application i.
Determining unit 520, the priority for determining the application i.
Control unit 530 is run, for if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal
Equipment currently has enough idle reserved memory headrooms to run the application i;In the reserved internal memory of the mobile terminal device
I is applied described in space motion, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved internal memory
Space.
Optionally, in some possible embodiments of the present invention, the determining unit 520 is additionally operable to it is determined that described
Before i priority, determine whether the mobile terminal device currently has enough idle unreserved memory headroom fortune
The row application i;
Wherein, it is determined that in terms of the priority of the application i, the determining unit 520 is specifically for it is determined that described
In the case that mobile terminal device runs the application i currently without enough idle unreserved memory headrooms, it is determined that described
Using i priority.
Optionally, in some possible embodiments of the present invention,
The mobile terminal device also includes:
First adjustment unit, the use state for the reserved memory headroom in mobile terminal device meets default state
In the case of change condition, it is empty that its partly or entirely reserved memory headroom is changed to unreserved internal memory by the mobile terminal device
Between.
Optionally, in some possible embodiments of the present invention,
The operation control unit 530 is additionally operable to, however, it is determined that the priority for going out the application i is less than or equal to the threshold
Value, and the mobile terminal device currently has enough idle unreserved memory headrooms to run the application i, in the movement
The unreserved memory headroom of terminal device runs the application i, wherein, the memory headroom of the mobile terminal device includes reserving
Memory headroom and unreserved memory headroom.
Optionally, in some possible embodiments of the present invention,
The determining unit 520 is additionally operable to, however, it is determined that the priority for going out the application i is less than or equal to the threshold value, and
The mobile terminal device runs the application i currently without enough idle unreserved memory headrooms;It is determined that current operation
It is less than answering for the application i with the presence or absence of priority in application in the unreserved memory headroom of the mobile terminal device
With;
The mobile terminal device may also include:
Second adjustment unit, for if it is determined that being currently running in the unreserved memory headroom of the mobile terminal device
Application among there is less than K of application i application of priority, close described K apply among k1 apply;
The operation control unit 530 is additionally operable to, if causing the mobile terminal device after closing the k1 application
Currently there are enough idle unreserved memory headrooms to run the application i, in the unreserved internal memory of the mobile terminal device
Using i, the K and the k1 is positive integers and the k1 is less than or equal to the K described in space motion.
Optionally, in some possible embodiments of the present invention,
The determining unit 520 is additionally operable to, however, it is determined that the priority for going out the application i is less than or equal to the threshold value, and
The mobile terminal device runs the application i currently without enough idle unreserved memory headrooms;It is determined that current operation
It is less than answering for the application i with the presence or absence of priority in application in the unreserved memory headroom of the mobile terminal device
With;
The mobile terminal device may also include:
Second adjustment unit, for if it is determined that being currently running in the application in the memory headroom of the mobile terminal device
Among there is less than K of application i application of priority, described K of the mobile terminal device reduction apply among k1
Unreserved memory headroom shared by individual application;
It is described operation control unit 530 be additionally operable to, if reduce it is described k1 application shared by unreserved memory headroom it
Afterwards so that the mobile terminal device currently there are enough idle unreserved memory headrooms to run the application i, moved described
The unreserved memory headroom of dynamic terminal device runs the application i, wherein, the K and k1 is positive integer and the k1 is small
In or equal to the K.
It is understood that the function of each functional module of the mobile terminal device 500 of the present embodiment can be according to above-mentioned side
Method in method embodiment is implemented, and it implements the associated description that process is referred to above method embodiment, herein
Repeat no more.
Therefore, in the scheme of the present embodiment, mobile terminal device 500 is receiving triggering operation application i instruction
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value,
And the mobile terminal device currently has enough idle reserved memory headrooms to run the application i;In the mobile terminal
The reserved memory headroom of equipment runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved internal memory sky
Between and unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, this
Sample is conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
The structural representation for a kind of mobile terminal device that Fig. 6 provides for the present invention, as shown in fig. 6, the shifting of the present embodiment
Dynamic terminal device 600 includes at least one bus 601, at least one processor 602 being connected with bus 601 and and bus
601 at least one connected memory 603.
Wherein, processor 602 calls the code stored in memory 603 to receive triggering operation by bus 601
Using i instruction;Determine the priority of the application i;If it is determined that the priority of the application i is higher than threshold value, and the shifting
Dynamic terminal device currently has enough idle reserved memory headrooms to run the application i;In the pre- of the mobile terminal device
Memory headroom is stayed to run the application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and non-pre-
Stay memory headroom.
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to it is determined that the application i
Priority before, determine whether the mobile terminal device currently has enough idle unreserved memory headroom operations described
Using i;
Wherein, it is determined that in terms of the priority of the application i, the processor 602 is specifically for it is determined that described move
In the case that dynamic terminal device runs the application i currently without enough idle unreserved memory headrooms, it is determined that described should
With i priority.
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable in mobile terminal device
In the case that the use state of reserved memory headroom meets default Status Change condition, the mobile terminal device is by its part
Or all reserved memory headroom is changed to unreserved memory headroom.
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to if it is determined that the application
I priority is less than or equal to the threshold value, and the mobile terminal device currently has enough idle unreserved internal memories empty
Between run the application i, run the application i in the unreserved memory headroom of the mobile terminal device, wherein, the movement
The memory headroom of terminal device includes reserved memory headroom and unreserved memory headroom.
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to if it is determined that the application
I priority is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle unreserved internal memories
I is applied described in space motion;It is determined that being in the application being currently running in the unreserved memory headroom of the mobile terminal device
It is no to there is the application that priority is less than the application i;
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to if it is determined that current operation
There is the priority K less than the application i among application in the unreserved memory headroom of the mobile terminal device should
With the k1 application closed among the K application;If causing the mobile terminal device to work as after closing the k1 application
Before there are enough idle unreserved memory headrooms to run the application i, it is empty in the unreserved internal memory of the mobile terminal device
Between run the application i, the K and the k1 and be less than or equal to the K for positive integer and the k1.
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to if it is determined that the application
I priority is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle unreserved internal memories
I is applied described in space motion;It is determined that being in the application being currently running in the unreserved memory headroom of the mobile terminal device
It is no to there is the application that priority is less than the application i;
Optionally, in some possible embodiments of the present invention, processor 602 is additionally operable to if it is determined that current operation
There is K application of the priority less than the application i among application in the memory headroom of the mobile terminal device, it is described
The unreserved memory headroom shared by k1 application among the mobile terminal device reduction K application;If reducing the k1
Cause the mobile terminal device currently has enough idle unreserved after unreserved memory headroom shared by individual application
Memory headroom runs the application i, and the application i is run in the unreserved memory headroom of the mobile terminal device, wherein, institute
The K and k1 is stated for positive integer and the k1 is less than or equal to the K.
It is understood that the function of each functional module of the mobile terminal device 600 of the present embodiment can be according to above-mentioned side
Method in method embodiment is implemented, and it implements the associated description that process is referred to above method embodiment, herein
Repeat no more.
Therefore, in the scheme of the present embodiment, mobile terminal device 600 is receiving triggering operation application i instruction
Afterwards;The mobile terminal device determines the priority of the application i;If it is determined that the priority of the application i is higher than threshold value,
And the mobile terminal device currently has enough idle reserved memory headrooms to run the application i;In the mobile terminal
The reserved memory headroom of equipment runs the application i, wherein, the memory headroom of the mobile terminal device includes reserved internal memory sky
Between and unreserved memory headroom.Memory headroom is reserved due to carrying out priority division to application, and for the high application of priority, this
Sample is conducive to ensureing as far as possible the smooth operation of high-priority applications in mobile terminal device.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey
Sequence, the part or complete of the method including any control application operation described in the above method embodiment when program is performed
Portion's step.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, involved action and module is not necessarily of the invention
It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment
Point, it may refer to the associated description of other embodiment.
, can be by another way in several embodiments provided herein, it should be understood that disclosed device
Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit,
Can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can for personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or
Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes
Medium.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the scope of various embodiments of the present invention technical scheme.
Claims (25)
1. a kind of method for controlling application operation, it is characterised in that including:
Mobile terminal device receives triggering operation application i instruction;
The mobile terminal device determines the priority of the application i;
If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough idle pre-
Memory headroom is stayed to run the application i;The application i is run in the reserved memory headroom of the mobile terminal device, wherein, institute
Stating the memory headroom of mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, the mobile terminal device determines also to include before the priority of the application i:The mobile terminal device is determined
Whether the mobile terminal device currently has enough idle unreserved memory headrooms to run the application i;
Wherein, the mobile terminal device determines that the priority of the application i includes:Determined in the mobile terminal device described
In the case that mobile terminal device runs the application i currently without enough idle unreserved memory headrooms, the movement
Terminal device determines the priority of the application i.
2. according to the method described in claim 1, it is characterised in that
Methods described also includes:Meet default Status Change bar in the use state of the reserved memory headroom of mobile terminal device
In the case of part, its partly or entirely reserved memory headroom is changed to unreserved memory headroom by the mobile terminal device.
3. method according to claim 1 or 2, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has enough
Idle unreserved memory headroom run the application i;Institute is run in the unreserved memory headroom of the mobile terminal device
State and apply i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
4. method according to claim 3, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the unreserved memory headroom of the mobile terminal device
The K application less than the application i, the k1 application that the mobile terminal device is closed among the K application;If closing institute
Stating causes the mobile terminal device currently to have enough idle unreserved memory headroom operations are described to answer after k1 application
With i, the mobile terminal device runs the application i, the K and institute in the unreserved memory headroom of the mobile terminal device
K1 is stated for positive integer and the k1 is less than or equal to the K.
5. method according to claim 3, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the memory headroom of the mobile terminal device less than institute
State and apply K of i to apply, it is unreserved shared by k1 application among the mobile terminal device reduction K application
Memory headroom;If make it that the mobile terminal device is current after reducing the shared unreserved memory headroom of the k1 application
There are enough idle unreserved memory headrooms to run the application i, in the unreserved memory headroom of the mobile terminal device
The application i is run, wherein, the K and the k1 are positive integer and the k1 is less than or equal to the K.
6. a kind of mobile terminal device, it is characterised in that including:
Receiving unit, the instruction for receiving triggering operation application i;
Determining unit, the priority for determining the application i;
Control unit is run, for if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device to be current
There are enough idle reserved memory headrooms to run the application i;Run in the reserved memory headroom of the mobile terminal device
The application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, the determining unit is additionally operable to, it is determined that before the priority of the application i, determining the mobile terminal device
It is current whether to there are enough idle unreserved memory headrooms to run the application i;
Wherein, it is determined that in terms of the priority of the application i, the determining unit is specifically for it is determined that described mobile whole
In the case that end equipment runs the application i currently without enough idle unreserved memory headrooms, determine the application i's
Priority.
7. mobile terminal device according to claim 6, it is characterised in that
The mobile terminal device also includes:
First adjustment unit, the use state for the reserved memory headroom in mobile terminal device meets default Status Change
In the case of condition, its partly or entirely reserved memory headroom is changed to unreserved memory headroom by the mobile terminal device.
8. the mobile terminal device according to claim 6 or 7, it is characterised in that the operation control unit is additionally operable to, if
Determine that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has enough free time
Unreserved memory headroom run the application i, run the application in the unreserved memory headroom of the mobile terminal device
I, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
9. mobile terminal device according to claim 8, it is characterised in that the determining unit is additionally operable to, however, it is determined that gone out
The priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle non-
Reserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
It is less than the application of the application i with the presence or absence of priority in;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that being currently running in answering in the unreserved memory headroom of the mobile terminal device
There is K application of the priority less than the application i, the k1 application closed among the K application among;
The operation control unit is additionally operable to, if closing after the k1 application so that the mobile terminal device currently has foot
Enough idle unreserved memory headrooms run the application i, are run in the unreserved memory headroom of the mobile terminal device
The application i, the K and the k1 are positive integer and the k1 is less than or equal to the K.
10. mobile terminal device according to claim 8, it is characterised in that the determining unit is additionally operable to, however, it is determined that gone out
The priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle non-
Reserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
It is less than the application of the application i with the presence or absence of priority in;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that among the application being currently running in the memory headroom of the mobile terminal device
There is K application of the priority less than the application i, k1 among the mobile terminal device reduction K application should
With shared unreserved memory headroom;
The operation control unit is additionally operable to, if causing institute after reducing the shared unreserved memory headroom of the k1 application
Stating mobile terminal device currently has enough idle unreserved memory headrooms to run the application i, is set in the mobile terminal
Standby unreserved memory headroom runs the application i, wherein, the K and k1 is positive integer and the k1 is less than or equal to
The K.
11. a kind of method for controlling application operation, it is characterised in that including:
Mobile terminal device receives triggering operation application i instruction;
The mobile terminal device determines the priority of the application i;
If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough idle pre-
Memory headroom is stayed to run the application i;The application i is run in the reserved memory headroom of the mobile terminal device, wherein, institute
Stating the memory headroom of mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, methods described also includes:Meet default state in the use state of the reserved memory headroom of mobile terminal device
In the case of change condition, it is empty that its partly or entirely reserved memory headroom is changed to unreserved internal memory by the mobile terminal device
Between.
12. method according to claim 11, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has enough
Idle unreserved memory headroom run the application i;Institute is run in the unreserved memory headroom of the mobile terminal device
State and apply i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
13. method according to claim 12, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the unreserved memory headroom of the mobile terminal device
The K application less than the application i, the k1 application that the mobile terminal device is closed among the K application;If closing institute
Stating causes the mobile terminal device currently to have enough idle unreserved memory headroom operations are described to answer after k1 application
With i, the mobile terminal device runs the application i, the K and institute in the unreserved memory headroom of the mobile terminal device
K1 is stated for positive integer and the k1 is less than or equal to the K.
14. method according to claim 12, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the memory headroom of the mobile terminal device less than institute
State and apply K of i to apply, it is unreserved shared by k1 application among the mobile terminal device reduction K application
Memory headroom;If make it that the mobile terminal device is current after reducing the shared unreserved memory headroom of the k1 application
There are enough idle unreserved memory headrooms to run the application i, in the unreserved memory headroom of the mobile terminal device
The application i is run, wherein, the K and the k1 are positive integer and the k1 is less than or equal to the K.
15. a kind of method for controlling application operation, it is characterised in that including:
Mobile terminal device receives triggering operation application i instruction;
The mobile terminal device determines the priority of the application i;
If it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device currently has enough idle pre-
Memory headroom is stayed to run the application i;The application i is run in the reserved memory headroom of the mobile terminal device, wherein, institute
Stating the memory headroom of mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has enough
Idle unreserved memory headroom run the application i;Institute is run in the unreserved memory headroom of the mobile terminal device
State and apply i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
16. method according to claim 15, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the unreserved memory headroom of the mobile terminal device
The K application less than the application i, the k1 application that the mobile terminal device is closed among the K application;If closing institute
Stating causes the mobile terminal device currently to have enough idle unreserved memory headroom operations are described to answer after k1 application
With i, the mobile terminal device runs the application i, the K and institute in the unreserved memory headroom of the mobile terminal device
K1 is stated for positive integer and the k1 is less than or equal to the K.
17. method according to claim 15, it is characterised in that
Methods described also includes:
If it is determined that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without foot
Enough idle unreserved memory headrooms run the application i;The mobile terminal device determines to be currently running in the movement
It is less than the application of the application i in application in the unreserved memory headroom of terminal device with the presence or absence of priority;
If it is determined that there is priority among the application being currently running in the memory headroom of the mobile terminal device less than institute
State and apply K of i to apply, it is unreserved shared by k1 application among the mobile terminal device reduction K application
Memory headroom;If make it that the mobile terminal device is current after reducing the shared unreserved memory headroom of the k1 application
There are enough idle unreserved memory headrooms to run the application i, in the unreserved memory headroom of the mobile terminal device
The application i is run, wherein, the K and the k1 are positive integer and the k1 is less than or equal to the K.
18. a kind of mobile terminal device, it is characterised in that including:
Receiving unit, the instruction for receiving triggering operation application i;
Determining unit, the priority for determining the application i;
Control unit is run, for if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device to be current
There are enough idle reserved memory headrooms to run the application i;Run in the reserved memory headroom of the mobile terminal device
The application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, the mobile terminal device also includes:
First adjustment unit, the use state for the reserved memory headroom in mobile terminal device meets default Status Change
In the case of condition, its partly or entirely reserved memory headroom is changed to unreserved memory headroom by the mobile terminal device.
19. mobile terminal device according to claim 18, it is characterised in that the operation control unit is additionally operable to, if
Determine that the priority of the application i is less than or equal to the threshold value, and the mobile terminal device currently has enough free time
Unreserved memory headroom run the application i, run the application in the unreserved memory headroom of the mobile terminal device
I, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom.
20. mobile terminal device according to claim 19, it is characterised in that the determining unit is additionally operable to, however, it is determined that
The priority for going out the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle
Unreserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
Application in the presence or absence of priority be less than the application i application;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that being currently running in answering in the unreserved memory headroom of the mobile terminal device
There is K application of the priority less than the application i, the k1 application closed among the K application among;
The operation control unit is additionally operable to, if closing after the k1 application so that the mobile terminal device currently has foot
Enough idle unreserved memory headrooms run the application i, are run in the unreserved memory headroom of the mobile terminal device
The application i, the K and the k1 are positive integer and the k1 is less than or equal to the K.
21. mobile terminal device according to claim 19, it is characterised in that the determining unit is additionally operable to, however, it is determined that
The priority for going out the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle
Unreserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
Application in the presence or absence of priority be less than the application i application;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that among the application being currently running in the memory headroom of the mobile terminal device
There is K application of the priority less than the application i, k1 among the mobile terminal device reduction K application should
With shared unreserved memory headroom;
The operation control unit is additionally operable to, if causing institute after reducing the shared unreserved memory headroom of the k1 application
Stating mobile terminal device currently has enough idle unreserved memory headrooms to run the application i, is set in the mobile terminal
Standby unreserved memory headroom runs the application i, wherein, the K and k1 is positive integer and the k1 is less than or equal to
The K.
22. a kind of mobile terminal device, it is characterised in that including:
Receiving unit, the instruction for receiving triggering operation application i;
Determining unit, the priority for determining the application i;
Control unit is run, for if it is determined that the priority of the application i is higher than threshold value, and the mobile terminal device to be current
There are enough idle reserved memory headrooms to run the application i;Run in the reserved memory headroom of the mobile terminal device
The application i, wherein, the memory headroom of the mobile terminal device includes reserved memory headroom and unreserved memory headroom;
Wherein, the operation control unit is additionally operable to, however, it is determined that the priority for going out the application i is less than or equal to the threshold value,
And the mobile terminal device currently has enough idle unreserved memory headrooms to run the application i, described mobile whole
The unreserved memory headroom of end equipment runs the application i, wherein, the memory headroom of the mobile terminal device is included in reserved
Deposit space and unreserved memory headroom.
23. the mobile terminal device according to claim 22, it is characterised in that the determining unit is additionally operable to, however, it is determined that gone out
The priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle non-
Reserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
It is less than the application of the application i with the presence or absence of priority in;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that being currently running in answering in the unreserved memory headroom of the mobile terminal device
There is K application of the priority less than the application i, the k1 application closed among the K application among;
The operation control unit is additionally operable to, if closing after the k1 application so that the mobile terminal device currently has foot
Enough idle unreserved memory headrooms run the application i, are run in the unreserved memory headroom of the mobile terminal device
The application i, the K and the k1 are positive integer and the k1 is less than or equal to the K.
24. the mobile terminal device according to claim 22, it is characterised in that the determining unit is additionally operable to, however, it is determined that gone out
The priority of the application i is less than or equal to the threshold value, and the mobile terminal device is currently without enough idle non-
Reserved memory headroom runs the application i;It is determined that being currently running in the unreserved memory headroom of the mobile terminal device
It is less than the application of the application i with the presence or absence of priority in;
The mobile terminal device also includes:
Second adjustment unit, for if it is determined that among the application being currently running in the memory headroom of the mobile terminal device
There is K application of the priority less than the application i, k1 among the mobile terminal device reduction K application should
With shared unreserved memory headroom;
The operation control unit is additionally operable to, if causing institute after reducing the shared unreserved memory headroom of the k1 application
Stating mobile terminal device currently has enough idle unreserved memory headrooms to run the application i, is set in the mobile terminal
Standby unreserved memory headroom runs the application i, wherein, the K and k1 is positive integer and the k1 is less than or equal to
The K.
25. a kind of computer-readable storage medium, it is characterised in that
The computer-readable storage medium has program stored therein, and includes when described program is performed described in claim 1 to 5 any one
Control application operation method;Or, including the control described in claim 11 to 17 any one when described program is performed
Using the method for operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410856346.1A CN104572264B (en) | 2014-12-31 | 2014-12-31 | The method and mobile terminal device of control application operation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410856346.1A CN104572264B (en) | 2014-12-31 | 2014-12-31 | The method and mobile terminal device of control application operation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104572264A CN104572264A (en) | 2015-04-29 |
CN104572264B true CN104572264B (en) | 2017-10-17 |
Family
ID=53088414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410856346.1A Active CN104572264B (en) | 2014-12-31 | 2014-12-31 | The method and mobile terminal device of control application operation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104572264B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105487822A (en) * | 2015-12-03 | 2016-04-13 | 海信集团有限公司 | Scanning control method and intelligent equipment |
CN107885591A (en) | 2016-09-27 | 2018-04-06 | 华为技术有限公司 | For the method and terminal of application distributing system resource |
CN108984270B (en) * | 2018-07-18 | 2020-12-01 | 苏州浪潮智能科技有限公司 | Memory allocation method and device for virtual machine |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102156675B (en) * | 2010-02-12 | 2014-03-19 | 中兴通讯股份有限公司 | Method and device for allocating memory |
US8738868B2 (en) * | 2011-08-23 | 2014-05-27 | Vmware, Inc. | Cooperative memory resource management for virtualized computing devices |
US9250958B2 (en) * | 2012-11-19 | 2016-02-02 | Qualcomm Innovation Center, Inc. | System, method, and apparatus for improving application-launch latencies |
CN103544063B (en) * | 2013-09-30 | 2017-02-08 | 三星电子(中国)研发中心 | Method and device for removing processes applied to Android platform |
CN103645955A (en) * | 2013-12-16 | 2014-03-19 | 百度在线网络技术(北京)有限公司 | Running management method and device for application program |
CN103744727A (en) * | 2014-01-16 | 2014-04-23 | Tcl集团股份有限公司 | Service starting method, device and intelligent equipment |
-
2014
- 2014-12-31 CN CN201410856346.1A patent/CN104572264B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104572264A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111046150B (en) | Man-machine interaction processing system and method, storage medium and electronic equipment | |
CN109919315B (en) | Forward reasoning method, device, equipment and storage medium of neural network | |
CN105094936B (en) | Background application method for cleaning and device applied to mobile terminal | |
CN104572264B (en) | The method and mobile terminal device of control application operation | |
CN106503791A (en) | System and method for the deployment of effective neutral net | |
CN108900770A (en) | A kind of method, apparatus, smartwatch and the mobile terminal of the rotation of control camera | |
CN106502804A (en) | A kind of pop-up methods of exhibiting and system based on queue structure | |
CN104683591A (en) | Message disturbance-free method based on mobile terminal and mobile terminal using method | |
CN107678780A (en) | A kind of EMS memory management process, device, storage medium and terminal device | |
CN107786432A (en) | Information displaying method, device, computer installation and calculating readable storage medium storing program for executing | |
CN107526601A (en) | A kind of mobile terminal method of adjustment, mobile terminal and storage medium | |
CN107589990A (en) | A kind of method and system of the data communication based on thread pool | |
CN104572265B (en) | Control the method and mobile terminal device of application operation | |
CN104572300B (en) | The method and mobile terminal device of control application operation | |
CN105095212B (en) | The method and apparatus for creating Hash table | |
CN107659509A (en) | Control application traffic application method, device, readable storage medium storing program for executing and terminal device | |
CN105430726B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN106201490A (en) | The method and device that a kind of optimization application is run | |
CN105516476B (en) | A method of high energy consumption application is closed to control using economize on electricity | |
CN105517162B (en) | The carrier aggregation function control method and communication terminal of a kind of communication terminal | |
CN104052801B (en) | A kind of information processing method and electronic equipment | |
CN113608852A (en) | Task scheduling method, scheduling module, inference node and collaborative operation system | |
CN102609310A (en) | Computer operating system and inter-process communication method therefor | |
CN107943578A (en) | A kind of memory release method, terminal device and computer-readable medium | |
CN106572236A (en) | Method for transferring usage habit setting between terminals and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |