WO2019047924A1 - 终端及其耗电控制方法、装置、计算机可读存储介质 - Google Patents

终端及其耗电控制方法、装置、计算机可读存储介质 Download PDF

Info

Publication number
WO2019047924A1
WO2019047924A1 PCT/CN2018/104614 CN2018104614W WO2019047924A1 WO 2019047924 A1 WO2019047924 A1 WO 2019047924A1 CN 2018104614 W CN2018104614 W CN 2018104614W WO 2019047924 A1 WO2019047924 A1 WO 2019047924A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
power consumption
power
target power
target
Prior art date
Application number
PCT/CN2018/104614
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2019047924A1 publication Critical patent/WO2019047924A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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

Definitions

  • the present disclosure relates to, but is not limited to, the field of electronic technology.
  • the power saving effect can be achieved by adopting a corresponding power saving strategy, in the execution process of the power saving strategy, the actual use requirement of the user is not considered, that is, the power saving effect is uncontrollable to the user, and the user cannot It is known whether this power saving strategy can meet the power usage goals that it hopes to achieve, and the power saving strategy is very likely to affect the normal use of the terminal. For example, when driving a car, the user may want to navigate for 3 hours to reach the destination, but according to the existing power saving mode, the user can only select the corresponding power saving strategy to extend the mobile phone usage time as much as possible.
  • the existing power saving mode can only achieve the purpose of power saving, but it has nothing to do with the actual power demand of the user, so the user cannot know that he has selected Whether the power saving method can achieve the desired power usage goal is not conducive to the user experience.
  • a method for controlling power consumption of a terminal includes: acquiring a target power consumption mode to be set by a terminal, where the target power consumption mode includes at least one target power usage type and the at least one target power usage type. Determining whether the current power of the terminal is greater than or equal to the estimated total target power consumption, and the estimated total target power consumption is based on the power consumption of the at least one target power type and each of the The target power consumption time is acquired; and if the current power of the terminal is greater than or equal to the estimated total target power consumption, the terminal is set to the target power consumption mode, otherwise the target power mode power alarm indication is generated.
  • the embodiment of the present disclosure further provides a terminal power consumption control device, including: an acquisition module, configured to acquire a target power consumption mode to be currently set by the terminal, where the target power consumption mode includes at least one target power usage type and the at least a target power consumption type of the target power consumption time; and a power saving control module, configured to determine whether the current power of the terminal is greater than or equal to the estimated total target power consumption, the estimated total target power consumption according to the Acquiring at least one power consumption type of the target power type and each of the target power consumption durations, wherein if the current power of the terminal is greater than or equal to the estimated total target power usage amount, setting the terminal to the Target power mode, otherwise generate target power mode battery alarm indication.
  • a terminal power consumption control device including: an acquisition module, configured to acquire a target power consumption mode to be currently set by the terminal, where the target power consumption mode includes at least one target power usage type and the at least a target power consumption type of the target power consumption time; and a power saving control module, configured to determine whether the current power
  • Embodiments of the present disclosure also provide a terminal, including a processor, a memory, and a communication bus, the communication bus is configured to establish connection communication between the processor and the memory, and the processor performs storage in the memory One or more programs to perform the terminal power consumption control method according to the present disclosure.
  • Embodiments of the present disclosure also provide a computer storage medium having stored thereon one or more programs, the one or more programs being executed by one or more processors, the one or more processors executing according to the present A disclosed terminal power consumption control method.
  • FIG. 1 is a schematic flow chart of a method for controlling power consumption of a terminal according to an embodiment of the present disclosure
  • FIGS. 2 to 5 are schematic diagrams of a target power mode interface according to an embodiment of the present disclosure
  • FIG. 6 is a schematic flow chart of a method for controlling power consumption of a terminal according to another embodiment of the present disclosure.
  • FIG. 7 and 8 are schematic diagrams of a target power mode interface according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a terminal power consumption control device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • the terminal power consumption control method according to an embodiment of the present disclosure is proposed.
  • FIG. 1 is a schematic flow chart of a method for controlling power consumption of a terminal according to an embodiment of the present disclosure.
  • a terminal power consumption control method may include steps S11 to S14.
  • step S11 the target power consumption mode to be set by the terminal is acquired, and the target power consumption mode includes at least one target power usage type and a target power consumption duration of each target power usage type.
  • the target power consumption mode to be set in the embodiment of the present disclosure refers to the power consumption mode selected by the user according to his actual power demand.
  • one or more power modes such as a power outage mode, an entertainment power mode, a call power mode, and the like, may be preset on the terminal. Assume that the user plans to travel with the family on his own, and the user can select the travel power mode. At this time, the travel power mode is the target power mode to be set by the terminal.
  • the power usage mode includes a specific target power usage type and a target power usage duration corresponding to each target power usage type.
  • the terminal can estimate an approximate usage duration of each target power usage type in each power consumption mode according to the current remaining power consumption condition, so as to facilitate the user to know in advance what he wishes to achieve. Whether the electrical goal can be achieved.
  • the terminal estimates the approximate usage time according to the current remaining power to inform the user.
  • the usage duration of each power usage type in each power consumption mode may be estimated by using the current remaining power of the terminal, for example, by obtaining an average power consumption rate of the power usage type, and dividing the current remaining power consumption value of the terminal by the average power consumption.
  • the electrical rate thereby obtaining the length of use of the type of electricity used.
  • the average power consumption rate of the power type it can be obtained through the data server in the background, or can be calculated by counting the long-term use of the application of the power type on the terminal. For example, the terminal can count the total time that each installed application runs on the terminal, and the total power consumed by each application, so that the average power consumption rate of each application can be calculated.
  • the user selects the target power consumption mode to be set, and should also include selecting and adjusting the power usage type and the target power consumption duration in the target power consumption mode.
  • the user can directly select the current estimated power usage duration of the terminal.
  • the user can also manually edit or set the corresponding power consumption duration according to actual needs.
  • the terminal in the travel power mode, including the type of power used for photographing and the type of navigation power, the terminal can estimate the power type of photographing according to the current remaining power, and can use 2 hours, and the navigation power mode is pre- It can be estimated that it can be used for 3 hours (this assumes that the estimated duration of electricity usage can be the time used by both types of electricity, that is, the terminal can not only take photos for 2 hours, but also realize navigation for 3 hours).
  • the user wants to realize navigation for 4 hours, and also wants to take 2 hours to photograph.
  • the user can directly set the target power consumption time of the photo power type to 2 hours, and set the target power consumption time set by the navigation power type to 4 hours.
  • the duration of power usage estimated by the terminal for each type of power usage may also be the duration that the terminal can continue to use only the type of power usage.
  • Figure 3 as an example. In this case, the terminal can only take photos for 2 hours, or can only navigate for 3 hours.
  • the terminal may also receive the user to modify or adjust the power usage mode in the power mode and the power mode. For example, adding a new power mode, deleting an existing power mode, adding a new power type, deleting an existing power type, and the like.
  • the type of power usage in the embodiment of the present disclosure may be an application type, such as WiFi (Wireless Fidelity) as an application type, QQ as an application type, Baidu map as an application type, and the like.
  • the target power consumption duration of the target power usage type selected by the user refers to the length of time that a specific application (APP) can be operated; the power usage type may also be divided according to the corresponding division rule.
  • a similar or similar application such as performance or use is divided into a power type, for example, "king glory” and “cool running” are divided into “game power type", “cool dog music”, “youku video” It is divided into "audio type for audio and video” and so on.
  • step S12 it is determined whether the current power of the terminal is greater than or equal to the estimated total target power consumption. If the current power of the terminal is greater than or equal to the estimated total target power consumption, then the process goes to step S13; otherwise, the process goes to step S14.
  • the estimated total target power consumption may be obtained according to the power consumption of each of the target power usage types and each of the target power usage durations.
  • the estimated total target power consumption refers to: when the target power usage mode to be set currently includes a target power usage type, the estimated total target power consumption may be The estimated target power consumption corresponding to the target power type; and when the current target power mode to be set includes at least two target power types, the estimated total target power consumption may be corresponding to each target power type
  • the estimated target uses the sum of the electricity. For example, when the target power mode A to be set includes the target power types A1, A2, and A3, the power consumption of the target power types A1, A2, and A3 may be separately estimated. Assuming that they are Q1, Q2, and Q3, respectively, the estimated total target power consumption may be the sum of Q1, Q2, and Q3.
  • the estimated actual power value can also be multiplied by a predetermined error coefficient.
  • the final power value obtained is used as the estimated target power.
  • an actual power value may be estimated according to an average amount of a certain type of power usage and a target power consumption time corresponding to the target power type, and the obtained actual power value may be multiplied by a preset error coefficient (for example, For 1.1, 1.2, etc., to get the final estimated target electricity.
  • the preset error coefficient can be flexibly determined according to the experimental simulation result, and is not limited to a specific value, but the accuracy of the terminal judgment should be ensured.
  • the power target set by the user-selected target power mode may be finally achieved or realized (specifically, the power consumption duration of each power type).
  • the power setting set by the user-selected target power mode may not be achieved or realized. aims.
  • step S13 the terminal is set to the target power usage mode.
  • the current power of the terminal can meet the power target set by the target power mode to be set by the user, and the terminal directly sets the power to be set.
  • the target power mode is set to the target power mode to execute the target power mode.
  • the user can also indirectly know that the power target set by himself can be basically realized.
  • step S14 a target power mode power alarm indication is generated.
  • the terminal When it is judged that the current power of the terminal is less than the estimated total target power consumption, it can be considered that the current power of the terminal is difficult to support to realize the power target set by the user. At this time, the terminal generates the target power mode power alarm indication to prompt the user.
  • the set power target may not be achieved.
  • the target power mode power alarm indication may be used to prompt the user to modify the target power usage type, the target power usage duration, and the like; of course, the user may also modify the target power usage mode.
  • the terminal Before the user performs modification according to the target power mode power alarm indication generated by the terminal, the terminal may also provide corresponding modification suggestions. For example, referring to FIG. 4, the terminal may generate and display the following suggestion content to notify the user: “The target power consumption type of the currently set navigation type is 4 hours, which may not be implemented, and it is recommended to modify it to 3 hours”.
  • the recommended 3 hours may be the duration of the power consumption of the photographing power type estimated by the terminal according to the current power.
  • the target power mode power alarm indication can also be used to prompt the user to charge.
  • the terminal includes, but is not limited to, reminding the user by: “The current remaining power is 40%, and the target power consumption type of the currently set navigation type may not be implemented for 4 hours. It is recommended to charge in time” .
  • the power consumption according to the target power type currently set by the user and the target power consumption are re-based.
  • the duration is used to obtain the estimated total target power consumption, that is, the process goes to step S12 to determine whether the current power of the terminal is greater than or equal to the recalculated estimated total target power consumption.
  • the target power mode power alarm indication is generated to suggest that the user modify the target power mode, or prompt the user to charge.
  • the terminal should also determine to execute the target power mode, that is, set the terminal to the target power mode.
  • the actual use situation and the terminal pre-estimate the power consumption (eg, power consumption rate, etc.) used by the target power consumption have a large error, in order to better ensure Realizing the target power mode to apply the power target, the current power target to be completed can be monitored in real time or intermittently.
  • the power consumption eg, power consumption rate, etc.
  • FIG. 6 is a schematic flow chart of a method for controlling power consumption of a terminal according to another embodiment of the present disclosure.
  • a terminal power consumption control method may include steps S61 to S64.
  • step S61 after the terminal is set to the target power mode, when the terminal enters the target power mode, the current power consumption time of each target power type and the current power of the terminal in the target power mode are acquired.
  • the target power mode is the travel power mode
  • the mode includes the following two types of target power: "Baidu map”, "camera” (that is, an application APP is a power type), and obtains user settings.
  • the target power consumption type "Baidu Map” has a target duration of 2 hours, and the “camera” target has a duration of 3 hours.
  • step S62 the duration of the power to be completed of each target power type is calculated according to the current power consumption duration and the target power consumption duration.
  • the current power consumption duration of Baidu Map is 1 hour.
  • step S63 the estimated current target power consumption amount is obtained according to each of the to-be-completed power consumption duration and the power consumption of each of the target power usage types.
  • the waiting time for power consumption (“Baidu Map” to be completed for 1 hour, "camera” to be completed for 3 hours) and the power consumption of each target type of electricity Quantity, get the estimated current target electricity consumption.
  • the power consumption of "Baidu Map” is X
  • the power consumption of "Camera” is Y
  • the approximate power consumption required for "Baidu Map” and “Camera” can be calculated, respectively, X, 3Y Therefore, it can be estimated that the current target electricity consumption is X+3Y.
  • step S64 it is determined according to the preset determination rule whether the current power of the terminal is less than or equal to the estimated current target power consumption, and the power saving control strategy is determined according to the comparison result.
  • the preset determination rule includes, but is not limited to, determining according to a preset time interval. For example, it is determined whether the current power of the terminal is greater than or equal to the estimated current target power consumption every interval of 1 minute, 5 minutes, 10 minutes, 20 minutes, and the like. In some examples, the preset determination rule may also use a real-time judgment manner to determine whether the current power of the terminal is less than or equal to the estimated current target power consumption.
  • comparing the current power of the terminal with the estimated current target power consumption that is, determining whether the current time power meets the current power target to be completed, and determining the appropriate power saving according to the comparison result.
  • the control strategy can avoid the excessive restrictions on the terminal function or the application under the premise of ensuring the realization of the power setting target set by the user, intelligently realize the power consumption target that the user wishes to achieve, and improve the user experience.
  • the existing power saving mode can only achieve the purpose of power saving, and cannot be combined with the actual power demand of the user, and may also be caused by adopting a corresponding power saving strategy when the terminal has sufficient power.
  • the user cannot be guaranteed to use normally, and 2) when the terminal is currently unable to guarantee the realization of the power target desired by the user, the appropriate power saving process cannot be performed, and the appropriate power saving strategy is selected, and the user cannot be approached or reached as much as possible. Use electricity targets.
  • the policy for performing the power saving restriction on the application that is currently in the running state includes: acquiring an application that is currently in the running state of the terminal, and acquiring the protected application list; and the application that is currently in the running state does not belong to the application.
  • the application in the list is determined to be the application to be restricted; then the power saving restriction is applied to the corresponding to-be-limited application according to the preset processing rule.
  • the running state includes two running states: running in the foreground and running in the background.
  • the application in the running state may be each application existing on the terminal, such as an application APP manually installed by the user (for example, “WeChat”, “Weibo”, “Netease News”, “Alipay”, etc.), It can be related applications that come with the terminal system (such as “WiFi”, “Bluetooth”, “Data”, “Phone”, “Calendar”, “Weather”, “Information”, etc.). It should be understood that whether the detection application is in the running state may adopt any existing detection manner, and is not limited herein.
  • the application to be restricted is subjected to power saving restriction processing to reduce the consumption of the terminal power, thereby achieving the power usage target set by the user as much as possible.
  • the specific processing method for limiting the power saving restriction of the application includes, but is not limited to, limiting some functions of the application to be restricted (for example, for a chat communication application, the video chat function can be turned off; for the navigation application, the voice navigation function can be turned off, etc.) , you can also close the pending application directly.
  • the system application "data" does not want to perform power saving restriction processing for the user, and at this time, the user can select the application "data” as the protected application.
  • the user can choose not to check “Allow data to be turned off”; continue to refer to Figure 7, if the user does not want to save power for the "GPS" (Global Positioning System) application, that is, do not want to turn it off. , the user can also uncheck “Allow GPS to be turned off", thereby applying "data", "GPS” as a protected application, and the terminal can add it to the list of protected applications.
  • GPS Global Positioning System
  • the user can also edit other applications that he or she wishes to protect, for example, by clicking on "Other Protected Applications” for editing, modifying, selecting, and the like.
  • the terminal can display all the apps currently installed. Referring to FIG. 8, the user can select an application to be protected according to his actual power usage, and the terminal can add it to the protected application list.
  • the user can check “Baidu network disk”, “Drip travel” to indicate that the application is allowed to save power limit processing, and for the unchecked "WeChat”, “camera”, “telephone”, “Baidu map” ",” indicates that the user does not want to limit the processing, the user wants to use these applications normally, that is, these applications belong to the protected application.
  • the preset processing rule includes, but is not limited to, at least one of the following rules: sequentially selecting a to-be-limited application that consumes the largest amount of power from the current to-be-restricted applications to perform power-saving limiting processing; In the to-be-restricted application, the to-be-limited application with the lowest frequency is sequentially selected to perform the power-saving restriction processing; and the to-be-limited application with the longest usage duration is sequentially selected from the current to-be-limited applications to perform the power-saving restriction processing.
  • the application to be limited currently includes three applications: application A, application B, and application C, and the power consumption relationship is that application A is greater than application B, and application B is greater than application C.
  • the processing is performed according to the first processing rule (the selection of the maximum power consumption is determined as the application to be restricted)
  • the application A may be subjected to the power saving restriction processing; the next time the terminal is determined to be less than or If the power consumption of the current target is estimated, the application B can be used to save power. If the current power of the terminal is greater than the estimated current target power consumption, the current power saving policy of the terminal can be maintained. Select a new application to be restricted for power saving, so as to fully ensure that the user can achieve normal use of the terminal.
  • the power-saving restriction may be performed on all the applications to be restricted, or there may be no application to be restricted (for example, the terminal is currently There is no application in the running state, or there is an application in the running state, but the application in the running state belongs to the protected application, etc.), which indicates that the terminal can not perform effective power saving processing, and can notify the user to modify the target. Electrical mode and / or remind the user to charge.
  • the target power consumption mode to be set by the terminal may be acquired, where the target power consumption mode includes at least one target power usage type and a target power consumption duration of each target power usage type;
  • the preset judgment rule determines whether the current power of the terminal is greater than or equal to the estimated total target power consumption, and the estimated total target power consumption is obtained according to the power consumption of each target power type and the duration of each target power; if the current power of the terminal is determined If the power is greater than or equal to the estimated total target power, it indicates that the current power of the terminal can meet the target power mode that the user wants to set. In this case, the terminal can be set to the target power mode, thereby effectively ensuring that the user can be implemented.
  • the target power mode power alarm indication may be generated. To inform the user; in turn, to enable the user to know in advance what power he wants to achieve. Whether it can achieve, so that users can prepare in advance and improve the user experience.
  • the embodiment of the present disclosure provides a terminal power consumption control device, which is used to implement the terminal power consumption control method according to the first embodiment.
  • FIG. 9 is a schematic structural diagram of a terminal power consumption control device according to an embodiment of the present disclosure.
  • a terminal power consumption control apparatus may include an acquisition module 91 and a power saving control module 92.
  • the obtaining module 91 is configured to acquire a target power consumption mode to be set by the terminal, where the target power consumption mode includes at least one target power usage type and a target power consumption duration of each target power usage type.
  • the target power consumption mode to be set acquired by the obtaining module 91 refers to the power consumption mode selected by the user according to his actual power demand.
  • one or more power consumption modes such as a power outage mode, an entertainment power mode, a custom power mode, and the like, may be preset on the terminal. Assume that the user plans to travel with the family on his own, and the user can select the travel power mode. At this time, the travel power mode is the target power mode to be set by the terminal.
  • the target power usage type may be an application type as a power usage type, or may be classified into a power usage type according to a corresponding division rule, for example, a similar or similar application such as performance or use.
  • the power-saving control module 92 is configured to determine whether the current power of the terminal is greater than or equal to the estimated total target power consumption, and the estimated total target power consumption is obtained according to the power consumption of each target power type and the duration of each target power consumption. If it is determined that the current power of the terminal is greater than or equal to the estimated total target power consumption, the terminal is set to the target power consumption mode; otherwise, the target power mode power alarm indication is generated.
  • the power-saving control module 92 is configured to determine, when the acquisition module 91 acquires the corresponding target power-on mode, whether the current power of the terminal is greater than or equal to the estimated total target power consumption.
  • the estimated total target power consumption can be determined by referring to the manner described above in connection with FIG. 1 , and details are not described herein again.
  • the power saving control module 92 When it is determined that the current power of the terminal is greater than or equal to the estimated total target power consumption, it indicates that the current power of the terminal can meet the power target set by the user selected power consumption mode to be set, and thus the power saving control module 92 directly
  • the target power mode to be set is set to the target power mode to execute the target power mode. Therefore, the user can also indirectly know that the power target set by himself can be basically realized.
  • the power saving control module 92 When it is determined that the current power of the terminal is less than the estimated total target power consumption, it can be considered that the current power of the terminal is difficult to support to achieve the power target set by the user, and thus the power saving control module 92 generates the target power mode power alarm indication to prompt The user's set power target may not be achieved.
  • the user can also modify the target power mode according to the target power mode power alarm indication generated by the power saving control module 92.
  • the target power mode can also be directly used without modification.
  • the power-saving control module 92 can also be configured to re-acquire the estimated total target power according to the power consumption of the target power type and the target power consumption time currently modified by the user. The amount of electricity is used to determine whether the current power of the terminal is greater than or equal to the estimated total target power consumption.
  • the power-saving control module 92 is further configured to: after setting the terminal to the target power-on mode, and detecting that the terminal enters the target power-on mode, acquiring the current type of each target power-type in the target power-mode
  • the duration of electricity usage and the current power consumption of the terminal are calculated according to the current power consumption duration and the target power consumption duration, and the power consumption duration of each target power type is calculated according to the power consumption duration of each target and the power consumption of each target power type.
  • the current target power consumption is estimated, and according to a preset judgment rule, it is determined whether the current power of the terminal is less than or equal to the estimated current target power consumption, and the power saving control strategy is determined according to the comparison result.
  • the power-saving control module 92 is further configured to compare the current power of the terminal with the estimated current target power, that is, whether the current power can meet the current power target to be completed, and According to the comparison result, the appropriate power-saving control strategy is determined.
  • the terminal function or the application can be prevented from being excessively restricted, and the power demanded by the user can be intelligently realized. The goal is to enhance the user experience.
  • the preset determination rule includes, but is not limited to, determining according to a preset time interval. For example, the power saving control module 92 determines whether the current power of the terminal is greater than or equal to the estimated current target power consumption every 10 seconds, 1 minute, 2 minutes, 5 minutes, and the like. In some examples, the preset determination rule may also use a real-time judgment manner to determine whether the current power of the terminal is less than or equal to the estimated current target power consumption.
  • the power saving control policy includes: when the comparison result is yes, adopting at least one of the following policies: turning on the terminal security mode; turning on the terminal flight mode; lowering the terminal screen brightness; and being currently running The state of the application is limited by power.
  • the power saving control module 92 can maintain the current state of the terminal, or the power saving is not used.
  • the policy is to avoid affecting the normal use of the user after limiting the corresponding application or function of the terminal. Therefore, the following problems are solved: 1) the existing power saving mode can only achieve the purpose of power saving, and cannot be combined with the actual power demand of the user, and may be unable to adopt the corresponding power saving strategy when the terminal has sufficient power.
  • the appropriate power saving process cannot be performed, and the appropriate power saving strategy is selected, and the user cannot be approached or reached as much as possible. Electric target.
  • the power saving control module 92 is configured to perform a power saving restriction on the currently running application by acquiring an application that is currently in the running state of the terminal, and acquiring a protected application list; The application in the running state that is not in the application list is determined to be the application to be restricted; and the application to be restricted is limited according to the preset power saving restriction rule.
  • the preset processing rule includes at least one of the following rules: selecting, from the current to-be-restricted applications, the to-be-limited applications that have the largest power consumption to perform power-saving restriction processing; and selecting the lowest usage frequency from the current to-be-limited applications.
  • the to-be-restricted application performs the power-saving restriction processing; and sequentially selects the to-be-limited application that has the longest usage time from the current to-be-restricted applications to perform the power-saving restriction processing.
  • the power-saving control module 92 is further configured to: when the terminal does not currently have the to-be-restricted application, for example, the terminal does not currently have an application in an running state, or an application in an operating state exists, but the The applications in the running state belong to the protected application, etc., and notify the user to modify the target power mode and/or remind the user to charge.
  • the embodiment of the present disclosure provides a terminal power consumption control device, including an acquisition module and a power saving control module, wherein the acquisition module is configured to acquire a target power consumption mode to be set by the terminal, where the target power consumption mode includes at least one The target power type and the target power consumption time of each target power type; the power saving control module is configured to determine whether the current power of the terminal is greater than or equal to the estimated total target power consumption, and the estimated total target power consumption is based on each target. The power consumption type of the electricity type and the duration of each target power consumption are obtained.
  • the terminal If it is judged that the current power of the terminal is greater than or equal to the estimated total target power consumption, it indicates that the current power of the terminal can meet the target power consumption mode that the user desires to set, and the terminal is set to the target power consumption mode, thereby effectively ensuring The user can achieve the power usage target; if it is determined that the current power of the terminal is less than the estimated total target power consumption, it indicates that the current power of the terminal may not achieve the power usage target desired by the user, and the target power consumption mode is generated at this time.
  • a battery warning indicator to inform the user. Therefore, the user can know in advance whether the power target that he or she wishes to achieve can be achieved, so that the user can prepare in advance and improve the user experience.
  • FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • a terminal includes a processor 101, a memory 102, and a communication bus 103.
  • Communication bus 103 is used to establish connections and communications between processor 101 and memory 102.
  • the processor 101 executes one or more programs stored in the memory 102 to perform a terminal power consumption control method according to various embodiments of the present disclosure.
  • the terminals provided by the embodiments of the present disclosure include, but are not limited to, mobile phones, smart watches, tablet computers, smart wearable devices, and the like.
  • Embodiments of the present disclosure also provide a computer readable storage medium having stored thereon one or more programs, the one or more programs being executed by one or more processors, the one or more processors executing A terminal power consumption control method according to various embodiments of the present disclosure.
  • each module or step can be implemented by program code executable by the computing device, such that they can be stored in a computer storage medium (ROM/RAM, disk, optical disk) by a computing device Execution, and in some cases, the steps shown or described may be performed in an order different than that herein, or they may be separately fabricated into individual integrated circuit modules, or a plurality of The integrated circuit module is implemented.
  • the present disclosure is not limited to any specific combination of hardware and software.

