WO2018072338A1 - Power management method and terminal device - Google Patents

Power management method and terminal device Download PDF

Info

Publication number
WO2018072338A1
WO2018072338A1 PCT/CN2016/113957 CN2016113957W WO2018072338A1 WO 2018072338 A1 WO2018072338 A1 WO 2018072338A1 CN 2016113957 W CN2016113957 W CN 2016113957W WO 2018072338 A1 WO2018072338 A1 WO 2018072338A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
application
power
power range
range
Prior art date
Application number
PCT/CN2016/113957
Other languages
French (fr)
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 CN201680057578.8A priority Critical patent/CN108475097B/en
Priority to US16/343,413 priority patent/US10813051B2/en
Publication of WO2018072338A1 publication Critical patent/WO2018072338A1/en

Links

Images

Classifications

    • 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
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • 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 invention relates to the field of computer technologies, and in particular, to a power management method and a terminal device.
  • some terminal devices such as mobile phones, will emit an alarm tone, or will remind the user whether to perform the operation of "entering power saving mode". If the user determines to enter the power saving mode, the mobile phone closes all relevant applications under the established criteria, leaving only some of the more critical functions.
  • the current power-saving mode belongs to the after-treatment mode, that is, when the power is already low, the power consumption behavior has already occurred, and the effect on power saving is limited.
  • the embodiments of the present invention provide a power management method and a terminal device, which are used to prevent an ongoing service from being affected due to power saving.
  • a method of power management is provided, the method being performed by a terminal device.
  • the method includes the terminal device receiving a first operation, the first operation being used to invoke the first application.
  • the terminal device queries the association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs. When the first application is not an available application associated with the current power range to which the remaining power belongs, the terminal device does not invoke the first application.
  • the relationship between the power range and the application program may be set in advance, and after receiving the first operation, the terminal device determines whether the first application to be called by the first operation is The available application associated with the current battery range to which the remaining battery belongs, if not, the terminal device refuses to call the first application, that is, it can fundamentally eliminate the possibility of running more power-consuming applications. When there is sufficient time, it can be managed according to the set relationship, effectively arrange the operation of the application, and improve the endurance of the terminal equipment.
  • the terminal device before the terminal device does not invoke the first application, the terminal device outputs the first prompt information, and the terminal device receives the input operation for the first prompt information.
  • the first prompt information is used to prompt whether to abandon the first application. Then, the terminal device does not invoke the first application, and includes: when the input operation is used to instruct to give up calling the first application, the terminal device does not invoke the first application.
  • the terminal device is most important to meet the needs of the user. Therefore, if the terminal device thinks that the first application should not be called, the terminal device may first query the user. If the user determines to abandon the first application, the terminal device determines not to call. The first application saves power and meets the needs of users. If the user chooses to continue to invoke the first application, the terminal device can continue to call the first application to meet the user's needs as much as possible to improve the user experience. Moreover, since the terminal device outputs the first prompt information, the user knows that the first application is not suitable for calling at present, and even if the user chooses to continue to call the first application, the user should be more restrained and not waste too much power. Or maybe choose to charge in time. That is, by outputting the first prompt information, the user can be well presented and the practicality of the terminal device can be increased.
  • the terminal device divides the power of the terminal device into at least one power range, where the terminal device is A range of power levels is associated with at least one application to form an association.
  • the minimum value of the power included in the at least one power range is the minimum power that the terminal device can support
  • the maximum power level included in the at least one power range is the maximum power that the terminal device can support.
  • the terminal device determines whether to call the application according to the relationship between the power range and the application, the terminal device can establish an association relationship between the power range and the application in advance, so that when the application needs to be invoked, Judging directly based on the established association relationship makes the subsequent judgment process of whether the application can be called is very simple.
  • the terminal device invokes the first application when the current remaining power belongs to the available application associated with the power range.
  • the terminal device directly invokes the first application.
  • the program allows the user to use the first application normally.
  • the terminal device Determining that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship.
  • the terminal device outputs second prompt information, and the second prompt information is used to prompt whether to close the second application.
  • the second application may be an available application associated with the power range to which the remaining power of the terminal device belongs, and the terminal device normally invokes the second application. After the second application runs for a period of time, the power of the terminal device decreases, and the remaining power of the terminal device may enter the second power range, and the second application is not an available application associated with the second power range. At this time, the terminal device can directly stop running the second application to avoid the power consumption being too fast due to running the first application, which affects the subsequent use of the user.
  • the terminal device may temporarily stop running the second application, but output the second prompt information, that is, the terminal device may first query the user, and if the user determines to abandon the second application, the terminal device determines not to call the second application.
  • the application saves power and meets the needs of users. If the user chooses to continue to invoke the second application, the terminal device can continue to call the second application to meet the user's needs as much as possible to improve the user experience.
  • the terminal device outputs the second prompt information the user knows that the second application is not suitable for calling at present, and even if the user chooses to continue to call the second application, the user should have more Moderation, does not waste too much power, or may choose to charge in time. That is, by outputting the second hint information, the user can be well presented and the practicality of the terminal device can be increased.
  • a method of power management is provided, the method being performed by a terminal device.
  • the method includes the terminal device receiving a second operation, and the second operation for updating a system or an application installed in the terminal device.
  • the terminal device determines whether the terminal device is in a charging state. When the terminal device is not in the charging state, the terminal device does not respond to the second operation.
  • the second operation is to update the operation of the class, and the operation of the update class is generally relatively power-consuming. If the terminal device is not in the charging state, it is likely that the power consumption of the terminal device is too fast due to the response to the second operation. Affect the subsequent use of the user. Moreover, because the operation of the update class generally lasts for a long time, if the terminal device shuts down because there is no power before the end of the response because the second operation is responded, the update is not completed, which may cause the system or the corresponding software to malfunction.
  • the terminal device may be determined whether the terminal device is in a charging state, and if the terminal device is not in the charging state, the terminal device may not respond to the second operation to avoid power consumption. many.
  • the terminal device determines whether a difference between the remaining power of the terminal device and the amount of power required to respond to the second operation is The preset threshold is less than the preset threshold, and the preset threshold is the safe power value of the terminal device. Then, the terminal device does not respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, the terminal device does not respond to the second operation.
  • the terminal device can know in advance the amount of power required to respond to such an operation.
  • the knowledge here is not necessarily very accurately known, just know the approximate value.
  • the terminal device may further determine whether the difference between the remaining power of the terminal device and the power required to respond to the second operation is less than a preset threshold, if the remaining power of the terminal device is in response to the second operation If the difference of the required power is less than the preset threshold, it indicates that the terminal device cannot respond to the second operation normally. For example, it is likely that the abnormal shutdown is caused by responding to the second operation, and the terminal device determines to not respond to the second operation at this time to protect the terminal. device.
  • the difference between the remaining power of the terminal device and the power required to perform the second operation is greater than or equal to the preset At the threshold, the terminal device responds to the second operation.
  • the terminal device If the difference between the remaining power of the terminal device and the power required to respond to the second operation is greater than or equal to the preset threshold, it indicates that the terminal device can still respond to the second operation normally, so the terminal device can select to respond to the second operation, which is equivalent to normal. Complete the work of the terminal device.
  • the terminal device is responsive to the second operation when the terminal device is in the charging state.
  • the terminal device can normally respond to the second operation to normally implement the function of the terminal device.
  • a terminal device comprising an input unit and a processor.
  • the input unit is configured to receive a first operation, and the first operation is used to invoke the first application.
  • the processor is configured to query an association relationship between the power range and the application to determine whether the first application that is invoked in response to the first operation is an available application that is associated with a power range to which the current remaining power of the terminal device belongs. Moreover, when the first application is not an available application associated with the current power range to which the remaining power belongs, the processor does not invoke the first application.
  • the terminal device further includes a display unit or a speaker.
  • the display unit or the speaker is configured to output the first prompt information before the processor does not invoke the first application, and the first prompt information is used to prompt whether to abandon the calling the first application.
  • the input unit is further configured to receive an input operation of the first prompt information outputted by the display unit or the speaker.
  • the processor is configured not to invoke the first application, and includes: rejecting the first application when the input operation received by the input unit is used to indicate to abandon the first application.
  • the processor is further configured to: divide the power of the terminal device into the at least one power range, Each of the power ranges is associated with at least one application to form an association.
  • the minimum amount of power included in at least one of the power ranges is the minimum amount of power that the terminal device can support, and the maximum amount of power included in the at least one power range is the maximum amount of power that the terminal device can support.
  • the processor is further configured to: when the first application is used The first application is called when the available application associated with the current power range to which the remaining power belongs.
  • the terminal The device also includes a display unit or a speaker.
  • the processor is further configured to determine that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship.
  • the display unit or the speaker is configured to: when the second application running in the terminal device is not an available application associated with the second power range, output the second prompt information, where the second prompt information is used to prompt whether to close the second application.
  • a terminal device comprising an input unit and a processor.
  • the input unit is configured to receive a second operation, and the second operation is used to update a system or an application installed in the terminal device.
  • the processor is configured to: determine whether the terminal device is in a charging state, and does not respond to the second operation when the terminal device is not in the charging state.
  • the processor is further configured to: determine, after not responding to the second operation, the difference between the remaining power of the terminal device and the power required to respond to the second operation Whether the value is less than the preset threshold, and the preset threshold is the safe power value of the terminal device.
  • the processor is configured not to respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, the second operation is not responded to.
  • the processor is further configured to: when the remaining power of the terminal device is different from the power required to perform the second operation The second operation is responded if the value is greater than or equal to the preset threshold.
  • the processor is further configured to: respond to the second operation when the terminal device is in a charging state.
  • a terminal device comprising means for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • a terminal device includes a second aspect or a A module of a method of any of the possible implementations of the two aspects.
  • a seventh aspect a computer storage medium for storing computer software instructions for use by the terminal device entity, including any one of the possible implementations for performing the first aspect or the first aspect, is a terminal device entity Designed program.
  • a computer storage medium for storing computer software instructions for use by the terminal device entity, including any possible implementation manner for performing the second aspect or the second aspect, which is a terminal device entity Designed program.
  • the possibility of running an application with more power consumption can be fundamentally eliminated, and when the power is still sufficient, the management relationship can be managed according to the set relationship, and the operation of the application is effectively arranged, and the whole process is improved.
  • the endurance of the terminal equipment can be fundamentally eliminated, and when the power is still sufficient, the management relationship can be managed according to the set relationship, and the operation of the application is effectively arranged, and the whole process is improved.
  • FIG. 1A is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 1B is a schematic diagram of a software architecture of a terminal device according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a method for managing a power quantity according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a user performing a first operation according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of an association relationship between an application and a power range according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of first prompt information according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of second prompt information according to an embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a method for managing a power quantity according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • the terminal device is a device that provides voice and/or data connectivity to the user.
  • it may include a handheld device having a wireless connection function or a processing device connected to a wireless modem.
  • the terminal device can communicate with the core network via a Radio Access Network (RAN) to exchange voice and/or data with the RAN.
  • the terminal device may include a user equipment (User Equipment, UE), a wireless terminal device, a mobile terminal device, a Subscriber Unit, a Subscriber Station, a mobile station, a mobile station, and a remote station.
  • Station Remote Station
  • AP Access Point
  • Remote Terminal Access Terminal
  • User Terminal User Terminal
  • User Agent User Agent
  • User Equipment User Equipment
  • it may include a mobile phone (or "cellular" phone), a mobile computer, a tablet, a personal digital assistant (PDA), a media player, a smart TV, a wearable device (eg, a smart watch, a smart helmet) Or a smart bracelet, etc.), and a combination of two or more of the above.
  • a mobile phone or "cellular" phone
  • PDA personal digital assistant
  • media player e.g., a smart TV
  • a wearable device eg, a smart watch, a smart helmet
  • a smart bracelet e.g., a smart bracelet
  • FIG. 1A illustrates a block diagram of a terminal device 100, which may include a processor 190 and a power management unit 194, in accordance with some embodiments.
  • the terminal device 100 may further include an input unit 130, a display unit 140, a memory 120, a radio frequency unit 110, an audio circuit 160, a speaker 161, a microphone 162, and a wireless fidelity (Wireless Fidelity). , Wi-Fi) module 170, Bluetooth module 180, power supply 193, external interface 197, and the like.
  • Wi-Fi Wireless Fidelity
  • FIG. 1A is merely an example of a terminal device, and does not constitute a limitation on a terminal device.
  • the terminal device may include more or less components than those illustrated, or may combine certain components, or different. component.
  • the processor 190 is a control center of the terminal device 100, and connects various parts of the entire terminal device 100 by various interfaces and lines, and completes the terminal device by running or executing an instruction stored in the memory 120 and calling data stored in the memory 120. 100 various functions and processing data to monitor the terminal device as a whole.
  • the processor 190 may include one or more processing units.
  • the processor 190 may integrate an application processor (AP) and a modem processor.
  • the application processor mainly processes the operating system, the user interface, the application, and the like, and the modem processor mainly processes the wireless communication.
  • the power management method provided by the embodiment of the present invention may be performed by the processor 190. Specifically, It can be performed by an application processor integrated in the processor 190. It will be appreciated that the above described modem processor may also not be integrated into the processor 190.
  • processor 190 and memory 120 can be implemented on the same chip, and in some embodiments, both can be implemented separately on separate chips.
  • the power management unit 194 can provide the power information of the terminal device 100, and the processor 190 can obtain the power information provided by the power management unit 194 through the operating system installed in the terminal device 100, thereby obtaining the current remaining power of the terminal device 100.
  • the power management unit 194 can be implemented by a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the memory 120 can be used to store instructions and data, and the memory 120 can primarily include a store instruction area and a store data area.
  • the instructions stored in the memory 120 may cause the processor 190 to execute the power management method provided by the embodiment of the present invention to be described later.
  • the input unit 130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device. Taking the terminal device as supporting the touch input as an example, the input unit 130 may include the touch screen 131, and may also include other input devices 132.
  • the touch screen 131 can collect touch operations on or near the user (such as an operation of the user using a finger, a joint, a stylus, or the like on the touch screen 131 or in the vicinity of the touch screen 131), and drive the corresponding according to a preset program. Connection device.
  • the touch screen 131 can detect the touch operation of the touch screen 131 by the user, convert the touch operation into a touch signal and send the touch signal to the processor 190, or understand that the touch information of the touch operation can be sent to the processor 190 and can be processed.
  • the command sent by the 190 is executed and executed.
  • the touch screen 131 can provide an input interface and an output interface between the terminal device 100 and the user.
  • the touch screen 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 may also include other input devices.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control button 132, switch button 133, etc.), trackball, mouse, joystick, and the like.
  • the display unit 140 can be used to display information input by the user or information provided to the user and various menus of the device 100. Further, the touch screen 131 can cover the display unit 140. When the touch screen 131 detects a touch operation on or near the touch screen 131, it transmits to the processor 190 to determine the type of the touch event, and then the processor 190 is based on the type of the touch event. A corresponding visual output is provided on display unit 140.
  • the touch screen 131 and the display unit 140 can be integrated into one component to implement the input, output, and display functions of the terminal device 100.
  • the embodiment of the present invention takes the touch screen 131 as a representative of the function set of the touch screen 131 and the display unit 140. Of course, in some embodiments, the touch screen 131 and the display unit 140 may also serve as two independent components.
  • the radio unit 110 can be used for receiving and transmitting signals during transmission or reception or during a call.
  • radio frequency circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • the radio unit 110 can also communicate with network devices and other devices through wireless communication.
  • Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple) Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 100.
  • the audio circuit 160 can transmit the converted electrical signal of the audio data to the speaker 161 for conversion to the sound signal output by the speaker 161.
  • the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then processed by the audio data output processor 190, and transmitted to the terminal, for example, through the radio frequency unit 110.
  • the audio data may be output to the memory 120 for further processing, and the audio circuit may also include a headphone jack 163 for providing a connection interface between the audio circuit and the earphone.
  • Wi-Fi belongs to short-range wireless transmission technology, and the terminal device 100 can help users to send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 170, which provides wireless broadband Internet access for users.
  • FIG. 1A shows the Wi-Fi module 170, it will be understood that It does not belong to the essential configuration of the terminal device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Bluetooth is a short-range wireless communication technology. With Bluetooth technology, communication between mobile communication terminal devices such as palmtop computers, notebook computers, and mobile phones can be effectively simplified, and communication between the above devices and the Internet can be successfully simplified.
  • the terminal device 100 passes through the Bluetooth module 180.
  • the data transmission between the terminal device 100 and the Internet becomes faster and more efficient, broadening the road for wireless communication.
  • Bluetooth technology is an open solution for wireless transmission of voice and data.
  • FIG. 1A shows the Bluetooth module 180, it can be understood that it does not belong to the essential configuration of the terminal device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the terminal device 100 may further include a power source 193, such as a battery, for supplying power to the various components.
  • a power source 193 such as a battery
  • the power source may be logically connected to the processor 190 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
  • the terminal device 100 may further include an external interface 197, which may include a standard Micro Universal Serial Bus (Micro USB) interface, and may also include a multi-pin connector, which may be used to connect the terminal device 100 with other The device communicates and can also be used to connect a charger to charge the terminal device 100.
  • an external interface 197 which may include a standard Micro Universal Serial Bus (Micro USB) interface, and may also include a multi-pin connector, which may be used to connect the terminal device 100 with other
  • the device communicates and can also be used to connect a charger to charge the terminal device 100.
  • the terminal device 100 may further include other possible functional modules such as a camera, a flash, various sensors, and the like, and details are not described herein.
  • FIG. 1B is a software architecture of a terminal device 100 according to an embodiment of the present invention.
  • FIG. 1B includes a user interface (UI) interface provided by the terminal device 100, a main program, and an operating system.
  • the UI interface can be presented to the user through the display unit 140 provided in the embodiment shown in FIG. 1 for the user to operate.
  • the main program can be implemented by the processor 190 provided in the embodiment shown in FIG. 1 for the user to operate.
  • the main program can be implemented by the processor 190 provided in the embodiment shown in FIG.
  • the PMIC is further included in FIG. 1B, and the processor 190 can obtain the reading of the PMIC through the operating system, that is, obtain the current remaining capacity of the terminal device 100.
  • the terminal device 100 shown in FIG. 1A or FIG. 1B can be used to perform the method provided by the embodiment of the present invention.
  • the method that the terminal device 100 shown in FIG. 1A or FIG. 1B can perform is as follows.
  • an embodiment of the present invention provides a power management method, which may be performed by the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
  • Step 201 The terminal device 100 receives the first operation; the first operation is used to invoke the first application;
  • Step 202 The terminal device 100 queries the association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs.
  • Step 203 When the first application is not an available application associated with the current power range to which the remaining power belongs, the terminal device 100 does not invoke the first application.
  • FIG. 2 The embodiment shown in FIG. 2 is specifically described below by taking the processor 190 in the terminal device 100 as an example.
  • an application may also be referred to as an application (application).
  • the first operation may be an operation performed by the user on the terminal device 100, such as a touch operation performed by the user on the touch screen 131.
  • the first operation may also be an operation performed by the terminal device 100 itself.
  • a malicious application is installed in the terminal device 100, and the malicious application may invoke the malicious application by using the first operation when the user does not operate.
  • the program, or the malicious application may invoke other applications by the first operation without the user's operation, so that the application runs secretly in the background of the terminal device 100, consuming power.
  • the first operation is mainly the operation performed by the user on the terminal device 100. Referring to FIG. 3, the user operates the display unit 140 of the terminal device 100. Some display icons are displayed on the display unit 140, and each application icon corresponds to one application. The user clicks on the application icon 5, that is, the user performs the first operation, and after receiving the first operation, the terminal device 100 determines that the application corresponding to the application icon 5 needs to be invoked, for example, the first application.
  • the first operation requires the first application to be called.
  • the processor 190 obtains the current remaining power of the terminal device 100 provided by the power management unit 194 through the operating system, and the processor 190 queries the association relationship between the power consumption range and the application, and determines that the current remaining power of the terminal device 100 belongs to.
  • the range of power and whether the first application is an available application associated with the range of power to which the current remaining battery belongs. If the first app is with the current remaining battery
  • the processor 190 can invoke the first application by responding to the first operation by the available application associated with the range of powers. And if the first application is not an available application associated with the current power range to which the remaining power belongs, the processor 190 does not invoke the first application, thereby substantially eliminating the operation of the more power-consuming application. Possibility, when the power is still sufficient, it can be managed according to the set relationship, effectively arrange the operation of the application, and improve the endurance of the terminal device.
  • the processor 190 of the terminal device 100 may divide the power of the terminal device 100 into at least one power range, and the minimum power included in the at least one power range is the minimum power that the terminal device 100 can support, and the at least one power range includes the largest amount of power.
  • the value is the maximum amount of power that the terminal device 100 can support.
  • the minimum power that the terminal device 100 can support may be the actual minimum power of the terminal device 100, for example, 0%, or the alarm power of the terminal device 100.
  • the alarm power varies according to the terminal device 100.
  • the terminal device 100 generally performs an alarm, and in addition, the terminal device 100 works in a state less than the alarm power. Underneath, it may not be very stable, and abnormal shutdown may occur at any time.
  • the embodiment of the present invention does not limit the value of the minimum power that the terminal device can support. After dividing at least one power range, at least one application is associated with each of the power ranges, thus forming a relationship between the power range and the application.
  • the association relationship may be set by the terminal device 100, for example, at the time of shipment, or the association relationship may also be set by a user who uses the terminal device 100.
  • the application 1, the application 2, the application 3, the application 4, and the application 5 installed in the terminal device 100 are exemplified by an application associated with the power consumption range, wherein the application 1, the application 2
  • the application 3, the application 4, and the application 5 may be all applications installed in the terminal device 100 or part of applications installed in the terminal device 100.
  • the terminal device 100 divides the power of the terminal device 100 into five power ranges according to five power thresholds, and the five power thresholds are respectively N1 and N2. N3, N4, and N5.
  • the power range 1 is [0%, N1]
  • the power range 2 is [N1, N2]
  • the power range 3 is [N3, N4]
  • the power range 4 is [N4, N5]
  • the power range 5 is [N5, 100%] that is, in FIG. 4, the minimum power amount that the terminal device 100 can support is an example of the actual minimum power amount 0% of the terminal device 100.
  • the application associated with the power range 1 is the application 1
  • the application associated with the power range 2 is the application 1 and the application 2
  • the application associated with the power range 3 is the application 1
  • the application Program 2 and application 3
  • the applications associated with the power range 4 are the application 1, the application 2, the application 3, and the application 4.
  • the applications associated with the power range 5 are the application 1, the application 2, and the application. Program 3, Application 4, and Application 5.
  • the current remaining power of the terminal device 100 is in the range of [0%, N1]
  • only the application 1 can be called, and the application 2 cannot be directly called.
  • Figure 4 is an example of associating a direct power range with an application.
  • the power range can also be associated with an application type. See Table 1 for an example of another association:
  • the terminal device 100 divides the power of the terminal device 100 into five power ranges, wherein the minimum power level included in the five power ranges is the minimum safe power of the terminal device 100, for example, 15%.
  • the maximum amount of power included in the power range is the maximum power supported by the terminal device 100, that is, 100%.
  • the terminal device 100 may first divide the application installed in the terminal device 100 into Different types, Table 1 is exemplified by dividing an application installed in the terminal device into four types, namely, a game application, a information push application, a communication application, and an audio application. And the application of the video application, of course, in the actual application, the application installed in the terminal device 100 can be divided into more or less types, which are not limited in the embodiment of the present invention.
  • the power range is associated with the type of the application, for example, [30%, 50%) is associated with the communication application.
  • the application participating in the power range herein may be all applications in the terminal device 100, that is, each application installed in the terminal device 100 is associated with a power range, or is associated with a power range.
  • the application is only a part of the application installed in the terminal device 100, for example, the user sets some applications to be associated with the power range, and the other applications can be used normally by the user under any circumstances.
  • each application installed in the terminal device 100 is associated with a power range, for example, the power of the terminal device 100 is within the range of [30%, 50%)
  • all communication applications installed in the terminal device 100 Both are available applications associated with the range of power to which the current remaining power of the terminal device 100 belongs, such as a call application and a short message application.
  • the application associated with the power range is only a part of the applications installed in the terminal device 100, for example, the power of the terminal device 100 is in the range of [30%, 50%)
  • all the communication applications installed in the terminal device 100 The program or part of the communication type application is an available application associated with the power range to which the current remaining power of the terminal device 100 belongs.
  • the processing of the first operation by the terminal device 100 will be described below.
  • the processor 190 referred to herein does not invoke the first application and may include several methods:
  • Mode 1 the processor 190 does not directly call the first application, and the user's experience is that although the operation for calling the first application is performed, the terminal device 100 does not respond.
  • the processor 190 first outputs a prompt message to prompt the user, and the user determines whether to continue to invoke the first application.
  • the prompt information is text information
  • the text information is “current residual power”
  • the quantity may not meet the requirements of the first application, whether to continue to call, and the user can make a selection by operating the terminal device 100 after seeing the prompt information, and the terminal device 100 determines how to operate according to the user's selection. If it is determined that the call is abandoned, the terminal device 100 no longer processes, that is, does not call the first application. If the user chooses to continue the call, the processor 190 continues to call the first application in response to the user's operation, after all, the user experience is still the most important.
  • the processor 190 can be set in advance by the terminal device 100 or selected by the user in advance.
  • the processor 190 can distinguish whether the first operation is an operation performed by the user or an operation performed by the application in the terminal device 100 after receiving the first operation, if the first operation is not performed by the user. In operation, if the first application requested by the first operation is not an available application associated with the power range to which the current remaining power of the terminal device 100 belongs, the processor 190 may directly not invoke the first application in the manner of the mode 1. program.
  • the processor 190 may follow the manner.
  • the method of 2 that is, does not directly refuse to invoke the first application, but outputs prompt information.
  • the prompt information is referred to as first prompt information
  • the first prompt information is used to prompt whether to abandon the first application.
  • the processor 190 may output the first prompt information through the display unit 140, or output the first prompt information or the like through the speaker 161, and the user may receive the first prompt information.
  • the processor 190 outputs the first prompt information through the display unit 140.
  • the content of the first prompt information is “the current remaining power may not meet the requirement of the first application, is the call continued?”, and the first prompt information further includes two The options are "yes” and "no", see Figure 5.
  • the user may select according to the first prompt information, and feed back the selection result to the terminal device 100.
  • the user feeds back the selection result to the terminal device 100 by operating on the touch screen 131.
  • the result of the selection of the user feedback includes two types: if the user selects "No", it is determined to give up calling the first application, or if the user selects "Yes", it is determined to continue to call the first application.
  • the processor 190 receives the selection result fed back by the user, and operates according to the selection result fed back by the user.
  • the processor 190 When the result of the selection by the user feedback indicates that the first application is aborted, the processor 190 does not call the first application. When the result of the selection by the user indicates that the first application is continuously called, the processor 190 continues to call the first application. This can better meet the needs of users and improve the user experience. Moreover, since the first prompt information is output, the user already knows that the current power is not suitable for running the first application, and even if the user chooses to continue to call the first application, the user will be considered as much as possible when running the first application. In the case of power saving, or possibly charging the terminal device 100, the endurance capability of the terminal device 100 is improved.
  • the terminal device 100 since the power range has been divided, and different power ranges may be associated with different applications, if the remaining power of the terminal device 100 enters another power range from one power range, the terminal device 100 operates.
  • the app may also have applications associated with the last battery range, and these apps may not already be associated with the current battery range in which the remaining battery is located, so if you continue to run these apps, it may not be good for Power saving.
  • the processor 190 may determine whether the currently running application in the terminal device 100 is not associated with the second power range.
  • the processor 190 may not directly close the second application, but select output prompt information, which is hereinafter referred to as second.
  • the prompt information, the second prompt information is used to prompt whether to close the second application.
  • the processor 190 may output the second prompt information through the display unit 140, or output the second prompt information or the like through the speaker 161, and the user may receive the second prompt information.
  • the processor 190 outputs the first prompt information through the display unit 140.
  • the content of the first prompt information is “the current remaining power is not suitable for running the second application, is the second application closed?”, and the second prompt The information also includes two options, "Yes” and "No", see Figure 6.
  • the user may select according to the second prompt information, and feed back the selection result to the terminal device 100.
  • the user feeds back the selection result to the terminal device 100 by performing an operation on the touch screen 131, and the selection result of the user feedback includes: Two kinds: If the user selects "Yes”, it is determined to close the second application, or if the user selects "No", it is determined to continue to run the second application. Then, the processor 190 receives the selection result fed back by the user, and operates according to the selection result fed back by the user.
  • the processor 190 closes the running second application, and when the selection result fed back by the user indicates that the second application continues to be run, the processor 190 does not operate. , keep the second application running normally. This can better meet the needs of users and improve the user experience. Moreover, since the second prompt information is output, the user already knows that the current power is not suitable for running the second application, and even if the user chooses to continue running the first application, the user will try to consider when running the second application. In the case of power saving, or possibly charging the terminal device 100, the endurance capability of the terminal device 100 is improved.
  • an embodiment of the present invention provides a power management method, which may be performed by the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
  • Step 701 The terminal device 100 receives a second operation, where the second operation is used to update a system or an application installed in the terminal device 100.
  • Step 702 The terminal device 100 determines whether the terminal device 100 is in a charging state.
  • Step 703 When the terminal device 100 is not in the charging state, the terminal device 100 does not respond to the second operation.
  • an operation for updating a system installed in the terminal device 100 that is, a system update class operation, or an operation for updating an application installed in the terminal device 100, that is, an application update class operation, or for updating a terminal
  • the operation of the firmware in device 100 i.e., the firmware update class operation
  • the amount of electricity Of course, the amount of power required to get the response to this operation is not necessarily very accurate, as long as it can roughly estimate the amount of power needed to respond to the operation.
  • update class operations including updating the app
  • the operation of the program, or the operation of updating the system, or the operation of updating the firmware, etc. generally allows the processor 190 to know in advance the amount of power required to respond to such operations.
  • the processor 190 may determine whether the terminal device 100 is in a charging state. If the terminal device 100 is not in the charging state, the processor 190 may choose not to directly respond to the second operation. And if the terminal device 100 is in a charging state, the processor 190 can respond to the second operation. In general, the second operation may consume a relatively large amount of power, so it is selected to be in a state of charge as much as possible to avoid excessive power consumption in response to the second operation, which affects the normal use of the terminal device 100.
  • the processor 190 can obtain the amount of power required to respond to the second operation, if the terminal device 100 is not in the charging state, the processor 190 can determine the remaining amount of power of the terminal device 100 and the amount of power required to respond to the second operation. Whether the difference is less than a preset threshold, that is, whether the remaining power of the terminal device 100 can still be greater than or equal to a preset threshold after the response to the second operation is completed. If the difference between the remaining power of the terminal device 100 and the amount of power required to perform the second operation is less than a preset threshold, the terminal device 100 does not respond to the second operation. And if the difference between the remaining power of the terminal device 100 and the power required to perform the second operation is greater than or equal to a preset threshold, the terminal device 100 may respond to the second operation.
  • the preset threshold here is the safe power value of the terminal device 100, and may be the actual minimum power supported by the terminal device 100, for example, 0%, or the alarm power of the terminal device 100, for example, 20%, or 15%, and the like. If the preset threshold is the actual minimum power supported by the terminal device 100, the second operation that the terminal device 100 can respond in the non-charging state may be slightly more, because even if the remaining power of the terminal device 100 is less than the alarm power, the terminal device 100 is also It can work, so the preset threshold can be made the actual minimum power supported by the terminal device 100, so as to respond to more second operations as much as possible.
  • the difference between the remaining power of the terminal device 100 and the power required to respond to the second operation cannot be made smaller than the actual minimum power supported by the terminal device 100, and also to prevent the terminal device 100 from being unresponsive to the second operation. Shutdown may cause disorder of the system or application in the terminal device 100. If the preset threshold is the alarm power of the terminal device 100, it can be guaranteed that the second operation does not affect the normal use of the terminal device 100.
  • the technical solution provided by the embodiment of the present invention can better reduce power consumption by using a customized rule to "block” or prompt before the application program starts to consume a large amount of power. Adopting the method of pre-constrained, combined with the user's own “customization” and participation, while achieving the power-saving effect, it also protects the user experience as much as possible.
  • an embodiment of the present invention provides a terminal device, which may include a receiving unit 801, a determining unit 802, and an operating unit 803.
  • the terminal device may be the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
  • the receiving unit 801 is configured to receive a first operation, where the first operation is used to invoke the first application.
  • the determining unit 802 is configured to query an association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs.
  • the operation unit 803 is configured not to invoke the first application when the first application is not an available application associated with the power range to which the current remaining power belongs.
  • the terminal device further includes an output unit 804, which is shown together in FIG.
  • the output unit 804 is an optional functional unit, which is drawn as a dashed line in FIG. 8 in order to distinguish it from the required functional unit.
  • the output unit 804 is configured to: before the operation unit 803 does not invoke the first application, output the first prompt information, where the first prompt information is used to prompt whether to abandon the first application.
  • the receiving unit 801 is further configured to receive an input operation for the first prompt information.
  • the operating unit 803 is configured not to invoke the first application, and includes: refusing to invoke the first application when the input operation is used to instruct to abandon the calling of the first application.
  • the operating unit 803 is further configured to: divide the power of the terminal device into at least one power range, and the minimum power included in the at least one power range is a minimum power that the terminal device can support, and the at least one power range includes The maximum battery level is the maximum amount of power that the terminal device can support. And, at least one application is associated with each of the power ranges to form the association relationship.
  • the operating unit 803 is further configured to: when the first application is current The first application is called when the remaining battery belongs to the available power range associated with the available battery.
  • the operating unit 803 is further configured to: determine that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship.
  • the output unit 804 is further configured to: when the second application running in the terminal device is not an available application associated with the second power range, output the second prompt information, where the second prompt information is used to prompt whether to close the second application.
  • the physical device corresponding to the receiving unit 801 may be the input unit 130 in FIG. 1A.
  • the physical device corresponding to the determining unit 802 and the operating unit 803 may be the processor 190 in FIG. 1A, and the physical device corresponding to the output unit 804 may be the display unit 140 in FIG. 1A, or the speaker 161 and the like in FIG. 1A.
  • the terminal device can be used to perform the method provided by the embodiment shown in FIG. 2, for example, the terminal device 100 as described above. Therefore, for the functions and the like implemented by the functional units in the terminal device, reference may be made to the embodiment shown in FIG. 1A, the embodiment shown in FIG. 1B, or the description of the embodiment shown in FIG. 2, and details are not described herein.
  • an embodiment of the present invention provides a terminal device, which may include a receiving unit 901, a determining unit 902, and an operating unit 903.
  • the terminal device may be the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
  • the receiving unit 901 is configured to receive a second operation, and the second operation is used to update a system or an application installed in the terminal device.
  • the determining unit 902 is configured to determine whether the terminal device is in a charging state.
  • the operation unit 903 is configured not to respond to the second operation when the terminal device is not in the charging state.
  • the determining unit 902 is further configured to: before the operating unit 903 does not respond to the second operation, determine whether a difference between the remaining power of the terminal device and the amount of power required to respond to the second operation is less than a preset threshold, Let the threshold be the safe power value of the terminal device.
  • the operating unit 903 is configured not to respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, not responding to the second operation.
  • the operating unit 903 is further configured to: respond to the second operation when the difference between the remaining power of the terminal device and the amount of power required to perform the second operation is greater than or equal to a preset threshold.
  • the operating unit 903 is further configured to: when the terminal device is in a charging state When responding to the second operation.
  • the physical device corresponding to the receiving unit 901 may be the input unit 130 in FIG. 1A.
  • the physical device corresponding to the determining unit 902 and the operating unit 903 may be the processor 190 in FIG. 1A.
  • the terminal device can be used to perform the method provided by the embodiment shown in FIG. 7, for example, the terminal device 100 as described above. Therefore, for the functions and the like implemented by the functional units in the terminal device, reference may be made to the embodiment shown in FIG. 1A, the embodiment shown in FIG. 1B, or the description of the embodiment shown in FIG. 7, and details are not described herein.
  • the relationship between the power range and the application program may be set in advance, and after receiving the first operation, the terminal device determines whether the first application to be called by the first operation is the power range to which the current remaining power belongs.
  • the associated available application if not, the terminal device refuses to call the first application, that is, it can fundamentally eliminate the possibility of running more power-consuming applications, and can follow the setting when the power is still sufficient.
  • the relationship is managed to effectively arrange the operation of the application and improve the endurance of the terminal device.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit or unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the methods described in the foregoing method embodiments.
  • the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may also be an independent physical module.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer device such as a personal computer, a server, or A network device or the like, or a processor, performs all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a universal serial bus flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.

