CN105072292A - Application control method and terminal - Google Patents

Application control method and terminal Download PDF

Info

Publication number
CN105072292A
CN105072292A CN201510472426.1A CN201510472426A CN105072292A CN 105072292 A CN105072292 A CN 105072292A CN 201510472426 A CN201510472426 A CN 201510472426A CN 105072292 A CN105072292 A CN 105072292A
Authority
CN
China
Prior art keywords
target application
current
terminal
power threshold
electric
Prior art date
Application number
CN201510472426.1A
Other languages
Chinese (zh)
Inventor
李运财
Original Assignee
深圳市金立通信设备有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市金立通信设备有限公司 filed Critical 深圳市金立通信设备有限公司
Priority to CN201510472426.1A priority Critical patent/CN105072292A/en
Publication of CN105072292A publication Critical patent/CN105072292A/en

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention provides an application control method and a terminal. The method comprises the following steps: detecting a current electric quantity consumption value of a target application; acquiring a current set electric quantity threshold of the target application; judging whether or not the current electric quantity consumption value of the target application exceeds the current set electric quantity threshold; and when the current electric quantity consumption value of the target application exceeds the current set electric quantity threshold, controlling the target application to enter a power saving mode. Through the embodiment of the invention, the standby time of the terminal can be prolonged easily and conveniently.

Description