Abstract

一种终端及其耗电控制方法、装置以及计算机可读存储介质。所述终端耗电控制方法包括:获取终端当前待设置的目标用电模式(S11),所述目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长;判断所述终端当前电量是否大于或等于预估总目标用电电量(S12),所述预估总目标用电电量根据所述至少一个目标用电类型的耗电量和各目标用电时长获取;以及如果终端当前电量大于或等于预估总目标用电电量,则将所述终端设置为所述目标用电模式(S13),否则生成目标用电模式电量告警指示(S14)。

Description

终端及其耗电控制方法、装置、计算机可读存储介质 技术领域
本公开涉及(但不限于)电子技术领域。
背景技术
目前,存在如下两种延长终端设备使用时长的方式:一是增加终端电池的容量,然而众所周知,电池容量的增加将导致电池体积的增大,这与人们追求轻薄化的设计相悖,因此不可能无限制地增加电池容量;二是采用相应的省电策略,以延长终端的使用时长。
尽管可以通过采用相应省电策略来达到省电效果,但是在省电策略执行过程中,并没有考虑用户的实际使用需求,即,这种省电效果对用户而言是不可控的,用户无法得知这种省电策略能否满足自己所希望达到的用电目标,而且该省电策略极有可能影响终端的正常使用。例如,用户驾车出游时,可能希望自己的手机可以导航3小时以达到目的地,但根据现有的省电方式,用户只能选择相应的省电策略以尽可能延长手机使用时长,这跟用户实际的所希望达到的用电目标是没有任何关联关系的,也即,现有的省电方式仅仅可以达到省电的目的,但与用户实际用电需求无关,因而用户无法得知自己选定的省电方式能否实现自己所希望的用电目标,不利于用户使用体验。
发明内容
根据本公开实施例,提供一种终端耗电控制方法,包括:获取终端当前待设置的目标用电模式,所述目标用电模式包括至少一个目标用电类型和所述至少一个目标用电类型的目标用电时长;判断所述终端当前电量是否大于或等于预估总目标用电电量,所述预估总目标用电电量根据所述至少一个目标用电类型的耗电量和各所述目标用电时长获取;以及如果所述终端当前电量大于或等于所述预估总目标用电电量,则将所述终端设置为所述目标用电模式,否则生成目标用电模式电量告警指示。
本公开实施例还提供一种终端耗电控制装置,包括:获取模块,其设置为获取终端当前待设置的目标用电模式,所述目标用电模式包括至少一个目标用电类型和所述至少一个目标用电类型的目标用电时长;以及省电控制模块,其设置为判断所述终端当前电量是否大于或等于预估总目标用电电量,所述预估总目标用电电量根据所述至少一个目标用电类型的耗电量和各所述目标用电时长获取,其中,如果所述终端当前电量大于或等于所述预估总目标用电电量,则将所述终端设置为所述目标用电模式,否则生成目标用电模式电量告警指示。
本公开实施例还提供一种终端,包括处理器、存储器及通信总线,所述通信总线用于建立所述处理器和所述存储器之间的连接通信,所述处理器执行所述存储器中存储的一个或者多个程序,以执行根据本公开的终端耗电控制方法。
本公开实施例还提供一种计算机存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,所述一个或者多个处理器执行根据本公开的终端耗电控制方法。
附图说明
附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本公开,并不构成对本公开的限制。在附图中:
图1为根据本公开实施例的终端耗电控制方法流程示意图;
图2至图5为根据本公开实施例的目标用电模式界面示意图;
图6为根据本公开另一实施例的终端耗电控制方法流程示意图;
图7和图8为根据本公开实施例的目标用电模式界面示意图;
图9为根据本公开实施例的终端耗电控制装置结构示意图;以及
图10为根据本公开实施例的终端结构示意图。
具体实施方式
为了使本公开的目的、技术方案及优点更加清楚明白,下面通 过具体实施方式结合附图对本公开实施例作进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开,并不用于限定本公开。
为了解决终端省电方式与用户实际用电需求无关、用户无法得知自己所希望达到的用电目标能否实现的问题,提出根据本公开实施例的终端耗电控制方法。
图1为根据本公开实施例的终端耗电控制方法流程示意图。
参见图1,根据本公开实施例的终端耗电控制方法可以包括步骤S11至S14。
在步骤S11,获取终端当前待设置的目标用电模式,该目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长。
应当说明的是,本公开实施例中待设置的目标用电模式指的是用户根据自己的实际用电需求所选择的用电模式。具体的,请参见图2,可以在终端上预先设定一个或者多个用电模式,例如出游用电模式、娱乐用电模式、通话用电模式等等。假设用户计划和家人一起自驾出游,用户便可以选择出游用电模式,此时出游用电模式便是终端当前待设置的目标用电模式。
本公开实施例中,用电模式下包括具体的目标用电类型和各目标用电类型对应的目标用电时长。在用户选择相应的待设置的目标用电模式之前,终端可以根据当前剩余电量情况预估各个用电模式下各个目标用电类型的一个大致使用时长,以方便用户提前获知自己所希望实现的用电目标能否实现。当然,也可以在用户选择该待设置的目标用电模式时或者选择之后,终端再根据当前剩余电量预估大致使用时长,以告知用户。
可以采用例如以下方式,通过终端当前剩余电量来预估各个用电模式下各用电类型的使用时长:获取该用电类型的平均耗电速率,将终端当前剩余电量的数值除以该平均耗电速率,从而得到该用电类型的使用时长。对于用电类型的平均耗电速率,其可以通过后台的数据服务器进行获取,也可以通过统计该用电类型的应用在该终端上的长期使用情况进行计算。例如,终端可以统计已经安装的各应用在终 端上分别运行的总时间,以及各应用所消耗的总电量,从而可以计算各应用的平均耗电速率。
本公开实施例中,用户选择待设置的目标用电模式还应当包括对该目标用电模式下的用电类型和目标用电时长的选择和调整。在终端当前预估的用电时长满足用户实际需求时,用户可以直接选择终端当前预估的用电时长。在终端当前预估的用电时长与用户实际的用电目标不相符时,用户也可以根据实际需求手动编辑或者设置相应的用电时长。
为了更好的说明,请参见图3,在出游用电模式下,包括拍照用电类型和导航用电类型,终端根据当前剩余电量预估拍照用电类型可以使用2小时,导航用电模式预估可以使用3小时(这里假设预估的用电时长可以是两种用电类型都使用的时间,也即是该终端不仅可以拍照2小时,还能实现导航3小时)。而用户希望实现导航4小时,同时还希望可以拍照2小时,那么此时用户可以直接将拍照用电类型的目标用电时长设置为2小时,将导航用电类型设置的目标用电时长设置为4小时。
当然,终端对各目标用电类型预估的用电时长也可以是终端仅仅使用该用电类型所能持续的时长。同样以图3为例,在这种情况下,该终端只能进行拍照2小时,或者只能导航3小时。
在一些示例中,为了更加贴合用户实际需要、方便用户使用,终端还可以接收用户对用电模式、用电模式下的用电类型进行修改或者调整。例如增加新的用电模式、删除已有的用电模式、增加新的用电类型、删除已有的用电类型等。
应当说明的是,本公开实施例中的用电类型可以是一个应用为一个用电类型,例如WiFi(无线保真)为一个应用类型,QQ为一个应用类型,百度地图为一个应用类型等,在这种情况下,用户选择的目标用电类型的目标用电时长指的是希望某个具体的应用(APP)所能运行的时长;用电类型也可以是按照相应的划分规则进行划分的,例如将性能或者用途等相似或者相近的应用划分为一个用电类型,例如将“王者荣耀”、“酷跑”划分为“游戏用电类型”,将“酷狗音 乐”、“优酷视频”划分为“影音用电类型”等。
在步骤S12,判断终端当前电量是否大于或等于预估总目标用电电量,如果终端当前电量大于或等于预估总目标用电电量,则转至步骤S13;否则,转至步骤S14。
在用户选择完成相应的待设置的目标用电模式时,判断终端当前电量是否大于或等于预估总目标用电电量。所述预估总目标用电电量可以根据各所述目标用电类型的耗电量和各所述目标用电时长获取。
应当说明的是,本公开实施例中,预估总目标用电电量具体是指:当当前该待设置的目标用电模式中包含一个目标用电类型时,预估总目标用电电量可以是该目标用电类型对应的预估目标用电电量;并且当当前该待设置的目标用电模式包含至少两个目标用电类型时,预估总目标用电电量可以是各目标用电类型对应的预估目标用电电量的总和。例如,当待设置的目标用电模式A包含目标用电类型A1、A2、A3这三个目标用电类型时,可以首先分别预估目标用电类型A1、A2、A3所需消耗的电量,假设其分别为Q1、Q2、Q3,则预估总目标用电电量可以是Q1、Q2、Q3的总和。
在一些示例中,为了更好地保证能够实现用户设定的用电目标,并给终端预留(剩余)部分电量,还可以将预估得到的实际电量值乘以一个预先设定的误差系数,将得到的最终电量值作为预估目标用电电量。例如,可以根据某目标用电类型的平均量和该目标用电类型对应的目标用电时长预估得到一个实际电量值,再将得到的该实际电量值乘以预先设定的误差系数(例如为1.1、1.2等),从而得到最终的预估目标用电电量。
应当理解的是,预先设定的误差系数可以根据实验仿真结果来灵活确定,而并不限于某个具体的数值,但应当保证终端判断的准确性。具体的,在终端判断当前电量大于或等于预估总目标用电电量时,最终应当能达到或实现用户选择的目标用电模式所设置的用电目标(具体是各用电类型的用电时长);而在终端判断当前电量小于预估总目标用电电量时,按照正常用电方式(也即是不采用省电策略)应 当无法达到或者实现用户选择的目标用电模式所设置的用电目标。
在步骤S13,将终端设置为所述目标用电模式。
在判断终端当前电量大于或等于预估总目标用电电量时,此时表明终端当前电量能够满足用户选择的待设置的目标用电模式所设定的用电目标,终端直接将该待设置的目标用电模式设定为目标用电模式,以执行该目标用电模式。用户也可以间接获知自己设置的用电目标基本能够实现。
在步骤S14,生成目标用电模式电量告警指示。
在判断终端当前电量小于预估总目标用电电量时,此时可以认为终端当前电量很难支撑以实现用户设定的用电目标,此时终端生成目标用电模式电量告警指示,以提示用户其设定的用电目标可能无法实现。
在一个实施例中,目标用电模式电量告警指示可以用于提示用户修改目标用电类型、目标用电时长等;当然,用户也可以修改目标用电模式。在用户根据终端生成的该目标用电模式电量告警指示进行修改之前,终端还可以给出相应的修改建议。例如,参见图4,终端可以生成并显示如下提示建议内容以通知用户:“您当前设置的导航用电类型的目标用电时长4小时,可能无法实现,建议修改为3小时”。此处,所建议的3小时可以是终端根据当前电量来预估的拍照用电类型的用电时长。
在一些示例中,目标用电模式电量告警指示也可以用于提示用户充电。例如,请参见图5,终端包括但不限于通过如下方式来提醒用户:“当前剩余电量为40%,可能无法实现您当前设置的导航用电类型的目标用电时长4小时,建议及时充电”。
在用户根据目标用电模式电量告警指示进行修改(例如,包括修改用电模式、用电类型、用电时长等)后,重新根据用户当前设置的目标用电类型的耗电量和目标用电时长来获取预估总目标用电电量,也即转至步骤S12,以判断终端当前电量是否大于或等于重新计算得到的预估总目标用电电量。
应当说明的是,在判断终端当前电量小于预估总目标用电电量 时,生成目标用电模式电量告警指示以建议用户修改目标用电模式,或者提示用户充电。此时,若用户未对目标用电模式进行相应修改,仍然确定采用当前设置的目标用电模式,终端也应当确定执行该目标用电模式,也即是将终端设置为该目标用电模式。
应当理解的是,用户在使用过程中,可能存在实际使用情况与终端预先估计目标用电电量所使用的耗电量(例如耗电速率等)存在较大误差的情形,为了更好地保证能够实现该目标用电模式对应用电目标,可以对当前待完成的用电目标进行实时或者间断地监测。
图6为根据本公开另一实施例的终端耗电控制方法流程示意图。
参见图6,根据本公开另一实施例的终端耗电控制方法可以包括步骤S61至S64。
在步骤S61,将终端设置为该目标用电模式之后,监测到终端进入到该目标用电模式时,获取该目标用电模式下各目标用电类型的当前用电时长以及终端当前电量。
为了更好地理解本公开,下面结合具体的示例进行说明。
假设目标用电模式为出游用电模式,所述模式包括如下两种目标用电类型:“百度地图”、“相机”(也即一个应用APP为一种用电类型),并获取到用户设置的目标用电类型“百度地图”的目标用电时长为2小时,“相机”的目标用电时长为3小时。在监测到终端进入该出游用电模式时,开始统计相应目标用电类型的当前用电时长以及终端当前电量。
具体的,可以是在监测到终端启动“百度地图”时,开始统计“百度地图”的当前用电时长,假设在9:00时监测到“百度地图”启动,处于运行状态直至当日10:00,那么“百度地图”的当前用电时长则为1小时。对于目标用电类型“相机”同样可以采用上述统计方式获取其当前用电时长。
在步骤S62,根据当前用电时长以及目标用电时长计算各目标用电类型的待完成用电时长。
继续结合上述示例,此时(10:00)“百度地图”的当前用电时长为1小时,根据用户设置的目标用电时长(2小时)可以计算得到 “百度地图”的待完成用电时长为2-1=1小时。若从终端设置为该出游用电模式之后,直到当前未检测到“相机”启动,那么此时“相机”的当前用电时长为0,获取用户设置的目标用电时长(3小时),从而可以计算得到“相机”的当前待完成用电时长为3-0=3小时。
在步骤S63,根据各所述待完成用电时长和各所述目标用电类型的耗电量来获取预估当前目标用电电量。
根据上述得到的各目标用电类型的待完成用电时长(“百度地图”待完成用电时长为1小时,“相机”待完成用电时长为3小时)以及各目标用电类型的耗电量,获取预估当前目标用电电量。具体的,假设“百度地图”的耗电量为X,“相机”的耗电量为Y,那么可以计算得到“百度地图”和“相机”所需的大致用电电量,分别为X、3Y,从而可以得到预估当前目标用电电量为X+3Y。
在一些示例中,还可以将计算得到“百度地图”和“相机”所需的大致用电电量,结合预设的误差系数,计算得到最终的预估当前目标用电电量。例如误差系数为1.3,那么可以得到预估当前目标用电电量为1.3(X+3Y)。
在步骤S64,按照所述预设判断规则判断所述终端当前电量是否小于或等于预估当前目标用电电量,根据比较结果确定省电控制策略。
本公开实施例中,预设判断规则包括但不限于根据预设时间间隔进行判断。例如每间隔1分钟、5分钟、10分钟、20分钟等判断一次终端当前电量是否大于或等于预估当前目标用电电量。在一些示例中,预设判断规则也可以采用实时判断的方式来判断终端当前电量是否小于或等于该预估当前目标用电电量。
本公开实施例中,将终端当前电量与预估当前目标用电电量进行比较,也即是确定当前时刻的电量能否满足实现当前待完成的用电目标,并根据比较结果来确定适当省电控制策略,以在尽可能保证实现用户设置的用电目标的前提下,还可以避免对终端功能或者应用进行过多的限制,智能地实现用户希望达到的用电目标,提升用户使用体验。
在判断终端当前电量小于或等于预估当前目标用电电量时,包 括但不限于采用如下策略中的至少一种:开启终端安全模式;开启终端飞行模式;调整终端屏幕亮度;以及对当前处于运行状态的应用进行省电限制。
在判断终端当前电量大于预估当前目标用电电量时,说明终端当前电量能够满足实现相应用电目标所需的电量,此时可以保持终端当前状态,或者不采用上述省电策略,以避免对终端相应应用或者功能进行限制之后影响用户正常使用。通过上述方法,解决了以下问题:1)现有的省电方式仅仅可以实现省电的目的,而无法结合用户的实际用电需求,在终端电量充足时也可能由于采用相应的省电策略导致无法保证用户正常使用,以及2)在终端当前较低无法保证实现用户希望达到的用电目标时,不能进行适当的省电处理,选择适当的省电策略,不能尽最大可能接近或者达到用户的用电目标。
本公开实施例中,对当前处于运行状态的应用进行省电限制的策略包括:获取终端中当前处于运行状态的应用,并获取受保护的应用列表;将当前处于运行状态的应用中不属于应用列表中的应用确定为待限制应用;然后按照预设处理规则对相应各待限制应用进行省电限制。
处于运行状态包括处于前台运行和后台运行两种运行状态。本公开实施例中,处于运行状态的应用可以是终端上存在的各个应用,例如用户手动安装的应用APP(例如“微信”、“微博”、“网易新闻”、“支付宝”等),也可以是终端系统自带的相关应用(例如“WiFi”、“蓝牙”、“数据”、“电话”、“日历”、“天气”、“信息”等)。应当理解的是,检测应用是否处于运行状态可以采用现有的任意检测方式,在此不做限制。
将检测到的所有处于运行状态的应用与该受保护的应用列表中的应用进行匹配,将不属于该应用列表中的处于运行状态的应用确定为待限制应用,从而按照预设处理规则对相应的待限制应用进行省电限制处理,以降低终端电量的消耗,从而尽可能达到用户设置的用电目标。
对待限制应用进行省电限制的具体处理方式包括但不限于:限 制该待限制应用的部分功能(例如对于聊天通信应用,可以关闭其视频聊天功能;对于导航应用,可以关闭其语音导航功能等),也可以直接关闭该待限制应用。
对于受保护的应用列表中的应用,则不会将其确定为待限制应用进行省电限制,从而起到保护该应用的目的。例如,在执行目标用电模式的过程中,对于系统应用“数据”对用户而言是不希望进行省电限制处理的,此时用户可以将该应用“数据”选择作为受保护的应用。具体的,参见图7,用户可以选择不勾选“允许关闭数据”;继续参见图7,若用户也不想对“GPS”(全球定位系统)应用进行省电限制,也即不希望将其关闭,则用户也可以不勾选“允许关闭GPS”,由此,应用“数据”、“GPS”作为受保护的应用,终端可以将其加入到受保护的应用列表中。
继续参见图7,用户还可以编辑其他所希望保护的应用,例如,通过点击“其他受保护应用”进行编辑、修改、选择等。在用户点击该“其他受保护应用”后,终端可以将当前以安装的所有应用进行显示。参见图8,用户可以根据自己的实际用电情况,选择所希望保护的应用,终端可以将其加入到受保护的应用列表中。例如,用户可以勾选“百度网盘”、“滴滴出行”以表示允许对该应用进行省电限制处理,而对于未勾选的“微信”、“相机”、“电话”、“百度地图”,则表明用户不希望对其进行限制处理,用户希望可以正常使用这些应用,也即这些应用属于受保护的应用。
上述对受保护应用的处理方式仅仅是一种解释说明,当然本方案还可以采用其他方式进行处理,在此不做限制。
本公开实施例中,预设处理规则包括但不限于以下规则中的至少一种:从当前的各待限制应用中依次选择耗电量最大的待限制应用进行省电限制处理;从当前的各待限制应用中依次选择使用频率最低的待限制应用进行省电限制处理;以及从当前的各待限制应用中依次选择使用时长最长的待限制应用进行省电限制处理。
具体的,假设确定当前待限制的应用包括如下三个应用:应用A、应用B、应用C,且耗电量关系是应用A大于应用B,应用B大于应 用C。在这种情况下,若根据上述第一种处理规则(选择耗电量最大的确定为待限制应用)进行处理,则可以将应用A进行省电限制处理;待下一次判断终端当前电量小于或等于预估当前目标用电电量时,可以将应用B进行省电限制;若下一次判断终端当前电量大于预估当前目标用电电量时,则可以保持终端当前的省电策略进行处理,不再选择新的待限制应用进行省电处理,以充分保证用户能够实现对终端的正常使用。
本公开实施例中,在终端当前不存在相应需要进行省电限制的待限制应用时,可能是已经对所有的待限制应用进行了省电限制,也可能是不存在待限制应用(例如终端当前不存在处于运行状态的应用、或者存在处于运行状态的应用,但该处于运行状态的应用均属于受保护的应用等),这表明终端已经不能进行有效的省电处理,可以通知用户修改目标用电模式和/或提醒用户充电。
根据本公开实施例提供的终端耗电控制方法,可以获取终端当前待设置的目标用电模式,其中目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长;按照预设判断规则判断终端当前电量是否大于或等于预估总目标用电电量,预估总目标用电电量根据各目标用电类型的耗电量和各目标用电时长获取;如果判断终端当前电量大于或等于预估总目标用电电量,则表明终端当前电量能够满足用户所希望设定的目标用电模式,此时可以将终端设置为该目标用电模式,从而有效保证了能够实现用户所希望达到的用电目标;如果判断终端当前电量小于该预估总目标用电电量,则表明终端当前电量可能无法实现用户所希望达到的用电目标,此时可以生成目标用电模式电量告警指示以告知用户;进而使用户能够提前获知自己所希望实现的用电目标是否能够达到,让用户可以提前做好准备,提高了用户使用体验。
本公开实施例提供一种终端耗电控制装置,用以实现上述实施例一所述的终端耗电控制方法。
图9为根据本公开实施例的终端耗电控制装置结构示意图。
参见图9,根据本公开实施例的终端耗电控制装置可以包括获取 模块91和省电控制模块92。
获取模块91设置为获取终端当前待设置的目标用电模式,所述目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长。
本公开实施例中,获取模块91获取的待设置的目标用电模式指的是用户根据自己的实际用电需求所选择的用电模式。具体的,可以在终端上预先设定一个或者多个用电模式,例如出游用电模式、娱乐用电模式、自定义用电模式等等。假设用户计划和家人一起自驾出游,用户便可以选择出游用电模式,此时出游用电模式便是终端当前待设置的目标用电模式。
本公开实施例中,目标用电类型可以是一个应用为一个用电类型,也可以是按照相应的划分规则,例如将性能或者用途等相似或者相近的应用划分为一个用电类型等。
省电控制模块92设置为判断终端当前电量是否大于或等于预估总目标用电电量,所述预估总目标用电电量根据各目标用电类型的耗电量和各目标用电时长获取。如果判断终端当前电量大于或等于预估总目标用电电量,则将终端设置为该目标用电模式;否则生成目标用电模式电量告警指示。
省电控制模块92设置为在获取模块91获取到相应的待设置的目标用电模式时,判断终端当前电量是否大于或等于预估总目标用电电量。所述预估总目标用电电量可以参见以上结合图1所描述的方式来确定,在此不再赘述。
在判断终端当前电量大于或等于预估总目标用电电量时,表明终端当前电量能够满足用户选择的待设置的目标用电模式所设定的用电目标,因而省电控制模块92直接将该待设置的目标用电模式设定为目标用电模式,以执行该目标用电模式。由此,用户也可以间接获知自己设置的用电目标基本能够实现。
在判断终端当前电量小于预估总目标用电电量时,可以认为终端当前电量很难支撑以实现用户设定的用电目标,因而省电控制模块92生成目标用电模式电量告警指示,以提示用户其设定的用电目标 可能无法实现。
用户还可以根据省电控制模块92所生成的目标用电模式电量告警指示来对目标用电模式进行修改,当然,也可以不进行修改直接使用该目标用电模式。在用户对该目标用电模式进行相应修改后,省电控制模块92还可以设置为根据用户当前修改后的目标用电类型的耗电量和目标用电时长来重新获取预估总目标用电电量,以判断终端当前电量是否大于或等于重新计算得到的预估总目标用电电量。
本公开实施例中,省电控制模块92还设置为将终端设置为目标用电模式之后,监测到终端进入到该目标用电模式时,获取该目标用电模式下各目标用电类型的当前用电时长以及终端当前电量,根据当前用电时长以及目标用电时长计算各目标用电类型的待完成用电时长,并根据各待完成用电时长和各目标用电类型的耗电量获取预估当前目标用电电量,按照预设判断规则判断终端当前电量是否小于或等于预估当前目标用电电量,根据比较结果来确定省电控制策略。
本公开实施例中,省电控制模块92还设置为将终端当前电量与预估当前目标用电电量进行比较,也即是确定当前时刻的电量能否满足实现当前待完成的用电目标,并根据比较结果来确定适当的省电控制策略,在尽可能保证实现用户设置的用电目标的前提下,还可以避免对终端功能或者应用进行过多的限制,智能地实现用户希望达到的用电目标,提升用户使用体验。
本公开实施例中,预设判断规则包括但不限于根据预设时间间隔进行判断。例如省电控制模块92每间隔10秒钟、1分钟、2分钟、5分钟等时间判断一次终端当前电量是否大于或等于预估当前目标用电电量。在一些示例中,预设判断规则也可以采用实时判断的方式来判断终端当前电量是否小于或等于该预估当前目标用电电量。
本公开实施例中,省电控制策略包括:在所述比较结果为是时,采用以下策略中的至少一种:开启终端安全模式;开启终端飞行模式;降低终端屏幕亮度;以及对当前处于运行状态的应用进行省电限制。
在判断终端当前电量大于预估当前目标用电电量时,说明终端当前电量能够满足实现相应用电目标所需的电量,此时省电控制模块 92可以保持终端当前状态,或者不采用上述省电策略,以避免对终端相应应用或者功能进行限制之后影响用户正常使用。由此,解决了以下问题:1)现有的省电方式仅仅可以实现省电的目的,而无法结合用户的实际用电需求,在终端电量充足时也可能由于采用相应的省电策略导致无法保证用户正常使用,以及2)在终端当前较低无法保证实现用户希望达到的用电目标时,不能进行适当的省电处理,选择适当的省电策略,不能尽最大可能接近或者达到用户的用电目标。
在省电控制模块92设置为通过以下操作来执行对当前处于运行状态的应用进行省电限制的策略:获取所述终端中当前处于运行状态的应用,并获取受保护的应用列表;将当前处于运行状态的应用中不属于该应用列表中的应用确定为待限制应用;以及对待限制应用按照预设省电限制规则进行省电限制。
预设处理规则包括以下规则中的至少一种:从当前的各待限制应用中依次选择耗电量最大的待限制应用进行省电限制处理;从当前的各待限制应用中依次选择使用频率最低的待限制应用进行省电限制处理;以及从当前的各待限制应用中依次选择使用时长最长的待限制应用进行省电限制处理。
本公开实施例中,省电控制模块92还设置为在所述终端当前不存在所述待限制应用时(例如终端当前不存在处于运行状态的应用、或者存在处于运行状态的应用,但该处于运行状态的应用均属于受保护的应用等),通知用户修改所述目标用电模式和/或提醒用户充电。
本公开实施例提供一种终端耗电控制装置,包括获取模块和省电控制模块,其中,所述获取模块设置为获取终端当前待设置的目标用电模式,其中,目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长;所述省电控制模块设置为判断终端当前电量是否大于或等于预估总目标用电电量,预估总目标用电电量根据各目标用电类型的耗电量和各目标用电时长获取。如果判断终端当前电量大于或等于预估总目标用电电量,则表明终端当前电量能够满足用户所希望设定的目标用电模式,此时将终端设置为该目标用电模式,从而有效保证了能够实现用户所希望达到的用电目标;如果判断终端 当前电量小于该预估总目标用电电量,则表明终端当前电量可能无法实现用户所希望达到的用电目标,此时生成目标用电模式电量告警指示以告知用户。由此,用户能够提前获知自己所希望实现的用电目标是否能够达到,让用户可以提前做好准备,提高了用户使用体验。
图10为根据本公开实施例的终端结构示意图。
参见图10所示,根据本公开实施例的终端包括处理器101、存储器102及通信总线103。
通信总线103用于建立处理器101和存储器102之间的连接和通信。处理器101执行存储器102中存储的一个或者多个程序,以执行根据本公开各实施例的终端耗电控制方法。
本公开实施例所提供的终端包括但不限于移动电话、智能手表、平板电脑、智能穿戴设备等。
本公开实施例还提供一种计算机可读存储介质,其上存储有一个或者多个程序,所述一个或者多个程序被一个或者多个处理器执行时,所述一个或者多个处理器执行根据本公开各实施例的终端耗电控制方法。
显然,本领域的技术人员应该明白,上述本公开实施例的各模块或各步骤可以用通用的计算装置来实现,所述通用的计算装置可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上;各模块或各步骤可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在计算机存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于本文的顺序来执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。因此,本公开不限制于任何特定的硬件和软件结合。
以上内容是对本公开实施例所作的详细说明,不能认定本公开只局限于这些说明。对于本公开所属技术领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干简单修改或替换,所述修改或替换都应当视为属于本公开的保护范围。