Abstract

Provided are a power management method and a terminal device for preventing an ongoing service from being affected by a power-saving operation. The method comprises: a terminal device receiving a first operation, the first operation being used to call a first application; the terminal device querying association relationships between power capacity ranges and applications to determine whether the first application called in response to the first operation is an available application associated with a power capacity range to which the current remaining power capacity of the terminal device belongs; and if the first application is not an available application associated with the power capacity range to which the current remaining power capacity belongs, the terminal device refraining from calling the first application.

Description

一种电量管理方法及终端设备Power management method and terminal device
本申请要求在2016年10月19日提交中国专利局、申请号为201610913813.9、申请名称为“一种移动终端省电的方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 20161091381 3.9, filed on Jan. 19, 2016, the entire disclosure of which is incorporated herein by reference. In this application.
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种电量管理方法及终端设备。The present invention relates to the field of computer technologies, and in particular, to a power management method and a terminal device.
背景技术Background technique
目前,终端设备的电量在低于某个设定的阈值后,有些终端设备,例如手机,会发出报警音,或者会提醒用户是否执行“进入省电模式”的操作。若用户确定进入省电模式,则手机关闭既定准则下的所有相关应用程序,只保留部分较为关键的功能。At present, after the power of the terminal device is below a certain threshold, some terminal devices, such as mobile phones, will emit an alarm tone, or will remind the user whether to perform the operation of "entering power saving mode". If the user determines to enter the power saving mode, the mobile phone closes all relevant applications under the established criteria, leaving only some of the more critical functions.
可以看到,目前的省电模式属于事后处理模式,即在电量已经很低的时候才进行处理,耗电行为已经发生,对节约功耗的效果有限。It can be seen that the current power-saving mode belongs to the after-treatment mode, that is, when the power is already low, the power consumption behavior has already occurred, and the effect on power saving is limited.
发明内容Summary of the invention
本发明实施例提供一种电量管理方法及终端设备,用于避免因为省电而导致正在进行的业务受到影响。The embodiments of the present invention provide a power management method and a terminal device, which are used to prevent an ongoing service from being affected due to power saving.
第一方面,提供一种电量管理方法,该方法通过终端设备执行。该方法包括:终端设备接收第一操作,第一操作用于调用第一应用程序。终端设备查询电量范围与应用程序之间的关联关系,以判断响应第一操作所调用的第一应用程序是否为与终端设备当前的剩余电量所属的电量范围关联的可用应用程序。当第一应用程序不是与当前的剩余电量所属的电量范围关联的可用应用程序时,终端设备不调用第一应用程序。In a first aspect, a method of power management is provided, the method being performed by a terminal device. The method includes the terminal device receiving a first operation, the first operation being used to invoke the first application. The terminal device queries the association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs. When the first application is not an available application associated with the current power range to which the remaining power belongs, the terminal device does not invoke the first application.
本发明实施例中,可以预先设置电量范围与应用程序之间的关联关系,终端设备接收第一操作后,判断第一操作所要调用的第一应用程序是否是与 当前的剩余电量所属的电量范围相关联的可用应用程序,如果不是,则终端设备拒绝调用第一应用程序,也就是可以从根本上杜绝耗电较多的应用程序运行的可能性,在电量还较为充足的时候就可以按照设置的关联关系来进行管理,有效安排应用程序的运行,全程改善终端设备的续航能力。In the embodiment of the present invention, the relationship between the power range and the application program may be set in advance, and after receiving the first operation, the terminal device determines whether the first application to be called by the first operation is The available application associated with the current battery range to which the remaining battery belongs, if not, the terminal device refuses to call the first application, that is, it can fundamentally eliminate the possibility of running more power-consuming applications. When there is sufficient time, it can be managed according to the set relationship, effectively arrange the operation of the application, and improve the endurance of the terminal equipment.
结合第一方面,在第一方面的第一种可能的实施方式中,在终端设备不调用第一应用程序之前,终端设备输出第一提示信息,且终端设备接收针对第一提示信息的输入操作,第一提示信息用于提示是否放弃调用第一应用程序。那么,终端设备不调用第一应用程序,包括:当输入操作用于指示放弃调用第一应用程序时,终端设备不调用第一应用程序。With reference to the first aspect, in a first possible implementation manner of the first aspect, before the terminal device does not invoke the first application, the terminal device outputs the first prompt information, and the terminal device receives the input operation for the first prompt information. The first prompt information is used to prompt whether to abandon the first application. Then, the terminal device does not invoke the first application, and includes: when the input operation is used to instruct to give up calling the first application, the terminal device does not invoke the first application.
终端设备最重要的是满足用户的需求,因此,若终端设备认为不应该调用第一应用程序,则终端设备可以先询问用户,如果用户确定放弃调用第一应用程序,那么终端设备再确定不调用第一应用程序,既节省功耗,又能满足用户的需求。而如果用户选择继续调用第一应用程序,那么终端设备还是可以继续调用第一应用程序,以尽量满足用户的需求为准,提高用户体验。而且,终端设备既然输出了第一提示信息,则用户就知道第一应用程序目前不适合调用,用户即使选择了继续调用第一应用程序,应该也会比较有节制,不会浪费太多功耗,或者可能选择及时充电。即,通过输出第一提示信息,能够很好地提示用户,增加终端设备的实用性。The terminal device is most important to meet the needs of the user. Therefore, if the terminal device thinks that the first application should not be called, the terminal device may first query the user. If the user determines to abandon the first application, the terminal device determines not to call. The first application saves power and meets the needs of users. If the user chooses to continue to invoke the first application, the terminal device can continue to call the first application to meet the user's needs as much as possible to improve the user experience. Moreover, since the terminal device outputs the first prompt information, the user knows that the first application is not suitable for calling at present, and even if the user chooses to continue to call the first application, the user should be more restrained and not waste too much power. Or maybe choose to charge in time. That is, by outputting the first prompt information, the user can be well presented and the practicality of the terminal device can be increased.
结合第一方面或第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,终端设备将终端设备的电量划分为至少一个电量范围,终端设备为其中每个电量范围关联至少一个应用程序,以形成关联关系。其中,至少一个电量范围包括的电量最小值为终端设备能够支持的最小电量,至少一个电量范围包括的电量最大值为终端设备能够支持的最大电量。With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the terminal device divides the power of the terminal device into at least one power range, where the terminal device is A range of power levels is associated with at least one application to form an association. The minimum value of the power included in the at least one power range is the minimum power that the terminal device can support, and the maximum power level included in the at least one power range is the maximum power that the terminal device can support.
因为终端设备是根据电量范围与应用程序之间的关联关系来确定是否要调用应用程序,因此终端设备可以事先建立电量范围与应用程序之间的关联关系,这样,在需要调用应用程序时,可以直接根据已建立的关联关系进行判断,使得后续对是否能够调用应用程序的判断过程变得十分简单。 Because the terminal device determines whether to call the application according to the relationship between the power range and the application, the terminal device can establish an association relationship between the power range and the application in advance, so that when the application needs to be invoked, Judging directly based on the established association relationship makes the subsequent judgment process of whether the application can be called is very simple.
结合第一方面或第一方面的第一种可能的实施方式或第一方面的第二种可能的实施方式,在第一方面的第三种可能的实施方式中,当第一应用程序是与当前的剩余电量所属的电量范围关联的可用应用程序时,终端设备调用第一应用程序。In conjunction with the first aspect or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in a third possible implementation of the first aspect, when the first application is The terminal device invokes the first application when the current remaining power belongs to the available application associated with the power range.
如果第一应用程序是与当前的剩余电量所属的电量范围相关联的可用应用程序,那么表明运行第一应用程序的电量足够,第一应用程序是可以调用的,则终端设备直接调用第一应用程序,使得用户可以正常使用第一应用程序。If the first application is an available application associated with the current power range to which the remaining power belongs, indicating that the power of running the first application is sufficient, and the first application is callable, the terminal device directly invokes the first application. The program allows the user to use the first application normally.
结合第一方面或第一方面的第一种可能的实施方式至第三种可能的实施方式中的任一种可能的实施方式,在第一方面的第四种可能的实施方式中,终端设备确定终端设备的剩余电量从关联关系包括的第一电量范围进入第二电量范围。当终端设备中运行的第二应用程序不是与第二电量范围关联的可用应用程序时,终端设备输出第二提示信息,第二提示信息用于提示是否关闭第二应用程序。With reference to the first aspect or any one of the first possible implementation manner to the third possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the terminal device Determining that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship. When the second application running in the terminal device is not the available application associated with the second power range, the terminal device outputs second prompt information, and the second prompt information is used to prompt whether to close the second application.
终端设备在调用第二应用程序时,第二应用程序可能是与终端设备当时剩余的电量所属的电量范围关联的可用应用程序,则终端设备正常调用了第二应用程序。而第二应用程序在运行一段时间之后,终端设备的电量有所下降,可能终端设备剩余的电量就进入了第二电量范围,而第二应用程序不是与第二电量范围关联的可用应用程序。在这个时候,终端设备可以直接停止运行第二应用程序,以避免因运行第一应用程序而导致电量消耗过快,影响用户的后续使用。或者,终端设备也可以暂时不停止运行第二应用程序,而是输出第二提示信息,即终端设备可以先询问用户,如果用户确定放弃调用第二应用程序,那么终端设备再确定不调用第二应用程序,既节省功耗,又能满足用户的需求。而如果用户选择继续调用第二应用程序,那么终端设备还是可以继续调用第二应用程序,以尽量满足用户的需求为准,提高用户体验。而且,终端设备既然输出了第二提示信息,则用户就知道第二应用程序目前不适合调用,用户即使选择了继续调用第二应用程序,应该也会比较有 节制,不会浪费太多功耗,或者可能选择及时充电。即,通过输出第二提示信息,能够很好地提示用户,增加终端设备的实用性。When the terminal device calls the second application, the second application may be an available application associated with the power range to which the remaining power of the terminal device belongs, and the terminal device normally invokes the second application. After the second application runs for a period of time, the power of the terminal device decreases, and the remaining power of the terminal device may enter the second power range, and the second application is not an available application associated with the second power range. At this time, the terminal device can directly stop running the second application to avoid the power consumption being too fast due to running the first application, which affects the subsequent use of the user. Alternatively, the terminal device may temporarily stop running the second application, but output the second prompt information, that is, the terminal device may first query the user, and if the user determines to abandon the second application, the terminal device determines not to call the second application. The application saves power and meets the needs of users. If the user chooses to continue to invoke the second application, the terminal device can continue to call the second application to meet the user's needs as much as possible to improve the user experience. Moreover, since the terminal device outputs the second prompt information, the user knows that the second application is not suitable for calling at present, and even if the user chooses to continue to call the second application, the user should have more Moderation, does not waste too much power, or may choose to charge in time. That is, by outputting the second hint information, the user can be well presented and the practicality of the terminal device can be increased.
第二方面,提供一种电量管理方法,该方法由终端设备执行。该方法包括:终端设备接收第二操作,第二操作用于更新终端设备中安装的系统或应用程序。终端设备确定终端设备是否处于充电状态。当终端设备未处于充电状态时,终端设备不响应第二操作。In a second aspect, a method of power management is provided, the method being performed by a terminal device. The method includes the terminal device receiving a second operation, and the second operation for updating a system or an application installed in the terminal device. The terminal device determines whether the terminal device is in a charging state. When the terminal device is not in the charging state, the terminal device does not respond to the second operation.
第二操作是更新类的操作,而更新类的操作一般来说都是比较耗电的,如果终端设备没有处于充电状态,则很可能因为响应第二操作而导致终端设备的电量消耗过快,影响用户的后续使用。而且,因为更新类的操作一般持续时间会比较长,如果因为响应第二操作导致终端设备在响应结束之前就因为没电而关机,则更新未完毕,很可能导致系统或相应的软件故障。因此,为了避免这些问题,如果终端设备接收更新类的操作,则可以确定该终端设备是否处于充电状态,如果终端设备没有处于充电状态,则终端设备可以不响应第二操作,以避免消耗电量过多。The second operation is to update the operation of the class, and the operation of the update class is generally relatively power-consuming. If the terminal device is not in the charging state, it is likely that the power consumption of the terminal device is too fast due to the response to the second operation. Affect the subsequent use of the user. Moreover, because the operation of the update class generally lasts for a long time, if the terminal device shuts down because there is no power before the end of the response because the second operation is responded, the update is not completed, which may cause the system or the corresponding software to malfunction. Therefore, in order to avoid these problems, if the terminal device receives the operation of the update class, it may be determined whether the terminal device is in a charging state, and if the terminal device is not in the charging state, the terminal device may not respond to the second operation to avoid power consumption. many.
结合第二方面,在第二方面的第一种可能的实施方式中,在终端设备不响应第二操作之前,终端设备判断终端设备的剩余电量与响应第二操作所需的电量的差值是否小于预设阈值,预设阈值为终端设备的安全电量值。那么,终端设备不响应第二操作,包括:当终端设备的剩余电量与执行第二操作所需的电量的差值小于预设阈值时,终端设备不响应第二操作。With reference to the second aspect, in a first possible implementation manner of the second aspect, before the terminal device does not respond to the second operation, the terminal device determines whether a difference between the remaining power of the terminal device and the amount of power required to respond to the second operation is The preset threshold is less than the preset threshold, and the preset threshold is the safe power value of the terminal device. Then, the terminal device does not respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, the terminal device does not respond to the second operation.
一般来说,对于更新类的操作,终端设备可以事先获知响应此类操作所需的电量。这里的获知,不一定是非常准确地获知,只需知道大概数值即可。接收一个操作后,当然用户更希望的还是执行该操作。因此,如果终端设备没有处于充电状态,终端设备可以进一步判断终端设备的剩余电量与响应第二操作所需的电量的差值是否小于预设阈值,如果终端设备的剩余电量与响应第二操作所需的电量的差小于预设阈值,则表明终端设备无法正常响应第二操作,例如很可能因为响应第二操作而导致异常关机,则终端设备此时再确定不响应第二操作,以保护终端设备。 In general, for an operation of an update class, the terminal device can know in advance the amount of power required to respond to such an operation. The knowledge here is not necessarily very accurately known, just know the approximate value. After receiving an operation, of course, the user prefers to perform the operation. Therefore, if the terminal device is not in the charging state, the terminal device may further determine whether the difference between the remaining power of the terminal device and the power required to respond to the second operation is less than a preset threshold, if the remaining power of the terminal device is in response to the second operation If the difference of the required power is less than the preset threshold, it indicates that the terminal device cannot respond to the second operation normally. For example, it is likely that the abnormal shutdown is caused by responding to the second operation, and the terminal device determines to not respond to the second operation at this time to protect the terminal. device.
结合第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,当终端设备的剩余电量与执行第二操作所需的电量的差值大于或等于预设阈值时,终端设备响应第二操作。With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the difference between the remaining power of the terminal device and the power required to perform the second operation is greater than or equal to the preset At the threshold, the terminal device responds to the second operation.
如果终端设备的剩余电量与响应第二操作所需的电量的差值大于或等于预设阈值,则表明终端设备还是可以正常响应第二操作,因此终端设备可以选择响应第二操作,相当于正常完成终端设备的工作。If the difference between the remaining power of the terminal device and the power required to respond to the second operation is greater than or equal to the preset threshold, it indicates that the terminal device can still respond to the second operation normally, so the terminal device can select to respond to the second operation, which is equivalent to normal. Complete the work of the terminal device.
结合第二方面,在第二方面的第三种可能的实施方式中,当终端设备处于充电状态时,终端设备响应第二操作。In conjunction with the second aspect, in a third possible implementation of the second aspect, the terminal device is responsive to the second operation when the terminal device is in the charging state.
如果处于充电状态,则认为有比较充足的电量满足响应第二操作的需求,则终端设备可以正常响应第二操作,以正常实现终端设备的功能。If it is in a charging state, it is considered that a sufficient amount of power meets the requirement of responding to the second operation, and the terminal device can normally respond to the second operation to normally implement the function of the terminal device.
第三方面,提供一种终端设备,该终端设备包括输入单元和处理器。其中,输入单元用于接收第一操作,第一操作用于调用第一应用程序。处理器用于查询电量范围与应用程序之间的关联关系,以判断响应第一操作所调用的第一应用程序是否为与终端设备当前的剩余电量所属的电量范围关联的可用应用程序。且,当第一应用程序不是与当前的剩余电量所属的电量范围关联的可用应用程序时,处理器不调用第一应用程序。In a third aspect, a terminal device is provided, the terminal device comprising an input unit and a processor. The input unit is configured to receive a first operation, and the first operation is used to invoke the first application. The processor is configured to query an association relationship between the power range and the application to determine whether the first application that is invoked in response to the first operation is an available application that is associated with a power range to which the current remaining power of the terminal device belongs. Moreover, when the first application is not an available application associated with the current power range to which the remaining power belongs, the processor does not invoke the first application.
结合第三方面,在第三方面的第一种可能的实施方式中,该终端设备还包括显示单元或扬声器。显示单元或扬声器用于在处理器不调用第一应用程序之前,输出第一提示信息,第一提示信息用于提示是否放弃调用第一应用程序。输入单元还用于接收针对显示单元或扬声器输出的第一提示信息的输入操作。处理器用于不调用所述第一应用程序,包括:当输入单元接收的输入操作用于指示放弃调用第一应用程序时,拒绝调用第一应用程序。In conjunction with the third aspect, in a first possible implementation of the third aspect, the terminal device further includes a display unit or a speaker. The display unit or the speaker is configured to output the first prompt information before the processor does not invoke the first application, and the first prompt information is used to prompt whether to abandon the calling the first application. The input unit is further configured to receive an input operation of the first prompt information outputted by the display unit or the speaker. The processor is configured not to invoke the first application, and includes: rejecting the first application when the input operation received by the input unit is used to indicate to abandon the first application.
结合第三方面或第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,处理器还用于:将终端设备的电量划分为至少一个电量范围,为其中每个电量范围关联至少一个应用程序,以形成关联关系。至少一个电量范围包括的电量最小值为终端设备能够支持的最小电量,至少一个电量范围包括的电量最大值为终端设备能够支持的最大电量。 With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processor is further configured to: divide the power of the terminal device into the at least one power range, Each of the power ranges is associated with at least one application to form an association. The minimum amount of power included in at least one of the power ranges is the minimum amount of power that the terminal device can support, and the maximum amount of power included in the at least one power range is the maximum amount of power that the terminal device can support.
结合第三方面或第三方面的第一种可能的实施方式或第二种可能的实施方式,在第三方面的第三种可能的实施方式中,处理器还用于:当第一应用程序是与当前的剩余电量所属的电量范围关联的可用应用程序时,调用第一应用程序。With reference to the third aspect or the first possible implementation manner or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the processor is further configured to: when the first application is used The first application is called when the available application associated with the current power range to which the remaining power belongs.
结合第三方面或第三方面的第一种可能的实施方式至第三种可能的实施方式中的任一种可能的实施方式,在第三方面的第四种可能的实施方式中,该终端设备还包括显示单元或扬声器。处理器还用于确定终端设备的剩余电量从关联关系包括的第一电量范围进入第二电量范围。显示单元或扬声器用于:当终端设备中运行的第二应用程序不是与第二电量范围关联的可用应用程序时,输出第二提示信息,第二提示信息用于提示是否关闭第二应用程序。With reference to the third aspect or any one of the first possible implementation manner to the third possible implementation manner of the third aspect, in the fourth possible implementation manner of the third aspect, the terminal The device also includes a display unit or a speaker. The processor is further configured to determine that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship. The display unit or the speaker is configured to: when the second application running in the terminal device is not an available application associated with the second power range, output the second prompt information, where the second prompt information is used to prompt whether to close the second application.
第四方面,提供一种终端设备,该终端设备包括输入单元和处理器。其中,输入单元用于接收第二操作,第二操作用于更新终端设备中安装的系统或应用程序。处理器用于:确定终端设备是否处于充电状态,当终端设备未处于充电状态时,不响应第二操作。In a fourth aspect, a terminal device is provided, the terminal device comprising an input unit and a processor. The input unit is configured to receive a second operation, and the second operation is used to update a system or an application installed in the terminal device. The processor is configured to: determine whether the terminal device is in a charging state, and does not respond to the second operation when the terminal device is not in the charging state.
结合第四方面,在第四方面的第一种可能的实施方式中,处理器还用于:在不响应第二操作之前,判断终端设备的剩余电量与响应第二操作所需的电量的差值是否小于预设阈值,预设阈值为终端设备的安全电量值。处理器用于不响应第二操作,包括:当终端设备的剩余电量与执行第二操作所需的电量的差值小于预设阈值时,则不响应第二操作。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the processor is further configured to: determine, after not responding to the second operation, the difference between the remaining power of the terminal device and the power required to respond to the second operation Whether the value is less than the preset threshold, and the preset threshold is the safe power value of the terminal device. The processor is configured not to respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, the second operation is not responded to.
结合第四方面的第一种可能的实施方式,在第四方面的第二种可能的实施方式中,处理器还用于:当终端设备的剩余电量与执行第二操作所需的电量的差值是否大于或等于预设阈值时,响应第二操作。With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the processor is further configured to: when the remaining power of the terminal device is different from the power required to perform the second operation The second operation is responded if the value is greater than or equal to the preset threshold.
结合第四方面,在第四方面的第三种可能的实施方式中,处理器还用于:当终端设备处于充电状态时,响应第二操作。In conjunction with the fourth aspect, in a third possible implementation of the fourth aspect, the processor is further configured to: respond to the second operation when the terminal device is in a charging state.
第五方面,提供一种终端设备,该终端设备包括用于执行第一方面或第一方面的任一种可能的实现方式的方法的模块。In a fifth aspect, a terminal device is provided, the terminal device comprising means for performing the method of the first aspect or any of the possible implementations of the first aspect.
第六方面,提供一种终端设备,该终端设备包括用于执行第二方面或第 二方面的任一种可能的实现方式的方法的模块。According to a sixth aspect, a terminal device is provided, where the terminal device includes a second aspect or a A module of a method of any of the possible implementations of the two aspects.
第七方面,提供一种计算机存储介质,用于储存为上述终端设备实体所用的计算机软件指令,其包含用于执行第一方面或第一方面的任一种可能的实现方式为终端设备实体所设计的程序。A seventh aspect, a computer storage medium for storing computer software instructions for use by the terminal device entity, including any one of the possible implementations for performing the first aspect or the first aspect, is a terminal device entity Designed program.
第八方面,提供一种计算机存储介质,用于储存为上述终端设备实体所用的计算机软件指令,其包含用于执行第二方面或第二方面的任一种可能的实现方式为终端设备实体所设计的程序。According to an eighth aspect, a computer storage medium is provided for storing computer software instructions for use by the terminal device entity, including any possible implementation manner for performing the second aspect or the second aspect, which is a terminal device entity Designed program.
本发明实施例中,可以从根本上杜绝耗电较多的应用程序运行的可能性,在电量还较为充足的时候就可以按照设置的关联关系来进行管理,有效安排应用程序的运行,全程改善终端设备的续航能力。In the embodiment of the present invention, the possibility of running an application with more power consumption can be fundamentally eliminated, and when the power is still sufficient, the management relationship can be managed according to the set relationship, and the operation of the application is effectively arranged, and the whole process is improved. The endurance of the terminal equipment.
附图说明DRAWINGS
图1A为本发明实施例提供的终端设备的一种结构示意图;1A is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图1B为本发明实施例提供的终端设备的一种软件架构示意图;FIG. 1B is a schematic diagram of a software architecture of a terminal device according to an embodiment of the present disclosure;
图2为本发明实施例提供的电量管理方法的一种流程图;2 is a flowchart of a method for managing a power quantity according to an embodiment of the present invention;
图3为本发明实施例提供的用户进行第一操作的一种示意图;FIG. 3 is a schematic diagram of a user performing a first operation according to an embodiment of the present disclosure;
图4为本发明实施例提供的应用程序与电量范围的关联关系的一种示意图;4 is a schematic diagram of an association relationship between an application and a power range according to an embodiment of the present invention;
图5为本发明实施例提供的第一提示信息的一种示意图;FIG. 5 is a schematic diagram of first prompt information according to an embodiment of the present disclosure;
图6为本发明实施例提供的第二提示信息的一种示意图;FIG. 6 is a schematic diagram of second prompt information according to an embodiment of the present disclosure;
图7为本发明实施例提供的电量管理方法的一种流程图;FIG. 7 is a flowchart of a method for managing a power quantity according to an embodiment of the present invention;
图8为本发明实施例提供的终端设备的一种结构示意图;FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure;
图9为本发明实施例提供的终端设备的一种结构示意图。FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.
本发明实施例中,终端设备,是指向用户提供语音和/或数据连通性的设 备,例如可以包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网(Radio Access Network,RAN)与核心网进行通信,与RAN交换语音和/或数据。该终端设备可以包括用户设备(User Equipment,UE)、无线终端设备、移动终端设备、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point,AP)、远程终端设备(Remote Terminal)、接入终端设备(Access Terminal)、用户终端设备(User Terminal)、用户代理(User Agent)、或用户装备(User Device)等。例如,可以包括移动电话(或称为“蜂窝”电话)、移动电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、媒体播放器、智能电视、穿戴式设备(例如智能手表、智能头盔或智能手环等),以及上述两项或两项以上的组合等。In the embodiment of the present invention, the terminal device is a device that provides voice and/or data connectivity to the user. For example, it may include a handheld device having a wireless connection function or a processing device connected to a wireless modem. The terminal device can communicate with the core network via a Radio Access Network (RAN) to exchange voice and/or data with the RAN. The terminal device may include a user equipment (User Equipment, UE), a wireless terminal device, a mobile terminal device, a Subscriber Unit, a Subscriber Station, a mobile station, a mobile station, and a remote station. Station (Remote Station), Access Point (AP), Remote Terminal, Access Terminal, User Terminal, User Agent, or User Equipment (User Device) and so on. For example, it may include a mobile phone (or "cellular" phone), a mobile computer, a tablet, a personal digital assistant (PDA), a media player, a smart TV, a wearable device (eg, a smart watch, a smart helmet) Or a smart bracelet, etc.), and a combination of two or more of the above.
下面结合说明书附图对本发明实施例作进一步详细描述。The embodiments of the present invention are further described in detail below with reference to the accompanying drawings.
请参见图1A,本发明一实施例提供一种终端设备100,图1A示出了根据一些实施例的终端设备100的框图,该终端设备100可以包括处理器190以及电源管理单元194。Referring to FIG. 1A, an embodiment of the present invention provides a terminal device 100. FIG. 1A illustrates a block diagram of a terminal device 100, which may include a processor 190 and a power management unit 194, in accordance with some embodiments.
另外,为了使得终端设备的功能更为完善,该终端设备100还可以包括输入单元130、显示单元140、存储器120、射频单元110、音频电路160、扬声器161、麦克风162、无线保真(Wireless Fidelity,Wi-Fi)模块170、蓝牙模块180、电源193、外部接口197等部件。In addition, in order to make the function of the terminal device more perfect, the terminal device 100 may further include an input unit 130, a display unit 140, a memory 120, a radio frequency unit 110, an audio circuit 160, a speaker 161, a microphone 162, and a wireless fidelity (Wireless Fidelity). , Wi-Fi) module 170, Bluetooth module 180, power supply 193, external interface 197, and the like.
本领域技术人员可以理解,图1A仅仅是对终端设备的举例,并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件。It will be understood by those skilled in the art that FIG. 1A is merely an example of a terminal device, and does not constitute a limitation on a terminal device. The terminal device may include more or less components than those illustrated, or may combine certain components, or different. component.
处理器190是终端设备100的控制中心,利用各种接口和线路连接整个终端设备100的各个部分,通过运行或执行存储在存储器120内的指令以及调用存储在存储器120内的数据,完成终端设备100的各种功能和处理数据,从而对终端设备进行整体监控。可选的,处理器190可包括一个或多个处理单元,优选的,处理器190可集成应用处理器(AP)和调制解调处理器,其 中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信,本发明实施例所提供的电量管理方法,其主要步骤可由处理器190执行,具体的,可由处理器190中集成的应用处理器来执行。可以理解的是,上述调制解调处理器也可以不集成到处理器190中。在一些实施例中,处理器190和存储器120可以在同一芯片上实现,在一些实施例中,二者也可以在独立的芯片上分别实现。The processor 190 is a control center of the terminal device 100, and connects various parts of the entire terminal device 100 by various interfaces and lines, and completes the terminal device by running or executing an instruction stored in the memory 120 and calling data stored in the memory 120. 100 various functions and processing data to monitor the terminal device as a whole. Optionally, the processor 190 may include one or more processing units. Preferably, the processor 190 may integrate an application processor (AP) and a modem processor. The application processor mainly processes the operating system, the user interface, the application, and the like, and the modem processor mainly processes the wireless communication. The power management method provided by the embodiment of the present invention may be performed by the processor 190. Specifically, It can be performed by an application processor integrated in the processor 190. It will be appreciated that the above described modem processor may also not be integrated into the processor 190. In some embodiments, processor 190 and memory 120 can be implemented on the same chip, and in some embodiments, both can be implemented separately on separate chips.
电源管理单元194能够提供终端设备100的电量信息,处理器190可通过终端设备100中安装的操作系统来获得电源管理单元194所提供的电量信息,从而获知终端设备100当前的剩余电量。其中,电源管理单元194可通过电源管理集成电路(Power Management integrated circuit,PMIC)实现,当然本发明实施例不限制电源管理单元194的实现形式。The power management unit 194 can provide the power information of the terminal device 100, and the processor 190 can obtain the power information provided by the power management unit 194 through the operating system installed in the terminal device 100, thereby obtaining the current remaining power of the terminal device 100. The power management unit 194 can be implemented by a power management integrated circuit (PMIC). Of course, the embodiment of the present invention does not limit the implementation form of the power management unit 194.
存储器120可用于存储指令和数据,存储器120可主要包括存储指令区和存储数据区。存储器120存储的指令可使处理器190执行在后文中将要介绍的本发明实施例提供的电量管理方法。The memory 120 can be used to store instructions and data, and the memory 120 can primarily include a store instruction area and a store data area. The instructions stored in the memory 120 may cause the processor 190 to execute the power management method provided by the embodiment of the present invention to be described later.
输入单元130可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。以该终端设备支持触摸输入为例,则输入单元130可包括触摸屏131,还可以包其他他输入设备132。触摸屏131可收集用户在其上或附近的触摸操作(比如用户使用手指、关节、触笔等任何适合的物体在触摸屏131上或在触摸屏131附近的操作),并根据预先设定的程序驱动相应的连接装置。触摸屏131可以检测用户对触摸屏131的触控操作,将触控操作转换为触控信号发送给处理器190,或者理解为可将触控操作的触控信息发送给处理器190,并能接收处理器190发来的命令并加以执行。触摸屏131可以提供终端设备100和用户之间的输入界面和输出界面。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸屏131。除了触摸屏131,输入单元130还可以包括其他输入设备。比如,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键132、开关按键133等)、轨迹球、鼠标、操作杆等中的一种或多种。 The input unit 130 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the terminal device. Taking the terminal device as supporting the touch input as an example, the input unit 130 may include the touch screen 131, and may also include other input devices 132. The touch screen 131 can collect touch operations on or near the user (such as an operation of the user using a finger, a joint, a stylus, or the like on the touch screen 131 or in the vicinity of the touch screen 131), and drive the corresponding according to a preset program. Connection device. The touch screen 131 can detect the touch operation of the touch screen 131 by the user, convert the touch operation into a touch signal and send the touch signal to the processor 190, or understand that the touch information of the touch operation can be sent to the processor 190 and can be processed. The command sent by the 190 is executed and executed. The touch screen 131 can provide an input interface and an output interface between the terminal device 100 and the user. In addition, the touch screen 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch screen 131, the input unit 130 may also include other input devices. For example, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control button 132, switch button 133, etc.), trackball, mouse, joystick, and the like.
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及装置100的各种菜单。进一步的,触摸屏131可覆盖显示单元140,当触摸屏131检测到在其上或附近的触控操作后,传送给处理器190以确定触控事件的类型,随后处理器190根据触摸事件的类型在显示单元140上提供相应的视觉输出。在本实施例中,触摸屏131与显示单元140可以集成为一个部件而实现终端设备100的输入、输出、显示功能。为便于描述,本发明实施例以触摸屏131代表触摸屏131和显示单元140的功能集合为例,当然在某些实施例中,触摸屏131与显示单元140也可以作为两个独立的部件。The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the device 100. Further, the touch screen 131 can cover the display unit 140. When the touch screen 131 detects a touch operation on or near the touch screen 131, it transmits to the processor 190 to determine the type of the touch event, and then the processor 190 is based on the type of the touch event. A corresponding visual output is provided on display unit 140. In the embodiment, the touch screen 131 and the display unit 140 can be integrated into one component to implement the input, output, and display functions of the terminal device 100. For convenience of description, the embodiment of the present invention takes the touch screen 131 as a representative of the function set of the touch screen 131 and the display unit 140. Of course, in some embodiments, the touch screen 131 and the display unit 140 may also serve as two independent components.
射频单元110可用于收发信息或通话过程中信号的接收和发送。通常,射频电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,射频单元110还可以通过无线通信与网络设备和其他设备通信。无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The radio unit 110 can be used for receiving and transmitting signals during transmission or reception or during a call. Generally, radio frequency circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio unit 110 can also communicate with network devices and other devices through wireless communication. Wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division Multiple) Access, CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), and the like.
音频电路160、扬声器161、麦克风162可提供用户与终端设备100之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出。另一方面,麦克风162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器190处理后,经射频单元110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理,音频电路也可以包括耳机插孔163,用于提供音频电路和耳机之间的连接接口。The audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal device 100. The audio circuit 160 can transmit the converted electrical signal of the audio data to the speaker 161 for conversion to the sound signal output by the speaker 161. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, and then processed by the audio data output processor 190, and transmitted to the terminal, for example, through the radio frequency unit 110. Alternatively, the audio data may be output to the memory 120 for further processing, and the audio circuit may also include a headphone jack 163 for providing a connection interface between the audio circuit and the earphone.
Wi-Fi属于短距离无线传输技术,终端设备100通过Wi-Fi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1A示出了Wi-Fi模块170,但是可以理解的是, 其并不属于终端设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wi-Fi belongs to short-range wireless transmission technology, and the terminal device 100 can help users to send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 170, which provides wireless broadband Internet access for users. Although FIG. 1A shows the Wi-Fi module 170, it will be understood that It does not belong to the essential configuration of the terminal device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
蓝牙(Bluetooth)是一种短距离无线通讯技术。利用蓝牙技术,能够有效地简化掌上电脑、笔记本电脑和手机等移动通信终端设备之间的通信,也能够成功地简化以上这些设备与因特网(Internet)之间的通信,终端设备100通过蓝牙模块180使终端设备100与因特网之间的数据传输变得更加迅速高效,为无线通信拓宽道路。蓝牙技术是能够实现语音和数据无线传输的开放性方案。虽然图1A示出了蓝牙模块180,但是可以理解的是,其并不属于终端设备100的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Bluetooth is a short-range wireless communication technology. With Bluetooth technology, communication between mobile communication terminal devices such as palmtop computers, notebook computers, and mobile phones can be effectively simplified, and communication between the above devices and the Internet can be successfully simplified. The terminal device 100 passes through the Bluetooth module 180. The data transmission between the terminal device 100 and the Internet becomes faster and more efficient, broadening the road for wireless communication. Bluetooth technology is an open solution for wireless transmission of voice and data. Although FIG. 1A shows the Bluetooth module 180, it can be understood that it does not belong to the essential configuration of the terminal device 100, and may be omitted as needed within the scope of not changing the essence of the invention.
终端设备100还可以包括给各个部件供电的电源193,比如电池,优选的,电源可以通过电源管理系统与处理器190逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 100 may further include a power source 193, such as a battery, for supplying power to the various components. Preferably, the power source may be logically connected to the processor 190 through the power management system to manage functions such as charging, discharging, and power management through the power management system. .
终端设备100还可以包括外部接口197,该外部接口可以包括标准的微型通用串行总线(Micro Universal Serial Bus,Micro USB)接口,也可以包括多针连接器,可以用于连接终端设备100与其他设备进行通信,也可以用于连接充电器为终端设备100充电。The terminal device 100 may further include an external interface 197, which may include a standard Micro Universal Serial Bus (Micro USB) interface, and may also include a multi-pin connector, which may be used to connect the terminal device 100 with other The device communicates and can also be used to connect a charger to charge the terminal device 100.
尽管未示出,终端设备100还可以包括摄像头、闪光灯、各类传感器等其他可能的功能模块,在此不再赘述。Although not shown, the terminal device 100 may further include other possible functional modules such as a camera, a flash, various sensors, and the like, and details are not described herein.
请参见图1B,为本发明实施例提供的终端设备100的软件架构。图1B中包括终端设备100提供的用户接口(User Interface,UI)界面,主程序,以及操作系统。其中,UI界面可通过图1所示的实施例提供的显示单元140呈现给用户,以供用户操作,主程序可通过图1所示的实施例提供的处理器190实现。另外,图1B中还包括PMIC,处理器190可通过操作系统获取PMIC的读数,即获取终端设备100当前的剩余电量。FIG. 1B is a software architecture of a terminal device 100 according to an embodiment of the present invention. FIG. 1B includes a user interface (UI) interface provided by the terminal device 100, a main program, and an operating system. The UI interface can be presented to the user through the display unit 140 provided in the embodiment shown in FIG. 1 for the user to operate. The main program can be implemented by the processor 190 provided in the embodiment shown in FIG. In addition, the PMIC is further included in FIG. 1B, and the processor 190 can obtain the reading of the PMIC through the operating system, that is, obtain the current remaining capacity of the terminal device 100.
图1A或图1B所示的终端设备100可以用于执行本发明实施例所提供的方法,如下介绍图1A或图1B所示的终端设备100所能够执行的方法。 The terminal device 100 shown in FIG. 1A or FIG. 1B can be used to perform the method provided by the embodiment of the present invention. The method that the terminal device 100 shown in FIG. 1A or FIG. 1B can perform is as follows.
请参见图2,本发明一实施例提供一种电量管理方法,该方法可以通过图1A或图1B所示的实施例中的终端设备100来执行。Referring to FIG. 2, an embodiment of the present invention provides a power management method, which may be performed by the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
步骤201:终端设备100接收第一操作;第一操作用于调用第一应用程序;Step 201: The terminal device 100 receives the first operation; the first operation is used to invoke the first application;
步骤202:终端设备100查询电量范围与应用程序之间的关联关系,以判断响应第一操作所调用的第一应用程序是否为与终端设备当前的剩余电量所属的电量范围关联的可用应用程序;Step 202: The terminal device 100 queries the association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs.
步骤203:当第一应用程序不是与当前的剩余电量所属的电量范围关联的可用应用程序时,终端设备100不调用第一应用程序。Step 203: When the first application is not an available application associated with the current power range to which the remaining power belongs, the terminal device 100 does not invoke the first application.
下文以具体通过终端设备100中的处理器190执行图2所示的实施例为例进行介绍。The embodiment shown in FIG. 2 is specifically described below by taking the processor 190 in the terminal device 100 as an example.
本发明实施例中,应用程序也可称为应用(application,APP)。In the embodiment of the present invention, an application may also be referred to as an application (application).
其中,第一操作可以是用户对终端设备100进行的操作,例如用户在触摸屏131上进行的触摸操作。或者第一操作也可以是终端设备100自身进行的操作,例如终端设备100中安装了某个恶意应用程序,该恶意应用程序在用户没有操作的情况下可能自行通过第一操作来调用该恶意应用程序,或者该恶意应用程序在用户没有操作的情况下可能自行通过第一操作来调用其他应用程序,使得应用程序在终端设备100后台偷偷运行,消耗电量。在下文中主要以第一操作是用户对终端设备100进行的操作为主。请参见图3,用户对终端设备100的显示单元140进行操作,该显示单元140上显示了一些应用图标,每个应用图标对应一个应用程序。用户点击了其中的应用图标5,即用户进行了第一操作,终端设备100接收第一操作后,就确定需调用应用图标5对应的应用程序,例如为第一应用程序。The first operation may be an operation performed by the user on the terminal device 100, such as a touch operation performed by the user on the touch screen 131. Or the first operation may also be an operation performed by the terminal device 100 itself. For example, a malicious application is installed in the terminal device 100, and the malicious application may invoke the malicious application by using the first operation when the user does not operate. The program, or the malicious application, may invoke other applications by the first operation without the user's operation, so that the application runs secretly in the background of the terminal device 100, consuming power. In the following, the first operation is mainly the operation performed by the user on the terminal device 100. Referring to FIG. 3, the user operates the display unit 140 of the terminal device 100. Some display icons are displayed on the display unit 140, and each application icon corresponds to one application. The user clicks on the application icon 5, that is, the user performs the first operation, and after receiving the first operation, the terminal device 100 determines that the application corresponding to the application icon 5 needs to be invoked, for example, the first application.
第一操作需要调用第一应用程序。那么处理器190通过操作系统获得电源管理单元194所提供的终端设备100当前的剩余电量,且,处理器190查询电量范围与应用程序之间的关联关系,确定终端设备100当前的剩余电量所属的电量范围,以及,确定第一应用程序是否是与当前的剩余电量所属的电量范围所关联的可用应用程序。如果第一应用程序是与当前的剩余电量所 属的电量范围所关联的可用应用程序,则处理器190可以通过响应第一操作来调用第一应用程序。而如果第一应用程序不是与当前的剩余电量所属的电量范围所关联的可用应用程序,则处理器190不调用第一应用程序,从而,可以从根本上杜绝耗电较多的应用程序运行的可能性,在电量还较为充足的时候就可以按照设置的关联关系来进行管理,有效安排应用程序的运行,全程改善终端设备的续航能力。The first operation requires the first application to be called. Then, the processor 190 obtains the current remaining power of the terminal device 100 provided by the power management unit 194 through the operating system, and the processor 190 queries the association relationship between the power consumption range and the application, and determines that the current remaining power of the terminal device 100 belongs to. The range of power, and whether the first application is an available application associated with the range of power to which the current remaining battery belongs. If the first app is with the current remaining battery The processor 190 can invoke the first application by responding to the first operation by the available application associated with the range of powers. And if the first application is not an available application associated with the current power range to which the remaining power belongs, the processor 190 does not invoke the first application, thereby substantially eliminating the operation of the more power-consuming application. Possibility, when the power is still sufficient, it can be managed according to the set relationship, effectively arrange the operation of the application, and improve the endurance of the terminal device.
在上文中提到了电量范围与应用程序之间的关联关系,下面介绍如何获得该关联关系。In the above, the relationship between the power range and the application is mentioned. The following describes how to obtain the relationship.
终端设备100的处理器190可以将终端设备100的电量划分为至少一个电量范围,至少一个电量范围所包括的电量最小值为终端设备100能够支持的最小电量,至少一个电量范围所包括的电量最大值为终端设备100能够支持的最大电量。这里的终端设备100能够支持的最小电量,可以是指终端设备100实际的最小电量,例如为0%,或者是指终端设备100的告警电量,告警电量根据终端设备100的不同会有所不同,一般为20%,也可能是15%,或10%,等等,若终端设备100的剩余电量小于告警电量,则终端设备100一般都会进行告警,另外,终端设备100工作在小于告警电量的状态下,可能不是很稳定,可能会随时出现异常关机的情况。本发明实施例对于终端设备能够支持的最小电量的取值不作限制。在划分至少一个电量范围后,为其中每个电量范围关联至少一个应用程序,这样就形成了电量范围和应用程序之间的关联关系。其中,该关联关系可以由终端设备100自行设置,例如在出厂时设置好,或者该关联关系也可以由使用终端设备100的用户来设置。The processor 190 of the terminal device 100 may divide the power of the terminal device 100 into at least one power range, and the minimum power included in the at least one power range is the minimum power that the terminal device 100 can support, and the at least one power range includes the largest amount of power. The value is the maximum amount of power that the terminal device 100 can support. Here, the minimum power that the terminal device 100 can support may be the actual minimum power of the terminal device 100, for example, 0%, or the alarm power of the terminal device 100. The alarm power varies according to the terminal device 100. Generally, it is 20%, and may be 15%, or 10%, etc., if the remaining power of the terminal device 100 is less than the alarm power, the terminal device 100 generally performs an alarm, and in addition, the terminal device 100 works in a state less than the alarm power. Underneath, it may not be very stable, and abnormal shutdown may occur at any time. The embodiment of the present invention does not limit the value of the minimum power that the terminal device can support. After dividing at least one power range, at least one application is associated with each of the power ranges, thus forming a relationship between the power range and the application. The association relationship may be set by the terminal device 100, for example, at the time of shipment, or the association relationship may also be set by a user who uses the terminal device 100.
请参见图4,为一种关联关系的示例。图4中,以与电量范围关联的应用程序为终端设备100中安装的应用程序1、应用程序2、应用程序3、应用程序4和应用程序5为例,其中,应用程序1、应用程序2、应用程序3、应用程序4和应用程序5可以是终端设备100中安装的全部应用程序,或者是终端设备100中安装的部分应用程序。终端设备100根据5个电量门限来将终端设备100的电量划分为5个电量范围,这5个电量门限分别为N1、N2、 N3、N4、及N5。其中,电量范围1为[0%,N1],电量范围2为[N1,N2],电量范围3为[N3,N4],电量范围4为[N4,N5],电量范围5为[N5,100%],即,图4中,以终端设备100能够支持的最小电量是终端设备100实际的最小电量0%为例。从图4中可知,与电量范围1关联的应用程序为应用程序1,与电量范围2关联的应用程序为应用程序1和应用程序2,与电量范围3关联的应用程序为应用程序1、应用程序2和应用程序3,与电量范围4关联的应用程序为应用程序1、应用程序2、应用程序3和应用程序4,与电量范围5关联的应用程序为应用程序1、应用程序2、应用程序3、应用程序4和应用程序5。例如,终端设备100当前的剩余电量位于[0%,N1]范围内,则只能调用应用程序1,而不能直接调用应用程序2。See Figure 4 for an example of an association. In FIG. 4, the application 1, the application 2, the application 3, the application 4, and the application 5 installed in the terminal device 100 are exemplified by an application associated with the power consumption range, wherein the application 1, the application 2 The application 3, the application 4, and the application 5 may be all applications installed in the terminal device 100 or part of applications installed in the terminal device 100. The terminal device 100 divides the power of the terminal device 100 into five power ranges according to five power thresholds, and the five power thresholds are respectively N1 and N2. N3, N4, and N5. Among them, the power range 1 is [0%, N1], the power range 2 is [N1, N2], the power range 3 is [N3, N4], the power range 4 is [N4, N5], and the power range 5 is [N5, 100%], that is, in FIG. 4, the minimum power amount that the terminal device 100 can support is an example of the actual minimum power amount 0% of the terminal device 100. As can be seen from FIG. 4, the application associated with the power range 1 is the application 1, the application associated with the power range 2 is the application 1 and the application 2, and the application associated with the power range 3 is the application 1, the application Program 2 and application 3, the applications associated with the power range 4 are the application 1, the application 2, the application 3, and the application 4. The applications associated with the power range 5 are the application 1, the application 2, and the application. Program 3, Application 4, and Application 5. For example, if the current remaining power of the terminal device 100 is in the range of [0%, N1], only the application 1 can be called, and the application 2 cannot be directly called.
图4是以将直接电量范围与应用程序关联为例,在实际应用中,也可以将电量范围与应用程序类型相关联,请参见表1,为另一种关联关系的示例:Figure 4 is an example of associating a direct power range with an application. In an actual application, the power range can also be associated with an application type. See Table 1 for an example of another association:
表1Table 1
Figure PCTCN2016113957-appb-000001
Figure PCTCN2016113957-appb-000001
表1中,终端设备100将终端设备100的电量划分为5个电量范围,其中,这5个电量范围包括的电量最小值是终端设备100的最小安全电量,以15%为例,这5个电量范围包括的电量最大值就是终端设备100支持的最大电量,即100%。终端设备100可以先将终端设备100中安装的应用程序划分为 不同的类型,表1以将终端设备100中安装的应用程序划分为四个类型为例,这四个类型分别为游戏类应用程序、信息推送类应用程序、通讯类应用程序、音频类应用程序、以及视频类应用程序,当然在实际应用中可以将终端设备100中安装的应用程序划分为更多或更少的类型,本发明实施例不作限制。在将终端设备100中安装的应用程序划分为不同的类型后,将电量范围与应用程序的类型进行关联,例如,[30%,50%)与通讯类应用程序关联。这里的参与与电量范围关联的应用程序,可以是终端设备100中的全部应用程序,即,将终端设备100中安装的每个应用程序都与电量范围相关联,或者,与电量范围相关联的应用程序只是终端设备100中安装的部分应用程序,例如用户设置一些应用程序来与电量范围相关联,而其他应用程序无论在任何情况下用户都可以正常使用。那么,如果终端设备100中安装的每个应用程序都与电量范围相关联,例如终端设备100的电量位于[30%,50%)范围内,则终端设备100中安装的所有的通讯类应用程序都是与终端设备100当前的剩余电量所属的电量范围关联的可用应用程序,例如通话应用程序以及短信应用程序等。而如果与电量范围相关联的应用程序只是终端设备100中安装的部分应用程序,例如终端设备100的电量位于[30%,50%)范围内,则终端设备100中安装的所有的通讯类应用程序或部分通讯类应用程序是与终端设备100当前的剩余电量所属的电量范围关联的可用应用程序。In the first embodiment, the terminal device 100 divides the power of the terminal device 100 into five power ranges, wherein the minimum power level included in the five power ranges is the minimum safe power of the terminal device 100, for example, 15%. The maximum amount of power included in the power range is the maximum power supported by the terminal device 100, that is, 100%. The terminal device 100 may first divide the application installed in the terminal device 100 into Different types, Table 1 is exemplified by dividing an application installed in the terminal device into four types, namely, a game application, a information push application, a communication application, and an audio application. And the application of the video application, of course, in the actual application, the application installed in the terminal device 100 can be divided into more or less types, which are not limited in the embodiment of the present invention. After the applications installed in the terminal device 100 are divided into different types, the power range is associated with the type of the application, for example, [30%, 50%) is associated with the communication application. The application participating in the power range herein may be all applications in the terminal device 100, that is, each application installed in the terminal device 100 is associated with a power range, or is associated with a power range. The application is only a part of the application installed in the terminal device 100, for example, the user sets some applications to be associated with the power range, and the other applications can be used normally by the user under any circumstances. Then, if each application installed in the terminal device 100 is associated with a power range, for example, the power of the terminal device 100 is within the range of [30%, 50%), all communication applications installed in the terminal device 100 Both are available applications associated with the range of power to which the current remaining power of the terminal device 100 belongs, such as a call application and a short message application. And if the application associated with the power range is only a part of the applications installed in the terminal device 100, for example, the power of the terminal device 100 is in the range of [30%, 50%), all the communication applications installed in the terminal device 100 The program or part of the communication type application is an available application associated with the power range to which the current remaining power of the terminal device 100 belongs.
另外,因为通讯类应用程序一般来说比较重要,例如通话类应用程序,因此即使剩余电量已经比较少了,依然可以继续支持通讯类应用程序,避免用户错过重要来电或无法拨打电话。In addition, because communication applications are generally more important, such as call-based applications, even if the remaining power is already relatively small, you can continue to support communications applications, to avoid users missing important calls or unable to make calls.
下面继续介绍终端设备100对第一操作的处理情况。本文中所说的处理器190不调用第一应用程序,可以包括几种方式:The processing of the first operation by the terminal device 100 will be described below. The processor 190 referred to herein does not invoke the first application and may include several methods:
方式1,处理器190直接不调用第一应用程序,用户的体验就是,虽然进行了用于调用第一应用程序的操作,但是终端设备100没有响应。Mode 1, the processor 190 does not directly call the first application, and the user's experience is that although the operation for calling the first application is performed, the terminal device 100 does not respond.
方式2,处理器190先输出提示信息来提示用户,由用户确定是否继续调用第一应用程序。例如提示信息为文字信息,该文字信息为“当前的剩余电 量可能无法满足第一应用程序的需求,是否继续调用”,用户看到该提示信息后可以通过对终端设备100进行操作来做出选择,终端设备100根据用户的选择来决定如何操作。如果用户确定放弃调用,则终端设备100不再进行处理,即不调用第一应用程序。而如果用户选择继续调用,则处理器190继续响应用户的操作,来调用第一应用程序,毕竟用户的体验还是最重要的。In mode 2, the processor 190 first outputs a prompt message to prompt the user, and the user determines whether to continue to invoke the first application. For example, the prompt information is text information, and the text information is “current residual power” The quantity may not meet the requirements of the first application, whether to continue to call, and the user can make a selection by operating the terminal device 100 after seeing the prompt information, and the terminal device 100 determines how to operate according to the user's selection. If it is determined that the call is abandoned, the terminal device 100 no longer processes, that is, does not call the first application. If the user chooses to continue the call, the processor 190 continues to call the first application in response to the user's operation, after all, the user experience is still the most important.
至于处理器190究竟采用以上哪种方式来处理,可由终端设备100事先设置,或者由用户事先选择。As to whether the processor 190 adopts the above method, it can be set in advance by the terminal device 100 or selected by the user in advance.
在可能的实施方式中,如果第一操作是用户进行的操作,那么如果第一操作所请求调用的第一应用程序不是与终端设备100当前的剩余电量所属的电量范围关联的可用应用程序,若终端设备100直接按照方式1的方式不调用第一应用程序,可能处理方式有些直接。为了给用户更好的使用体验,处理器190在接收第一操作后可以区分第一操作究竟是用户进行的操作还是终端设备100中的应用程序自行进行的操作,若第一操作不是用户进行的操作,则如果第一操作所请求调用的第一应用程序不是与终端设备100当前的剩余电量所属的电量范围关联的可用应用程序,处理器190就可以按照方式1的方式直接不调用第一应用程序。而,若第一操作是用户进行的操作,则如果第一操作所请求调用的第一应用程序不是与终端设备100当前的剩余电量所属的电量范围关联的可用应用程序,处理器190可以按照方式2的方式处理,即,不直接拒绝调用第一应用程序,而是输出提示信息,下文将该提示信息称为第一提示信息,第一提示信息用于提示是否放弃调用第一应用程序。例如,处理器190可以通过显示单元140输出第一提示信息,或者通过扬声器161输出第一提示信息等,总之用户可以接收第一提示信息。例如处理器190通过显示单元140输出第一提示信息,第一提示信息的内容为“当前的剩余电量可能无法满足第一应用程序的需求,是否继续调用?”,且第一提示信息还包括两个选项,分别为“是”和“否”,请参见图5。用户接收第一提示信息后,可以根据第一提示信息进行选择,并向终端设备100反馈选择结果。例如用户通过在触摸屏131上进行操作来向终端设备100反馈选择结果,用 户反馈的选择结果包括两种:若用户选择了“否”,则是确定放弃调用第一应用程序,或,若用户选择了“是”,则是确定继续调用第一应用程序。则处理器190接收用户反馈的选择结果,并根据用户反馈的选择结果进行操作。当用户反馈的选择结果表明放弃调用第一应用程序时,则处理器190不调用第一应用程序。而当用户反馈的选择结果表明继续调用第一应用程序时,则处理器190会继续调用第一应用程序。这样可以更为符合用户的需求,提高用户的使用体验。而且,既然输出了第一提示信息,则用户就已经知道了当前的电量不适合运行第一应用程序,那么即使用户选择继续调用第一应用程序,在运行第一应用程序时也会尽量考虑到省电的情况,或者可能选择为终端设备100充电,以提高终端设备100的续航能力。In a possible implementation, if the first operation is an operation performed by the user, if the first application requested by the first operation is not an available application associated with the power range to which the current remaining power of the terminal device 100 belongs, The terminal device 100 does not directly invoke the first application in the manner of the mode 1, and the processing may be somewhat straightforward. In order to provide a better user experience, the processor 190 can distinguish whether the first operation is an operation performed by the user or an operation performed by the application in the terminal device 100 after receiving the first operation, if the first operation is not performed by the user. In operation, if the first application requested by the first operation is not an available application associated with the power range to which the current remaining power of the terminal device 100 belongs, the processor 190 may directly not invoke the first application in the manner of the mode 1. program. However, if the first operation is an operation performed by the user, if the first application requested to be called by the first operation is not an available application associated with the power range to which the current remaining power of the terminal device 100 belongs, the processor 190 may follow the manner. The method of 2, that is, does not directly refuse to invoke the first application, but outputs prompt information. Hereinafter, the prompt information is referred to as first prompt information, and the first prompt information is used to prompt whether to abandon the first application. For example, the processor 190 may output the first prompt information through the display unit 140, or output the first prompt information or the like through the speaker 161, and the user may receive the first prompt information. For example, the processor 190 outputs the first prompt information through the display unit 140. The content of the first prompt information is “the current remaining power may not meet the requirement of the first application, is the call continued?”, and the first prompt information further includes two The options are "yes" and "no", see Figure 5. After receiving the first prompt information, the user may select according to the first prompt information, and feed back the selection result to the terminal device 100. For example, the user feeds back the selection result to the terminal device 100 by operating on the touch screen 131. The result of the selection of the user feedback includes two types: if the user selects "No", it is determined to give up calling the first application, or if the user selects "Yes", it is determined to continue to call the first application. Then, the processor 190 receives the selection result fed back by the user, and operates according to the selection result fed back by the user. When the result of the selection by the user feedback indicates that the first application is aborted, the processor 190 does not call the first application. When the result of the selection by the user indicates that the first application is continuously called, the processor 190 continues to call the first application. This can better meet the needs of users and improve the user experience. Moreover, since the first prompt information is output, the user already knows that the current power is not suitable for running the first application, and even if the user chooses to continue to call the first application, the user will be considered as much as possible when running the first application. In the case of power saving, or possibly charging the terminal device 100, the endurance capability of the terminal device 100 is improved.
另外,因为已经划分了电量范围,以及不同的电量范围关联的可能是不同的应用程序,那么,如果终端设备100的剩余电量从一个电量范围进入了另一个电量范围,而终端设备100中运行的应用程序可能还有与上一个电量范围关联的应用程序,而这些应用程序可能已经不是与当前的剩余电量所在的电量范围关联的应用程序了,因此,如果继续运行这些应用程序,可能会不利于省电。例如,终端设备100的剩余电量从关联关系包括的第一电量范围进入了第二电量范围,那么处理器190可以判断终端设备100中当前运行的应用程序中是否有与第二电量范围没有关联的应用程序,如果处理器190确定终端设备100中正在运行的应用程序中的第二应用程序不是与第二电量范围关联的可用应用程序,那么一种方式是处理器190直接关闭第二应用程序,以最快地达到省电的目的,或者,为了给用户更友好的使用体验,处理器190可以不直接关闭第二应用程序,而是选择输出提示信息,下文中将该提示信息称为第二提示信息,第二提示信息用于提示是否关闭第二应用程序。例如,处理器190可以通过显示单元140输出第二提示信息,或者通过扬声器161输出第二提示信息等,总之用户可以接收第二提示信息。例如处理器190通过显示单元140输出第一提示信息,第一提示信息的内容为“当前的剩余电量已不适合运行第二应用程序,是否关闭第二应用程序?”,且第二提示 信息还包括两个选项,分别为“是”和“否”,请参见图6。用户接收第二提示信息后,可以根据第二提示信息进行选择,并向终端设备100反馈选择结果,例如用户通过在触摸屏131上进行操作来向终端设备100反馈选择结果,用户反馈的选择结果包括两种:若用户选择了“是”,则是确定关闭第二应用程序,或,若用户选择了“否”,则是确定继续运行第二应用程序。则处理器190接收用户反馈的选择结果,并根据用户反馈的选择结果进行操作。当用户反馈的选择结果表明关闭第二应用程序时,则处理器190关闭正在运行的第二应用程序,而当用户反馈的选择结果表明继续运行第二应用程序时,则处理器190不进行操作,保持第二应用程序继续正常运行。这样可以更为符合用户的需求,提高用户的使用体验。而且,既然输出了第二提示信息,则用户就已经知道了当前的电量不适合运行第二应用程序,那么即使用户选择继续运行第一应用程序,在运行第二应用程序时也会尽量考虑到省电的情况,或者可能选择为终端设备100充电,以提高终端设备100的续航能力。In addition, since the power range has been divided, and different power ranges may be associated with different applications, if the remaining power of the terminal device 100 enters another power range from one power range, the terminal device 100 operates. The app may also have applications associated with the last battery range, and these apps may not already be associated with the current battery range in which the remaining battery is located, so if you continue to run these apps, it may not be good for Power saving. For example, if the remaining power of the terminal device 100 enters the second power range from the first power range included in the association relationship, the processor 190 may determine whether the currently running application in the terminal device 100 is not associated with the second power range. An application, if the processor 190 determines that the second application in the running application in the terminal device 100 is not an available application associated with the second power range, then one way is that the processor 190 directly closes the second application, In order to achieve the goal of power saving as quickly as possible, or in order to give the user a more friendly experience, the processor 190 may not directly close the second application, but select output prompt information, which is hereinafter referred to as second. The prompt information, the second prompt information is used to prompt whether to close the second application. For example, the processor 190 may output the second prompt information through the display unit 140, or output the second prompt information or the like through the speaker 161, and the user may receive the second prompt information. For example, the processor 190 outputs the first prompt information through the display unit 140. The content of the first prompt information is “the current remaining power is not suitable for running the second application, is the second application closed?”, and the second prompt The information also includes two options, "Yes" and "No", see Figure 6. After receiving the second prompt information, the user may select according to the second prompt information, and feed back the selection result to the terminal device 100. For example, the user feeds back the selection result to the terminal device 100 by performing an operation on the touch screen 131, and the selection result of the user feedback includes: Two kinds: If the user selects "Yes", it is determined to close the second application, or if the user selects "No", it is determined to continue to run the second application. Then, the processor 190 receives the selection result fed back by the user, and operates according to the selection result fed back by the user. When the selection result fed back by the user indicates that the second application is closed, the processor 190 closes the running second application, and when the selection result fed back by the user indicates that the second application continues to be run, the processor 190 does not operate. , keep the second application running normally. This can better meet the needs of users and improve the user experience. Moreover, since the second prompt information is output, the user already knows that the current power is not suitable for running the second application, and even if the user chooses to continue running the first application, the user will try to consider when running the second application. In the case of power saving, or possibly charging the terminal device 100, the endurance capability of the terminal device 100 is improved.
请参见图7,本发明一实施例提供一种电量管理方法,该方法可以通过图1A或图1B所示的实施例中的终端设备100来执行。Referring to FIG. 7, an embodiment of the present invention provides a power management method, which may be performed by the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
步骤701:终端设备100接收第二操作,第二操作用于更新终端设备100中安装的系统或应用程序;Step 701: The terminal device 100 receives a second operation, where the second operation is used to update a system or an application installed in the terminal device 100.
步骤702:终端设备100确定终端设备100是否处于充电状态;Step 702: The terminal device 100 determines whether the terminal device 100 is in a charging state.
步骤703:当终端设备100未处于充电状态时,终端设备100不响应第二操作。Step 703: When the terminal device 100 is not in the charging state, the terminal device 100 does not respond to the second operation.
对于一些操作,例如用于更新终端设备100中安装的系统的操作,即系统更新类操作,或用于更新终端设备100中安装的应用程序的操作,即应用更新类操作,或用于更新终端设备100中的固件的操作,即固件更新类操作,这类操作有一些特点,例如这类操作都比较消耗电量,而且可能处理器190能够在响应这类操作之前就获得响应这类操作所需的电量。当然,这里所说的获得响应该操作所需的电量,并不一定要求非常准确,只要能够大概预估响应该操作所需的电量即可。例如,对于一些更新类的操作,包括更新应用 程序的操作,或更新系统的操作,或更新固件的操作等,一般来说处理器190都能事先大概知道响应此类操作所需的电量。For some operations, for example, an operation for updating a system installed in the terminal device 100, that is, a system update class operation, or an operation for updating an application installed in the terminal device 100, that is, an application update class operation, or for updating a terminal The operation of the firmware in device 100, i.e., the firmware update class operation, has some features, such as the fact that such operations are relatively power hungry, and it is possible that processor 190 can be responsive to such operations before responding to such operations. The amount of electricity. Of course, the amount of power required to get the response to this operation is not necessarily very accurate, as long as it can roughly estimate the amount of power needed to respond to the operation. For example, for some update class operations, including updating the app The operation of the program, or the operation of updating the system, or the operation of updating the firmware, etc., generally allows the processor 190 to know in advance the amount of power required to respond to such operations.
终端设备100接收第二操作后,则处理器190可以确定终端设备100是否处于充电状态,如果终端设备100没有处于充电状态,则处理器190可以选择直接不响应第二操作。而如果终端设备100处于充电状态,则处理器190可以响应第二操作。一般来说,第二操作可能耗电量会比较大,因此尽量选择在充电状态下进行,以避免因响应第二操作而消耗过多的电量,影响终端设备100的正常使用。After the terminal device 100 receives the second operation, the processor 190 may determine whether the terminal device 100 is in a charging state. If the terminal device 100 is not in the charging state, the processor 190 may choose not to directly respond to the second operation. And if the terminal device 100 is in a charging state, the processor 190 can respond to the second operation. In general, the second operation may consume a relatively large amount of power, so it is selected to be in a state of charge as much as possible to avoid excessive power consumption in response to the second operation, which affects the normal use of the terminal device 100.
或者,因为处理器190可以获得响应第二操作所需的电量,因此,如果终端设备100没有处于充电状态,则处理器190可以判断终端设备100的剩余电量与响应第二操作所需的电量的差值是否小于预设阈值,即判断在对第二操作响应完毕后,终端设备100的剩余电量是否还能大于或等于预设阈值。如果终端设备100的剩余电量与执行第二操作所需的电量的差值小于预设阈值,则终端设备100不响应第二操作。而如果终端设备100的剩余电量与执行第二操作所需的电量的差值大于或等于预设阈值,则终端设备100可以响应第二操作。Alternatively, because the processor 190 can obtain the amount of power required to respond to the second operation, if the terminal device 100 is not in the charging state, the processor 190 can determine the remaining amount of power of the terminal device 100 and the amount of power required to respond to the second operation. Whether the difference is less than a preset threshold, that is, whether the remaining power of the terminal device 100 can still be greater than or equal to a preset threshold after the response to the second operation is completed. If the difference between the remaining power of the terminal device 100 and the amount of power required to perform the second operation is less than a preset threshold, the terminal device 100 does not respond to the second operation. And if the difference between the remaining power of the terminal device 100 and the power required to perform the second operation is greater than or equal to a preset threshold, the terminal device 100 may respond to the second operation.
这里的预设阈值为终端设备100的安全电量值,可以是终端设备100支持的实际最小电量,例如为0%,或者为终端设备100的告警电量,例如20%,或者15%,等等。如果预设阈值为终端设备100支持的实际最小电量,则终端设备100在非充电状态下能够响应的第二操作可以稍微多一些,因为即使终端设备100的剩余电量小于告警电量,终端设备100也是可以进行工作的,因此可以使得预设阈值为终端设备100支持的实际最小电量,从而尽量响应更多的第二操作。另外,不能使得终端设备100的剩余电量与响应第二操作所需的电量之间的差值小于终端设备100支持的实际最小电量,也是为了防止在对第二操作未响应完毕时终端设备100就关机,则可能会导致终端设备100中的系统或应用程序等出现紊乱现象。如果预设阈值为终端设备100的告警电量,则可以保证响应第二操作不会影响终端设备100的正常使用。 The preset threshold here is the safe power value of the terminal device 100, and may be the actual minimum power supported by the terminal device 100, for example, 0%, or the alarm power of the terminal device 100, for example, 20%, or 15%, and the like. If the preset threshold is the actual minimum power supported by the terminal device 100, the second operation that the terminal device 100 can respond in the non-charging state may be slightly more, because even if the remaining power of the terminal device 100 is less than the alarm power, the terminal device 100 is also It can work, so the preset threshold can be made the actual minimum power supported by the terminal device 100, so as to respond to more second operations as much as possible. In addition, the difference between the remaining power of the terminal device 100 and the power required to respond to the second operation cannot be made smaller than the actual minimum power supported by the terminal device 100, and also to prevent the terminal device 100 from being unresponsive to the second operation. Shutdown may cause disorder of the system or application in the terminal device 100. If the preset threshold is the alarm power of the terminal device 100, it can be guaranteed that the second operation does not affect the normal use of the terminal device 100.
本发明实施例提供的技术方案,在应用程序程序开始大量耗电之前即用定制化规则加以“阻止”或提示,可以更好地减少电能消耗。采用事前约束的方式,结合用户自身的“定制”和参与,在达到省电效果的同时,也尽量保护了用户体验。The technical solution provided by the embodiment of the present invention can better reduce power consumption by using a customized rule to "block" or prompt before the application program starts to consume a large amount of power. Adopting the method of pre-constrained, combined with the user's own "customization" and participation, while achieving the power-saving effect, it also protects the user experience as much as possible.
下面再结合附图介绍本发明实施例提供的设备。The device provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
请参见图8,本发明一实施例提供终端设备,该终端设备可以包括接收单元801、判断单元802和操作单元803。该终端设备可以是图1A或图1B所示的实施例中的终端设备100。Referring to FIG. 8, an embodiment of the present invention provides a terminal device, which may include a receiving unit 801, a determining unit 802, and an operating unit 803. The terminal device may be the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
其中,接收单元801用于接收第一操作,第一操作用于调用第一应用程序。判断单元802用于查询电量范围与应用程序之间的关联关系,以判断响应第一操作所调用的第一应用程序是否为与终端设备当前的剩余电量所属的电量范围关联的可用应用程序。操作单元803用于当第一应用程序不是与当前的剩余电量所属的电量范围关联的可用应用程序时,不调用第一应用程序。The receiving unit 801 is configured to receive a first operation, where the first operation is used to invoke the first application. The determining unit 802 is configured to query an association relationship between the power range and the application to determine whether the first application invoked in response to the first operation is an available application associated with the power range to which the current remaining power of the terminal device belongs. The operation unit 803 is configured not to invoke the first application when the first application is not an available application associated with the power range to which the current remaining power belongs.
在可能的实施方式中,该终端设备还包括输出单元804,在图8中一并画出。输出单元804为可选的功能单元,为了与必选的功能单元相区分,在图8中将其画为虚线。In a possible implementation, the terminal device further includes an output unit 804, which is shown together in FIG. The output unit 804 is an optional functional unit, which is drawn as a dashed line in FIG. 8 in order to distinguish it from the required functional unit.
输出单元804用于:在操作单元803不调用第一应用程序之前,输出第一提示信息,第一提示信息用于提示是否放弃调用第一应用程序。接收单元801还用于接收针对第一提示信息的输入操作。操作单元803用于不调用第一应用程序,包括:当输入操作用于指示放弃调用第一应用程序时,拒绝调用第一应用程序。The output unit 804 is configured to: before the operation unit 803 does not invoke the first application, output the first prompt information, where the first prompt information is used to prompt whether to abandon the first application. The receiving unit 801 is further configured to receive an input operation for the first prompt information. The operating unit 803 is configured not to invoke the first application, and includes: refusing to invoke the first application when the input operation is used to instruct to abandon the calling of the first application.
在可能的实施方式中,操作单元803还用于:将终端设备的电量划分为至少一个电量范围,至少一个电量范围包括的电量最小值为终端设备能够支持的最小电量,至少一个电量范围包括的电量最大值为终端设备能够支持的最大电量。且,为其中每个电量范围关联至少一个应用程序,以形成该关联关系。In a possible implementation, the operating unit 803 is further configured to: divide the power of the terminal device into at least one power range, and the minimum power included in the at least one power range is a minimum power that the terminal device can support, and the at least one power range includes The maximum battery level is the maximum amount of power that the terminal device can support. And, at least one application is associated with each of the power ranges to form the association relationship.
在可能的实施方式中,操作单元803还用于:当第一应用程序是与当前 的剩余电量所属的电量范围关联的可用应用程序时,调用第一应用程序。In a possible implementation, the operating unit 803 is further configured to: when the first application is current The first application is called when the remaining battery belongs to the available power range associated with the available battery.
在可能的实施方式中,操作单元803还用于:确定终端设备的剩余电量从关联关系包括的第一电量范围进入第二电量范围。输出单元804还用于:当终端设备中运行的第二应用程序不是与第二电量范围关联的可用应用程序时,输出第二提示信息,第二提示信息用于提示是否关闭第二应用程序。In a possible implementation manner, the operating unit 803 is further configured to: determine that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship. The output unit 804 is further configured to: when the second application running in the terminal device is not an available application associated with the second power range, output the second prompt information, where the second prompt information is used to prompt whether to close the second application.
在实际应用中,接收单元801对应的实体设备可以是图1A中的输入单元130。判断单元802和操作单元803对应的实体设备可以是图1A中的处理器190,输出单元804对应的实体设备可以是图1A中的显示单元140,或者是图1A中的扬声器161等。In an actual application, the physical device corresponding to the receiving unit 801 may be the input unit 130 in FIG. 1A. The physical device corresponding to the determining unit 802 and the operating unit 803 may be the processor 190 in FIG. 1A, and the physical device corresponding to the output unit 804 may be the display unit 140 in FIG. 1A, or the speaker 161 and the like in FIG. 1A.
该终端设备可以用于执行图2所示的实施例所提供的方法,例如可以是如前所述的终端设备100。因此,对于该终端设备中的各功能单元所实现的功能等,可参考图1A所示的实施例、图1B所示的实施例、或图2所示的实施例的描述,不多赘述。The terminal device can be used to perform the method provided by the embodiment shown in FIG. 2, for example, the terminal device 100 as described above. Therefore, for the functions and the like implemented by the functional units in the terminal device, reference may be made to the embodiment shown in FIG. 1A, the embodiment shown in FIG. 1B, or the description of the embodiment shown in FIG. 2, and details are not described herein.
请参见图9,本发明一实施例提供终端设备,该终端设备可以包括接收单元901、判断单元902和操作单元903。该终端设备可以是图1A或图1B所示的实施例中的终端设备100。Referring to FIG. 9, an embodiment of the present invention provides a terminal device, which may include a receiving unit 901, a determining unit 902, and an operating unit 903. The terminal device may be the terminal device 100 in the embodiment shown in FIG. 1A or FIG. 1B.
其中,接收单元901用于接收第二操作,第二操作用于更新终端设备中安装的系统或应用程序。判断单元902用于确定终端设备是否处于充电状态。操作单元903用于当终端设备未处于充电状态时,不响应第二操作。The receiving unit 901 is configured to receive a second operation, and the second operation is used to update a system or an application installed in the terminal device. The determining unit 902 is configured to determine whether the terminal device is in a charging state. The operation unit 903 is configured not to respond to the second operation when the terminal device is not in the charging state.
在可能的实施方式中,判断单元902还用于:在操作单元903不响应第二操作之前,判断终端设备的剩余电量与响应第二操作所需的电量的差值是否小于预设阈值,预设阈值为终端设备的安全电量值。操作单元903用于不响应第二操作,包括:当终端设备的剩余电量与执行第二操作所需的电量的差值小于预设阈值时,不响应第二操作。In a possible implementation, the determining unit 902 is further configured to: before the operating unit 903 does not respond to the second operation, determine whether a difference between the remaining power of the terminal device and the amount of power required to respond to the second operation is less than a preset threshold, Let the threshold be the safe power value of the terminal device. The operating unit 903 is configured not to respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the power required to perform the second operation is less than a preset threshold, not responding to the second operation.
在可能的实施方式中,操作单元903还用于:当终端设备的剩余电量与执行第二操作所需的电量的差值是否大于或等于预设阈值时,响应第二操作。In a possible implementation manner, the operating unit 903 is further configured to: respond to the second operation when the difference between the remaining power of the terminal device and the amount of power required to perform the second operation is greater than or equal to a preset threshold.
在可能的实施方式中,操作单元903还用于:当终端设备处于充电状态 时,响应第二操作。In a possible implementation, the operating unit 903 is further configured to: when the terminal device is in a charging state When responding to the second operation.
在实际应用中,接收单元901对应的实体设备可以是图1A中的输入单元130。判断单元902和操作单元903对应的实体设备可以是图1A中的处理器190。In an actual application, the physical device corresponding to the receiving unit 901 may be the input unit 130 in FIG. 1A. The physical device corresponding to the determining unit 902 and the operating unit 903 may be the processor 190 in FIG. 1A.
该终端设备可以用于执行图7所示的实施例所提供的方法,例如可以是如前所述的终端设备100。因此,对于该终端设备中的各功能单元所实现的功能等,可参考图1A所示的实施例、图1B所示的实施例、或图7所示的实施例的描述,不多赘述。The terminal device can be used to perform the method provided by the embodiment shown in FIG. 7, for example, the terminal device 100 as described above. Therefore, for the functions and the like implemented by the functional units in the terminal device, reference may be made to the embodiment shown in FIG. 1A, the embodiment shown in FIG. 1B, or the description of the embodiment shown in FIG. 7, and details are not described herein.
本发明实施例中,可以预先设置电量范围与应用程序之间的关联关系,终端设备接收第一操作后,判断第一操作所要调用的第一应用程序是否是与当前的剩余电量所属的电量范围相关联的可用应用程序,如果不是,则终端设备拒绝调用第一应用程序,也就是可以从根本上杜绝耗电较多的应用程序运行的可能性,在电量还较为充足的时候就可以按照设置的关联关系来进行管理,有效安排应用程序的运行,全程改善终端设备的续航能力。In the embodiment of the present invention, the relationship between the power range and the application program may be set in advance, and after receiving the first operation, the terminal device determines whether the first application to be called by the first operation is the power range to which the current remaining power belongs. The associated available application, if not, the terminal device refuses to call the first application, that is, it can fundamentally eliminate the possibility of running more power-consuming applications, and can follow the setting when the power is still sufficient. The relationship is managed to effectively arrange the operation of the application and improve the endurance of the terminal device.
在本发明实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the embodiment of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit or unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何一种方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of any one of the methods described in the foregoing method embodiments.
在本发明实施例中的各功能单元可以集成在一个处理单元中,或者各个单元也可以均是独立的物理模块。The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may also be an independent physical module.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本 发明实施例的技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备,例如可以是个人计算机,服务器,或者网络设备等,或处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:通用串行总线闪存盘(Universal Serial Bus flash drive)、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on this understanding, this All or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product stored in a storage medium, including instructions for causing a computer device, such as a personal computer, a server, or A network device or the like, or a processor, performs all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a universal serial bus flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, and the like, which can store program codes.
以上所述,以上实施例仅用以对本发明实施例的技术方案进行了详细介绍,但以上实施例的说明只是用于帮助理解本发明实施例的方法,不应理解为对本发明实施例的限制。本技术领域的技术人员可轻易想到的变化或替换,都应涵盖在本发明实施例的保护范围之内。 The above embodiments are only used to describe the technical solutions of the embodiments of the present invention in detail, but the description of the above embodiments is only used to help understand the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. . Variations or substitutions that may be readily conceived by those skilled in the art are intended to be included within the scope of the present invention.

