The control method and mobile terminal of a kind of mobile terminal power energy allocation
Technical field
The invention belongs to field of mobile terminals, more particularly to a kind of control method of mobile terminal power energy allocation and movement are eventually
End.
Background technology
Dynamic terminal is used as history of the simple communication equipment with Mobile Communication Development existing decades.Since 2007,
Intellectuality has triggered mobile terminal gene mutation, fundamentally changes terminal and is positioned as the tradition of mobile network's tip.Move
Dynamic intelligent terminal is almost changed into the crucial entrance and main innovation platform of Internet service, new media, electricity between a flash
Sub- commercial affairs and information service platform, the most important hinge of Internet resources, mobile network resource and environmental interaction resource, it is operated
The strategic high ground of system and processor chips even as current whole ICT industries.The subversiveness that mobile intelligent terminal triggers
The prelude for having opened mobile Internet industry development is changed, a new technical industry cycle is opened.As intelligent movable is whole
The sustainable development at end, its influence power will radio, TV and internet shoulder to shoulder(PC), it is wide as the 4th infiltration in human history
General, popularization is rapid, influence is huge, deeply to the end product of human society life every aspect.
Current mobile terminal also gradually installs dual system, but is controlled but without very for the electricity of each system of dual system
Good control method, causing in dual system one of system that electricity is exhausted causes another system not use, and giving needs double systems
System user brings inconvenience, and reduces user experience.
The content of the invention
It is an object of the invention to provide a kind of control method of mobile terminal power energy allocation, it is intended to solves existing dual operation
The control of system and mobile terminal electricity is bad, the problem of reducing user experience.
In order to solve the above-mentioned technical problem, the present invention is realized in:A kind of controlling party of mobile terminal power energy allocation
Method, the mobile terminal includes dual operating systems, the described method comprises the following steps:
Operating system and the first dump energy of mobile terminal that acquisition mobile terminal is currently run;
User's current electric quantity is pointed out when first dump energy is less than the first default power threshold, and to double behaviour
The available power for making each operating system in system is allocated;
Another operation system in the dual operating systems is switched to after the distribution electricity for the operating system currently run is finished
System;
Available power to the dual operating systems in another operating system carries out sub-distribution again.
Further, the step of available power to each operating system in the dual operating systems is allocated is wrapped
Include:
The first dump energy of mobile terminal is carried out according to dump energy percentage in the operating system currently run
Distribution.
Further, it is described to switch to the dual operating systems after the distribution electricity for the operating system currently run is finished
In another operating system the step of include:
Second dump energy of the operating system that detection mobile terminal is currently run;
When second dump energy is less than the second default power threshold, set up another in the dual operating systems on backstage
The startup index of one operating system;
Trigger another in the startup index startup dual operating systems in the second dump energy depleted shutdown
Operating system.
Further, the available power in another operating system to the dual operating systems is divided again
With the step of, including:
After another operating system in entering the dual operating systems, the 3rd dump energy of mobile terminal is detected;
User is pointed out to carry out sub-distribution again to the available power of the dual operating systems according to the 3rd dump energy.
Further, the available power to the dual operating systems in another operating system carries out sub-distribution again
After step, in addition to:
Enter default power down mode when the dump energy of mobile terminal is less than the 3rd default power threshold.
The purpose of the embodiment of the present invention also resides in a kind of mobile terminal of offer, and the mobile terminal includes dual operating systems,
Also include:
Acquiring unit, the first dump energy for obtaining operating system that mobile terminal currently runs and mobile terminal;
First Tip element, for pointing out user current when first dump energy is less than the first default power threshold
Electricity;
First allocation unit, is allocated for the available power to each operating system in the dual operating systems;
Switch unit, for switching to the dual operating systems after the distribution electricity for the operating system currently run is finished
In another operating system;
Second allocation unit, is carried out again for the available power to the dual operating systems in another operating system
Sub-distribution.
Further, first allocation unit specifically for:
The first dump energy of mobile terminal is carried out according to dump energy percentage in the operating system currently run
Distribution.
Further, the switch unit specifically for:
Second dump energy of the operating system that detection mobile terminal is currently run;
When second dump energy is less than the second default power threshold, set up another in the dual operating systems on backstage
The startup index of one operating system;
Trigger another in the startup index startup dual operating systems in the second dump energy depleted shutdown
Operating system.
Further, second allocation unit specifically for:
After another operating system in entering the dual operating systems, the 3rd dump energy of mobile terminal is detected;
User is pointed out to carry out sub-distribution again to the available power of the dual operating systems according to the 3rd dump energy.
Further, the mobile terminal also includes:
Control unit, enters default power saving shape during for the dump energy in mobile terminal less than the 3rd default power threshold
State.
In embodiments of the present invention, remained by obtaining the first of operating system that mobile terminal currently runs and mobile terminal
Remaining electricity;And user's current electric quantity is pointed out when first dump energy is less than the first default power threshold, and to described double
The available power of each operating system is allocated in operating system;Cut after the distribution electricity for the operating system currently run is finished
Shift to another operating system in the dual operating systems;In another operating system to the dual operating systems can electricity consumption
Amount carries out sub-distribution again so that the dual operating systems of mobile terminal can reasonable distribution electricity, it is ensured that the use demand of user,
Lift user experience.
Brief description of the drawings
Fig. 1 is the flow chart of the control method of mobile terminal power energy allocation provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the control method for the mobile terminal power energy allocation that first embodiment of the invention is provided;
Fig. 3 is the flow chart of the control method for the mobile terminal power energy allocation that second embodiment of the invention is provided;
Fig. 4 is the circuit theory schematic diagram of mobile terminal provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Implementing for the present invention is described in detail below in conjunction with specific embodiment:
Fig. 1 shows the flow of the control method of mobile terminal power energy allocation provided in an embodiment of the present invention, for the ease of
Illustrate, only list the part related to the embodiment of the present invention, details are as follows:
The control method of mobile terminal power energy allocation provided in an embodiment of the present invention, the mobile terminal includes dual operating systems
(First operating system and the second operating system), this method comprises the following steps:
Step S10, operating system and the first dump energy of mobile terminal that acquisition mobile terminal is currently run.In this hair
It is low in the dump energy of mobile terminal in order to ensure that two operating systems of mobile terminal can normally be run in bright embodiment
When the first default power threshold(Such as 80%)It is about to begin and the electricity of each operating system in dual operating systems is allocated,
In order to avoid any operating system exhausts all electricity, another operating system is caused not use.
Step S20, user's current electric quantity is pointed out when first dump energy is less than the first default power threshold, and to this
The available power of each operating system is allocated in dual operating systems.Specifically, pre- less than first in first dump energy
If during power threshold(Such as 80% dump energy), to the first dump energy of mobile terminal in the operating system currently run
(80%)It is allocated according to dump energy percentage.Such as in dual operating systems the first operating system distribution 60%(That is total electricity
80%*60*=48%), the second operating system 40%(That is 80%*40%=32% of total electricity).
Step S30, is switched to another in the dual operating systems after the distribution electricity for the operating system currently run is finished
Operating system.In embodiments of the present invention, the example above is connect, the operating system for example currently run is the first operating system, consumption
The second operating system is switched to after the electricity for having use up 48%.
Step S40, the available power to the dual operating systems in another operating system carries out sub-distribution again.In this hair
In bright embodiment, the example above is connect, is switched to after the second operating system, the dump energy of mobile terminal is 32%, now, according to
User intention or demand can be allocated to the circuit of dual operating systems again.Specifically, including:Entering the dual operation system
In system after another operating system, the 3rd dump energy of mobile terminal is detected;
User is pointed out to carry out sub-distribution again to the available power of the dual operating systems according to the 3rd dump energy.
Embodiment one:
Fig. 2 shows the flow of the control method for the mobile terminal power energy allocation that first embodiment of the invention is provided, in order to
It is easy to explanation, only lists the part related to the embodiment of the present invention, details are as follows:
As a preferred embodiment of the present invention, step S30 includes:
Step S301, the second dump energy of the operating system that detection mobile terminal is currently run;
Step S302, in second dump energy(The dump energy of current operation system)Less than the second default power threshold
(Such as 1%)When, the startup index of another operating system in the dual operating systems is set up on backstage;
Step S303, startup index is triggered in the second dump energy depleted shutdown and is started in the dual operating systems separately
One operating system.
Embodiment two:
Fig. 3 shows the flow of the control method for the mobile terminal power energy allocation that second embodiment of the invention is provided, in order to
It is easy to explanation, only lists the part related to the embodiment of the present invention, details are as follows:
As a preferred embodiment of the present invention, after the step s 40, in addition to:
Step S50, default power down mode is entered when the dump energy of mobile terminal is less than the 3rd default power threshold.When
The dump energy of mobile terminal is less than the 3rd default power threshold(Such as 10%)When enter default battery saving mode, to save electricity
Energy.
In embodiments of the present invention, remained by obtaining the first of operating system that mobile terminal currently runs and mobile terminal
Remaining electricity;And user's current electric quantity is pointed out when first dump energy is less than the first default power threshold, and to described double
The available power of each operating system is allocated in operating system;Cut after the distribution electricity for the operating system currently run is finished
Shift to another operating system in the dual operating systems;In another operating system to the dual operating systems can electricity consumption
Amount carries out sub-distribution again so that the dual operating systems of mobile terminal can reasonable distribution electricity, it is ensured that the use demand of user,
Lift user experience.
Fig. 4 shows the circuit theory schematic diagram of mobile terminal provided in an embodiment of the present invention, for convenience of description, only arranges
Go out the part related to the embodiment of the present invention, details are as follows:
Mobile terminal provided in an embodiment of the present invention, including(It is provided with)Dual operating systems, in addition to acquiring unit 100,
First Tip element 200, the first allocation unit 300, switch unit 400, the second allocation unit 500 and control unit 600;
Acquiring unit 100 is used to obtaining the first remaining electricity of the operating system that mobile terminal currently runs and mobile terminal
Amount;First Tip element 200 is used to point out user's current electric quantity when the first dump energy is less than the first default power threshold;The
One allocation unit 300 is used to be allocated the available power of each operating system in the dual operating systems;Switch unit 400 is used for
Another operating system in the dual operating systems is switched to after the distribution electricity for the operating system currently run is finished;Second distribution
Unit 500, sub-distribution again is carried out for the available power to the dual operating systems in another operating system;Control unit
600 are used to enter default power down mode when the dump energy of mobile terminal is less than the 3rd default power threshold.
As a preferred embodiment of the present invention, the first allocation unit 300 specifically for:In the operating system currently run
First dump energy of mobile terminal is allocated according to dump energy percentage.
As a preferred embodiment of the present invention, switch unit 400 specifically for:The operation that detection mobile terminal is currently run
Second dump energy of system;When the second dump energy is less than the second default power threshold, the dual operation system is set up on backstage
The startup index of another operating system in system;Startup index is triggered in the second dump energy depleted shutdown and starts the dual operation
Another operating system in system.
As another preferred embodiment of the invention, the second allocation unit specifically for:It is another in the dual operating systems are entered
After one operating system, the 3rd dump energy of mobile terminal is detected;Point out user according to the 3rd dump energy to the dual operation system
The available power of system carries out sub-distribution again.
Mobile terminal provided in an embodiment of the present invention and the embodiment pair of the control method of above-mentioned mobile terminal power energy allocation
Should, its operation principle and mode are corresponded to and are applicable, and are just repeated no more here.
In embodiments of the present invention, remained by obtaining the first of operating system that mobile terminal currently runs and mobile terminal
Remaining electricity;And user's current electric quantity is pointed out when first dump energy is less than the first default power threshold, and to described double
The available power of each operating system is allocated in operating system;Cut after the distribution electricity for the operating system currently run is finished
Shift to another operating system in the dual operating systems;In another operating system to the dual operating systems can electricity consumption
Amount carries out sub-distribution again so that the dual operating systems of mobile terminal can reasonable distribution electricity, it is ensured that the use demand of user,
Lift user experience.
It will be appreciated by those skilled in the art that simply being carried out for the unit that above-described embodiment includes according to function logic
Divide, but be not limited to above-mentioned division, as long as corresponding function can be realized;In addition, the tool of each functional unit
Body title is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
Those of ordinary skill in the art are further appreciated that all or part of step realized in above-described embodiment method is can
To instruct the hardware of correlation to complete by program, described program can be stored in a computer read/write memory medium
In, described storage medium, including ROM/RAM, disk, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
Any modifications, equivalent substitutions and improvements made within refreshing and principle etc., should be included in the scope of the protection.