A kind of application controls method and terminal
Technical field
The present invention relates to electronic technology field, be specifically related to a kind of application controls method and terminal.
Background technology
Along with the development of computer technology, the live and work that the terminals such as mobile phone, panel computer, notebook can install the various people of being applied as provides all multi information and facility, but, the battery electric quantity that these terminals are arranged is limited, cause terminal standby duration limited, further, will serious curtailment standby time if open too much application.In order to make user make rational planning in limited standby time the operational version of terminal, terminal can show the dump energy of battery in time.Find in practice, if terminal need extend standby time, need user often check the dump energy of display and arrange interface when dump energy is less by mobile phone assistant or application and manually arrange current application of opening and enter battery saving mode, process operation is loaded down with trivial details.
Summary of the invention
Embodiments provide a kind of application controls method and terminal, the standby time of terminal can be extended easily.
Embodiments provide a kind of control method of application, comprising:
Detect the electric quantity consumption value that target application is current;
Obtain the current power threshold be set of described target application;
Judge whether the current electric quantity consumption value of described target application exceedes the described current power threshold be set;
When the electric quantity consumption value that described target application is current exceed described current be set power threshold time, control described target application and enter battery saving mode.
Correspondingly, the embodiment of the present invention additionally provides a kind of terminal, comprising:
Detecting unit, for detecting the current electric quantity consumption value of target application;
First acquiring unit, for obtaining the current power threshold be set of described target application;
First judging unit, for judging whether the current electric quantity consumption value of described target application exceedes the described current power threshold be set;
Control unit, for judge at described first judging unit the current electric quantity consumption value of described target application exceed described current be set power threshold time, control described target application and enter battery saving mode.
The embodiment of the present invention can detect the current electric quantity consumption value of target application; Obtain the current power threshold be set of described target application; Judge whether the current electric quantity consumption value of described target application exceedes the described current power threshold be set; When described electric quantity consumption value exceed described current be set power threshold time, control described target application and enter battery saving mode.Visible, the embodiment of the present invention can extend the standby time of terminal simply, easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of application controls method that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of application controls method that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of application controls method and terminal equipment, extend the standby time of terminal easily.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of application controls method that the embodiment of the present invention provides.As shown in Figure 1, this application controls method can comprise the following steps.
S101, terminal detect the current electric quantity consumption value of target application;
In the embodiment of the present invention, this terminal can be mobile phone, notebook, panel computer, electronic reader or other portable sets etc.Terminal is generally made up of hardware and software.Software aspect comprises systems soft ware, (such as IOS, Android, window etc.) and install on the basis of system and the respective application run.Each application can realize specific function, and such as communications applications can realize the mutual of the information such as text, voice; Shopping application can realize online trading.In the ordinary course of things, when being applied in work, needing waken system and corresponding hardware (such as CPU, sensor), to obtain and to process corresponding data, realize corresponding function.Meanwhile, also corresponding electric quantity consumption can be produced.The electricity that application consumes mainly is included in the electricity that the electricity of system consumption in operation application process, the electricity of application consumption itself and corresponding hardware effort consume.
In the embodiment of the present invention, the monitoring of electric quantity consumption value can be carried out to one or more application of installing in the terminal.In the embodiment of the present invention, monitored application is defined as target application.Such as, the electricity that Facebook, WeChat etc. are applied in running can be monitored, determine its electric quantity consumption value.Electric quantity consumption value, can represent with ampere-hour (AH) or Milliampere Hour (mAH).
This target application comprises any one application of amusement class, office class and the life kind that terminal is being run; Electric quantity consumption value be this target application by the current electricity consumed, alternatively, this electric quantity consumption value can for this target application when the battery pond quota of terminal to the electricity consumed between current.Such as, started in battery quota by setting monitoring process, if there is target application to run, then monitoring process determines the operation duration of this target application, in conjunction with before the target application determined in the electric quantity consumption value of unit interval, the electric quantity consumption value that target application is current can be determined in time.
In the embodiment of the present invention, terminal before detecting the current electric quantity consumption value of target application, can also the current residual available power of sense terminals battery whether lower than predetermined threshold value, if lower than, then can perform step S101.Wherein, this predetermined threshold value can be arranged by User Defined, also the battery saving mode or normal mode etc. that can be opened according to user by system arrange corresponding predetermined threshold value, when the current residual available power of end cell is lower than predetermined threshold value, step S101 to S104 can be performed, application is controlled, extends the cruising time of terminal.Wherein, the battery current residual available power of terminal refers to that battery quota electricity deducts the value cutting the minimum electricity that maintenance system is normally run in the dump energy of the electricity acquisition consumed.
Wherein, the mode that terminal obtains the current residual available power of end cell can be being combined of any one or more of voltage test method, fuel cell modelling method and Coulomb meter etc., and the embodiment of the present invention no longer describes in detail.
As the optional execution mode of one, in step S101, the mode that terminal detects the current electric quantity consumption value of target application can be: detect the electricity that when not running this target application, terminal consumed in the unit interval, under detecting identical running environment again, this target application operationally the unit interval consume electricity, determine difference between the two, the electric quantity consumption value of this target application in the unit interval can be determined, terminal can according to the electric quantity consumption value of electric quantity consumption value determination target application in a charge cycle of this unit interval, this charge cycle take end cell as the duration between quota state to next quota state, such as, when a charge cycle starts, monitor this target application by current use duration, according to this average power consumption value being applied in the unit interval and the product using duration, the electric quantity consumption value that this target application is current can be obtained.
As the optional execution mode of another kind, relation between the number of run of each power function of target application within the unit interval that terminal can run by sense terminals and electric quantity consumption value, can determine the electric quantity consumption value of target application in a charge cycle according to this relation.Such as, when a charge cycle starts, monitor this target application by current use duration, determine according to the relation between the number of run of each power function in this application units' time and electric quantity consumption value the electric quantity consumption value that the target application of this use duration is current.
S102, terminal obtain the current power threshold be set of target application;
In the embodiment of the present invention, this power threshold be used to indicate this target application allow consume maximum charge value, this value can be set by the situation that user uses according to this target application by User Defined or terminal.
Whether the current electric quantity consumption value of this target application of S103, terminal judges exceedes the current power threshold be set, if exceed the current power threshold be set, then performs step S104, otherwise, continue to perform step S101.
This target application of S104, terminal control enters battery saving mode.
In the embodiment of the present invention, the battery saving mode of control objectives application can be adjustment aim application running status, operational factor.Wherein, the operational factor of the software that the operational factor that adjustment aim is applied can be correlated with for adjustment aim application power consumption or hardware, the cycle that target application wakes up as reduced, (some communications applications needed timing wake-up to carry out exchanges data, such as Facebook, WeChat etc.), also can reduce the screen intensity that operational objective application is corresponding, or reduce the communication frequency of target application network interface in running.If target application wake up cycle indefinite extension time, can control objectives application (the target application egregious cases can thinking battery saving mode out of service) out of service; In addition, adjustment aim application running status can be in resting state for adjustment aim application, namely only runs key function function, function as relevant in message sink, thus can reduce the power consumption rate of this target application.
As the optional execution mode of another kind, terminal, before execution step S101, can also perform following steps:
11) the current residing positional information of terminal is obtained;
12) judge whether the position that this positional information indicates is predeterminated position, if the position of this positional information instruction is not predeterminated position, then perform step S101.
In the embodiment of the present invention, this predeterminated position can be the positional information of default closedown application controls pattern, the position that such as office, home location and school etc. can conveniently charge, these positional informations can be arranged according to the playground of every day by user, simultaneously terminal can by architecture or GPS (GlobePositionSystem) assistant positioning system determination terminal current described in positional information or help the positional information that this predeterminated position comprises is set.
In the embodiment of the present invention, terminal, after the current power threshold be set of acquisition target application, can also perform following steps:
21) frequency of utilization at least one situation of this target application in the position that setting-up time scope and positional information indicate is added up;
22) judge whether this frequency of utilization is greater than setting threshold, if be greater than setting threshold, then perform step 23), if be not more than setting threshold, then perform step 24);
23) the current power threshold be set is improved;
24) reduce or keep the current power threshold be set.
Terminal can be carried out in good time adjustment in the power threshold of the higher target application of position frequency of utilization of setting-up time scope and positional information instruction by this execution mode, wherein, improve target application current be set power threshold time, the required minimum electricity maintained needed for normal operation of terminal should be considered, power threshold after this raising can not be greater than the difference of current residual available power and this minimum electricity, wherein, when improving the current power threshold be set, the higher limit of this power threshold can be exported.
In the embodiment of the present invention, terminal can also perform following steps after performing step S102:
31) judge whether the current electric quantity consumption value of target application is greater than the first power threshold, this first power threshold is less than the current power threshold be set of target application, if be greater than the first power threshold, then export the prompting message for pointing out target application to be about to enter power saving, if be not more than this first power threshold, then need not do any process.
This execution mode can before entering battery saving mode by control objectives application, export the prompting message for pointing out target application to be about to enter power saving, user can be made to carry out corresponding operating to this target application in advance, such as, store the information of input or the prompting mode etc. of Offered target application.
In the application controls method described by Fig. 1, terminal can detect the current electric quantity consumption value of target application; And obtain the current power threshold be set of this target application; Judge whether current electric quantity consumption value exceedes the current power threshold be set; When current electric quantity consumption value exceedes the current power threshold be set, control objectives application can enter battery saving mode, visible, in the embodiment of the present invention, terminal can enter battery saving mode by automatic control objectives application, thus extends the standby time of terminal easily.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of application controls method that the embodiment of the present invention provides, and as shown in Figure 2, this application controls method can comprise the following steps:
S201, terminal detect the current electric quantity consumption value of target application;
S202, terminal obtain the current power threshold be set of this target application;
Whether the current electric quantity consumption value of this target application of S203, terminal judges exceedes the current power threshold be set, if when the current electric quantity consumption value of this target application exceedes the current power threshold be set, then perform step S204, otherwise, continue to perform step S201;
This target application of S204, terminal control enters battery saving mode.
In the embodiment of the present invention, the related content of step S201 to S204 can elaborating with reference to the step S101 to S104 in foregoing invention embodiment, and the embodiment of the present invention no longer describes in detail.
Whether the current electricity of S205, terminal judges terminal is greater than the second power threshold, if be greater than the second power threshold, then performs step S206, otherwise continues to perform step S205;
This target application of S206, terminal control exits battery saving mode and again adds up after electric quantity consumption value zero setting current for this target application, and performs step S201.
In the embodiment of the present invention, second power threshold can be the electricity of battery quota state in terminal, also can be the preset ratio of quota electricity, for example, when the electricity that terminal is current is greater than 80% of quota electricity, then the application controlling to enter battery saving mode before can be exited battery saving mode, as returned to operational mode, wherein, terminal is when performing step S205 to S206, pre-recorded automatic control is also needed to enter the target application of battery saving mode, so that exit battery saving mode in step S205 to S206.
In the embodiment of the present invention, terminal can be implemented: before execution step S201, can also perform step 11) to 12); Step 21 is performed after step S202) to 24); And after step S202, perform step 31) in any one or multiple execution mode.
In the application controls method described by Fig. 2, terminal can detect the current electric quantity consumption value of target application; And obtain the current power threshold be set of this target application; Judge whether current electric quantity consumption value exceedes the current power threshold be set; When current electric quantity consumption value exceedes the current power threshold be set, control objectives application battery saving mode can be entered; Further, terminal can also judge whether the current electricity of terminal is greater than the second power threshold, if be greater than the second power threshold, then can control this target application and exit battery saving mode.Visible, in the embodiment of the present invention, terminal can not only enter battery saving mode by automatic control objectives application, thus extends the standby time of terminal easily, and target application can be made to exit battery saving mode when the electricity of terminal reaches the second power threshold.
Refer to Fig. 3, Fig. 3 is the structural representation of a kind of terminal that the embodiment of the present invention provides.Wherein, this terminal is generally made up of hardware and software.Software aspect comprises systems soft ware, (such as IOS, Android, window etc.) and install on the basis of system and the respective application run.Each application can realize specific function, and such as communications applications can realize the mutual of the information such as text, voice; Shopping application can realize online trading.In the ordinary course of things, when being applied in work, needing waken system and corresponding hardware (such as CPU, sensor), to obtain and to process corresponding data, realize corresponding function.Meanwhile, also corresponding electric quantity consumption can be produced.The electricity that application consumes mainly is included in the electricity that the electricity of system consumption in operation application process, the electricity of application consumption itself and corresponding hardware effort consume.In the embodiment of the present invention, the monitoring of electric quantity consumption value can be carried out to one or more application of installing in the terminal.In the embodiment of the present invention, monitored application is defined as target application.Such as, the electricity that Facebook, WeChat etc. are applied in running can be monitored, determine its electric quantity consumption value.Wherein, this electric quantity consumption value, can represent with ampere-hour (AH) or Milliampere Hour (mAH).As shown in Figure 3, this terminal can also comprise: detecting unit 310, first acquiring unit 320, first judging unit 330 and control unit 340, wherein,
Detecting unit 310, for detecting the current electric quantity consumption value of target application;
First acquiring unit 320, for obtaining the current power threshold be set of target application;
First judging unit 330, for judging the current power threshold be set whether electric quantity consumption value that detecting unit 310 detects exceedes second acquisition unit 320 and obtain;
In the embodiment of the present invention, this power threshold be used to indicate this target application allow consume maximum charge value, this value can be set by the situation that user uses according to this target application by User Defined or terminal.
Control unit 340, during for judging that at the first judging unit 330 the current electric quantity consumption value of this target application exceedes the current power threshold be set, controlling this target application and entering battery saving mode.
In the embodiment of the present invention, this target application comprises any one application of amusement class, office class and the life kind that terminal is being run; Electric quantity consumption value be this target application by the current electricity consumed, alternatively, this electric quantity consumption value can for this target application when the battery pond quota of terminal to the electricity consumed between current.Such as, started in battery quota by setting monitoring process, if there is target application to run, then monitoring process determines the operation duration of this target application, in conjunction with before the target application determined in the electric quantity consumption value of unit interval, the electric quantity consumption value that target application is current can be determined in time.
Wherein, this predetermined threshold value can be arranged by User Defined, also the battery saving mode or normal mode etc. that can be opened according to user by system arrange corresponding predetermined threshold value, when making the current residual available power of the battery of terminal lower than predetermined threshold value, associative operation can be performed by detecting unit 310, first acquiring unit 320, first judging unit 330 and control unit 340 to control application, extend the cruising time of terminal.This predetermined threshold value can be arranged by User Defined, also the battery saving mode or normal mode etc. that can be opened according to user by system arrange corresponding predetermined threshold value, when making the current residual available power of the battery of terminal lower than predetermined threshold value, aforesaid operations can be performed by processor 401 to control application, extend the cruising time of terminal.
Wherein, the mode that terminal obtains the current residual available power of end cell can be being combined of any one or more of voltage test method, fuel cell modelling method and Coulomb meter etc., and the embodiment of the present invention no longer describes in detail.Wherein, the battery current residual available power of terminal refers to that battery quota electricity deducts the value cutting the minimum electricity that maintenance system is normally run in the dump energy of the electricity acquisition consumed.
As the optional execution mode of one, the mode that detecting unit 310 detects the current electric quantity consumption value of target application can be: detecting unit 310 detects the electricity that when not running this target application, terminal consumed in the unit interval, under detecting identical running environment again, this target application operationally the unit interval consume electricity, determine difference between the two, the electric quantity consumption value of this target application in the unit interval can be determined, terminal can according to the electric quantity consumption value of electric quantity consumption value determination target application in a charge cycle of this unit interval, this charge cycle take end cell as the duration between quota state to next quota state, such as, when a charge cycle starts, monitor this target application by current use duration, according to this average power consumption value being applied in the unit interval and the product using duration, the electric quantity consumption value that this target application is current can be obtained.
As the optional execution mode of another kind, relation between the number of run of each power function of the target application that detecting unit 310 can run by sense terminals within the unit interval and electric quantity consumption value, can determine the electric quantity consumption value of target application in a charge cycle according to this relation.Such as, when a charge cycle starts, monitor this target application by current use duration, determine according to the relation between the number of run of each power function in this application units' time and electric quantity consumption value the electric quantity consumption value that the target application of this use duration is current.
In the embodiment of the present invention, the battery saving mode of control objectives application can be adjustment aim application running status, operational factor.Wherein, the operational factor of the software that the operational factor that adjustment aim is applied can be correlated with for adjustment aim application power consumption or hardware, the cycle that target application wakes up as reduced, (some communications applications needed timing wake-up to carry out exchanges data, such as Facebook, WeChat etc.), also can reduce the screen intensity that operational objective application is corresponding, or reduce the communication frequency of target application network interface in running.If target application wake up cycle indefinite extension time, can control objectives application (the target application egregious cases can thinking battery saving mode out of service) out of service; In addition, adjustment aim application running status can be in resting state for adjustment aim application, namely only runs key function function, function as relevant in message sink, thus can reduce the power consumption rate of this target application.
See also Fig. 4, Fig. 4 is the structural representation of the another kind of terminal that the embodiment of the present invention provides.Wherein, the terminal shown in Fig. 4 is that terminal is as shown in Figure 3 optimized and obtains.Compared with the terminal shown in Fig. 3, second acquisition unit 350 and the second judging unit 360 in the terminal shown in Fig. 4, can also be comprised, wherein:
Second acquisition unit 350, for obtaining the current residing positional information of terminal;
Second judging unit 360, for judging whether the position that positional information indicates is predeterminated position, if not predeterminated position, then trigger detecting unit 310 detects the current electric quantity consumption value of target application.
In the embodiment of the present invention, this predeterminated position can be the positional information of default closedown application controls pattern, the position that such as office, home location and school etc. can conveniently charge, these positional informations can be arranged according to the playground of every day by user, simultaneously terminal can by architecture or GPS (GlobePositionSystem) assistant positioning system determination terminal current described in positional information or help the positional information that this predeterminated position comprises is set.
In the embodiment of the present invention, statistic unit 370, the 3rd judging unit 380 and processing unit 390 in the terminal shown in Fig. 4, can also be comprised, wherein:
Statistic unit 370, after obtaining the current power threshold be set of target application at the first acquiring unit 320, the frequency of utilization at least one situation of statistics target application in the position that setting-up time scope and positional information indicate;
3rd judging unit 380, for judging whether this frequency of utilization is greater than setting threshold;
Processing unit 390, for when the 3rd judging unit 390 judges that this frequency of utilization is greater than setting threshold, improves the current power threshold be set; And when the 3rd judging unit 390 judges that this frequency of utilization is not more than setting threshold, reduce or keep the current power threshold be set.
Terminal can be carried out in good time adjustment in the power threshold of the higher target application of position frequency of utilization of setting-up time scope and positional information instruction by this execution mode, wherein, improve target application current be set power threshold time, the required minimum electricity maintained needed for normal operation of terminal should be considered, power threshold after this raising can not be greater than the difference of current residual available power and this minimum electricity, wherein, when improving the current power threshold be set, the higher limit of this power threshold can be exported.
In the embodiment of the present invention, the 4th judging unit 390a and output unit 390b in the terminal shown in Fig. 4, can also be comprised, wherein:
4th judging unit 390a, for judging whether the current electric quantity consumption value of described target application is greater than the first power threshold, and described first power threshold is less than the current power threshold be set of described target application;
Output unit 390b, during for judging that at described 4th judging unit the current electric quantity consumption value of described target application is greater than the first power threshold, exports the prompting message for pointing out described target application to be about to enter power saving.
This execution mode can before entering battery saving mode by control objectives application, export the prompting message for pointing out target application to be about to enter power saving, user can be made to carry out corresponding operating to this target application in advance, such as, store the information of input or the prompting mode etc. of Offered target application.
In the embodiment of the present invention, the 5th judging unit 390c in the terminal shown in Fig. 4, can also be comprised, wherein:
5th judging unit 390c, after entering battery saving mode in the application of control unit 340 control objectives, judges whether the current electricity of terminal is greater than the second power threshold;
Correspondingly, when control unit 340 is also for judging that at the 5th judging unit 390c the current electricity of terminal is greater than the second power threshold, control objectives application is exited battery saving mode and again adds up after electric quantity consumption value zero setting current for target application.Optionally, control unit 340, by while again adding up after electric quantity consumption value zero current for target application, trigger detecting unit 310 and other unit can perform the circulation that corresponding operation enters a new round.
In the embodiment of the present invention, second power threshold can be the electricity of battery quota state in terminal, also can be the preset ratio of quota electricity, for example, when the electricity that terminal is current is greater than 80% of quota electricity, then the application controlling to enter battery saving mode before can be exited battery saving mode, as returned to operational mode, wherein, terminal also needs pre-recorded automatic control to enter the target application of battery saving mode, so that the 5th judging unit 390c and control unit 340 exit battery saving mode.
In the terminal shown in Fig. 3 and Fig. 4, detecting unit can detect the current electric quantity consumption value of target application; First acquiring unit can obtain the current power threshold be set of this target application; First judging unit can judge whether current electric quantity consumption value exceedes the current power threshold be set; Control unit is when current electric quantity consumption value exceedes the current power threshold be set, control objectives application can enter battery saving mode, visible, in the embodiment of the present invention, terminal can enter battery saving mode by automatic control objectives application, thus extends the standby time of terminal easily.Further, in the terminal shown in Fig. 4, the 5th judging unit can judge whether the current electricity of terminal is greater than the second power threshold, if be greater than the second power threshold, then can again control this target application by control unit and exit battery saving mode.Visible, the terminal shown in Fig. 4 can not only enter battery saving mode by automatic control objectives application, thus extends the standby time of terminal easily, and target application can be made to exit battery saving mode when the electricity of terminal reaches the second power threshold.
Refer to Fig. 5, Fig. 5 is the structural representation of another terminal that the embodiment of the present invention provides, as shown in Figure 5, this terminal can comprise at least one processor 401, such as CPU, input unit 402, memory 403, at least one communication bus 404, output device 405.Wherein, communication bus 404 is for realizing the communication connection between these assemblies.Wherein, output device 405 can be display screen, and input unit 402 can comprise the first slide or the second slide that detect user's input.Memory 403 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 403 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 401.Terminal is generally made up of hardware and software.Hardware aspect can be above-mentioned input unit or output device, can comprise systems soft ware in software aspect memory 403, (such as IOS, Android, window etc.) and install on the basis of system and the respective application run.Each application can realize specific function, and such as communications applications can realize the mutual of the information such as text, voice; Shopping application can realize online trading.In the ordinary course of things, when being applied in work, needing waken system and corresponding hardware (such as CPU, sensor), to obtain and to process corresponding data, realize corresponding function.Meanwhile, also corresponding electric quantity consumption can be produced.The electricity that application consumes mainly is included in the electricity that the electricity of system consumption in operation application process, the electricity of application consumption itself and corresponding hardware effort consume.
In the embodiment of the present invention, in memory 403, can also utility control program be stored, the monitoring of electric quantity consumption value can be carried out one or more application of installing in the terminal.In the embodiment of the present invention, monitored application is defined as target application.Such as, the electricity that Facebook, WeChat etc. are applied in running can be monitored, determine its electric quantity consumption value.Electric quantity consumption value, can represent with ampere-hour (AH) or Milliampere Hour (mAH).Wherein, processor 401 can composition graphs 3 and the terminal described by Fig. 4, and processor 401 calls the program code stored in memory 403, for performing following operation:
Detect the electric quantity consumption value that target application is current;
Obtain the current power threshold be set of this target application;
Judge whether the current electric quantity consumption value of this target application exceedes this current power threshold be set;
When the electric quantity consumption value that this target application is current exceed this current be set power threshold time, control this target application and enter battery saving mode.
In the embodiment of the present invention, this target application comprises any one application of amusement class, office class and the life kind that terminal is being run; Electric quantity consumption value be this target application by the current electricity consumed, alternatively, this electric quantity consumption value can for this target application when the battery pond quota of terminal to the electricity consumed between current.Such as, started in battery quota by setting monitoring process, if there is target application to run, then monitoring process determines the operation duration of this target application, in conjunction with before the target application determined in the electric quantity consumption value of unit interval, the electric quantity consumption value that target application is current can be determined in time.
Wherein, the mode that processor 401 obtains the current residual available power of the battery of terminal can be being combined of any one or more of voltage test method, fuel cell modelling method and Coulomb meter etc., and the embodiment of the present invention no longer describes in detail.Wherein, the battery current residual available power of terminal refers to that battery quota electricity deducts the value cutting the minimum electricity that maintenance system is normally run in the dump energy of the electricity acquisition consumed.
As the optional execution mode of one, the mode that processor 401 detects the current electric quantity consumption value of target application can be: detect the electricity that when not running this target application, terminal consumed in the unit interval, under detecting identical running environment again, this target application operationally the unit interval consume electricity, determine difference between the two, the electric quantity consumption value of this target application in the unit interval can be determined, terminal can according to the electric quantity consumption value of electric quantity consumption value determination target application in a charge cycle of this unit interval, this charge cycle take end cell as the duration between quota state to next quota state, such as, when a charge cycle starts, monitor this target application by current use duration, according to this average power consumption value being applied in the unit interval and the product using duration, the electric quantity consumption value that this target application is current can be obtained.
As the optional execution mode of another kind, relation between the number of run of each power function of the target application that processor 401 can run by sense terminals within the unit interval and electric quantity consumption value, can determine the electric quantity consumption value of target application in a charge cycle according to this relation.Such as, when a charge cycle starts, monitor this target application by current use duration, determine according to the relation between the number of run of each power function in this application units' time and electric quantity consumption value the electric quantity consumption value that the target application of this use duration is current.In the embodiment of the present invention, the battery saving mode of control objectives application can be adjustment aim application running status, operational factor.Wherein, the operational factor of the software that the operational factor that adjustment aim is applied can be correlated with for adjustment aim application power consumption or hardware, the cycle that target application wakes up as reduced, (some communications applications needed timing wake-up to carry out exchanges data, such as Facebook, WeChat etc.), also can reduce the screen intensity that operational objective application is corresponding, or reduce the communication frequency of target application network interface in running.If target application wake up cycle indefinite extension time, can control objectives application (the target application egregious cases can thinking battery saving mode out of service) out of service; In addition, adjustment aim application running status can be in resting state for adjustment aim application, namely only runs key function function, function as relevant in message sink, thus can reduce the power consumption rate of this target application.
In the embodiment of the present invention, processor 401 calls the program code in memory 403, can also perform following operation:
Obtain the current residing positional information of terminal;
Judge whether the position that this positional information indicates is predeterminated position;
If the position of this positional information instruction is not predeterminated position, then the operation of the electric quantity consumption value that the detection target application described in performing is current.
In the embodiment of the present invention, this predeterminated position can be the positional information of default closedown application controls pattern, the position that such as office, home location and school etc. can conveniently charge, these positional informations can be arranged according to the playground of every day by user, simultaneously terminal can by architecture or GPS (GlobePositionSystem) assistant positioning system determination terminal current described in positional information or help the positional information that this predeterminated position comprises is set.
In the embodiment of the present invention, processor 401 calls the program code in memory 403, after obtaining the current power threshold be set of this target application, can also perform following operation:
Add up the frequency of utilization at least one situation of this target application in the position that setting-up time scope and described positional information indicate;
Judge whether this frequency of utilization is greater than setting threshold;
If be greater than setting threshold, then improve this current power threshold be set;
If be not more than setting threshold, then reduce or keep this current power threshold be set.
Terminal can be carried out in good time adjustment in the power threshold of the higher target application of position frequency of utilization of setting-up time scope and positional information instruction by this execution mode, wherein, improve target application current be set power threshold time, the required minimum electricity maintained needed for normal operation of terminal should be considered, power threshold after this raising can not be greater than the difference of current residual available power and this minimum electricity, wherein, when improving the current power threshold be set, the higher limit of this power threshold can be exported.
In the embodiment of the present invention, processor 401 calls the program code in memory 403, can also perform following operation:
Add up the frequency of utilization at least one situation of this target application in the position that setting-up time scope and described positional information indicate;
Judge whether the current electric quantity consumption value of described target application is greater than the first power threshold, and described first power threshold is less than the current power threshold be set of described target application;
If be greater than the first power threshold, then export the prompting message for pointing out described target application to be about to enter power saving.
This execution mode can before entering battery saving mode by control objectives application, export the prompting message for pointing out target application to be about to enter power saving, user can be made to carry out corresponding operating to this target application in advance, such as, store the information of input or the prompting mode etc. of Offered target application.
In the embodiment of the present invention, processor 401 calls the program code in memory 403, controls after described target application enters battery saving mode, can also perform following operation:
Judge whether the current electricity of described terminal is greater than the second power threshold;
If be greater than the second power threshold, then control described target application and exit battery saving mode and again add up after electric quantity consumption value zero setting current for described target application.
In the embodiment of the present invention, second power threshold can be the electricity of battery quota state in terminal, also can be the preset ratio of quota electricity, for example, when the electricity that terminal is current is greater than 80% of quota electricity, then the application controlling to enter battery saving mode before can be exited battery saving mode, as returned to operational mode, wherein, processor 401 also needs pre-recorded automatic control to enter the target application of battery saving mode, so that when judging whether the current electricity of terminal is greater than the second power threshold, controlling these target application and exiting battery saving mode.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process in the application controls embodiment of the method for composition graphs 1 of the present invention or Fig. 2 introduction.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal or equipment or subelement can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Above to embodiments providing a kind of application controls method and terminal is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an application controls method, is characterized in that, comprising:
Detect the electric quantity consumption value that target application is current;
Obtain the current power threshold be set of described target application;
Judge whether the current electric quantity consumption value of described target application exceedes the described current power threshold be set;
When the electric quantity consumption value that described target application is current exceed described current be set power threshold time, control described target application and enter battery saving mode.
2. method according to claim 1, is characterized in that, described method also comprises:
Obtain the current residing positional information of terminal;
Judge whether the position that described positional information indicates is predeterminated position;
If the position of described positional information instruction is not predeterminated position, then the step of the electric quantity consumption value that the detection target application described in performing is current.
3. method according to claim 2, is characterized in that, after the current power threshold be set of the described target application of described acquisition, described method also comprises:
Add up the frequency of utilization at least one situation of described target application in the position that setting-up time scope and described positional information indicate;
Judge whether described frequency of utilization is greater than setting threshold;
If described frequency of utilization is greater than setting threshold, then improve the described current power threshold be set;
If described frequency of utilization is not more than setting threshold, then reduces or keep the described current power threshold be set.
4. the method according to any one of claims 1 to 3, is characterized in that, described method also comprises:
Judge whether the current electric quantity consumption value of described target application is greater than the first power threshold, and described first power threshold is less than the current power threshold be set of described target application;
If be greater than the first power threshold, then export the prompting message for pointing out described target application to be about to enter power saving.
5. method according to claim 4, is characterized in that, after the described target application of described control enters battery saving mode, described method also comprises:
Judge whether the current electricity of described terminal is greater than the second power threshold;
If be greater than the second power threshold, then control described target application and exit battery saving mode and again add up after electric quantity consumption value zero setting current for described target application.
6. a terminal, is characterized in that, comprising:
Detecting unit, for detecting the current electric quantity consumption value of target application;
First acquiring unit, for obtaining the current power threshold be set of described target application;
First judging unit, for judging whether the current electric quantity consumption value of described target application exceedes the described current power threshold be set;
Control unit, for judge at described first judging unit the current electric quantity consumption value of described target application exceed described current be set power threshold time, control described target application and enter battery saving mode.
7. terminal according to claim 6, is characterized in that, described terminal also comprises:
Second acquisition unit, for obtaining the current residing positional information of terminal;
Second judging unit, for judging whether the position that described positional information indicates is predeterminated position, if not predeterminated position, then trigger described detecting unit perform described in the operation of the current electric quantity consumption value of detection target application.
8. terminal according to claim 7, is characterized in that, described terminal also comprises:
Statistic unit, after obtaining the current power threshold be set of described target application at described first acquiring unit, adds up the frequency of utilization at least one situation of described target application in the position that setting-up time scope and described positional information indicate;
3rd judging unit, for judging whether described frequency of utilization is greater than setting threshold;
Processing unit, for when described 3rd judging unit judges that described frequency of utilization is greater than setting threshold, improves the described current power threshold be set; And when described 3rd judging unit judges that described frequency of utilization is not more than setting threshold, reduce or keep the described current power threshold be set.
9. the terminal according to any one of claim 6 to 8, is characterized in that, described terminal also comprises:
4th judging unit, for judging whether the current electric quantity consumption value of described target application is greater than the first power threshold, and described first power threshold is less than the current power threshold be set of described target application;
Output unit, during for judging that at described 4th judging unit the current electric quantity consumption value of described target application is greater than the first power threshold, exports the prompting message for pointing out described target application to be about to enter power saving.
10. terminal according to claim 9, is characterized in that, described terminal also comprises:
5th judging unit, for controlling after described target application enters battery saving mode at described control unit, judges whether the current electricity of described terminal is greater than the second power threshold;
When described control unit is also for judging that at described 5th judging unit the current electricity of described terminal is greater than the second power threshold, controls described target application and exit battery saving mode and again add up after electric quantity consumption value zero setting current for described target application.
CN201510472426.1A 2015-08-04 2015-08-04 Application control method and terminal CN105072292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510472426.1A CN105072292A (en) 2015-08-04 2015-08-04 Application control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510472426.1A CN105072292A (en) 2015-08-04 2015-08-04 Application control method and terminal