Claims (18)

  1. 一种电量管理方法,其特征在于,包括:A method of power management, characterized in that it comprises:
    终端设备接收第一操作;所述第一操作用于调用第一应用程序;Receiving, by the terminal device, a first operation; the first operation is used to invoke the first application;
    所述终端设备查询电量范围与应用程序之间的关联关系,以判断响应所述第一操作所调用的第一应用程序是否为与所述终端设备当前的剩余电量所属的电量范围关联的可用应用程序;The terminal device queries an association relationship between the power range and the application to determine whether the first application that is invoked in response to the first operation is an available application that is associated with the power range to which the current remaining power of the terminal device belongs. program;
    当所述第一应用程序不是与所述当前的剩余电量所属的电量范围关联的可用应用程序时,所述终端设备不调用所述第一应用程序。When the first application is not an available application associated with the power range to which the current remaining power belongs, the terminal device does not invoke the first application.
  2. 如权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    在所述终端设备不调用所述第一应用程序之前,还包括:Before the terminal device does not invoke the first application, the method further includes:
    所述终端设备输出第一提示信息;所述第一提示信息用于提示是否放弃调用所述第一应用程序;The terminal device outputs first prompt information; the first prompt information is used to prompt whether to abandon calling the first application;
    所述终端设备接收针对所述第一提示信息的输入操作;Receiving, by the terminal device, an input operation for the first prompt information;
    所述终端设备不调用所述第一应用程序,包括:The terminal device does not invoke the first application, and includes:
    当所述输入操作用于指示放弃调用所述第一应用程序时,所述终端设备不调用所述第一应用程序。The terminal device does not invoke the first application when the input operation is used to instruct to abandon the call of the first application.
  3. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:The method of claim 1 or 2, wherein the method further comprises:
    所述终端设备将所述终端设备的电量划分为至少一个电量范围;所述至少一个电量范围包括的电量最小值为所述终端设备能够支持的最小电量,所述至少一个电量范围包括的电量最大值为所述终端设备能够支持的最大电量;The terminal device divides the power of the terminal device into at least one power range; the minimum power included in the at least one power range is a minimum power that the terminal device can support, and the at least one power range includes a maximum power The value is the maximum amount of power that the terminal device can support;
    所述终端设备为其中每个电量范围关联至少一个应用程序,以形成所述关联关系。The terminal device associates at least one application for each power range to form the association relationship.
  4. 如权利要求1-3任一所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-3, wherein the method further comprises:
    当所述第一应用程序是与所述当前的剩余电量所属的电量范围关联的可用应用程序时,所述终端设备调用所述第一应用程序。 The terminal device invokes the first application when the first application is an available application associated with a power range to which the current remaining power belongs.
  5. 如权利要求1-4任一所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-4, wherein the method further comprises:
    所述终端设备确定所述终端设备的剩余电量从所述关联关系包括的第一电量范围进入第二电量范围;The terminal device determines that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship;
    当所述终端设备中运行的第二应用程序不是与所述第二电量范围关联的可用应用程序时,所述终端设备输出第二提示信息;所述第二提示信息用于提示是否关闭所述第二应用程序。When the second application running in the terminal device is not an available application associated with the second power range, the terminal device outputs second prompt information; the second prompt information is used to prompt whether to close the Second application.
  6. 一种电量管理方法,其特征在于,包括:A method of power management, characterized in that it comprises:
    终端设备接收第二操作,所述第二操作用于更新所述终端设备中安装的系统或应用程序;Receiving, by the terminal device, a second operation, where the second operation is used to update a system or an application installed in the terminal device;
    所述终端设备确定所述终端设备是否处于充电状态;Determining, by the terminal device, whether the terminal device is in a charging state;
    当所述终端设备未处于所述充电状态时,所述终端设备不响应所述第二操作。When the terminal device is not in the charging state, the terminal device does not respond to the second operation.
  7. 如权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    在所述终端设备不响应所述第二操作之前,还包括:Before the terminal device does not respond to the second operation, the method further includes:
    所述终端设备判断所述终端设备的剩余电量与响应所述第二操作所需的电量的差值是否小于预设阈值;所述预设阈值为所述终端设备的安全电量值;The terminal device determines whether the difference between the remaining power of the terminal device and the power required to respond to the second operation is less than a preset threshold; the preset threshold is a safe power value of the terminal device;
    所述终端设备不响应所述第二操作,包括:The terminal device does not respond to the second operation, and includes:
    当所述终端设备的剩余电量与执行所述第二操作所需的电量的差值小于所述预设阈值时,所述终端设备不响应所述第二操作。When the difference between the remaining power of the terminal device and the power required to perform the second operation is less than the preset threshold, the terminal device does not respond to the second operation.
  8. 如权利要求7所述的方法,其特征在于,所述方法还包括:The method of claim 7 wherein the method further comprises:
    当所述终端设备的剩余电量与执行所述第二操作所需的电量的差值大于或等于所述预设阈值时,所述终端设备响应所述第二操作。When the difference between the remaining power of the terminal device and the power required to perform the second operation is greater than or equal to the preset threshold, the terminal device responds to the second operation.
  9. 如权利要求6所述的方法,其特征在于,所述方法还包括:The method of claim 6 wherein the method further comprises:
    当所述终端设备处于所述充电状态时,所述终端设备响应所述第二操作。When the terminal device is in the charging state, the terminal device responds to the second operation.
  10. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    接收单元,用于接收第一操作;所述第一操作用于调用第一应用程序;a receiving unit, configured to receive a first operation; the first operation is used to invoke a first application;
    判断单元,用于查询电量范围与应用程序之间的关联关系,以判断响应 所述第一操作所调用的第一应用程序是否为与所述终端设备当前的剩余电量所属的电量范围关联的可用应用程序;The determining unit is configured to query the relationship between the power range and the application to determine the response Whether the first application invoked by the first operation is an available application associated with a power range to which the current remaining power of the terminal device belongs;
    操作单元,用于当所述第一应用程序不是与所述当前的剩余电量所属的电量范围关联的可用应用程序时,不调用所述第一应用程序。The operating unit is configured to not invoke the first application when the first application is not an available application associated with the current power range to which the remaining remaining power belongs.
  11. 如权利要求10所述的终端设备,其特征在于,所述终端设备还包括输出单元;The terminal device according to claim 10, wherein the terminal device further comprises an output unit;
    所述输出单元用于:在所述操作单元不调用所述第一应用程序之前,输出第一提示信息;所述第一提示信息用于提示是否放弃调用所述第一应用程序;The output unit is configured to: output first prompt information before the operating unit does not invoke the first application; the first prompt information is used to prompt whether to abandon calling the first application;
    所述接收单元,还用于接收针对所述第一提示信息的输入操作;The receiving unit is further configured to receive an input operation for the first prompt information;
    所述操作单元用于不调用所述第一应用程序,包括:当所述输入操作用于指示放弃调用所述第一应用程序时,拒绝调用所述第一应用程序。The operating unit is configured not to invoke the first application, and includes: refusing to invoke the first application when the input operation is used to indicate to abandon calling the first application.
  12. 如权利要求10或11所述的终端设备,其特征在于,所述操作单元还用于:The terminal device according to claim 10 or 11, wherein the operating unit is further configured to:
    将所述终端设备的电量划分为至少一个电量范围;所述至少一个电量范围包括的电量最小值为所述终端设备能够支持的最小电量,所述至少一个电量范围包括的电量最大值为所述终端设备能够支持的最大电量;Dividing the power of the terminal device into at least one power range; the minimum value of the power included in the at least one power range is a minimum power that the terminal device can support, and the maximum value of the power included in the at least one power range is The maximum amount of power that the terminal device can support;
    为其中每个电量范围关联至少一个应用程序,以形成所述关联关系。At least one application is associated with each of the power ranges to form the association relationship.
  13. 如权利要求10-12任一所述的终端设备,其特征在于,所述操作单元还用于:The terminal device according to any one of claims 10 to 12, wherein the operating unit is further configured to:
    当所述第一应用程序是与所述当前的剩余电量所属的电量范围关联的可用应用程序时,调用所述第一应用程序。The first application is invoked when the first application is an available application associated with a power range to which the current remaining power belongs.
  14. 如权利要求10-13任一所述的终端设备,其特征在于,所述终端设备还包括输出单元;The terminal device according to any one of claims 10-13, wherein the terminal device further comprises an output unit;
    所述操作单元还用于:确定所述终端设备的剩余电量从所述关联关系包括的第一电量范围进入第二电量范围;The operating unit is further configured to: determine that the remaining power of the terminal device enters the second power range from the first power range included in the association relationship;
    所述输出单元用于:当所述终端设备中运行的第二应用程序不是与所述 第二电量范围关联的可用应用程序时,输出第二提示信息;所述第二提示信息用于提示是否关闭所述第二应用程序。The output unit is configured to: when the second application running in the terminal device is not The second prompt information is output when the second power range is associated with the available application; the second prompt information is used to prompt whether to close the second application.
  15. 一种终端设备,其特征在于,包括:A terminal device, comprising:
    接收单元,用于接收第二操作,所述第二操作用于更新所述终端设备中安装的系统或应用程序;a receiving unit, configured to receive a second operation, where the second operation is used to update a system or an application installed in the terminal device;
    判断单元,用于确定所述终端设备是否处于充电状态;a determining unit, configured to determine whether the terminal device is in a charging state;
    操作单元,用于当所述终端设备未处于所述充电状态时,不响应所述第二操作。The operating unit is configured to not respond to the second operation when the terminal device is not in the charging state.
  16. 如权利要求15所述的终端设备,其特征在于,The terminal device according to claim 15, wherein
    所述判断单元还用于:在所述操作单元不响应所述第二操作之前,判断所述终端设备的剩余电量与响应所述第二操作所需的电量的差值是否小于预设阈值;所述预设阈值为所述终端设备的安全电量值;The determining unit is further configured to: before the operating unit does not respond to the second operation, determine whether a difference between a remaining amount of power of the terminal device and a quantity of power required to respond to the second operation is less than a preset threshold; The preset threshold is a safe power value of the terminal device;
    所述操作单元用于不响应所述第二操作,包括:当所述终端设备的剩余电量与执行所述第二操作所需的电量的差值小于所述预设阈值时,则不响应所述第二操作。The operating unit is configured not to respond to the second operation, and includes: when the difference between the remaining power of the terminal device and the amount of power required to perform the second operation is less than the preset threshold, Said second operation.
  17. 如权利要求16所述的终端设备,其特征在于,所述操作单元还用于:The terminal device according to claim 16, wherein the operating unit is further configured to:
    当所述终端设备的剩余电量与执行所述第二操作所需的电量的差值是否大于或等于所述预设阈值时,响应所述第二操作。And responding to the second operation when a difference between a remaining amount of power of the terminal device and a quantity of power required to perform the second operation is greater than or equal to the preset threshold.
  18. 如权利要求15所述的终端设备,其特征在于,所述操作单元还用于:The terminal device according to claim 15, wherein the operating unit is further configured to:
    当所述终端设备处于所述充电状态时,响应所述第二操作。 And responding to the second operation when the terminal device is in the charging state.