Claims (14)

  1. 一种终端耗电控制方法,包括:
    获取终端当前待设置的目标用电模式,所述目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长;
    判断所述终端当前电量是否大于或等于预估总目标用电电量,所述预估总目标用电电量根据所述至少一个目标用电类型的耗电量和各所述目标用电时长获取;以及
    如果所述终端当前电量大于或等于预估总目标用电电量,则将所述终端设置为所述目标用电模式,否则生成目标用电模式电量告警指示。
  2. 如权利要求1所述的终端耗电控制方法,还包括:
    在将所述终端设置为所述目标用电模式之后,并监测到所述终端进入到所述目标用电模式时,获取所述目标用电模式下各目标用电类型的当前用电时长以及终端当前电量;
    根据所述当前用电时长以及所述目标用电时长计算各目标用电类型的待完成用电时长;
    根据各所述待完成用电时长和各所述目标用电类型的耗电量获取预估当前目标用电电量;
    按照预设判断规则判断所述终端当前电量是否小于或等于所述预估当前目标用电电量;以及
    根据比较结果确定省电控制策略。
  3. 如权利要求2所述的终端耗电控制方法,其中,所述省电控制策略包括:
    在所述比较结果为所述终端当前电量是否小于或等于所述预估当前目标用电电量时,采用以下策略中的至少一种:
    开启终端安全模式;
    开启终端飞行模式;
    调整终端屏幕亮度;以及
    对当前处于运行状态的应用进行省电限制。
  4. 如权利要求3所述的终端耗电控制方法,其中,对当前处于运行状态的应用进行省电限制的策略包括:
    获取所述终端中当前处于运行状态的应用,并获取受保护的应用列表;
    将所述当前处于运行状态的应用中不属于所述应用列表中的应用确定为待限制应用;以及
    按照预设处理规则对各所述待限制应用进行省电限制。
  5. 如权利要求4所述的终端耗电控制方法,其中,所述预设处理规则包括以下规则中的至少一种:
    从当前的各待限制应用中依次选择耗电量最大的待限制应用进行省电限制处理;
    从当前的各待限制应用中依次选择使用频率最低的待限制应用进行省电限制处理;以及
    从当前的各待限制应用中依次选择使用时长最长的待限制应用进行省电限制处理。
  6. 如权利要求4或5所述的终端耗电控制方法,还包括:
    在所述终端当前不存在所述待限制应用时,执行下列操作中的至少之一:
    通知用户修改所述目标用电模式;以及
    提醒用户充电。
  7. 一种终端耗电控制装置,包括:
    获取模块,其设置为获取终端当前待设置的目标用电模式,所述目标用电模式包括至少一个目标用电类型和各目标用电类型的目标用电时长;以及
    耗电控制模块,其设置为判断所述终端当前电量是否大于或等于预估总目标用电电量,所述预估总目标用电电量根据所述至少一个目标用电类型的耗电量和各所述目标用电时长获取,
    其中,如果所述终端当前电量大于或等于预估总目标用电电量,则将所述终端设置为所述目标用电模式,否则生成目标用电模式电量告警指示。
  8. 如权利要求7所述的终端耗电控制装置,其中,所述耗电控制模块还设置为:
    在将所述终端设置为所述目标用电模式之后,并监测到所述终端进入到所述目标用电模式时,获取所述目标用电模式下各目标用电类型的当前用电时长以及终端当前电量;
    根据所述当前用电时长以及所述目标用电时长计算各目标用电类型的待完成用电时长;
    根据各所述待完成用电时长和各所述目标用电类型的耗电量获取预估当前目标用电电量;
    按照预设判断规则判断所述终端当前电量是否小于或等于所述预估当前目标用电电量:以及
    根据比较结果确定省电控制策略。
  9. 如权利要求8所述的终端耗电控制装置,其中,所述省电控制策略包括:
    在所述比较结果为所述终端当前电量是否小于或等于所述预估当前目标用电电量时,采用以下策略中的至少一种:
    开启终端安全模式;
    开启终端飞行模式;
    调整终端屏幕亮度;以及
    对当前处于运行状态的应用进行省电限制。
  10. 如权利要求9所述的终端耗电控制装置,其中,所述耗电 控制模块设置为通过以下操作来执行对当前处于运行状态的应用进行省电限制的策略:
    获取所述终端中当前处于运行状态的应用,并获取受保护的应用列表;
    将所述当前处于运行状态的应用中不属于所述应用列表中的应用确定为待限制应用;以及
    按照预设处理规则对各所述待限制应用进行省电限制。
  11. 如权利要求10所述的终端耗电控制装置,其中,所述预设处理规则包括以下规则中的至少一种:
    从当前的各待限制应用中依次选择耗电量最大的待限制应用进行省电限制处理;
    从当前的各待限制应用中依次选择使用频率最低的待限制应用进行省电限制处理;以及
    从当前的各待限制应用中依次选择使用时长最长的待限制应用进行省电限制处理。
  12. 如权利要求10或11所述的终端耗电控制装置,其中,在所述终端当前不存在所述待限制应用时,所述终端耗电控制装置执行下列操作中的至少之一:
    通知用户修改所述目标用电模式;以及
    提醒用户充电。
  13. 一种耗电控制终端,包括处理器、存储器及通信总线,
    所述通信总线用于建立所述处理器和所述存储器之间的连接通信,
    所述处理器执行所述存储器中存储的一个或者多个程序时,所述处理器执行如权利要求1至6中任一项所述的终端耗电控制方法。
  14. 一种计算机可读存储介质,其上存储有一个或者多个程序, 所述一个或者多个程序被一个或者多个处理器执行时,所述一个或者多个处理器执行如权利要求1至6中任一项所述的终端耗电控制方法。