Publications (1)

Publication Number Publication Date
CN105072292A true CN105072292A (en) 2015-11-18

Family

ID=54501566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510472426.1A CN105072292A (en) 2015-08-04 2015-08-04 Application control method and terminal

Country Status (1)

Country Link
CN (1) CN105072292A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677141A (en) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 Application program management method and terminal
CN106126386A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 The monitoring method of mobile terminal and monitoring system
CN106254673A (en) * 2016-09-06 2016-12-21 广东欧珀移动通信有限公司 Terminal fall detection method and device
CN106547336A (en) * 2016-11-26 2017-03-29 滁州昭阳电信通讯设备科技有限公司 A kind of method and electronic reader of electronic reader power saving
CN106569579A (en) * 2016-10-21 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Power-saving control method and device of terminal
CN106714288A (en) * 2016-12-16 2017-05-24 广东美晨通讯有限公司 Electric quantity processing method and apparatus, and terminal
WO2017128065A1 (en) * 2016-01-26 2017-08-03 陈学良 Technology information collection method during power measurement , and measuring system
CN107346167A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 The method and device of a kind of display control
CN107483751A (en) * 2017-07-05 2017-12-15 广东欧珀移动通信有限公司 Terminal device and its power energy allocation method, computer-readable recording medium
CN109947002A (en) * 2019-03-14 2019-06-28 泰州三凯工程技术有限公司 Live emergency flight control platform
CN110381279A (en) * 2019-04-18 2019-10-25 泰州悦诚科技信息咨询中心 The movement of content executes platform based on instruction
CN111231858A (en) * 2019-03-14 2020-06-05 泰州三凯工程技术有限公司 On-site emergency control method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567940A (en) * 2009-05-11 2009-10-28 深圳凯虹移动通信有限公司 Device and method capable of realizing electricity-saving of the mobile communication terminal and mobile terminal
US20110009155A1 (en) * 2008-03-28 2011-01-13 Fujitsu Limited Mobile Terminal Device And Control Method For Saving Electric Power Of Mobile Terminal Device
CN102238273A (en) * 2010-05-07 2011-11-09 宏碁股份有限公司 Communication device, power saving method thereof and computer program product
CN103369124A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Battery management method and device
CN103500002A (en) * 2013-09-17 2014-01-08 小米科技有限责任公司 Method, device and terminal equipment for managing application program
CN104679202A (en) * 2013-12-02 2015-06-03 联想(北京)有限公司 Mobile equipment electric power managing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110009155A1 (en) * 2008-03-28 2011-01-13 Fujitsu Limited Mobile Terminal Device And Control Method For Saving Electric Power Of Mobile Terminal Device
CN101567940A (en) * 2009-05-11 2009-10-28 深圳凯虹移动通信有限公司 Device and method capable of realizing electricity-saving of the mobile communication terminal and mobile terminal
CN102238273A (en) * 2010-05-07 2011-11-09 宏碁股份有限公司 Communication device, power saving method thereof and computer program product
CN103369124A (en) * 2012-04-10 2013-10-23 腾讯科技(深圳)有限公司 Battery management method and device
CN103500002A (en) * 2013-09-17 2014-01-08 小米科技有限责任公司 Method, device and terminal equipment for managing application program
CN104679202A (en) * 2013-12-02 2015-06-03 联想(北京)有限公司 Mobile equipment electric power managing method and device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677141A (en) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 Application program management method and terminal
WO2017128065A1 (en) * 2016-01-26 2017-08-03 陈学良 Technology information collection method during power measurement , and measuring system
CN107346167A (en) * 2016-05-06 2017-11-14 中兴通讯股份有限公司 The method and device of a kind of display control
CN106126386A (en) * 2016-06-15 2016-11-16 乐视控股(北京)有限公司 The monitoring method of mobile terminal and monitoring system
CN106254673B (en) * 2016-09-06 2019-05-24 Oppo广东移动通信有限公司 Terminal falls detection method and device
CN106254673A (en) * 2016-09-06 2016-12-21 广东欧珀移动通信有限公司 Terminal fall detection method and device
CN106569579A (en) * 2016-10-21 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Power-saving control method and device of terminal
CN106547336A (en) * 2016-11-26 2017-03-29 滁州昭阳电信通讯设备科技有限公司 A kind of method and electronic reader of electronic reader power saving
CN106714288A (en) * 2016-12-16 2017-05-24 广东美晨通讯有限公司 Electric quantity processing method and apparatus, and terminal
CN107483751A (en) * 2017-07-05 2017-12-15 广东欧珀移动通信有限公司 Terminal device and its power energy allocation method, computer-readable recording medium
CN107483751B (en) * 2017-07-05 2020-10-02 Oppo广东移动通信有限公司 Terminal device, electric quantity distribution method thereof and computer-readable storage medium
CN109947002A (en) * 2019-03-14 2019-06-28 泰州三凯工程技术有限公司 Live emergency flight control platform
CN111231858A (en) * 2019-03-14 2020-06-05 泰州三凯工程技术有限公司 On-site emergency control method
CN110381279A (en) * 2019-04-18 2019-10-25 泰州悦诚科技信息咨询中心 The movement of content executes platform based on instruction