PCT/CN2016/113957 2016-10-19 2016-12-30 Power management method and terminal device WO2018072338A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201680057578.8A CN108475097B (en) 2016-10-19 2016-12-30 Electric quantity management method and terminal equipment
US16/343,413 US10813051B2 (en) 2016-10-19 2016-12-30 Power management method and terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610913813.9 2016-10-19
CN201610913813 2016-10-19

Publications (1)

Publication Number Publication Date
WO2018072338A1 true WO2018072338A1 (en) 2018-04-26

Family

ID=62018202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/113957 WO2018072338A1 (en) 2016-10-19 2016-12-30 Power management method and terminal device

Country Status (3)

Country Link
US (1) US10813051B2 (en)
CN (1) CN108475097B (en)
WO (1) WO2018072338A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069207B (en) * 2019-04-24 2024-03-19 努比亚技术有限公司 Zxfoom zxfoom , zxfoom the method is Mobile terminal and mobile terminal read storage medium
CN112291833B (en) * 2019-07-23 2023-01-13 华为技术有限公司 Equipment control method, system and related device
US20220394426A1 (en) * 2021-06-03 2022-12-08 Not A Satellite Labs, LLC Mobile device power management in surveillance platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166453A (en) * 2014-08-15 2014-11-26 百度在线网络技术(北京)有限公司 Method and device for reducing power consumption of mobile terminal
CN105573472A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Method and device for closing application program
CN105700663A (en) * 2016-01-13 2016-06-22 广东小天才科技有限公司 Background program cleaning method and system for mobile terminal
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI259946B (en) * 2002-12-20 2006-08-11 Elitegroup Computer Sys Co Ltd Power supply management system
CN1909694B (en) 2006-08-10 2010-06-16 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and its electric power managing method
US8504118B2 (en) * 2006-10-11 2013-08-06 Kyocera Corporation System and method for optimizing battery power
CN101539321B (en) * 2008-03-19 2012-01-11 中华电信股份有限公司 Electric control system for air conditioner
US9047084B2 (en) * 2009-09-22 2015-06-02 Microsoft Technology Licensing, Llc Power management of a mobile communications device
US8639232B2 (en) * 2010-09-30 2014-01-28 Qualcomm Incorporated System and method to manage processes of a mobile device based on available power resources
US20130035812A1 (en) * 2011-08-04 2013-02-07 Gm Global Technology Operations Llp Battery charging system and method
US9510290B2 (en) * 2012-08-10 2016-11-29 At&T Mobility Ip, Llc Mobile battery consumption analysis system and method of operating on delta charge samples
CN103841249B (en) * 2012-11-21 2016-03-23 宏碁股份有限公司 Hand-held device and monitoring cell electricity quantity method thereof
CN103905652A (en) 2012-12-28 2014-07-02 联想(北京)有限公司 Power supply management method and electronic device
CN103176840A (en) 2013-02-20 2013-06-26 广东欧珀移动通信有限公司 Method for managing starts-up of application programs and mobile terminal with application program start-up management function
US9286568B2 (en) * 2013-05-03 2016-03-15 Asurion, Llc Battery drain analysis and prediction for wireless devices
US9369964B2 (en) * 2013-08-20 2016-06-14 Verizon Patent And Licensing Inc. Mobile device radio power consumption and battery capacity management
US9247410B1 (en) * 2014-12-08 2016-01-26 GreatCall, Inc. Power management for emergency communications device
WO2016137295A1 (en) * 2015-02-27 2016-09-01 Samsung Electronics Co., Ltd. Electronic device and application control method thereof
CN104765269A (en) 2015-04-23 2015-07-08 深圳市欧珀通信软件有限公司 Method and device for controlling power consumption of intelligent watch and intelligent watch
CN104898409B (en) 2015-05-28 2018-04-10 惠州Tcl移动通信有限公司 A kind of intelligent watch reduces the method and intelligent watch of power consumption
US9596654B2 (en) * 2015-06-12 2017-03-14 International Business Machines Corporation Association of applications to clusters mapped to logical battery partitions
CN105824659A (en) * 2015-07-30 2016-08-03 广东维沃软件技术有限公司 Application program updating method and terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166453A (en) * 2014-08-15 2014-11-26 百度在线网络技术(北京)有限公司 Method and device for reducing power consumption of mobile terminal
CN105573472A (en) * 2015-12-15 2016-05-11 小米科技有限责任公司 Method and device for closing application program
CN105700663A (en) * 2016-01-13 2016-06-22 广东小天才科技有限公司 Background program cleaning method and system for mobile terminal
CN105786560A (en) * 2016-01-25 2016-07-20 广东小天才科技有限公司 Upgrading method for application programs and upgrading system for application programs of terminal

