WO2014090202A1 - 一种功率控制的方法、装置及终端 - Google Patents

一种功率控制的方法、装置及终端 Download PDF

Info

Publication number
WO2014090202A1
WO2014090202A1 PCT/CN2013/089554 CN2013089554W WO2014090202A1 WO 2014090202 A1 WO2014090202 A1 WO 2014090202A1 CN 2013089554 W CN2013089554 W CN 2013089554W WO 2014090202 A1 WO2014090202 A1 WO 2014090202A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
time period
terminal
meets
period
Prior art date
Application number
PCT/CN2013/089554
Other languages
English (en)
French (fr)
Inventor
张建春
赵京
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2014090202A1 publication Critical patent/WO2014090202A1/zh

Links

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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
    • 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/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • 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 main method for reducing the power consumption of the terminal is as follows: When the user does not use the terminal, the terminal enters the standby state after a certain period of time, and the power consumption is kept low.
  • the central processing unit CPU
  • the graphic processing unit GPU
  • various sensors Sen S or
  • WIFI wireless fidelity
  • the chip, Bluetooth and other devices enter the standby state, and the display device is off.
  • the inventors of the present invention have found that when the terminal is not used for a long time by the user, even if the terminal is off, the plurality of power consuming devices in the terminal may still maintain a high operating power, resulting in a large power consumption of the terminal. Moreover, once a malicious application encounters a resource such as a CPU, the mobile phone cannot enter sleep, and the standby power consumption is greatly increased. . Summary of the invention
  • the embodiment of the invention provides a method for power control, which can reduce the operating power of each power consuming device in the terminal when the terminal does not interact with the user, thereby saving power consumption of the terminal.
  • the embodiment of the invention also provides a corresponding terminal.
  • a first aspect of the present invention provides a method of power control, including:
  • the non- The active time period is a time period in which the terminal does not interact with the user by default;
  • the system time of the terminal reaches the inactive time period, and the terminal is not interacting with the user, sending, to the respective power consuming devices in the terminal, the power reducing indication information, so that the terminal is in the terminal
  • Each power consuming device reduces operating power.
  • the acquiring, by using the time interval that meets the preset condition in each monitoring period in the specified time period specifically includes:
  • the acquiring, by using the time interval that meets the preset condition in each monitoring period in the specified time period specifically includes:
  • the method further includes:
  • any one of the first to third possible implementation manners of the first aspect in a fourth possible implementation manner, when the same system time period is in each monitoring period If the probability that the time interval that meets the preset condition exceeds the preset threshold, the same system time period is set as the inactive time period, which specifically includes:
  • a second aspect of the present invention provides a control device, including:
  • an acquiring unit configured to acquire a time interval that meets a preset condition in each monitoring period in the specified time period, where the specified time period includes multiple the monitoring periods, where the time interval is that the terminal does not interact with the user. Length of time;
  • the inactive time period is a time period in which the terminal does not interact with the user by default;
  • a sending unit configured to send an indication of reducing power to each power consuming device in the terminal when a system time of the terminal reaches an inactive time period set by the setting unit and the terminal is not interacting with a user Information to reduce the operating power of each of the power consuming devices in the terminal.
  • the acquiring unit includes: a collecting subunit, a first calculating subunit, and a first setting subunit;
  • the collecting subunit is configured to collect a time point of each time the screen is off and on the screen in each monitoring period; the first calculating subunit is configured to calculate each time according to the time sequence collected by the collecting subunit a first difference between a group of adjacent screen-off time points and a bright-screen time point;
  • the first setting subunit is configured to: when the first difference calculated by the first calculating subunit meets the preset condition, use the first difference that meets the preset condition as a compliance pre The time interval for the condition.
  • the acquiring unit includes: an obtaining subunit, a second calculating subunit, and a second setting subunit;
  • the acquiring sub-unit is configured to acquire each alarm time in each monitoring period, and acquire a last time-out time point before each alarm time;
  • the second calculating sub-unit is configured to calculate a second difference between each of the alarm time times acquired by the acquiring sub-unit and a last time-out time point corresponding thereto;
  • the second setting subunit is configured to: when the second difference calculated by the second calculating subunit meets the preset condition, use the second difference that meets the preset condition as a compliance pre The time interval for the condition.
  • the acquiring unit further includes an indication subunit, The second calculating subunit is further configured to calculate a time difference between two adjacent alarm time times;
  • the indication subunit configured to: when the second calculation subunit calculates that the time difference between the two adjacent alarm time times does not meet the preset condition, instruct the acquiring unit not to acquire the adjacent The last time of the screen after the last alarm time in the two alarm time.
  • the setting unit includes:
  • a statistical subunit configured to count the number of monitoring periods in which the time interval corresponding to the preset condition exists in the same system time period of each monitoring period in all monitoring periods;
  • a third calculating sub-unit calculating, according to the number of the monitoring periods and the quantity in all the monitoring periods, that the statistical sub-units have the preset condition in the same system time period of each monitoring period Probability of the time interval;
  • a comparison subunit configured to compare a probability of a time interval that meets the preset condition calculated by the third calculation subunit with the preset threshold
  • a setting subunit configured to set the same system time period as an inactive time period when a probability that the comparison subunit compares a time interval meeting the preset condition exceeds the preset threshold.
  • a third aspect of the present invention provides a terminal, a control device, and a plurality of power consuming devices
  • the control device is the control device described in the above technical solution.
  • the embodiment of the present invention is configured to obtain a time interval that meets a preset condition in each monitoring period in a specified time period, where the specified time period includes multiple monitoring periods, where the time interval is that the terminal does not interact with the user.
  • the inactive time period is a time period in which the terminal does not interact with the user by default; when the system time of the terminal reaches the inactive time period, and the terminal is not interacting with the user,
  • Each power consuming device in the terminal transmits indication information for reducing power to reduce operating power of each of the power consuming devices in the terminal.
  • the power consumption control method provided by the embodiment of the present invention may be in the terminal.
  • the operating power of each power consuming device in the terminal is reduced, thereby saving power consumption of the terminal.
  • FIG. 1 is a schematic diagram of an embodiment of a method for power control in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of an application scenario in an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an embodiment of a control device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another embodiment of a control device according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of an embodiment of a terminal in an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another embodiment of a terminal in an embodiment of the present invention.
  • the embodiments of the present invention provide a method for power control, which can reduce the operating power of each power consuming device in the terminal when the terminal does not interact with the user, thereby saving power consumption of the terminal.
  • the embodiment of the invention also provides a corresponding terminal. The details are described below separately.
  • the terminal of the embodiment of the present invention includes a terminal device such as a mobile phone, a palmtop computer (PAD), and a personal computer.
  • a terminal device such as a mobile phone, a palmtop computer (PAD), and a personal computer.
  • an embodiment of a method for power control in an embodiment of the present invention includes:
  • the control device acquires, in the specified time period, all the time intervals that meet the preset conditions in the specified time period, where the specified time period includes a plurality of the monitoring periods, where the time interval is that the terminal does not interact with the user. duration.
  • the specified time period in the embodiment of the present invention may be half a month, one month, two months or other time periods.
  • the monitoring period is 24 hours, from 12: 00 on the previous day to 12: 00 on the next day, which can include the night's sleep time, or the other day before the next day to 24 hours after the second day.
  • Time point of course, It is 0:00 to 24:00 in the day.
  • the specific time point of the monitoring period is not limited in the embodiment of the present invention.
  • the time interval that meets the preset condition may be that the time interval is greater than a fixed value, and the fixed value may be half an hour.
  • the time interval at which the terminal does not interact with the user is the interval at which the terminal interacts with the user twice. 102.
  • the control device sets the same system time period as an inactive time period when the probability that the time interval meeting the preset condition exceeds a preset threshold in the same system time period of each monitoring period
  • the inactive time period is a time period in which the terminal does not interact with the user by default.
  • the system time refers to the time displayed in the mobile phone, and the same system time period of each monitoring cycle refers to each time.
  • a monitoring period there may be multiple time intervals, but not every time interval in a monitoring period is regular.
  • statistics can be counted through continuous multi-day statistics.
  • the probability that the terminal interacts with the user often exists in the same system time period.
  • the probability that the time interval exists for the same time period is greater than the preset threshold, the same time may be determined as the inactive time period. .
  • the same system time period can be determined by analyzing the dispersion of the start time point and the end time point of the time interval corresponding to the preset condition between each monitoring period, such as: 22: 0 in the first monitoring period ( ⁇ 6 : 30 is a time interval that meets the preset conditions. 22:03:30 in the second monitoring cycle is a time interval that meets the preset conditions. 22:05:30 in the third monitoring cycle is a pre-compliance.
  • the conditional interval, 22:02:30 in the fourth monitoring period is a time interval that meets the preset condition
  • 21:57 ⁇ 6:30 in the fifth monitoring period is a time that meets the preset condition.
  • Interval, 21:59:30 in the sixth monitoring period is a time interval that meets the preset conditions.
  • the average value of the starting time point 22:03:30 can be used as the same system time period.
  • the earliest starting time point is 21:57 ⁇ 6:30 as the same system time period.
  • the latest starting time point 22:05:30 can also be used as the same system time period, which can be based on user requirements. set up.
  • the probability that the terminal does not interact with the user during the interval from 22:00 to 6:30 in each monitoring period exceeds 80%, then it can be from 22:00 to 6:30 the next day.
  • This interval is determined to be an inactive time period.
  • the inactive time period is not that each time interval is an inactive time period, but the same system time period is when the probability that the time interval exists in the same system time period in each monitoring period is greater than a preset threshold.
  • a preset threshold can be 90%, 80%, 70%, 60%, and the like.
  • the control device sends, when the system time of the terminal reaches the inactive time period, and the terminal is not interacting with the user, sending, to each of the power consuming devices in the terminal, the power reduction indication information, so that Each power consuming device in the terminal reduces operating power.
  • step 102 when the terminal reaches the time when the system time of the terminal reaches 22:00 to 6:30, and the terminal is not used, the control device sends to each power consuming device in the terminal.
  • the indication information of the power is reduced to reduce the operating power of each of the power consuming devices in the terminal.
  • CPU Central Processing Unit
  • GPU Graphic Processing Unit
  • various sensors Sensor
  • WIFI Wireless Fidelity
  • the embodiment of the present invention is configured to obtain a time interval that meets a preset condition in each monitoring period in a specified time period, where the specified time period includes multiple monitoring periods, where the time interval is that the terminal does not interact with the user.
  • the inactive time period is a time period in which the terminal does not interact with the user by default; when the system time of the terminal reaches the inactive time period, and the terminal is not interacting with the user,
  • Each power consuming device in the terminal transmits indication information for reducing power to reduce operating power of each of the power consuming devices in the terminal.
  • the power consumption control method provided by the embodiment of the present invention may be in the terminal.
  • the operating power of each power consuming device in the terminal is reduced, thereby saving power consumption of the terminal.
  • the time interval of the condition may specifically include:
  • the first difference that meets the preset condition is taken as a time interval that meets the preset condition.
  • the terminal can collect the time point of each screen off and the bright screen in each monitoring period, and there may be multiple time points for the screen to be off and on the screen in a monitoring period, and the screen is off when the user sleeps.
  • the time point of the bright screen is For example, the collected time of the screen is 22:00, and the time of the adjacent bright screen is 6:30.
  • the time difference between the time of the screen and the time of the screen is 8.5 hours. If the condition is more than 2 hours, it can be considered as the time interval that meets the preset condition.
  • 22 : 0 ( ⁇ 6:30 interval will be the maximum time interval according to the preset conditions, if for a closed starter Said that the mobile phone may be in the unused state within 10 hours from 12:00 am to 22:00 pm during business hours, then the 12 : 0 ( ⁇ 22:00 is the maximum time interval, so for some user groups, the maximum time interval There may be a period of time Different, but no matter which time period the maximum time interval exists, as long as the time interval satisfies the preset condition, and the probability that the time interval exists in the same system time period exceeds the preset threshold, the same system time period can be used as During the inactive time period, the control device sends indications of reduced power to the respective power consuming devices in the terminal to reduce the operating power of each of the power consuming devices in the terminal.
  • All the time intervals in the monitoring period that meet the preset conditions include:
  • the alarm time is usually set for the sleep wake-up time. Whether it is sleeping at night or sleeping at noon, it is usually very regular. When the user sleeps, the terminal device does not interact with the user.
  • the alarm clock is set at 6:30 on the next day. You can count the time when the last time the screen was turned off before the alarm time is 6:30. If it is 22:00, the time difference between the last interaction and the time before the alarm time arrives. For 8.5 hours, the 8.5 hours meet the preset condition, then the time interval is 22 : 0 ( ⁇ 6:30 is the time interval in the monitoring period that meets the preset condition.
  • the method further includes:
  • the acquired alarm time when the acquired alarm time is very close, only the first alarm time is needed, and other alarm time is not needed, then only the first alarm clock of the two alarm time can be obtained.
  • the last time of the screen is off before the time, that is, the last time of the screen before the next alarm time is indicated. For example: A user sets 3 alarm time in the morning, 6: 30, 6: 40 and 6: 50 respectively, then when calculating the time difference of each adjacent alarm is only 10 minutes, less than the preset condition
  • the 2 hours in the middle indicate that the last timeout time before 6:40 and 6:50 is not obtained.
  • the method includes: counting, in a monitoring period, a number of monitoring periods in which the time interval corresponding to the preset condition exists in the same system time period of each monitoring period;
  • the specified time period of the statistics is 15 days, wherein 12 days have a time interval corresponding to the preset condition in the period of 22 : 0 ( ⁇ 6: 30), then in each of the monitoring During the same system time period of the cycle, the probability of existence of the time interval meeting the preset condition is 80%. If the preset threshold is 70%, then 22 : 0 can be set ( ⁇ 6: 30 is set to the inactive time period) .
  • FIG. 2 a specific application scenario is taken as an example to describe in detail the specific process of the power control method in the embodiment of the present invention:
  • the control device 20 includes an information collection module 200, a decision module 210, and an execution module 220.
  • the information collection module 200 can collect the time point and the alarm time of each bright and off screen in each monitoring period, and collect the collected information. Recorded in the system database.
  • the decision module 210 analyzes the time interval of each monitoring period that meets the preset condition, for example, the time of the screen set collected by the control device 20 is 22:00, and the time interval of the adjacent bright screen collected is the next day. : 30, then the time difference between the off-screen and bright-screen time points is 8.5 hours.
  • the preset condition is greater than 2 hours, it can be the time interval that meets the preset conditions, then 22 : 0 ( ⁇ 6:30 can be met)
  • the time interval of the preset condition if the collected timeout point is 21:00, and the collected adjacent bright time point is 21:05, then the time difference between the off-screen and the bright-screen time point is 5 minutes. If the preset condition is not met, then the 21 : 0 ( ⁇ 21:05 cannot be used as the time interval that meets the preset conditions.
  • the maximum time interval of the condition if for a closed starter, the mobile phone may be in an unused state within 10 hours from 12:00 am to 22:00 pm during working hours, then the 12:00 ⁇ 22 :00 is the maximum time interval, so for one
  • the time period in which the maximum time interval of the user groups may exist may be different, but no matter which time period the maximum time interval exists, as long as the time interval satisfies the preset condition, and the probability that the time interval exists in the same system time period exceeds By preset the threshold, the same system time period can be used as the inactive time period.
  • the control device sends the power-reducing indication information to each power-consuming device in the terminal, so that each power-consuming device in the terminal Reduce operating power
  • the execution module 220 when it is learned from the decision module 210, which time period is the inactive time period, when the system time of the terminal reaches the inactive time period, the control device sends the reduced power to each power consuming device in the terminal. Instructing information to reduce operating power of each power consuming device in the terminal
  • Reducing the motion power of the power consuming device includes, but is not limited to, turning off the display device such as a liquid crystal display (LCD), a light emitting diode (LED), cleaning the background application, avoiding repeated running, and turning off the WIFI.
  • Communication devices such as Bit Test (BT), CPU and GPU use at the lowest frequency and in standby mode, and strictly control the operation of data services.
  • an embodiment of a control apparatus provided by an embodiment of the present invention includes:
  • the obtaining unit 201 is configured to acquire a time interval that meets a preset condition in each monitoring period in the specified time period, where the specified time period includes multiple monitoring periods, where the time interval is The length of time to interact with the user;
  • the setting unit 202 is configured to: when the probability that the time interval of the pre-conditions acquired by the acquiring unit 201 exceeds a preset threshold exceeds a preset threshold in the same system time period of each monitoring period, the same system is used
  • the time period is set to an inactive time period, where the inactive time period is a time period in which the terminal does not interact with the user by default;
  • the sending unit 203 is configured to: when the system time of acquiring the terminal reaches the non-set of the setting unit 202 During the active time period, and when the terminal is not interacting with the user, the power-reducing indication information is sent to each power-consuming device in the terminal, so that each power-consuming device in the terminal reduces the operating power.
  • the obtaining unit 201 is configured to acquire a time interval that meets the preset condition in each monitoring period in the specified time period, where the specified time period includes multiple monitoring periods, where the time interval is The duration of the time when the terminal does not interact with the user; the setting unit 202 is in the same system time period of the each monitoring period, when the probability that the time interval of the pre-conditions acquired by the acquiring unit 201 exceeds the preset threshold And setting the same system time period as an inactive time period, where the inactive time period is a time period in which the terminal does not interact with the user by default; the sending unit 203 reaches the system time when acquiring the system time of the terminal Setting the inactive time period set by the unit 202, and when the terminal is not interacting with the user, sending the power-down indication information to each power-consuming device in the terminal, so that each power-consuming device in the terminal Reduce operating power.
  • the power consumption control method provided by the embodiment of the present invention may be in the terminal.
  • the operating power of each power consuming device in the terminal is reduced, thereby saving power consumption of the terminal.
  • the acquiring unit 21 includes: a collecting subunit 2011, a first computing Subunit 2012 and first setting subunit 2013;
  • the collecting subunit 2011 is configured to collect a time point of each of the monitoring periods in which the screen is turned off and the screen is displayed; the first calculating subunit 2012 is configured to follow the time sequence of the collecting subunits 2011. Calculating a first difference between each set of adjacent off-screen time points and a bright-screen time point;
  • the first setting subunit 2013 is configured to: when the first difference calculated by the first calculating subunit 2012 meets the preset condition, use the first difference that meets the preset condition as The time interval that meets the preset conditions.
  • the acquiring unit 201 includes: an obtaining subunit 2014, a second computing sub Unit 2015 and second setting subunit 2016;
  • the obtaining sub-unit 2014 is configured to acquire each alarm time in each monitoring period, and acquire a last time-out time point before each alarm time;
  • the second calculating sub-unit 2015 is configured to calculate a second difference between each of the alarm time times acquired by the obtaining sub-unit 2014 and a last time-out time point corresponding thereto;
  • the second setting subunit 2016 is configured to use the second difference symbol calculated by the second calculating subunit 2015 When the preset condition is met, the second difference that meets the preset condition is taken as a time interval that meets a preset condition.
  • the acquiring unit 201 further includes: an indication subunit 2017,
  • the second calculating subunit 2015 is further configured to calculate a time difference between two adjacent alarm time times; the indicating subunit 2017 is configured to calculate the adjacent two when the second calculating subunit 2015 When the time difference between the alarm clock times does not meet the preset condition, the acquisition subunit 2014 is instructed not to acquire the last timeout time point before the next alarm time in the adjacent two alarm time.
  • the setting unit 202 includes:
  • the statistics subunit 2021 is configured to count the number of monitoring periods in which the time interval corresponding to the preset condition exists in the same system time period of each monitoring period in all monitoring periods;
  • the third calculating sub-unit 2022 calculates, according to the number of the monitoring periods and the quantity in all the monitoring periods, that are calculated by the statistical sub-unit 2021, that the matching period exists in the same system time period of each monitoring period. The probability of placing a conditional interval;
  • a comparison subunit 2023 configured to compare, by the third calculation subunit 2022, a probability of a time interval that meets a preset condition with the preset threshold
  • the third setting sub-unit 2024 is configured to set the same system time period as an inactive time period when the comparison sub-unit 2023 compares the probability that the time interval meeting the preset condition exceeds the preset threshold.
  • the embodiment of the present invention further provides a computer storage medium storing a program, the program including some or all of the steps of the above-mentioned information input control method.
  • Figure 8 is a diagram showing the structure of a terminal according to an embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can be used to implement the information input control method in the embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can be used to implement the information input control method in the embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can be used to implement the information input control method in the embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can be used to implement the information input control method in the embodiment of the present invention.
  • the implementation of the present invention is shown.
  • the specific technical details are not disclosed, please refer to the embodiment of the method of the present invention for understanding.
  • the terminal can be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle computer, and the like.
  • the terminal is a mobile phone as an example
  • FIG. 8 shows A block diagram of a partial structure of a terminal-related mobile phone 400 according to an embodiment of the present invention.
  • the mobile phone 400 includes an RF (Radio Frequency) circuit 410, a memory 420, an input unit 430, a display unit 440, a sensor 450, an output unit 451, an audio circuit 460, and a wireless fidelity (WiFi) module.
  • RF Radio Frequency
  • 470, processor 480, and power supply 490 and the like.
  • the illustrated handset structure does not constitute a limitation to the handset, and may include more or fewer components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit 410 can be used for receiving and transmitting signals during and after the transmission or reception of information, in particular, after receiving the downlink information of the base station, and processing it to the processor 480; in addition, transmitting the designed uplink data to the base station.
  • RF 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.
  • LNA Low Noise Amplifier
  • RF circuitry 410 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobibration (GSM), General Packet Radio Service (GPRS), and code division. Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobibration
  • GPRS General Packet Radio Service
  • the memory 420 can be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the mobile phone 400 by running software programs and modules stored in the memory 420.
  • the memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 400 (such as audio data, phone book, etc.) and the like.
  • memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 430 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 handset 400.
  • the input unit 430 may include a touch panel 431 and other input devices 432.
  • the touch panel 431 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 431 or near the touch panel 431. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 431 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 480 is provided and can receive commands from the processor 480 and execute them.
  • the touch panel 431 can be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave.
  • the input unit 430 may also include other input devices 432.
  • other input devices 432 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, on One or more of a button, a trackball, a mouse, a joystick, and the like.
  • the display unit 440 can be used to display information input by the user or information provided to the user and various menus of the mobile phone 400.
  • the display unit 440 can include a display panel 441.
  • the display panel 441 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 431 can cover the display panel 441. After the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel 431 transmits to the processor 480 to determine the type of the touch event, and then the processor 480 according to the touch event. The type provides a corresponding visual output on display panel 441.
  • touch panel 431 and the display panel 441 are used as two independent components to implement the input and input functions of the mobile phone 400 in FIG. 8, in some embodiments, the touch panel 431 may be integrated with the display panel 441. The input and output functions of the mobile phone 400 are implemented.
  • the handset 400 can also include at least one type of sensor 450, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 441 according to the brightness of the ambient light, and the proximity sensor may close the display panel 441 when the mobile phone 400 moves to the ear. / or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone 400 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, not here Let me repeat.
  • Output unit 451 can send signals to other devices in the terminal.
  • An audio circuit 460, a speaker 461, and a microphone 462 provide an audio interface between the user and the handset 400.
  • the audio circuit 460 can transmit the converted electrical data of the received audio data to the speaker 461 for conversion to the sound signal output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, and the audio circuit 460 After receiving, it is converted into audio data, and then processed by the audio data output processor 480, sent to the other mobile phone via the RF circuit 410, or outputted to the memory 420 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone 400 can help users to send and receive e-mails, browse web pages and access streaming media through the WiFi module 470, which provides users with wireless broadband Internet access.
  • FIG. 8 shows the WiFi module 470, it can be understood that it does not belong to the essential configuration of the mobile phone 400, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 480 is the control center of handset 400, which connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in memory 420, and by calling stored in storage.
  • the data in the device 420 performs various functions and processing data of the mobile phone 400, thereby performing overall monitoring of the mobile phone.
  • the processor 480 may include one or more processing units.
  • the processor 480 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 480.
  • the handset 400 also includes a power source 490 (e.g., a battery) that supplies power to the various components.
  • a power source 490 e.g., a battery
  • the power source can be logically coupled to the processor 480 via a power management system to manage charging, discharging, and power management functions through the power management system.
  • the mobile phone 400 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the processor 480 included in the terminal further has the following functions:
  • the processor is further configured to acquire a time interval that meets a preset condition in each monitoring period in a specified time period, where the specified time period includes multiple the monitoring periods, where the time interval is that the terminal is not in contact with the user.
  • the duration of the interaction when the probability that the time interval meeting the preset condition exceeds the preset threshold within the same system time period of each monitoring period, the same system time period is set as the inactivity time a period, the inactive time period is a time period in which the terminal does not interact with the user by default;
  • the output unit 451 is further configured to: when the system time of the terminal reaches the inactive time period, and the terminal is not interacting with the user, send a power reduction to each power consuming device in the terminal. Instructing information to cause each power consuming device in the terminal to reduce operating power.
  • the specified time period in the embodiment of the present invention may be half a month, one month, two months or other time periods.
  • the monitoring period is 24 hours, from 12: 00 on the previous day to 12: 00 on the next day, which can include the night's sleep time, or the other day before the next day to 24 hours after the second day.
  • the time point can also be 0: 00 to 24: 00 in the day.
  • the specific time point of the monitoring period is not limited in the embodiment of the present invention.
  • the time interval that meets the preset condition may be that the time interval is greater than a fixed value, and the fixed value may be half an hour, one hour, two hours or longer, and may be set according to the user's needs.
  • the processor 480 is further configured to collect a time point of each time the screen is off and on each screen in each monitoring period; and calculate an adjacent time point of each group according to the time sequence of the collected time. And a first difference between the bright time points; and when the first difference meets the preset condition, the first difference that meets the preset condition is used as a time interval that meets a preset condition .
  • the processor 480 is further configured to acquire each alarm time in each monitoring period, and acquire a last timeout time before each alarm time; Said each a second difference between the alarm time and its corresponding last time-out time point; when the second difference meets the preset condition, the second difference that meets the preset condition is used as The time interval that meets the preset conditions.
  • the processor 480 is further configured to calculate a time difference between two adjacent alarm time times; when a time difference between the two adjacent alarm time times does not meet the preset condition, Indicates that the last timeout time before the next one of the two adjacent alarm time is not obtained.
  • the processor 480 is further configured to count, in a monitoring period, the number of monitoring periods in which the time interval corresponding to the preset condition exists in the same system time period of each monitoring period in all monitoring periods; Calculating the number of monitoring periods and the number of all monitoring periods, calculating the probability that the time interval corresponding to the preset condition exists in the same system time period of each monitoring period; and the time that meets the preset condition The probability of the interval is compared with the preset threshold, and when the probability of the time interval meeting the preset condition exceeds the preset threshold, the same system time period is set as an inactive time period.
  • an embodiment of the terminal provided by the embodiment of the present invention includes: a control device 20, a first power consuming component 30, a second power consuming device 40, and a third power consuming device 50;
  • the control device is configured to acquire a time interval that meets a preset condition in each monitoring period in a specified time period, where the specified time period includes a plurality of the monitoring periods, where the time interval is that the terminal does not The length of time for interaction;
  • the inactive time period is a time period in which the terminal does not interact with the user by default;
  • the electrical device 50 transmits indication information for reducing power to reduce the operating power of the first power consuming device 30, the second power consuming device 40, and the third power consuming device 50 of the terminal.
  • Power consuming devices can be LED, LCD, WiFI, BT, etc.
  • the program can be stored in a computer readable storage medium.
  • the storage medium can include: R0M, RAM, disk or CD, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了一种功率控制的方法,包括:获取指定时间段内每个监测周期中的所有符合预置条件的时间间隔,所述指定时间段中包含多个所述监测周期,所述时间间隔为终端未与用户进行交互的时长;当在所述每个监测周期的同一系统时间段内,存在所述符合预置条件的时间间隔的概率超过预置阈值时,将所述同一系统时间段设置为非活动时间段,所述非活动时间段为默认所述终端未与用户进行交互的时间段;当所述终端的系统时间到达所述非活动时间段,并且所述终端未正在与用户进行交互时,向所述终端中的各个耗电器件发送降低功率的指示信息,以使所述终端中的各个耗电器件降低运行功率。可以降低终端中各个耗电器件的运行功率,节省终端的用电量。

Description

一种功率控制的方法、 装置及终端 本申请要求于 2012年 12月 14日提交中国专利局、 申请号为 CN 201210544094. X、 发明名称为 "一种功率控制的方法、 装置及终端"的中国专利申请的优先权, 其全部内 容通过引用结合在本申请中。 技术领域 本发明涉及通信技术领域, 具体涉及一种功率控制的方法、 装置及终端。 背景技术 终端, 以手机为例, 用户夜晚休息时, 手机里的很多应用仍在运行, 造成终端耗电。 目前降低终端功耗的办法主要是: 在用户不使用终端时, 放置一定时间后终端进入 待机状态, 保持较低功耗。 例如: 当手机进入待机状态后, 中央处理器 (Central Processing Unit , CPU)、 图形处理器 ( Graphic Processing Unit , GPU)、 各种传感 器 (SenSor)、 无线保真 (wireless fidel ity , WIFI ) 芯片、 蓝牙等器件进入待机状 态, 显示器件灭屏。
本发明的发明人发现, 目前的终端在用户长时间不使用时, 终端即使灭屏, 但终端 中的多个耗电器件可能还保持较高的运行功率, 导致终端功耗较大。 而且一旦遇到恶意 应用不释放 CPU等资源, 就会导致手机无法进入睡眠, 待机功耗会大大增加。。 发明内容
本发明实施例提供一种功率控制的方法, 可以在终端未与用户进行交互时, 降低终 端中各个耗电器件的运行功率, 从而节省终端的用电量。 本发明实施例还提供了相应的 终端。
本发明第一方面提供一种功率控制的方法, 包括:
获取指定时间段内每个监测周期中的所有符合预置条件的时间间隔,所述指定时间 段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交互的时长;
当在所述每个监测周期的同一系统时间段内,存在所述符合预置条件的时间间隔的 概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所述非活动时间段 为默认所述终端未与用户进行交互的时间段; 当所述终端的系统时间到达所述非活动时间段, 并且所述终端未正在与用户进行交 互时, 向所述终端中的各个耗电器件发送降低功率的指示信息, 以使所述终端中的各个 耗电器件降低运行功率。
结合第一方面, 在第一种可能的实现方式中, 所述获取指定时间段内每个监测周期 中的所有符合预置条件的时间间隔, 具体包括:
采集所述每个监测周期中每次灭屏和亮屏的时间点;
按照采集的时间顺序计算每一组相邻的灭屏时间点和亮屏时间点之间的第一差值; 当所述第一差值符合所述预置条件时,将所述符合所述预置条件的第一差值作为符 合预置条件的时间间隔。
结合第一方面, 在第二种可能的实现方式中, 所述获取指定时间段内每个监测周期 中的所有符合预置条件的时间间隔, 具体包括:
获取所述每个监测周期中的每个闹钟时间, 并获取在所述每个闹钟时间之前的最后 一次的灭屏时间点;
计算所述所述每个闹钟时间与其对应的最后一次的灭屏时间点之间的第二差值; 当所述第二差值符合所述预置条件时,将所述符合所述预置条件的第二差值作为符 合预置条件的时间间隔。
结合第一方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述获取所述 每个监测周期中的每个闹钟时间之后,在获取在所述每个闹钟时间之前的最后一次的灭 屏时间点之前, 所述方法还包括:
计算相邻的两个闹钟时间之间的时间差;
当所述相邻两个闹钟时间之间的时间差不符合所述预置条件时, 不获取所述相邻两 个闹钟时间中后一个闹钟时间之前的最后一次的灭屏时间点。
结合第一方面、 第一方面第一种至第三种可能的实现方式中的任意一种, 在第四种 可能的实现方式中, 所述当在所述每个监测周期的同一系统时间段内, 存在所述符合预 置条件的时间间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间 段, 具体包括:
统计所有监测周期中在所述每个监测周期的同一系统时间段存在所述符合预置条 件的时间间隔的监测周期的数量;
根据所述监测周期的数量和所有监测周期中的数量, 计算在所述每个监测周期的同 一系统时间段内, 存在所述符合预置条件的时间间隔的概率; 将所述符合预置条件的时间间隔的概率与所述预置阈值作为比较, 当所述符合预置 条件的时间间隔的概率超过所述预置阈值时,将所述同一系统时间段设置为非活动时间 段。
本发明第二方面提供一种控制装置, 其特征在于, 包括:
获取单元, 用于获取指定时间段内每个监测周期中的所有符合预置条件的时间间 隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交互 的时长;
设置单元, 用于当在所述每个监测周期的同一系统时间段内, 存在所述获取单元获 取的符合预置条件的时间间隔的概率超过预置阈值时,将所述同一系统时间段设置为非 活动时间段, 所述非活动时间段为默认所述终端未与用户进行交互的时间段;
发送单元,用于当所述终端的系统时间到达所述设置单元设置的非活动时间段并且 所述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发送降低功率的指示 信息, 以使所述终端中的各个耗电器件降低运行功率。
结合第二方面, 在第一种可能的实现方式中, 所述获取单元包括: 采集子单元、 第 一计算子单元和第一设置子单元;
所述采集子单元, 用于采集所述每个监测周期中每次灭屏和亮屏的时间点; 所述第一计算子单元,用于按照所述采集子单元采集的时间顺序计算每一组相邻的 灭屏时间点和亮屏时间点之间的第一差值;
所述第一设置子单元,用于当所述第一计算子单元计算出的第一差值符合所述预置 条件时, 将所述符合所述预置条件的第一差值作为符合预置条件的时间间隔。
结合第二方面, 在第二种可能的实现方式中, 所述获取单元包括: 获取子单元、 第 二计算子单元和第二设置子单元;
所述获取子单元, 用于获取所述每个监测周期中的每个闹钟时间, 并获取在所述每 个闹钟时间之前的最后一次的灭屏时间点;
所述第二计算子单元,用于计算所述获取子单元获取的所述每个闹钟时间与其对应 的最后一次的灭屏时间点之间的第二差值;
所述第二设置子单元,用于当所述第二计算子单元计算出的第二差值符合所述预置 条件时, 将所述符合所述预置条件的第二差值作为符合预置条件的时间间隔。
结合第二方面第二种可能的实现方式, 在第三种可能的实现方式中, 所述获取单元 还包括指示子单元, 所述第二计算子单元, 还用于计算相邻的两个闹钟时间之间的时间差;
所述指示子单元,用于当所述第二计算子单元计算出所述相邻两个闹钟时间之间的 时间差不符合所述预置条件时,指示所述获取单元不获取所述相邻两个闹钟时间中后一 个闹钟时间之前的最后一次的灭屏时间点。
结合第二方面、 第二方面第一种至第三种可能的实现方式中的任意一种, 在第四种 可能的实现方式中, 所述设置单元包括:
统计子单元,用于统计所有监测周期中在所述每个监测周期的同一系统时间段存在 所述符合预置条件的时间间隔的监测周期的数量;
第三计算子单元,根据所述统计子单元统计的所述监测周期的数量和所有监测周期 中的数量, 计算在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时 间间隔的概率;
比较子单元,用于将所述第三计算子单元计算出的符合预置条件的时间间隔的概率 与所述预置阈值作为比较;
设置子单元,用于当所述比较子单元比较出符合预置条件的时间间隔的概率超过所 述预置阈值时, 将所述同一系统时间段设置为非活动时间段。
本发明第三方面提供一种终端, 控制装置和多个耗电器件;
所述控制装置为上述技术方案所述的控制装置。
本发明实施例采用获取指定时间段内每个监测周期中的所有符合预置条件的时间 间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交 互的时长; 当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时间 间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所述非活动 时间段为默认所述终端未与用户进行交互的时间段; 当所述终端的系统时间到达所述非 活动时间段, 并且所述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发 送降低功率的指示信息, 以使所述终端中的各个耗电器件降低运行功率。 与现有技术中 在用户不与终端进行交互, , 自行灭屏后, 终端中的多个耗电器件还以较高功率运行相 比, 本发明实施例提供的功率控制的方法, 可以在终端未与用户进行交互时, 降低终端 中各个耗电器件的运行功率, 从而节省终端的用电量。 附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中所需要使用 的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对 于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他 的附图。
图 1是本发明实施例中功率控制的方法的一实施例示意图;
图 2是本发明实施例中应用场景的一实施例示意图;
图 3是本发明实施例中控制装置的一实施例示意图;
图 4是本发明实施例中控制装置的另一实施例示意图;
图 5是本发明实施例中控制装置的另一实施例示意图;
图 6是本发明实施例中控制装置的另一实施例示意图;
图 7是本发明实施例中控制装置的另一实施例示意图;
图 8是本发明实施例中终端的一实施例示意图;
图 9是本发明实施例中终端的另一实施例示意图。 具体实施方式 本发明实施例提供一种功率控制的方法, 可以在终端未与用户进行交互时, 降低 终端中各个耗电器件的运行功率, 从而节省终端的用电量。 本发明实施例还提供了相应 的终端。 以下分别进行详细说明。
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完 整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
本发明实施例的终端包括手机、 掌上电脑 (PAD) 、 个人电脑等终端设备。
参阅图 1, 本发明实施例中功率控制的方法的一实施例包括:
101、 控制装置获取指定时间段内每个监测周期中的所有符合预置条件的时间间 隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交互 的时长。
本发明实施例中指定时间段可以为半个月、 1个月、 2个月或者其他时间段。 监测 周期为 24小时,可以从前一天的 12 : 00到第二天的 12 : 00,这样可以包括晚上的睡眠时 间, 也可以为其他的前一天的某一时间点到 24小时后的第二天的时间点, 当然也可以 为一天中的 0:00到 24:00。 本发明实施例对监测周期的具体时间点不做限定。
符合预置条件的时间间隔可以是时间间隔大于一固定值, 该固定值可以为半小时、
1小时、 2小时或者更长时间, 可以根据用户的需求设定。
终端未与用户进行交互的时间间隔为终端与用户相邻两次进行交互的时间间隔。 102、 控制装置当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条 件的时间间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所 述非活动时间段为默认所述终端未与用户进行交互的时间段。
系统时间指的是手机中显示的时间, 每个监测周期的同一系统时间段指的是每个
24小时内的同一系统时间, 如周一的 8:0(Γ9:00和周二到周日的 8:0(Γ9:00。
在一个监测周期内, 会有多个时间间隔, 但并不是一个监测周期中的每个时间间 隔都是有规律可循的, 本发明实施例中通过连续多日的统计, 可以统计出每个监测周期 内经常在同一系统时间段存在终端为与用户进行交互的时间间隔的概率, 当针对相同时 间段存在时间间隔的概率大于预置阈值时, 既可以将这个相同时间确定为非活动时间 段。
同一系统时间段可以通过分析每个监测周期之间的符合预置条件的时间间隔的起 始时间点和结束时间点的离散程度来确定, 如: 第一个监测周期中的 22: 0(Γ6: 30是一 个符合预置条件的时间间隔, 第二个监测周期中的 22:03 :30是一个符合预置条件的 时间间隔, 第三个监测周期中的 22 :05 :30是一个符合预置条件的时间间隔, 第四个 监测周期中的 22:02 :30 是一个符合预置条件的时间间隔, 第五个监测周期中的 21:57^6:30是一个符合预置条件的时间间隔, 第六个监测周期中的 21:59 :30是一个 符合预置条件的时间间隔, 那么根据分析就可以将起始时间点的平均值 22:03 :30作 为同一系统时间段,也可以将最早的一个起始时间点〜 21:57〜6:30作为同一系统时间段, 当然也可以将最晚的一个起始时间点 22:05 :30作为同一系统时间段, 这个可以根据 用户需求设定。
举例来说, 当统计出每个监测周期中 22:00到次日 6:30这段时间间隔终端未与用 户进行交互的概率超过 80%,那么就可以将 22:00到次日 6:30这段时间间隔确定为非活 动时间段。
本发明实施例中非活动时间段并不是每个时间间隔都是非活动时间段, 而是在该 时间间隔在每个监测周期同一系统时间段存在的概率大于预置阈值时, 该同一系统时间 段才可以认为是非活动时间段。 预置阈值可以为 90%、 80%、 70%、 60%等等。
103、 控制装置当所述终端的系统时间到达所述非活动时间段, 并且所述终端未正 在与用户进行交互时, 向所述终端中的各个耗电器件发送降低功率的指示信息, 以使所 述终端中的各个耗电器件降低运行功率。
延续步骤 102中的例子, 当终端在终端的系统时间到达 22 : 00到次日 6 : 30这段时 间时, 且该终端未被使用时, 控制装置向所述终端中的各个耗电器件发送降低功率的指 示信息, 以使所述终端中的各个耗电器件降低运行功率。 如: 控制手机中的中央处理器 ( Central Processing Unit, CPU) 、 图形处理器 (Graphic Processing Unit , GPU) 、 各种传感器 (Sensor) 、 无线保真 (wireless fidel ity, WIFI ) 芯片、 蓝牙等器件以 极低功率运行, 进入待机状态, 显示器件灭屏。
本发明实施例采用获取指定时间段内每个监测周期中的所有符合预置条件的时间 间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交 互的时长; 当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时间 间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所述非活动 时间段为默认所述终端未与用户进行交互的时间段; 当所述终端的系统时间到达所述非 活动时间段, 并且所述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发 送降低功率的指示信息, 以使所述终端中的各个耗电器件降低运行功率。 与现有技术中 在用户不与终端进行交互, , 自行灭屏后, 终端中的多个耗电器件还以较高功率运行相 比, 本发明实施例提供的功率控制的方法, 可以在终端未与用户进行交互时, 降低终端 中各个耗电器件的运行功率, 从而节省终端的用电量。
可选地, 在上述图 1对应的实施例的基础上, 本发明实施例提供的功率控制的方 法的另一实施例中,所述获取指定时间段内每个监测周期中的所有符合预置条件的时间 间隔, 具体可以包括:
采集所述每个监测周期中每次灭屏和亮屏的时间点;
按照采集的时间顺序计算每一组相邻的灭屏时间点和亮屏时间点之间的第一差 值;
当所述第一差值符合预置条件时, 将符合预置条件的第一差值作为符合预置条件 的时间间隔。
本发明实施例中, 终端可以采集每个监测周期内每次灭屏和亮屏的时间点, 一个 监测周期中灭屏和亮屏的时间点可以有多个, 以用户睡觉状态的灭屏和亮屏的时间点为 例, 采集到的灭屏时间点为 22:00, 采集到的相邻的亮屏时间点为次日 6:30, 那么该组 灭屏和亮屏时间点的时间差就为 8.5小时, 如果预置条件为大于 2小时的就可以认为是 符合预置条件的时间间隔, 就可以将时间间隔 22:0(Γ6:30作为符合预置条件的时间间 隔, 如果采集到的灭屏时间点为 21:00, 采集到的相邻的亮屏时间点为 21:05, 那么该 灭屏和亮屏时间点的时间差就为 5分钟,不满足预置条件,那么该时间间隔 21:0(Γ21:05 就不能作为符合预置条件的时间间隔。 如果用户频繁使用手机, 那么 22:0(Γ6:30 的时 间间隔就会是符合预置条件的最大的时间间隔, 如果对于一个封闭式开始人员来说, 手 机可能在上班时间的早上 12:00到晚上 22:00的 10个小时内都处于未使用状态, 那么 该 12:0(Γ22:00为最大时间间隔,所以对于一些用户群最大时间间隔存在的时间段可能 会有不同,但无论是最大时间间隔的存在在哪个时间段,只要该时间间隔满足预置条件, 并且该时间间隔存在于同一系统时间段的概率超过预置阈值, 就可以将这个同一系统时 间段作为非活动时间段,控制装置就会向所述终端中的各个耗电器件发送降低功率的指 示信息, 以使所述终端中的各个耗电器件降低运行功率。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例提供的功率控制的方法的另一实施例中,所述获取指定时间段内每个监测周期中的 所有符合预置条件的时间间隔, 具体包括:
获取所述每个监测周期中的每个闹钟时间, 并获取在所述每个闹钟时间之前的最 后一次的灭屏时间点;
计算所述所述每个闹钟时间与其对应的最后一次的灭屏时间点之间的第二差值; 当所述第二差值符合所述预置条件时, 将所述符合所述预置条件的第二差值作为 符合预置条件的时间间隔。
本发明实施例中, 闹钟时间通常都是为睡觉叫醒设置的时间, 无论是晚上睡觉还 是中午睡觉, 通常都很有规律, 用户睡觉时, 终端设备也不会与用户进行交互。
以晚上睡觉为例, 闹钟设置在次日的 6:30,可以统计在闹钟时间 6:30之前最后一 次灭屏的时间点,如果是 22:00,那么最后一次交互与闹钟时间到来之前的时间差为 8.5 小时, 该 8.5小时满足预置条件, 那么时间间隔 22:0(Γ6:30即为该监测周期中满足预 置条件的时间间隔。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例提供的功率控制的方法的另一实施例中,
所述获取所述每个监测周期中的每个闹钟时间之后, 在获取在所述每个闹钟时间 之前的最后一次的灭屏时间点之前, 所述方法还包括:
计算相邻的两个闹钟时间之间的时间差;
当所述相邻两个闹钟时间之间的时间差不符合所述预置条件时, 指示不获取所述 相邻两个闹钟时间中后一个闹钟时间之前的最后一次的灭屏时间点。
本发明实施例中, 当获取到的闹钟时间离的很近时, 只需要最前的一个闹钟时间, 其他的闹钟时间都不需要,那么就可以只获取所述两个闹钟时间中最前的一个闹钟时间 之前的最后一次的灭屏时间点, 即: 指示不获取的所述相邻两个闹钟时间中后一个闹钟 时间之前的最后一次的灭屏时间点。 如: 某个用户在早上设定了 3个闹钟时间, 分别为 6 : 30、 6 : 40和 6 : 50, 那么当计算出每个相邻的闹钟的时间差仅为 10分钟, 小于预置条 件中的 2小时, 既指示不获取 6 : 40和 6 : 50之前的最后一次的灭屏时间点。
可选地, 在上述图 1对应的实施例及图 1对应的可选实施例的基础上, 本发明实 施例提供的功率控制的方法的另一实施例中,
所述当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时间 间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 具体包括: 统计所有监测周期中在所述每个监测周期的同一系统时间段存在所述符合预置条 件的时间间隔的监测周期的数量;
根据所述监测周期的数量和所有监测周期中的数量, 计算在所述每个监测周期的 同一系统时间段内, 存在所述符合预置条件的时间间隔的概率;
将所述符合预置条件的时间间隔的概率与所述预置阈值作为比较, 当所述符合预 置条件的时间间隔的概率超过所述预置阈值时,将所述同一系统时间段设置为非活动时 间段。
本发明实施例中, 例如, 统计的指定时间段为 15天, 其中有 12天在 22 : 0(Γ6 : 30 这段时间中都有符合预置条件的时间间隔,那么在所述每个监测周期的同一系统时间段 内, 存在所述符合预置条件的时间间隔的概率就为 80%, 如果预置阈值为 70%, 那么就 可以将 22 : 0(Γ6 : 30设置为非活动时间段。
为了便于理解, 参阅图 2, 下面以一个具体的应用场景为例, 详细的说明本发明实 施例中功率控制的方法的具体过程:
控制装置 20包括信息采集模块 200、 决策模块 210和执行模块 220, 信息采集模 块 200可以采集每个监测周期中的每次亮屏和灭屏的时间点、 闹钟时间, 并将采集到的 信息都记录在系统数据库中。 决策模块 210分析每个监测周期的中的符合预置条件的时间间隔, 如: 控制装置 20采集到的灭屏时间点为 22:00,采集到的相邻的亮屏时间点为次日 6:30,那么该灭屏 和亮屏时间点的时间差就为 8.5小时, 如果预置条件为大于 2小时既可以为符合预置条 件的时间间隔, 那么 22:0(Γ6:30就可以为符合预置条件的时间间隔, 如果采集到的灭 屏时间点为 21:00, 采集到的相邻的亮屏时间点为 21:05, 那么该灭屏和亮屏时间点的 时间差就为 5分钟, 不满足预置条件, 那么该 21:0(Γ21:05就不能作为符合预置条件的 时间间隔。 如果用户频繁使用手机, 那么 22:0(Γ6:30 的时间间隔就会是符合预置条件 的最大的时间间隔, 如果对于一个封闭式开始人员来说, 手机可能在上班时间的早上 12:00到晚上 22:00的 10个小时内都处于未使用状态,那么该 12:00〜22:00为最大时间 间隔, 所以对于一些用户群最大时间间隔存在的时间段可能会有不同, 但无论是最大时 间间隔的存在在哪个时间段, 只要该时间间隔满足预置条件, 并且该时间间隔存在在同 一系统时间段的概率超过预置阈值, 就可以将这个同一系统时间段作为非活动时间段。 控制装置就会向所述终端中的各个耗电器件发送降低功率的指示信息, 以使所述终端中 的各个耗电器件降低运行功率
执行模块 220, 当从决策模块 210获知到在哪些时间段是非活动时间段时, 当终端 的系统时间达到该非活动时间段,控制装置就会向所述终端中的各个耗电器件发送降低 功率的指示信息, 以使所述终端中的各个耗电器件降低运行功率
降低耗电器件的运动功率包括但不限于关闭液晶显示器 (Liquid Crystal Display, LCD)、 发光二级管 (Light Emitting Diode, LED) 等显示设备, 清理后台应 用, 避免不停运行重复启动, 关闭 WIFI、 位检测 (Bit Test, BT) 等通信器件, CPU、 GPU最低频率使用且处于待机状态, 严格控制数据业务的运行等等措施。
参阅图 3, 本发明实施例提供的控制装置的一实施例包括:
获取单元 201,获取单元,用于获取指定时间段内每个监测周期中的所有符合预置 条件的时间间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与 用户进行交互的时长;
设置单元 202,用于当出在所述每个监测周期的同一系统时间段内,存在所述获取 单元 201获取的符合预置条件的时间间隔的概率超过预置阈值时,将所述同一系统时间 段设置为非活动时间段, 所述非活动时间段为默认所述终端未与用户进行交互的时间 段;
发送单元 203,用于当获取到所述终端的系统时间到达所述设置单元 202设置的非 活动时间段, 并且所述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发 送降低功率的指示信息, 以使所述终端中的各个耗电器件降低运行功率。
本发明实施例中, 获取单元 201用于获取指定时间段内每个监测周期中的所有符 合预置条件的时间间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终 端未与用户进行交互的时长; 设置单元 202当出在所述每个监测周期的同一系统时间段 内, 存在所述获取单元 201获取的符合预置条件的时间间隔的概率超过预置阈值时, 将 所述同一系统时间段设置为非活动时间段,所述非活动时间段为默认所述终端未与用户 进行交互的时间段; 发送单元 203当获取到所述终端的系统时间到达所述设置单元 202 设置的非活动时间段, 并且所述终端未正在与用户进行交互时, 向所述终端中的各个耗 电器件发送降低功率的指示信息, 以使所述终端中的各个耗电器件降低运行功率。 与现 有技术中在用户不与终端进行交互, , 自行灭屏后, 终端中的多个耗电器件还以较高功 率运行相比, 本发明实施例提供的功率控制的方法, 可以在终端未与用户进行交互时, 降低终端中各个耗电器件的运行功率, 从而节省终端的用电量。
可选地, 在上述图 3对应的实施例的基础上, 参阅图 4, 本发明实施例提供的控制 装置的另一实施例中: 所述获取单元 21包括: 采集子单元 2011、 第一计算子单元 2012 和第一设置子单元 2013;
所述采集子单元 2011, 用于采集所述每个监测周期中每次灭屏和亮屏的时间点; 所述第一计算子单元 2012,用于按照所述采集子单元 2011采集的时间顺序计算每 一组相邻的灭屏时间点和亮屏时间点之间的第一差值;
所述第一设置子单元 2013,用于当所述第一计算子单元 2012计算出的第一差值符 合所述预置条件时, 将所述符合所述预置条件的第一差值作为符合预置条件的时间间 隔。
可选地, 在上述图 3对应的实施例的基础上, 参阅图 5, 本发明实施例提供的终端 的另一实施例中, 所述获取单元 201包括: 获取子单元 2014、 第二计算子单元 2015和 第二设置子单元 2016;
所述获取子单元 2014, 用于获取所述每个监测周期中的每个闹钟时间, 并获取在 所述每个闹钟时间之前的最后一次的灭屏时间点;
所述第二计算子单元 2015,用于计算所述获取子单元 2014获取的所述每个闹钟时 间与其对应的最后一次的灭屏时间点之间的第二差值;
所述第二设置子单元 2016,用于当所述第二计算子单元 2015计算出的第二差值符 合所述预置条件时, 将所述符合所述预置条件的第二差值作为符合预置条件的时间间 隔。
可选地, 在上述图 5对应的实施例的基础上, 参阅图 6, 本发明实施例提供的控制 装置的另一实施例中, 所述获取单元 201还包括: 指示子单元 2017,
所述第二计算子单元 2015, 还用于计算相邻的两个闹钟时间之间的时间差; 所述指示子单元 2017,用于当所述第二计算子单元 2015计算出所述相邻两个闹钟 时间之间的时间差不符合所述预置条件时, 指示所述获取子单元 2014不获取所述相邻 两个闹钟时间中后一个闹钟时间之前的最后一次的灭屏时间点。
在上述图 3对应的实施例的基础上,参阅图 7,本发明实施例提供的控制装置的另 一实施例中, 所述设置单元 202包括:
统计子单元 2021, 用于统计所有监测周期中在所述每个监测周期的同一系统时间 段存在所述符合预置条件的时间间隔的监测周期的数量;
第三计算子单元 2022,根据所述统计子单元 2021统计的所述监测周期的数量和所 有监测周期中的数量, 计算在所述每个监测周期的同一系统时间段内, 存在所述符合预 置条件的时间间隔的概率;
比较子单元 2023,用于将所述第三计算子单元 2022计算出的符合预置条件的时间 间隔的概率与所述预置阈值作为比较;
第三设置子单元 2024,用于当所述比较子单元 2023比较出符合预置条件的时间间 隔的概率超过所述预置阈值时, 将所述同一系统时间段设置为非活动时间段。
本发明实施例还提供了一种计算机存储介质, 该计算机存储介质存储有程序, 该 程序执行时包括上述信息输入的控制方法的部分或者全部步骤。
图 8示出了本发明实施例提供的终端的结构, 本发明实施例提供的终端可以用于 实施本发明实施例中的信息输入的控制方法, 为了便于说明, 仅示出了与本发明实施例 相关的部分, 具体技术细节未揭示的, 请参照本发明方法实施例部分进行理解。
该终端可以为包括手机、 平板电脑、 PDA (Personal Digital Assistant, 个人数 字助理) 、 POS (Point of Sales, 销售终端) 、 车载电脑等终端, 以终端为手机为例, 图 8示出的是与本发明实施例提供的终端相关的手机 400的部分结构的框图。参考图 8, 手机 400包括 RF ( Radio Frequency, 射频) 电路 410、 存储器 420、 输入单元 430、 显 示单元 440、传感器 450、输出单元 451、音频电路 460、无线保真 (wireless fidel ity, WiFi)模块 470、 处理器 480、 以及电源 490等部件。 本领域技术人员可以理解, 图 8中 示出的手机结构并不构成对手机的限定, 可以包括比图示更多或更少的部件, 或者组合 某些部件, 或者不同的部件布置。
下面结合图 8对手机 400的各个构成部件进行具体的介绍:
RF电路 410可用于收发信息或通话过程中, 信号的接收和发送, 特别地, 将基站 的下行信息接收后, 给处理器 480处理; 另外, 将设计上行的数据发送给基站。 通常, RF电路包括但不限于天线、 至少一个放大器、 收发信机、 耦合器、 低噪声放大器 (Low Noise Ampl ifier, LNA) 、 双工器等。 此外, RF电路 410还可以通过无线通信与网络和 其他设备通信。 所述无线通信可以使用任一通信标准或协议, 包括但不限于全球移动通 讯系统 (Global System of Mobi le 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)等。
存储器 420可用于存储软件程序以及模块,处理器 480通过运行存储在存储器 420 的软件程序以及模块, 从而执行手机 400的各种功能应用以及数据处理。 存储器 420可 主要包括存储程序区和存储数据区, 其中, 存储程序区可存储操作系统、 至少一个功能 所需的应用程序(比如声音播放功能、 图像播放功能等)等; 存储数据区可存储根据手 机 400的使用所创建的数据 (比如音频数据、 电话本等) 等。 此外, 存储器 420可以包 括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个磁盘存储器件、 闪 存器件、 或其他易失性固态存储器件。
输入单元 430可用于接收输入的数字或字符信息, 以及产生与手机 400的用户设 置以及功能控制有关的键信号输入。 具体地, 输入单元 430可包括触控面板 431以及其 他输入设备 432。 触控面板 431, 也称为触摸屏, 可收集用户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或附件在触控面板 431 上或在触控面板 431附近的操作), 并根据预先设定的程式驱动相应的连接装置。可选的, 触控面板 431 可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位, 并检测触摸操作带来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上 接收触摸信息, 并将它转换成触点坐标, 再送给处理器 480, 并能接收处理器 480发来 的命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多种类型 实现触控面板 431。 除了触控面板 431, 输入单元 430还可以包括其他输入设备 432。具 体地, 其他输入设备 432可以包括但不限于物理键盘、 功能键(比如音量控制按键、 开 关按键等) 、 轨迹球、 鼠标、 操作杆等中的一种或多种。
显示单元 440可用于显示由用户输入的信息或提供给用户的信息以及手机 400的 各种菜单。 显示单元 440可包括显示面板 441, 可选的, 可以采用液晶显示器 (Liquid Crystal Display, LCD)、 有机发光二极管 (Organic Light-Emitting Diode, OLED) 等形式来配置显示面板 441。 进一步的, 触控面板 431可覆盖显示面板 441, 当触控面 板 431检测到在其上或附近的触摸操作后, 传送给处理器 480以确定触摸事件的类型, 随后处理器 480根据触摸事件的类型在显示面板 441上提供相应的视觉输出。虽然在图 8中, 触控面板 431与显示面板 441是作为两个独立的部件来实现手机 400的输入和输 入功能,但是在某些实施例中,可以将触控面板 431与显示面板 441集成而实现手机 400 的输入和输出功能。
手机 400还可包括至少一种传感器 450, 比如光传感器、运动传感器以及其他传感 器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其中, 环境光传感器可根据 环境光线的明暗来调节显示面板 441的亮度, 接近传感器可在手机 400移动到耳边时, 关闭显示面板 441和 /或背光。 作为运动传感器的一种, 加速计传感器可检测各个方向 上 (一般为三轴)加速度的大小, 静止时可检测出重力的大小及方向, 可用于识别手机 姿态的应用 (比如横竖屏切换、 相关游戏、 磁力计姿态校准) 、 振动识别相关功能 (比 如计步器、 敲击) 等; 至于手机 400还可配置的陀螺仪、 气压计、 湿度计、 温度计、 红 外线传感器等其他传感器, 在此不再赘述。
输出单元 451可以向终端中的其他器件发送信号。
音频电路 460、 扬声器 461, 传声器 462可提供用户与手机 400之间的音频接口。 音频电路 460可将接收到的音频数据转换后的电信号,传输到扬声器 461,由扬声器 461 转换为声音信号输出; 另一方面, 传声器 462将收集的声音信号转换为电信号, 由音频 电路 460接收后转换为音频数据,再将音频数据输出处理器 480处理后,经 RF电路 410 以发送给比如另一手机, 或者将音频数据输出至存储器 420以便进一步处理。
WiFi属于短距离无线传输技术,手机 400通过 WiFi模块 470可以帮助用户收发电 子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网访问。 虽然图 8示出了 WiFi模块 470, 但是可以理解的是, 其并不属于手机 400的必须构成, 完全可 以根据需要在不改变发明的本质的范围内而省略。
处理器 480是手机 400的控制中心, 利用各种接口和线路连接整个手机的各个部 分, 通过运行或执行存储在存储器 420 内的软件程序和 /或模块, 以及调用存储在存储 器 420内的数据, 执行手机 400的各种功能和处理数据, 从而对手机进行整体监控。 可 选的, 处理器 480可包括一个或多个处理单元; 优选的, 处理器 480可集成应用处理器 和调制解调处理器, 其中, 应用处理器主要处理操作系统、 用户界面和应用程序等, 调 制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理器也可以不集成到 处理器 480中。
手机 400还包括给各个部件供电的电源 490 (比如电池), 优选的, 电源可以通过 电源管理系统与处理器 480逻辑相连, 从而通过电源管理系统实现管理充电、 放电、 以 及功耗管理等功能。
尽管未示出, 手机 400还可以包括摄像头、 蓝牙模块等, 在此不再赘述。
在本发明实施例中, 该终端所包括的处理器 480还具有以下功能:
所述处理器还用于获取指定时间段内每个监测周期中的所有符合预置条件的时间 间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交 互的时长; 当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时间 间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所述非活动 时间段为默认所述终端未与用户进行交互的时间段;
所述输出单元 451,还用于当所述终端的系统时间到达所述非活动时间段, 并且所 述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发送降低功率的指示信 息, 以使所述终端中的各个耗电器件降低运行功率。
本发明实施例中指定时间段可以为半个月、 1个月、 2个月或者其他时间段。 监测 周期为 24小时,可以从前一天的 12 : 00到第二天的 12 : 00,这样可以包括晚上的睡眠时 间, 也可以为其他的前一天的某一时间点到 24小时后的第二天的时间点, 当然也可以 为一天中的 0 : 00到 24 : 00。 本发明实施例对监测周期的具体时间点不做限定。
符合预置条件的时间间隔可以是时间间隔大于一固定值, 该固定值可以为半小时、 1小时、 2小时或者更长时间, 可以根据用户的需求设定。
本发明一些实施例中, 所述处理器 480还用于采集所述每个监测周期中每次灭屏 和亮屏的时间点; 按照采集的时间顺序计算每一组相邻的灭屏时间点和亮屏时间点之间 的第一差值; 当所述第一差值符合所述预置条件时, 将所述符合所述预置条件的第一差 值作为符合预置条件的时间间隔。
本发明一些实施例中, 所述处理器 480还用于获取所述每个监测周期中的每个闹 钟时间, 并获取在所述每个闹钟时间之前的最后一次的灭屏时间点; 计算所述所述每个 闹钟时间与其对应的最后一次的灭屏时间点之间的第二差值; 当所述第二差值符合所述 预置条件时, 将所述符合所述预置条件的第二差值作为符合预置条件的时间间隔。
本发明一些实施例中, 所述处理器 480还用于计算相邻的两个闹钟时间之间的时 间差; 当所述相邻两个闹钟时间之间的时间差不符合所述预置条件时, 指示不获取所述 相邻两个闹钟时间中后一个闹钟时间之前的最后一次的灭屏时间点。
本发明一些实施例中, 所述处理器 480还用于统计所有监测周期中在所述每个监 测周期的同一系统时间段存在所述符合预置条件的时间间隔的监测周期的数量; 根据所 述监测周期的数量和所有监测周期中的数量, 计算在所述每个监测周期的同一系统时间 段内, 存在所述符合预置条件的时间间隔的概率; 将所述符合预置条件的时间间隔的概 率与所述预置阈值作为比较, 当所述符合预置条件的时间间隔的概率超过所述预置阈值 时, 将所述同一系统时间段设置为非活动时间段。
参阅图 9, 本发明实施例提供的终端的一实施例包括: 控制装置 20、 第一耗电器 件 30、 第二耗电器件 40、 第三耗电器件 50;
所述控制装置, 用于获取指定时间段内每个监测周期中的所有符合预置条件的时 间间隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行 交互的时长;
当在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时间间隔 的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所所述非活动时 间段为默认所述终端未与用户进行交互的时间段;
当所述终端的系统时间到达所述非活动时间段, 并且所述终端未正在与用户进行 交互时, 向所述终端中的第一耗电器件 30、 第二耗电器件 40、 第三耗电器件 50发送降 低功率的指示信息, 以使所述终端中的第一耗电器件 30、 第二耗电器件 40、 第三耗电 器件 50件降低运行功率。
本发明实施例中只是列举了以上三个耗电器件, 实际上终端中的耗电器件可以有 多个。
耗电器件可以为 LED、 LCD, WiFI、 BT等等器件。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以 通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可读存储介质中, 存储 介质可以包括: R0M、 RAM, 磁盘或光盘等。
以上对本发明实施例所提供的功率控制的方法以及终端进行了详细介绍, 本文中 应用了具体个例对本发明的原理及实施方式进行了阐述, 以上实施例的说明只是用于帮 助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的 思想, 在具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理 解为对本发明的限制。

Claims

权利要求
1、 一种功率控制的方法, 其特征在于, 包括:
获取指定时间段内每个监测周期中的所有符合预置条件的时间间隔,所述指定时间 段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交互的时长;
当在所述每个监测周期的同一系统时间段内,存在所述符合预置条件的时间间隔的 概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 所述非活动时间段 为默认所述终端未与用户进行交互的时间段;
当所述终端的系统时间到达所述非活动时间段, 并且所述终端未正在与用户进行交 互时, 向所述终端中的各个耗电器件发送降低功率的指示信息, 以使所述终端中的各个 耗电器件降低运行功率。
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取指定时间段内每个监测周 期中的所有符合预置条件的时间间隔, 具体包括:
采集所述每个监测周期中每次灭屏和亮屏的时间点;
按照采集的时间顺序计算每一组相邻的灭屏时间点和亮屏时间点之间的第一差值; 当所述第一差值符合所述预置条件时,将所述符合所述预置条件的第一差值作为符 合预置条件的时间间隔。
3、 根据权利要求 1所述的方法, 其特征在于, 所述获取指定时间段内每个监测周 期中的所有符合预置条件的时间间隔, 具体包括:
获取所述每个监测周期中的每个闹钟时间, 并获取在所述每个闹钟时间之前的最后 一次的灭屏时间点;
计算所述所述每个闹钟时间与其对应的最后一次的灭屏时间点之间的第二差值; 当所述第二差值符合所述预置条件时,将所述符合所述预置条件的第二差值作为符 合预置条件的时间间隔。
4、 根据权利要求 3所述的方法, 其特征在于, 所述获取所述每个监测周期中的每 个闹钟时间之后, 在获取在所述每个闹钟时间之前的最后一次的灭屏时间点之前, 所述 方法还包括:
计算相邻的两个闹钟时间之间的时间差;
当所述相邻两个闹钟时间之间的时间差不符合所述预置条件时,指示不获取所述相 邻两个闹钟时间中后一个闹钟时间之前的最后一次的灭屏时间点。
5、 根据权利要求广 4任意一项所述的方法, 其特征在于, 所述当在所述每个监测 周期的同一系统时间段内, 存在所述符合预置条件的时间间隔的概率超过预置阈值时, 将所述同一系统时间段设置为非活动时间段, 具体包括:
统计所有监测周期中在所述每个监测周期的同一系统时间段存在所述符合预置条 件的时间间隔的监测周期的数量;
根据所述监测周期的数量和所有监测周期中的数量, 计算在所述每个监测周期的同 —系统时间段内, 存在所述符合预置条件的时间间隔的概率;
将所述符合预置条件的时间间隔的概率与所述预置阈值作为比较, 当所述符合预置 条件的时间间隔的概率超过所述预置阈值时,将所述同一系统时间段设置为非活动时间 段。
6、 一种控制装置, 其特征在于, 包括:
获取单元, 用于获取指定时间段内每个监测周期中的所有符合预置条件的时间间 隔, 所述指定时间段中包含多个所述监测周期, 所述时间间隔为终端未与用户进行交互 的时长;
设置单元, 用于当在所述每个监测周期的同一系统时间段内, 存在所述获取单元获 取的符合预置条件的时间间隔的概率超过预置阈值时,将所述同一系统时间段设置为非 活动时间段, 所述非活动时间段为默认所述终端未与用户进行交互的时间段;
发送单元, 用于当所述终端的系统时间到达所述设置单元设置的非活动时间段, 并 且所述终端未正在与用户进行交互时, 向所述终端中的各个耗电器件发送降低功率的指 示信息, 以使所述终端中的各个耗电器件降低运行功率。
7、 根据权利要求 6所述的控制装置, 其特征在于, 所述获取单元包括: 采集子单 元、 第一计算子单元和第一设置子单元;
所述采集子单元, 用于采集所述每个监测周期中每次灭屏和亮屏的时间点; 所述第一计算子单元,用于按照所述采集子单元采集的时间顺序计算每一组相邻的 灭屏时间点和亮屏时间点之间的第一差值;
所述第一设置子单元,用于当所述第一计算子单元计算出的第一差值符合所述预置 条件时, 将所述符合所述预置条件的第一差值作为符合预置条件的时间间隔。
8、 根据权利要求 6所述的控制装置, 其特征在于, 所述获取单元包括: 获取子单 元、 第二计算子单元和第二设置子单元;
所述获取子单元, 用于获取所述每个监测周期中的每个闹钟时间, 并获取在所述每 个闹钟时间之前的最后一次的灭屏时间点;
所述第二计算子单元,用于计算所述获取子单元获取的所述每个闹钟时间与其对应 的最后一次的灭屏时间点之间的第二差值; 所述第二设置子单元,用于当所述第二计算子单元计算出的第二差值符合所述预置 条件时, 将所述符合所述预置条件的第二差值作为符合预置条件的时间间隔。
9、 根据权利要求 8所述的控制装置, 其特征在于, 所述获取单元还包括指示子单 元,
所述第二计算子单元, 还用于计算相邻的两个闹钟时间之间的时间差;
所述指示子单元,用于当所述第二计算子单元计算出所述相邻两个闹钟时间之间的 时间差不符合所述预置条件时,指示所述获取子单元不获取所述相邻两个闹钟时间中后 一个闹钟时间之前的最后一次的灭屏时间点。
10、根据权利要求 6 任意一项所述的控制装置,其特征在于,所述设置单元包括: 统计子单元,用于统计所有监测周期中在所述每个监测周期的同一系统时间段存在 所述符合预置条件的时间间隔的监测周期的数量;
第三计算子单元,根据所述统计子单元统计的所述监测周期的数量和所有监测周期 中的数量, 计算在所述每个监测周期的同一系统时间段内, 存在所述符合预置条件的时 间间隔的概率;
比较子单元,用于将所述第三计算子单元计算出的符合预置条件的时间间隔的概率 与所述预置阈值作为比较;
第三设置子单元,用于当所述比较子单元比较出符合预置条件的时间间隔的概率超 过所述预置阈值时, 将所述同一系统时间段设置为非活动时间段。
11、 一种终端, 其特征在于, 包括: 控制装置和多个耗电器件;
所述控制装置为上述权利要求 6^10任意一项所述的控制装置。
PCT/CN2013/089554 2012-12-14 2013-12-16 一种功率控制的方法、装置及终端 WO2014090202A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210544094.XA CN103024205B (zh) 2012-12-14 2012-12-14 一种功率控制的方法、装置及终端
CN201210544094.X 2012-12-14

Publications (1)

Publication Number Publication Date
WO2014090202A1 true WO2014090202A1 (zh) 2014-06-19

Family

ID=47972316

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/089554 WO2014090202A1 (zh) 2012-12-14 2013-12-16 一种功率控制的方法、装置及终端

Country Status (2)

Country Link
CN (1) CN103024205B (zh)
WO (1) WO2014090202A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209827A1 (zh) * 2017-05-15 2018-11-22 深圳市沃特沃德股份有限公司 省电控制方法、装置和电子设备

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024205B (zh) * 2012-12-14 2014-07-09 华为终端有限公司 一种功率控制的方法、装置及终端
CN103901800A (zh) * 2014-03-27 2014-07-02 北京讯光科技发展有限责任公司 综合接入设备中使用的智能节电系统
CN104580710B (zh) * 2014-12-30 2018-01-09 中国农业科学院农业资源与农业区划研究所 一种基于学习用户操作习惯的自动省电方法
CN105389082B (zh) * 2015-10-28 2019-04-19 广东小天才科技有限公司 应用于移动终端的提醒方法和提醒装置
CN105282343B (zh) * 2015-11-03 2019-03-15 Oppo广东移动通信有限公司 一种睡眠智能提醒的方法和装置
CN105611074B (zh) * 2016-02-26 2019-07-09 惠州Tcl移动通信有限公司 一种根据闹钟时间优化推送信息时间的方法及系统
CN106102144B (zh) * 2016-05-31 2017-09-01 广东欧珀移动通信有限公司 一种基于移动终端的传感器处理方法及装置
CN106095059B (zh) * 2016-06-08 2019-03-01 维沃移动通信有限公司 一种降低移动终端功耗的方法及移动终端
CN108337725B (zh) * 2018-03-28 2021-03-09 佛山市丈量科技有限公司 终端设备的模块调度方法、装置以及系统
CN109117191B (zh) * 2018-06-12 2021-09-17 广州视源电子科技股份有限公司 一种电器重启的方法、装置、设备及存储介质
CN110742580A (zh) * 2019-09-18 2020-02-04 华为技术有限公司 一种睡眠状态识别方法及装置
CN111064891B (zh) * 2019-12-25 2021-04-23 维沃移动通信有限公司 一种拍摄控制方法及电子设备
CN113050783B (zh) * 2019-12-26 2023-08-08 Oppo广东移动通信有限公司 终端控制方法、装置、移动终端及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696847A (zh) * 2005-06-14 2005-11-16 上海理工大学 电子设备的电源管理方法
CN101646227A (zh) * 2008-08-04 2010-02-10 中兴通讯股份有限公司 移动终端电源管理方法和移动终端
CN102156495A (zh) * 2011-03-24 2011-08-17 上海亚虹塑料模具制造有限公司 一种具有加热保温装置的设备的节能方法
CN103024205A (zh) * 2012-12-14 2013-04-03 华为终端有限公司 一种功率控制的方法、装置及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7898954B2 (en) * 2004-10-20 2011-03-01 Qualcomm Incorporated Power-efficient data reception in a communication system with variable delay
KR101561490B1 (ko) * 2009-04-28 2015-10-19 삼성전자주식회사 휴대용 단말기에서 전력 소모를 방지하는 방법
CN101815283A (zh) * 2009-12-07 2010-08-25 宇龙计算机通信科技(深圳)有限公司 一种调整移动终端功能的方法、系统、移动终端及服务器
CN102137192B (zh) * 2011-03-18 2014-03-19 惠州Tcl移动通信有限公司 一种手机及其来电自动应答方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1696847A (zh) * 2005-06-14 2005-11-16 上海理工大学 电子设备的电源管理方法
CN101646227A (zh) * 2008-08-04 2010-02-10 中兴通讯股份有限公司 移动终端电源管理方法和移动终端
CN102156495A (zh) * 2011-03-24 2011-08-17 上海亚虹塑料模具制造有限公司 一种具有加热保温装置的设备的节能方法
CN103024205A (zh) * 2012-12-14 2013-04-03 华为终端有限公司 一种功率控制的方法、装置及终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018209827A1 (zh) * 2017-05-15 2018-11-22 深圳市沃特沃德股份有限公司 省电控制方法、装置和电子设备

Also Published As

Publication number Publication date
CN103024205A (zh) 2013-04-03
CN103024205B (zh) 2014-07-09

Similar Documents

Publication Publication Date Title
WO2014090202A1 (zh) 一种功率控制的方法、装置及终端
US10732696B2 (en) Method and apparatus for wake-up control of intelligent terminal
US10382615B2 (en) Intelligent alerting method, terminal, wearable device, and system
WO2018032581A1 (zh) 一种应用程序控制方法及装置
CN108112063B (zh) 电量管理方法、电量管理装置、终端和可读存储介质
US11812323B2 (en) Method and apparatus for triggering terminal behavior based on environmental and terminal status parameters
CN108712566B (zh) 一种语音助手唤醒方法及移动终端
WO2016082109A1 (zh) 用户设备的电源管理方法和电源管理装置
WO2019174025A1 (zh) 唤醒管理方法、定时器管理方法及终端设备
CN106775685B (zh) 唤醒锁释放方法和装置、移动终端
WO2019128546A1 (zh) 应用程序处理方法、电子设备、计算机可读存储介质
CN108681498B (zh) 一种cpu占用率的监测方法、装置以及移动终端
CN107577508B (zh) 应用程序处理方法、装置、可读存储介质和移动终端
WO2015081664A1 (zh) 控制无线网络开关方法、装置、设备及系统
US20070275677A1 (en) Battery life improvement for wireless devices through activity report combining
CN108334345B (zh) 应用程序处理方法、装置、可读存储介质和移动终端
WO2014032254A1 (zh) 一种控制中央处理器的方法和装置
WO2017206918A1 (zh) 终端加速唤醒方法以及相关产品
WO2014032250A1 (zh) 一种控制中央处理器的方法和装置
WO2018045874A1 (zh) 信息处理的方法及相关产品
CN106851737B (zh) 一种发送上行数据的方法,及终端设备
CN107197083A (zh) 一种调节移动终端的续航时长的方法及移动终端
CN115985323B (zh) 语音唤醒方法、装置、电子设备及可读存储介质
WO2014090201A1 (zh) 一种信息输入的控制方法、装置及终端
CN108646909B (zh) 信息处理方法、装置、移动终端和计算机可读存储介质

Legal Events

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

Ref document number: 13862031

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

Country of ref document: EP

Kind code of ref document: A1