Similar Documents

Publication Publication Date Title
US9853449B2 (en) Smart transformer
CN104298336B (en) The control method and device of mobile terminal and its application program
EP3066743B1 (en) Intelligent context based battery charging
KR101562448B1 (en) Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN105354044B (en) A kind of application awakening method and device
CN104239195B (en) A kind of method and electronic equipment for handling electronic equipment power consumption
US9300138B2 (en) System and method for managing power consumption
RU2609136C2 (en) Mobile device operation with optimization of battery charge consumption
JP5900760B2 (en) Power management method and apparatus for network access module
CN103313216B (en) Message prompt method, system and device for communication account
TWI269963B (en) Method, system and computer readable media of controlling the power state of multiple processing elements in a network processor
KR101393767B1 (en) Intelligent power monitoring
CN102811289B (en) Terminal and power management method of same
WO2016041468A1 (en) Wakeup method, device and terminal
CN102547935B (en) A kind of method and portable router controlling portable router low-power consumption work
CN103348744B (en) The method and apparatus for carrying out intelligent power management to mobile communication terminal using power threshold
JP6667502B2 (en) Load scheduling in multiple battery devices
CN102195304B (en) Method and device for managing service time of cell and portable computer
US8839006B2 (en) Power consumption reduction systems and methods
CN105183137A (en) Mobile terminal and wake lock control method and system thereof
CN104244381B (en) Wake-up control method, device and terminal device
US8204552B2 (en) Method for predicting available time remaining on battery in mobile devices based on usage patterns
CN101814757B (en) Method and system for supplying power to mobile terminal
US7945797B2 (en) System and method for portable power source management
TW201421230A (en) Portable electronic device and operative method thereof, and non-transitory recording medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151118