Also Published As

Publication number Publication date
CN108475097B (en) 2024-01-02
CN108475097A (en) 2018-08-31
US10813051B2 (en) 2020-10-20
US20190253974A1 (en) 2019-08-15

Similar Documents

Publication Publication Date Title
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
WO2018032581A1 (en) Method and apparatus for application program control
WO2017008569A1 (en) Message updating method, apparatus, and terminal
US8738094B2 (en) Automatically enabling wireless communication
WO2018233492A1 (en) Method for deleting push message, and related product
CN111093259B (en) Bluetooth power adjustment method and device, storage medium and terminal
WO2017206915A1 (en) Method for determining kernel running configuration in processor and related product
WO2018219119A1 (en) Application function control method and relevant product
WO2017206895A1 (en) Application control method and related device
WO2018049903A1 (en) Data migration method and related devices
WO2023246516A1 (en) Method and apparatus for generating visit report of clinical research project
WO2018072338A1 (en) Power management method and terminal device
WO2020007174A1 (en) Communication connection establishment method and related device
WO2018049904A1 (en) Data migration method and related devices
WO2020077510A1 (en) Method for adjusting parameter of audio service and terminal
JP2020507979A (en) Call control method and related products
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
WO2022237609A1 (en) Communication control method, electronic device and earphones
WO2020001190A1 (en) Application program interface display method and device, readable storage medium, and mobile terminal
WO2018049901A1 (en) Data migration method and related devices
CN107438999A (en) Method into battery saving mode, the method, device and mobile terminal for exiting battery saving mode
WO2018120032A1 (en) Cell switching method and terminal device
WO2019129108A1 (en) Mobile terminal, otg control and configuration method, and storage medium
WO2015078349A1 (en) Microphone sound-reception status switching method and apparatus

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: 16919527

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16919527

Country of ref document: EP

Kind code of ref document: A1