PCT/CN2018/104614 2017-09-07 2018-09-07 终端及其耗电控制方法、装置、计算机可读存储介质 WO2019047924A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710801735.8A CN109471516B (zh) 2017-09-07 2017-09-07 一种终端及其耗电控制方法、装置、计算机可读存储介质
CN201710801735.8 2017-09-07

Publications (1)

Publication Number Publication Date
WO2019047924A1 true WO2019047924A1 (zh) 2019-03-14

Family

ID=65634709

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104614 WO2019047924A1 (zh) 2017-09-07 2018-09-07 终端及其耗电控制方法、装置、计算机可读存储介质

Country Status (2)

Country Link
CN (1) CN109471516B (zh)
WO (1) WO2019047924A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083787A (zh) * 2020-09-15 2020-12-15 北京字跳网络技术有限公司 应用程序运行模式切换方法、装置、电子设备和存储介质
CN113220106A (zh) * 2021-05-10 2021-08-06 维沃移动通信有限公司 省电控制方法和省电控制装置
CN113778214A (zh) * 2021-09-15 2021-12-10 广州点金石信息技术有限公司 一种省电优化方法、装置、移动终端和存储介质

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110138037B (zh) * 2019-05-24 2023-10-24 广东小天才科技有限公司 一种提醒用户充电的方法、装置、可穿戴设备及存储介质
CN112503748B (zh) * 2020-12-08 2022-03-15 佛山市顺德区美的电子科技有限公司 空调设备的控制方法、系统、空调、计算机设备及介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780269A (zh) * 2015-03-24 2015-07-15 广东欧珀移动通信有限公司 一种基于电量调整移动终端性能的方法及装置
CN105676997A (zh) * 2016-01-05 2016-06-15 京东方科技集团股份有限公司 移动终端管理方法和系统、移动终端
CN105677141A (zh) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 一种应用程序管理方法及终端
CN106413053A (zh) * 2016-06-02 2017-02-15 周奇 一种移动终端及其省电方法
CN106535314A (zh) * 2017-01-13 2017-03-22 滁州昭阳电信通讯设备科技有限公司 一种智能省电的控制方法及移动终端

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2015019744A1 (ja) * 2013-08-09 2017-03-02 日本電気株式会社 みなし消費量計算システム、サーバ、みなし消費量計算方法およびプログラム
CN103543819A (zh) * 2013-10-29 2014-01-29 华为终端有限公司 功耗控制方法和终端
CN104219383A (zh) * 2014-08-20 2014-12-17 小米科技有限责任公司 终端电量信息提示方法及装置
CN106126308A (zh) * 2016-07-15 2016-11-16 乐视控股(北京)有限公司 一种显示方法和装置
CN106559561A (zh) * 2016-10-31 2017-04-05 努比亚技术有限公司 移动终端控制装置及方法
CN106375604B (zh) * 2016-11-11 2019-10-15 北京小米移动软件有限公司 控制终端电量的方法和装置
CN106774774B (zh) * 2016-11-30 2020-01-10 北京小米移动软件有限公司 终端电池的电量显示方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780269A (zh) * 2015-03-24 2015-07-15 广东欧珀移动通信有限公司 一种基于电量调整移动终端性能的方法及装置
CN105677141A (zh) * 2015-12-29 2016-06-15 深圳市金立通信设备有限公司 一种应用程序管理方法及终端
CN105676997A (zh) * 2016-01-05 2016-06-15 京东方科技集团股份有限公司 移动终端管理方法和系统、移动终端
CN106413053A (zh) * 2016-06-02 2017-02-15 周奇 一种移动终端及其省电方法
CN106535314A (zh) * 2017-01-13 2017-03-22 滁州昭阳电信通讯设备科技有限公司 一种智能省电的控制方法及移动终端

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112083787A (zh) * 2020-09-15 2020-12-15 北京字跳网络技术有限公司 应用程序运行模式切换方法、装置、电子设备和存储介质
CN113220106A (zh) * 2021-05-10 2021-08-06 维沃移动通信有限公司 省电控制方法和省电控制装置
CN113778214A (zh) * 2021-09-15 2021-12-10 广州点金石信息技术有限公司 一种省电优化方法、装置、移动终端和存储介质

Also Published As

Publication number Publication date
CN109471516A (zh) 2019-03-15
CN109471516B (zh) 2023-07-04

Similar Documents

Publication Publication Date Title
WO2019047924A1 (zh) 终端及其耗电控制方法、装置、计算机可读存储介质
US10969851B2 (en) Power management on an electronic device
US7430675B2 (en) Anticipatory power management for battery-powered electronic device
CN102369647B (zh) 移动终端电源管理方法和装置
US8286013B2 (en) Portable communication device with multi-tiered power save operation
WO2020224658A1 (zh) 待机优化方法、装置、计算机设备和存储介质
US20140075220A1 (en) Method and device of controlling power saving
EP2974470B1 (en) System and method for managing electrical current in a portable computing device
US20080133956A1 (en) Power consumption management for functional preservation in a battery-powered electronic device
US20190369700A1 (en) Electronic Device Control Method and Apparatus, and Electronic Device
KR20150066083A (ko) 전자 장치의 멀티 태스킹 방법 및 그 전자 장치
KR20170134090A (ko) 수신 감도 개선을 위한 충전 제어 방법 및 이를 구현한 전자 장치
WO2014190619A1 (zh) 一种移动终端功耗的管控装置及方法、移动终端
WO2014023259A1 (zh) 多功能智能终端及其能量管理方法
US20120001883A1 (en) Method and apparatus for calculating a power consumption segment and displaying a power consumption indicator
JP5972504B1 (ja) 2つ以上の使用モードを有する携帯用コンピューティングデバイス内の充電式電源を管理するためのシステムおよび方法
US11816200B2 (en) Terminal and method for managing launch of an application of a terminal
US9087114B2 (en) System and method for managing electrical current in a portable computing device
WO2020133408A1 (zh) 应用程序的优先级调整方法、装置、存储介质及电子设备
CN107547742B (zh) 一种用于移动终端的唤醒锁释放方法和装置
WO2016110056A1 (zh) 一种终端及终端省电的方法
CN107943268B (zh) 调度作业控制方法、装置、终端设备及存储介质
US20120317408A1 (en) Method and Apparatus for Changing an Operational Characteristic of a Device in Order to Adjust the Power Consumption Level
US11175724B2 (en) Method and electronic device for enabling at least one battery management function for managing battery usage
CN112701736A (zh) 充电方法、装置、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18854195

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.09.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18854195

Country of ref document: EP

Kind code of ref document: A1