WO2013083075A1 - 电池节能方法和系统 - Google Patents

电池节能方法和系统 Download PDF

Info

Publication number
WO2013083075A1
WO2013083075A1 PCT/CN2012/086160 CN2012086160W WO2013083075A1 WO 2013083075 A1 WO2013083075 A1 WO 2013083075A1 CN 2012086160 W CN2012086160 W CN 2012086160W WO 2013083075 A1 WO2013083075 A1 WO 2013083075A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
user
scheduling
program
saving
Prior art date
Application number
PCT/CN2012/086160
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 北京网秦天下科技有限公司
Priority to US14/129,730 priority Critical patent/US9335815B2/en
Publication of WO2013083075A1 publication Critical patent/WO2013083075A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3209Monitoring remote activity, e.g. over telephone lines or network connections
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • 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/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • H04W52/0216Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave using a pre-established activity schedule, e.g. traffic indication frame
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to a battery energy saving method and system, and in particular, the present invention relates to a mobile device
  • the existing software for battery-saving energy-saving products mainly includes JuiceDefender, Kingsoft Battery Doctor, Dim Sum, and some small products available on the Android Market.
  • the basic functions provided by the existing function software in extending the battery life after one charge mainly include program control, network management and the like. However, there is not much involved in this aspect of intelligence. Basically, the user needs to manually operate to partially complete the above functions.
  • the existing function software only provides power consumption data, and the user needs to manually select the end of the power consumption process.
  • the existing function software only provides a prompt for the user to manually turn off all networks in the case of extremely low power, or forcibly closes the network connection when the user is in standby, affecting the user experience.
  • the object of the present invention is to intelligently improve the power consumption of an operating system of a mobile device (e.g., an Android phone) at the application level, and to extend the battery life after a single charge.
  • a mobile device e.g., an Android phone
  • the present invention is capable of intelligently selecting to turn off related power consumption processes in accordance with the user's usage habits without affecting user usage.
  • the present invention can dynamically time-close the network connection according to the user's usage habits, predict the time period during which the user uses the network, and choose to maintain the network connection to prevent the user when the user may frequently use the network. Frequent dropped calls.
  • a battery saving method for a mobile device comprising the steps of: determining whether a user starts a new program, and when the user starts a new program, protecting the new program initiated by the user Save into the historical database;
  • the battery saving method further comprises the following steps:
  • the initialization of the battery saving method is performed prior to initiating the battery saving method.
  • the step of saving the user-initiated new program into the historical database further comprises the steps of:
  • the step of saving the user's networking situation into the historical database further comprises the following steps:
  • the step of saving the user-initiated new program into the historical database further comprises the steps of:
  • the step of performing power saving scheduling according to the power saving scheduling engine further comprises the following steps: after performing power saving scheduling according to the engine, moving to a step of determining whether the user starts a new program.
  • the step of performing network scheduling according to the network scheduling engine further comprises the following steps: after performing network scheduling according to the network scheduling engine, proceeding to a step of determining whether the user starts a new program.
  • the step of saving the user's networking situation into the historical database further comprises the following steps The steps of the program.
  • performing power saving scheduling according to the power saving scheduling engine includes the following steps:
  • the total value of the power consumption is compared with the threshold value W corresponding to the current battery power percentage, and the background program in all the currently running programs is included in the scheduling list, wherein the threshold value W is automatically adjusted according to the current battery power percentage, and The current battery percentage is proportional to the ratio;
  • the step of obtaining the next possible program of the user further comprises the following steps:
  • the background engine treats all programs currently running as a Markov random sequence according to the historical database, and analyzes the jump relationship of the program in the sequence to obtain a state transition matrix of any two programs; based on the state transition matrix, calculating a probability value of all programs as a next running program by a Markov process;
  • the next possible program of the user is determined based on the calculated probability value.
  • the step of determining the next possible program of the user based on the calculated probability value comprises:
  • the next possible program of the user is determined based on the time membership, wherein the time membership indicates the degree to which the program is dependent on time.
  • performing network scheduling according to the network scheduling engine includes the following steps:
  • a history database determining a current network environment according to a current time and a connected network, wherein the history database stores a record of the network environment, and the record of the network environment is associated with a network SSID and a time when the user uses the network, And stipulates the strategy for managing the back-end network;
  • the background network when the user does not use the mobile device is managed, thereby ensuring that the network is automatically connected when the user uses the network, and the network remains disconnected when the user is not using.
  • a battery energy saving system for a mobile device including: a storage module, configured to store a historical database;
  • a new program startup determination module configured to determine whether the user starts a new program, and when the user starts the new program, saves the new program initiated by the user into the history database in the storage module;
  • a network connection judging module configured to determine whether the user is connected to the network, and when the user connects to the network, save the user's networking situation into the historical database in the storage module;
  • a battery power judging module configured to determine whether the battery power triggers dynamic power saving scheduling
  • a power saving scheduling module configured to: when the battery power determining module determines that the battery power triggers the dynamic power saving scheduling, performs power saving scheduling according to the power saving scheduling engine;
  • a screen off determination module configured to determine whether the screen is off to trigger dynamic network scheduling
  • the network scheduling module is configured to perform network scheduling according to the network scheduling engine when the screen closing determination module determines that the screen is closed to trigger dynamic network scheduling.
  • the battery energy saving system further includes a network determining module, wherein the network determining module is configured to determine whether a record of a network connected by the user already exists in the history database, when there is no record of the network connected by the user in the history database. , create a record of the network.
  • the battery energy saving system further includes an initialization module for initializing operation of the battery energy saving system.
  • the power saving scheduling module includes the following submodules:
  • a total power consumption calculation module for calculating the total power consumption of all programs currently running
  • the program is included in the module for comparing the total power consumption value with the threshold value W corresponding to the current battery power percentage, and the background program in all programs currently running is included in the dispatch list, wherein the threshold value W is in accordance with the current battery.
  • the percentage of charge is automatically adjusted and is proportional to the current battery charge percentage;
  • the exclusion module is configured to obtain a program that the user may run next, and defines a series of programs defined from the schedule list, and the program in the white list is not controlled by the power saving schedule;
  • the network scheduling module includes the following submodules:
  • a network environment determining module configured to determine, by using a historical database, a current network environment according to a current time and a connected network, where the history database stores a record of the network environment, where the network The network environment is associated with the network SSID and the time the user uses the network, and specifies policies for managing the back-end network;
  • the network management module is configured to manage the background network when the user does not use the mobile device according to the policy of the current network environment and the frequency of the user networking, thereby ensuring that the network is automatically connected when the user uses the network, and the network is not used when the user is not using the network. Keep disconnected.
  • FIG. 1 is a flowchart showing a startup method of a battery saving method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a battery saving method in accordance with an embodiment of the present invention.
  • FIG. 3 is a flow chart of a history database creation method in accordance with an embodiment of the present invention.
  • FIG. 4 is a flowchart of initializing a battery saving method according to an embodiment of the present invention.
  • FIG. 5 shows a flow chart of intelligent power saving scheduling according to a power saving scheduling engine
  • FIG. 6 shows a block diagram of a battery energy saving system in accordance with an embodiment of the present invention
  • Figure 7 shows a block diagram of a power saving scheduling module in accordance with an embodiment of the present invention.
  • FIG. 8 shows a block diagram of a network scheduling module in accordance with an embodiment of the present invention. detailed description
  • step S11 the program interface of the power saving method of the present invention is initialized.
  • step S12 the user-defined white list and the current power consumption program arrangement are read, wherein the white list is a series of programs defined by the user, and the programs in the white list are not controlled by the power saving schedule.
  • step S13 it is judged at step S13 whether the user has turned on the power saving method. If the user has turned on the power saving method, the method proceeds to step S14 to start the power saving method; otherwise, the process ends.
  • FIG. 2 specifically shows a flow chart of a power saving method in accordance with an embodiment of the present invention.
  • step S21 After the power saving method is activated, the power saving method is initialized in step S22. It should be noted that for the power saving method according to the present invention, steps S21 and S22 are optional, and the following steps may be directly performed by skipping these two steps.
  • step S23 it is judged whether the user has started a new program. If the user has started a new program, the method proceeds to step S24. At step S24, the new program initiated by the user is saved into the history database. Then, the method continues down. In an alternative embodiment, the method returns to step S23 to re-determine whether the user has initiated a new program.
  • step S23 If it is judged at step S23 that the user has not started the new program, the method proceeds to step S25. In step S25, it is determined whether the user is connected to the network. If the user has connected to the network, the method proceeds to step S26. In step S26, the user's networking situation is saved into the history database. Then, the method continues down. In an alternative embodiment, the method returns to step S23 to re-determine if the user has initiated a new program.
  • step S27 it is determined whether the battery power triggers dynamic power saving scheduling. If the battery power triggers the dynamic power saving schedule, the method proceeds to step S28 to perform power saving scheduling according to the power saving scheduling engine. Then, the method continues down. In an alternative embodiment, the method returns to step S23 to re-determine if the user has initiated a new program.
  • step S27 If it is determined in step S27 that the battery power does not trigger the dynamic power saving schedule, the method proceeds to step S29. It is determined in step S29 whether the screen is off to trigger dynamic network scheduling. If the screen close triggers dynamic network scheduling, the method proceeds to step S30 to perform network scheduling according to the network scheduling engine. Then, preferably, the method returns to step S23 to re-determine whether the user has started a new program.
  • step S30 If it is judged in step S30 that the screen is off without triggering dynamic network scheduling, then preferably, the method returns to step S23 to re-determine whether the user has started a new program.
  • step S301 the listening process is started in step S301. Then, in step S302, it is determined whether the user starts a certain program app_name. If the result of the determination is affirmative, in step S303, it is checked whether the start time of the program app_name has been recorded in the history database, that is, Determine if start-time has a value.
  • step S304 If start_time already has a value, proceeding to step S304, recording the current time as the end time end_time, and in step S305, in the historical data In the library, start_time, end_time, and app_name are recorded in association; otherwise, if start_time has no value, in step S306, the start_time of the program app_name is recorded as the current time in the history database. The process then returns to step S302.
  • step S307 it is determined whether the user is connected to the network. If the result of the determination is affirmative, then in step S308, it is checked whether there is already a record of the network to which the user is connected in the history database. If there is no record of the network connected by the user, proceeding to step S309, determining the network environment according to the current time, and recording the record of the network environment determined in the history database in association with the network connected by the user and the current time. under. The process then returns to step S302.
  • step S308 If the result of the decision in step S308 is affirmative, the record of the network to which the user is connected already exists in the history database, the method returns to step S302.
  • the created history database stores a record of the program used by the user and a record of the connected network. Includes the following steps. First, in step S41, a transformation matrix of user behavior is created from the history database. Then, in step S42, the user's network usage matrix is created from the history database. Next, in step S43, the user APP listener is started. Finally, in step S44, a battery power broadcast receiver is created.
  • the power saving method monitors the change in the battery power, and triggers the power saving schedule whenever the battery power drops by a predetermined value (e.g., 10%).
  • Figure 5 shows a flow chart for intelligent power saving scheduling based on the power saving scheduling engine.
  • the power consumption value is calculated, for example, by the client in the following three aspects: (1) The program occupies the screen display time, which is read by the system configuration file; (2) The program CPU uses, which calculates the CPU frequency by using the following formula: The sum of the CPU's step multipliers is obtained:
  • processPower ratio * tmpCpuTime * powerCpuNormal[step];
  • step S503 the total value of the power consumption is compared with the threshold value W corresponding to the current battery power percentage, and the background program in all the programs currently running is included in the schedule list.
  • the threshold W can be automatically adjusted according to the current battery percentage and is proportional to the current battery percentage.
  • step S504 the next possible program of the user is acquired and excluded from the schedule list.
  • step S505 the program in the user-defined white list is excluded from the schedule list.
  • step S506 the program in the schedule list is automatically closed or prompted to be closed.
  • the next possible running program of the user in step S504 is executed by the background engine according to the prediction algorithm used by the historical database.
  • the background engine treats all of the user's running programs as a Markov random sequence according to the user's historical database, that is, the next program run by the user is only related to the previously run program. For example, when a user clicks a link in a program, the system automatically opens the link with a browser, and for example, the user shares the message to the friend through a microblog, a mailbox, etc. during the game playing, and the system calls the corresponding program. Finish this work.
  • a state transition matrix of probability for any two programs can be obtained. For example, there are four programs A, B, C, and D, and it is possible to obtain a matrix as follows:
  • the user's next program has a probability of 0.5 hopping to B, with a probability of 0.5 jumping to C, and other similarities.
  • the probabilistic Markov process can be used to calculate the probability values of all programs running by the user in the next time period, from which the time membership degree is combined to determine the program that the user is most likely to run.
  • Time membership refers to the degree to which a program depends on a certain period of time. For example, if the user plays game A every day at 8:00 in 10 days, then the time A of game A is 8 at 8 o'clock, if there is 1 day. It is played at 7 o'clock, then the time membership degree of A to 8 o'clock is 0.9, and the time membership degree to 7 o'clock is 0.1.
  • a record of the user running program is stored.
  • the record of the analysis program determines the time membership of the program.
  • the network scheduling according to the network scheduling engine mainly utilizes a historical database, determines the current network environment according to the current time and the connected network, and does not use the mobile device according to the policy of the network environment and the frequency of the user networking.
  • the back-end network is managed to ensure that the network is automatically connected when the user is using it, and the network remains disconnected when the user is not using it.
  • the history database stores a record of the network environment, the record of the network environment is associated with the network and the time when the user uses the network, and specifies a policy for managing the background network.
  • the user accessing the Internet Time determines whether the network environment is an office environment, a home environment, or other environment. Different network environments have different back-end network management policies.
  • a network with a network SSID of A is often used from Monday to Friday from 9:00 to 18:00, and the network can be predicted to be an office environment. That is, in the history database, a record of the office environment in which the network 8810 is A and the use time is from 9:00 to 18:00, Monday to Friday, is stored. Similarly, records of the home environment and other environments can be recorded.
  • the network scheduling engine mainly manages the background network when the user does not use the mobile device according to the three environments and the frequency of the user's networking, thereby ensuring that the network is automatically connected when the user uses the network, and the network remains disconnected when the user does not use it. If the user connects to network A at 10:00 on Tuesday, it can determine that it belongs to the office environment according to the current time and the connected network, so as to manage the background network according to the policy of the office environment and the frequency of user networking.
  • the background network management policy can be: The background countdown of the network is adjusted according to the user's usage frequency, and the network connection retention time is extended during standby when the high frequency is used, so that the mobile phone repeatedly connects to the network-disconnected Network - Connect to the network - Disconnect the network.
  • the background network management policy can be: Set a longer time threshold; disconnect the network only if the user is not used within the set time threshold.
  • the normal activity of a user every day is to go to the company to go to work in the morning, go home at night, and go to the GPRS network on the road.
  • the scheduling system will compare the power consumption of the two processes. Maybe browser A and player B both exceed the warning line, but since browser A occupies the foreground, the system will not close browser A, but will pop up a prompt. The box reminds the user. For player B, the system through the query history records that the user often uses the player B program to perform activities during this time period, so only a prompt box will pop up to remind the user. If the history of the system is not detailed enough, it is possible to turn off Player B by default and make a record in the LOG.
  • the wifi (wireless network communication) access point provided by the conference center is used.
  • the system finds that the user is using a different access point for the network of the home environment that is often used in peacetime and the network of the work environment.
  • the current environment is listed as "other environments.”
  • the network history is queried and entered into the database. If the user has never used the network, the network will be automatically turned off when the user is not using the phone according to the "other environment” policy. Assume that the user frequently uses the mobile phone, and the screen is lit once every minute and then goes out. The delay of the network automatic shutdown will continue to increase with the usage history of the SSID network in the database.
  • the user may run a game C during the break, and the record shows that the user usually does not run the game during this time (because it is generally working), then if the game is switched to the background and the program power drops to 80. %, triggering the power saving schedule again will close the game C. If the microblog program D in the background may be running at this time, the history record shows that the user may use the program in the next time period, then the microblog program D Will not be closed.
  • the wifi access point is replaced with the wifi recorded by the system.
  • the user unlocks the screen.
  • the system discovers the access point through wifi scanning, and discovers the access point and current time and history database.
  • the comparison between the Internet time and the network determines that the working environment is entered.
  • the wifi network used in the standby mode selects a relatively long delay to turn off the wifi network.
  • the battery power is already low. At this time, the user runs the game E that is usually played occasionally. If the system triggers the power saving schedule, the game E is occasionally made during this time period. With records, but not a lot, so the user will be prompted to choose to close. At the same time, the system does not detect familiar access points on the off-duty system, so it will actively shut down the wifi network.
  • FIG. 6 shows a block diagram of a battery energy saving system in accordance with an embodiment of the present invention.
  • the battery energy saving system includes: a storage module 602, configured to store a history database; a new program startup determination module 605, configured to determine whether the user starts a new program, and when the user starts a new program, save the user-initiated new program into the
  • the network connection determination module 606 is configured to determine whether the user is connected to the network, and when the user connects to the network, save the networked condition of the user into the historical database in the storage module; 608, configured to determine whether the battery power triggers the dynamic power saving scheduling;
  • the power saving scheduling module 604 is configured to: when the battery power determining module determines that the battery power triggers the dynamic power saving scheduling, performs power saving scheduling according to the engine; 607.
  • the network scheduling module 603 is configured to determine, when the screen off determination module determines that the screen is closed to trigger dynamic network scheduling, performing network scheduling according to the network scheduling engine.
  • the battery energy saving system further includes an initialization module 601 for initializing operation of the battery energy saving system.
  • the power saving scheduling module 604 may include the following sub-modules: a power consumption total value calculating module 701, configured to calculate a total power consumption value of all programs currently running; a program inclusion module 702, configured to The total value of the power consumption is compared with the threshold value W corresponding to the current battery power percentage, and the background program in all the currently running programs is included in the scheduling list, wherein the threshold value W is automatically adjusted according to the current battery power percentage, and The current battery percentage is proportional to the ratio; the exclusion module 703 is configured to obtain the next possible program of the user, and exclude it from the schedule list, and exclude the program in the user-defined white list from the schedule list, where the white list It is a user-defined series of programs, and the programs in the white list are not controlled by the power saving schedule; the closing module 704 is configured to automatically close or prompt to close the programs in the scheduling list.
  • a power consumption total value calculating module 701 configured to calculate a total power consumption value of all programs currently running
  • a program inclusion module 702 configured to
  • the network scheduling module 603 may include the following sub-module: a network environment determining module 801, configured to determine a current network environment according to a current time and a connected network by using a history database, where the historical database is stored. There is a record of the network environment, the network environment is associated with the network and the time when the user uses the network, and specifies a policy for managing the background network; the network management module 802 is configured to be used according to the current network environment.
  • Strategy and frequent user networking The degree manages the background network when the user does not use the mobile device, thereby ensuring that the network is automatically connected when the user is using, and the network remains disconnected when the user is not using it.
  • the invention mainly solves the problem of intelligentization of the power saving mode under the premise of taking into consideration the general functions, and the advantages of the invention are:
  • the intelligent power-saving scheduling can achieve the effect of intelligent power saving without affecting the user's use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Telephone Function (AREA)

Abstract

本发明涉及一种电池节能方法和系统,所述方法包括以下步骤:判断用户是否启动新程序,当用户启动新程序时,将用户启动的新程序保存进入历史数据库;判断用户是否连接网络,当用户连接网络时,将用户的联网情况保存进入历史数据库;判断电池电量是否触发动态节电调度,当电池电量触发动态节电调度时,依据引擎进行节电调度;判断屏幕关闭是否触发动态网络调度,当屏幕关闭触发动态网络调度时,依据网络调度引擎进行网络调度。本发明的电池节能方法在程序控制和/或网络管理的智能化方面做出改进。

Description

电池节能方法和系统 技术领域
本发明涉及一种电池节能方法和系统, 特别地, 本发明涉及一种移动设备
(例如 Android手机 ) 的智能控制电池节能方法和系统。 背景技术
现有的针对移动设备的能够实现电池节能的软件主要包括 JuiceDefender、 金山电池医生、 点心省电、 以及 Android Market上提供的一些小型产品。
现有的功能软件在延长一次充电后的电池使用时间方面提供的基本功能 主要包括程序控制、网络管理等等。但是在智能化这个方面都没有过多的涉及, 基本上需要用户手动操作才能部分地完成上述功能。
具体而言, 在程序控制方面, 现有功能软件只提供耗电数据, 需要用户手 动选择结束耗电进程。在网络管理方面,现有功能软件仅提供在电量极低的情 况下让用户手动关闭所有网络的提示,或者在用户待机情况下强行关闭网络连 接, 影响用户体验。
因此, 需要一种针对移动设备的、 在程序控制和 /或网络管理的智能化方 面做出改进的电池节能方法和系统。 发明内容
本发明的目的是为了在应用层面上智能的改善移动设备 (例如 Android手 机)操作系统的电量消耗, 延长一次充电后的电池使用时间。
在程序控制方面, 本发明能够动态地依照用户的使用习惯, 智能地选择关 闭相关耗电进程并且不影响用户使用。在网络管理方面, 本发明能够动态地依 照用户的使用习惯, 智能地对网络连接进行定时关闭,预测用户使用网络的时 间段,在用户可能频繁使用网络的情况下会选择维持网络连接以防止用户频繁 掉线。
根据本发明的一方面,提供一种移动设备的电池节能方法,包括以下步骤: 判断用户是否启动新程序, 当用户启动新程序时, 将用户启动的新程序保 存进入历史数据库;
判断用户是否连接网络, 当用户连接网络时,将用户的联网情况保存进入 历史数据库;
判断电池电量是否触发动态节电调度, 当电池电量触发动态节电调度时, 依据节电调度引擎进行节电调度;
判断屏幕关闭是否触发动态网络调度, 当屏幕关闭触发动态网络调度时, 依据网络调度引擎进行网络调度。
优选地, 所述电池节能方法进一步包括以下步骤:
在开始所述电池节能方法之前, 进行所述电池节能方法的初始化。
优选地,将用户启动的新程序保存进入历史数据库的步骤进一步包括以下 步骤:
判断历史数据库中是否已经存在用户启动的新程序的记录,当历史数据库 中不存在用户启动的新程序的记录时, 创建该程序的记录。
优选地,将用户的联网情况保存进入历史数据库的步骤进一步包括以下步 骤:
判断历史数据库中是否已经存在用户所连接的网络的记录,当历史数据库 中不存在用户所连接的网络的记录时, 创建该网络的记录。
优选地,将用户启动的新程序保存进入历史数据库的步骤进一步包括以下 步骤:
在将用户启动的新程序保存进入历史数据库之后 ,转到判断用户是否启动 新程序的步骤。
优选地, 依据节电调度引擎进行节电调度的步骤进一步包括以下步骤: 在依据引擎进行节电调度之后, 转到判断用户是否启动新程序的步骤。 优选地, 依据网络调度弓 I擎进行网络调度的步骤进一步包括以下步骤: 在依据网络调度弓 I擎进行网络调度之后 ,转到判断用户是否启动新程序的 步骤。
优选地,将用户的联网情况保存进入历史数据库的步骤进一步包括以下步 程序的步骤。
优选地, 依据节电调度引擎进行节电调度包括以下步骤:
计算当前运行的所有程序的耗电总值;
将耗电总值与和当前电池电量百分比相适应的阔值 W做比较, 并将当前 运行的所有程序中的后台程序列入调度列表, 其中阔值 W依照当前电池电量 百分比自动调整, 并且与当前电池电量百分比成正比例关系;
获取用户下一个可能运行的程序, 并将其从调度列表中排除;
从调度列表中排除用户定义的白名单中的程序,其中白名单是用户自定义 的一系列程序, 白名单中的程序不受所述节电调度控制;
自动关闭或者提示关闭调度列表中的程序。
优选地, 获取用户下一个可能运行的程序的步骤进一步包括以下步骤: 后台引擎根据历史数据库, 将当前运行的所有程序视为马尔科夫随机序 列, 通过分析该序列中程序的跳转关系, 得到任意两个程序的状态转移矩阵; 基于所述状态转移矩阵,通过马尔科夫过程计算出所有程序为下一个运行 程序的概率值;
根据计算出的概率值来确定用户下一个可能运行的程序。
优选地 ,根据计算出的概率值来确定用户下一个可能运行的程序的步骤包 括:
根据时间隶属度来确定用户下一个可能运行的程序,其中时间隶属度表示 所述程序对时间的依赖程度。
优选地, 依据网络调度弓 I擎进行网络调度包括以下步骤:
利用历史数据库, 根据当前时间和所连接的网络来确定当前的网络环境, 其中历史数据库存储有所述网络环境的记录, 所述网络环境的记录与网络 SSID 以及用户使用该网络的时间相关联, 并规定了对后台网络进行管理的策 略;
根据所述当前的网络环境的策略以及用户联网的频繁程度对用户不使用 移动设备时的后台网络进行管理,从而确保用户使用的时候网络自动连接, 用 户不使用的时候网络保持断开。
根据本发明的另一方面, 提供一种移动设备的电池节能系统, 包括: 存储模块, 用于存储历史数据库;
新程序启动判断模块, 用于判断用户是否启动新程序, 以及当用户启动新 程序时, 将用户启动的新程序保存进入所述存储模块中的历史数据库中;
网络连接判断模块,用于判断用户是否连接网络,以及当用户连接网络时, 将用户的联网情况保存进入所述存储模块中的历史数据库中;
电池电量判断模块, 用于判断电池电量是否触发动态节电调度;
节电调度模块,用于当所述电池电量判断模块确定电池电量触发动态节电 调度时, 依据节电调度引擎进行节电调度;
屏幕关闭判断模块, 用于判断屏幕关闭是否触发动态网络调度;
网络调度模块,用于当所述屏幕关闭判断模块确定屏幕关闭触发动态网络 调度时, 依据网络调度引擎进行网络调度。
优选地, 所述电池节能系统进一步包括网络判断模块, 所述网络判断模块 用于判断历史数据库中是否已经存在用户所连接的网络的记录,当历史数据库 中不存在用户所连接的网络的记录时, 创建该网络的记录。
优选地, 所述电池节能系统进一步包括初始化模块, 用于初始化所述电池 节能系统的操作。
优选地, 所述节电调度模块包括以下子模块:
耗电总值计算模块, 用于计算当前运行的所有程序的耗电总值;
程序列入模块,用于将耗电总值与和当前电池电量百分比相适应的阔值 W 做比较, 并将当前运行的所有程序中的后台程序列入调度列表, 其中阔值 W 依照当前电池电量百分比自动调整, 并且与当前电池电量百分比成正比例关 系;
排除模块, 用于获取用户下一个可能运行的程序, 并将其从调度列表中排 定义的一系列程序, 白名单中的程序不受所述节电调度控制;
关闭模块, 用于自动关闭或者提示关闭调度列表中的程序。
优选地, 所述网络调度模块包括以下子模块:
网络环境确定模块, 用于利用历史数据库,根据当前时间和所连接的网络 来确定当前的网络环境, 其中历史数据库存储有所述网络环境的记录, 所述网 络环境与网络 SSID以及用户使用该网络的时间相关联, 并规定了对后台网络 进行管理的策略;
网络管理模块,用于根据所述当前的网络环境的策略以及用户联网的频繁 程度对用户不使用移动设备时的后台网络进行管理,从而确保用户使用的时候 网络自动连接, 用户不使用的时候网络保持断开。 附图说明
图 1是根据本发明的实施例的电池节能方法启动流程图;
图 2是根据本发明的实施例的电池节能方法流程图;
图 3是根据本发明的实施例的历史数据库创建方法的流程图;
图 4是根据本发明的实施例的电池节能方法初始化流程图;
图 5显示了依据节电调度引擎进行智能节电调度的流程图;
图 6显示了根据本发明的实施例的电池节能系统的框图;
图 7显示了根据本发明的实施例的节电调度模块的框图;
图 8显示了根据本发明的实施例的网络调度模块的框图。 具体实施方式
现在,将详细参考本发明的不同实施例, 其实施例显示在附图和以下描述 中。 虽然将结合示例性的实施例描述本发明,但应当理解该描述并非要把本发 明限制于该示例性的实施例。 相反, 本发明将不仅覆盖该示例性的实施例, 而 且还覆盖各种替换的、 改变的、 等效的和其他实施例, 其可包含在所附权利要 求所限定的本发明的精神和范围内。
图 1显示了才艮据本发明的实施例的电池节能方法启动流程图。 首先,在步 骤 S11 , 初始化本发明的节电方法的程序界面。 然后, 在步骤 S12, 读取用户 自定义的白名单和当前耗电程序排列,其中白名单是用户自己定义的一系列程 序, 白名单中的程序不受节电调度控制。接下来, 在步骤 S13判断用户是否开 启了节电方法, 如果用户已经开启了节电方法, 则方法继续到步骤 S14 , 启动 节电方法; 否则, 过程结束。
图 2具体显示了根据本发明的实施例的节电方法的流程图。 当在步骤 S21 启动了节电方法之后, 在步骤 S22对节电方法进行初始化。 应当指出的是, 对 于根据本发明的节电方法而言, 步骤 S21和 S22是可选的, 也可以跳过这两 个步骤直接执行以下步骤。
在步骤 S23 , 判断用户是否启动了新程序。 如果用户启动了新程序, 则该 方法前进到步骤 S24。在步骤 S24,将用户启动的新程序保存进入历史数据库。 然后, 该方法继续向下进行。 在可选实施例中, 该方法返回到步骤 S23 , 重新 判断用户是否启动了新程序。
如果在步骤 S23判断用户并未启动新程序, 则该方法前进到步骤 S25。 在 步骤 S25 , 判断用户是否连接了网络。 如果用户已经连接了网络, 则该方法前 进到步骤 S26。 在步骤 S26 , 将用户的联网情况保存进入历史数据库。 然后, 该方法继续向下进行。 在可选实施例中, 该方法返回到步骤 S23 , 重新判断用 户是否启动了新程序。
如果在步骤 S25判断用户并没有连接网络, 则该方法前进到步骤 S27。 在 步骤 S27 , 判断电池电量是否触发动态节电调度。 如果电池电量触发了动态节 电调度, 则该方法前进到步骤 S28, 依据节电调度引擎进行节电调度。 然后, 该方法继续向下进行。 在可选实施例中, 该方法返回到步骤 S23 , 重新判断用 户是否启动了新程序。
如果在步骤 S27判断电池电量没有触发动态节电调度,则该方法前进到步 骤 S29。 在步骤 S29判断屏幕关闭是否触发动态网络调度。 如果屏幕关闭触发 了动态网络调度, 则方法前进到步骤 S30, 依据网络调度引擎进行网络调度。 然后, 优选地, 方法返回到步骤 S23 , 重新判断用户是否启动了新程序。
如果在步骤 S30判断屏幕关闭没有触发动态网络调度, 则优选地,方法返 回到步骤 S23 , 重新判断用户是否启动了新程序。
此外, 历史数据库的创建在本领域中是公知的。现在参考图 3给出一个示 例。 在该示例中, 首先, 在步骤 S301开始监听过程。 然后在步骤 S302判断 用户是否启动某一程序 app— name,如果该判断结果是肯定的,则在步骤 S303 , 查询历史数据库中是否已经存在该程序 app— name的启动时间 start— time的记 录, 即判断 start— time是否已经有值。 如果 start— time已经有值, 则前进到步骤 S304, 将当前时间记录为结束时间 end— time, 并且在步骤 S305 , 在历史数据 库中相关联地记录 start— time、 end— time和 app— name; 否则, 如果 start— time 没有值, 则在步骤 S306 , 在历史数据库中将程序 app— name的 start— time记录 为当前时间, 然后过程返回到步骤 S302。
如果在步骤 S302判断用户未启动程序, 则该方法前进到步骤 S307。 在步 骤 S307 , 判断用户是否连接网络。 如果该判断结果是肯定的, 则在步骤 S308, 查询历史数据库中是否已经存在用户所连接的网络的记录。如果不存在用户所 连接的网络的记录, 则前进到步骤 S309, 根据当前的时间确定网络环境, 并 将用户连接的网络以及当前的时间相关联地记录在历史数据库中所确定的网 络环境的记录下。 然后过程返回到步骤 S302。
如果步骤 S308的判断结果是肯定的, 历史数据库中已经存在用户所连接 的网络的记录, 则该方法程返回到步骤 S302。
因此,所创建的历史数据库存储有用户使用过的程序的记录和所连接的网 络的记录。 包括以下步骤。 首先, 在步骤 S41 , 从历史数据库创建用户行为的变换矩阵。 然后, 在步骤 S42 , 从历史数据库创建用户的网络使用矩阵。 接下来, 在步骤 S43 , 启动用户 APP监听。 最后, 在步骤 S44, 创建电池电量广播接收器。
根据本发明的节电方法监听电池电量的变化, 每当电池电量下降预定值 (例如 10% )的时候, 触发节电调度。 图 5显示了依据节电调度引擎进行智能 节电调度的流程图。 首先, 在步骤 S501触发节电调度以后, 在步骤 S502, 计 算当前运行的所有程序的耗电总值。耗电值例如是客户端通过以下 3个方面计 算出来的: (1)程序占用屏幕显示时间, 其通过系统配置文件来读取; (2)程序 CPU使用, 其通过按照如下公式计算 CPU频率和 CPU的步进 (step)的乘积累 计之和来获得:
processPower = ratio * tmpCpuTime * powerCpuNormal[step];
其中 powerCpuNormal[step]是每一步消耗的能量, ratio 是 CPU 频率, tmpCpuTime 是这一步的时间; 以及 (3)程序网络和传感器使用, 其通过系统 API直接读取。 显然, 也可以通过本领域技术人员已知的其他方法来计算耗电 值。 然后, 在步骤 S503 , 将耗电总值与和当前电池电量百分比相适应的阔值 W做比较, 并将当前运行的所有程序中的后台程序列入调度列表。 其中阔值 W 能够依照当前电池电量百分比自动调整, 并且与当前电池电量百分比成正 比例关系。 然后, 在步骤 S504, 获取用户下一个可能运行的程序, 并将其从 调度列表中排除。 接下来, 在步骤 S505 , 从调度列表中排除用户定义的白名 单中的程序。 最后, 在步骤 S506, 自动关闭或者提示关闭调度列表中的程序。
需要指出的是,通过后台引擎依照历史数据库釆用的预测算法来执行步骤 S504 中的获取用户下一个可能运行的程序。 具体而言, 后台引擎依照用户的 历史数据库,把用户的所有运行程序视为一个马尔科夫随机序列, 即用户运行 的下一个程序只和之前所运行的程序相关。例如,在用户在某个程序里点了一 个链接, 系统自动用浏览器打开了这个链接, 又例如用户在玩游戏的过程中通 过微博, 邮箱等应用分享给朋友, 系统又调用相应的程序完成这个工作。
通过分析这个序列里程序的跳转关系,可以得到针对任意两个程序在概率 学上的一个状态转移矩阵。 比如有 A、 B、 C、 D四个程序, 有可能得到如下 的一个矩阵:
A,B,C,D
A O 0.5 0.5 0
B 0.3 0 0.7 0
C 0.2 0.8 0 0
D 0.1 0.9 0 0
也就是说如果用户当前运行 A程序,那么用户下一个程序有 0.5的概率跳 转到 B, 有 0.5的概率跳转到 C, 其他同理。
基于这样的一个矩阵,通过概率学上的马尔科夫过程可以计算出在下一个 时间段用户运行所有程序的概率值,从中结合时间隶属度来确定出用户最有可 能运行的程序。
时间隶属度是指某个程序对某一段时间的依赖程度, 比如用户在 10天之 内每天晚上 8点玩游戏 A, 那么游戏 A对晚 8点的时间隶属度是 1 , 如果有其 中 1天是在 7点玩的, 那么 A对 8点的时间隶属度是 0.9, 对 7点的时间隶属 度是 0.1。 通过上面结合历史数据库的创建过程的描述可知, 在历史数据库中 存储有用户运行程序的记录。 分析程序的记录可以确定程序的时间隶属度。 此外,依据网络调度引擎进行网络调度主要是利用历史数据库,根据当前 时间和所连接的网络来确定当前的网络环境 ,并根据所述网络环境的策略以及 用户联网的频繁程度对用户不使用移动设备时的后台网络进行管理,从而确保 用户使用的时候网络自动连接, 用户不使用的时候网络保持断开。
如上所述, 历史数据库存储有网络环境的记录, 所述网络环境的记录与网 络以及用户使用该网络的时间相关联, 并规定了对后台网络进行管理的策略 在本发明中, 根据用户上网的时间确定网络环境是办公环境、 家庭环境、 还是其他环境。 不同网络环境规定有不同的后台网络管理策略。
例如网络 SSID为 A的网络经常在周一到周五 9点至 18点被使用, 则可 以预测该网络为办公环境。 即在历史数据库中存储有网络 8810为 A、 使用时 间为周一到周五 9点至 18点的办公环境的记录。 同理可以记录家庭环境和其 他环境的记录。网络调度引擎主要根据这 3个环境以及用户联网的频繁程度对 用户不使用移动设备时的后台网络进行管理,从而确保用户使用的时候网络自 动连接, 用户不用的时候网络保持断开。如果用户在周二的 10点连接网络 A, 则根据当前时间和所连接的网络可以确定属于办公环境,从而根据办公环境的 策略和用户联网的频繁程度对后台网络进行管理。
不同环境中的后台网络管理策略不同。 例如, 在其他环境下, 用户可能在 某一段时间内零碎的使用手机, 例如公交、 地铁。 在这种环境下, 后台网络管 理策略可以是: 后台关闭网络的倒计时依照用户的使用频率作出调整, 在高频 使用的时候延长待机下网络连接的保持时间, 避免手机反复地连接网络 -断开 网络-连接网络 -断开网络。 而在办公环境下, 用户可能持续地保持与网络的连 接。 在这种环境下, 后台网络管理策略可以是: 设定一个较长的时间阔值; 仅 在用户在所设定的时间阔值内没有使用时才断开网络。
下面给出一个示例性的流程实施例。
某用户每天的正常活动是早上去公司上班, 晚上回家, 路上会上一下 GPRS网络, 平时主要拿手机进行上网浏览新闻, 听歌, 偶尔晚上下班路上玩 会儿游戏。
今天早上用户没有去公司,去了北五环某会议中心开会,下午回公司上班, 假设用户手机充满电早晨出发去开会, 那么整个系统的工作流程可能是这样 的:
用户出门以后上网看了会新闻, 同时一边听歌, 系统后台会将浏览器 A 和播放器 B的运行情况录入数据库, 当电池电量下降到 90%的时候, 触发第 一次调度, 用户此时可能正在后台听歌, 前台的是浏览器程序。 这时候调度系 统会比较这两个进程的耗电量, 也许浏览器 A和播放器 B都超过了警戒线, 但是由于浏览器 A 占据了前台, 系统不会关闭浏览器 A, 只是会弹出提示框 提醒用户。 而对于播放器 B, 系统经过查询历史记录发现用户经常使用播放器 B程序在这个时间段进行活动, 因此也只是会弹出提示框提醒用户。 如果系统 的历史记录不够详细, 则有可能会默认关闭播放器 B, 并在 LOG里作出记录。
用户到达会议中心以后, 使用会议中心提供的 wifi (无线网路通信)接入 点,这时候系统发现用户正在使用一个和平时经常使用的家庭环境的网络与工 作环境的网络不同的接入点, 当前环境被列为 "其他环境"。 对于此类接入点, 会查询网络历史情况后录入数据库。 如果用户从未使用过该网络, 则根据 "其 他环境" 的策略, 该网络会在用户不使用手机的时候自动被关闭。 假设用户频 繁的使用手机,每分钟都点亮一次屏幕然后熄灭, 网络自动关闭的延时会随着 数据库里该 SSID网络的使用历史记录不断的增大。
然后用户可能在会间休息的时候运行了一个游戏 C,记录显示用户通常在 这段时间都没有运行这个游戏(因为一般都在工作), 这时候如果游戏被切换到 后台而程序电量下降到 80%,再次触发节电调度会关闭游戏 C,假如这时候可 能运行着后台的微博程序 D,历史记录显示用户在下一个时间段里有比较大的 可能使用该程序, 则此时微博程序 D不会被关闭。
用户开完会回到公司上班, wifi接入点换成了系统记录过的 wifi,此时用户 解除屏幕锁定, 系统通过 wifi扫描发现接入点, 通过发现的接入点和当前时 间与历史数据库中存储的工作环境下的上网时间和网络的比较,确定进入工作 环境, 此时使用的 wifi网络在待机的时候会选择比较长的延时来关闭 wifi网 络。
用户下班的时候, 电池电量已经比较低了, 这时候用户运行了平常偶尔玩 的游戏 E, 系统此时如果触发节电调度,发现游戏 E在这个时间段偶尔有过使 用记录, 但是并不多数, 因此会釆用提示的方式, 提醒用户选择关闭。 同时下 班路上系统检测不到熟悉的接入点 , 因此会主动关闭 wifi网络。
图 6显示了根据本发明的实施例的电池节能系统的框图。该电池节能系统 包括: 存储模块 602, 用于存储历史数据库; 新程序启动判断模块 605 , 用于 判断用户是否启动新程序, 以及当用户启动新程序时,将用户启动的新程序保 存进入所述存储模块中的历史数据库中; 网络连接判断模块 606, 用于判断用 户是否连接网络, 以及当用户连接网络时,将用户的联网情况保存进入所述存 储模块中的历史数据库中; 电池电量判断模块 608, 用于判断电池电量是否触 发动态节电调度; 节电调度模块 604, 用于当所述电池电量判断模块确定电池 电量触发动态节电调度时, 依据引擎进行节电调度; 屏幕关闭判断模块 607 , 用于判断屏幕关闭是否触发动态网络调度; 网络调度模块 603 , 用于当所述屏 幕关闭判断模块确定屏幕关闭触发动态网络调度时,依据网络调度引擎进行网 络调度。
优选地, 所述电池节能系统进一步包括初始化模块 601 , 用于初始化所述 电池节能系统的操作。
如图 7所示, 优选地, 节电调度模块 604可包括以下子模块: 耗电总值计 算模块 701 , 用于计算当前运行的所有程序的耗电总值; 程序列入模块 702, 用于将耗电总值与和当前电池电量百分比相适应的阔值 W做比较, 并将当前 运行的所有程序中的后台程序列入调度列表, 其中阔值 W依照当前电池电量 百分比自动调整, 并且与当前电池电量百分比成正比例关系; 排除模块 703 , 用于获取用户下一个可能运行的程序, 并将其从调度列表中排除, 以及从调度 列表中排除用户定义的白名单中的程序,其中白名单是用户自定义的一系列程 序, 白名单中的程序不受所述节电调度控制; 关闭模块 704, 用于自动关闭或 者提示关闭调度列表中的程序。
如图 8所示, 优选地, 网络调度模块 603可包括以下子模块: 网络环境确 定模块 801 , 用于利用历史数据库, 根据当前时间和所连接的网络来确定当前 的网络环境, 其中历史数据库存储有所述网络环境的记录, 所述网络环境与网 络以及用户使用该网络的时间相关联, 并规定了对后台网络进行管理的策略; 网络管理模块 802 , 用于根据所述当前的网络环境的策略以及用户联网的频繁 程度对用户不使用移动设备时的后台网络进行管理,从而确保用户使用的时候 网络自动连接, 用户不使用的时候网络保持断开。
本发明在兼顾一般功能的前提下, 主要解决了节电方式的智能化问题, 本 发明的优点在于:
1、 记录用户的手机软件和网络使用习惯, 并依此创建历史内容数据库;
2、 根据历史内容数据库来预测用户在接下来的特定时间段的行为;
3、 依据预测结果, 智能化的进行节电调度, 达到在不影响用户使用的前 提下智能省电的效果。

Claims

权 利 要 求 书
1、 一种移动设备的电池节能方法, 包括以下步骤:
判断用户是否启动新程序, 当用户启动新程序时, 将用户启动的新程序保 存进入历史数据库;
判断用户是否连接网络, 当用户连接网络时,将用户的联网情况保存进入 历史数据库;
判断电池电量是否触发动态节电调度, 当电池电量触发动态节电调度时, 依据节电调度引擎进行节电调度;
判断屏幕关闭是否触发动态网络调度, 当屏幕关闭触发动态网络调度时, 依据网络调度引擎进行网络调度。
2、 如权利要求 1所述的电池节能方法, 进一步包括以下步骤:
在开始所述电池节能方法之前, 进行所述电池节能方法的初始化。
3、 如权利要求 1所述的电池节能方法, 其中, 将用户的联网情况保存进 入历史数据库的步骤进一步包括以下步骤:
判断历史数据库中是否已经存在用户所连接的网络的记录,当不存在用户 所连接的网络的记录时, 创建该网络的记录。
4、 如权利要求 1所述的电池节能方法, 其中, 将用户启动的新程序保存 进入历史数据库的步骤进一步包括以下步骤:
判断历史数据库中是否已经存在用户启动的新程序的记录,当历史数据库 中不存在用户启动的新程序的记录时, 创建该程序的记录。
5、 如权利要求 1所述的电池节能方法, 其中, 将用户启动的新程序保存 进入历史数据库的步骤进一步包括以下步骤:
在将用户启动的新程序保存进入历史数据库之后 ,转到判断用户是否启动 新程序的步骤。
6、 如权利要求 1所述的电池节能方法, 其中, 依据节电调度引擎进行节 电调度的步骤进一步包括以下步骤:
在依据节电调度引擎进行节电调度之后,转到判断用户是否启动新程序的 步骤。
7、 如权利要求 1所述的电池节能方法, 其中, 依据网络调度引擎进行网 络调度的步骤进一步包括以下步骤:
在依据网络调度弓 I擎进行网络调度之后 ,转到判断用户是否启动新程序的 步骤。
8、 如权利要求 1所述的电池节能方法, 其中, 在将用户的联网情况保存 进入历史数据库的步骤进一步包括以下步骤: 程序的步骤。
9、 如权利要求 1所述的电池节能方法, 其中, 依据节电调度引擎进行节 电调度的步骤进一步包括以下步骤:
计算当前运行的所有程序的耗电总值;
将耗电总值与和当前电池电量百分比相适应的阔值 W ^1比较, 并将当前 运行的所有程序中的后台程序列入调度列表, 其中阔值 W依照当前电池电量 百分比自动调整, 并且与当前电池电量百分比成正比例关系;
获取用户下一个可能运行的程序, 并将其从调度列表中排除;
从调度列表中排除用户定义的白名单中的程序,其中白名单是用户自定义 的一系列程序, 白名单中的程序不受所述节电调度控制;
自动关闭或者提示关闭调度列表中的程序。
10、 如权利要求 9所述的电池节能方法, 其中, 获取用户下一个可能运行 的程序的步骤进一步包括以下步骤: 后台引擎根据历史数据库, 将当前运行的所有程序视为马尔科夫随机序 列, 通过分析该序列中程序的跳转关系, 得到任意两个程序的状态转移矩阵; 基于所述状态转移矩阵,通过马尔科夫过程计算出所有程序为下一个运行 程序的概率值;
根据计算出的概率值来确定用户下一个可能运行的程序。
11、 如权利要求 10所述的电池节能方法, 其中, 根据计算出的概率值来 确定用户下一个可能运行的程序的步骤还包括:
根据时间隶属度来确定用户下一个可能运行的程序,其中时间隶属度表示 所述程序对时间的依赖程度。
12、如权利要求 1所述的电池节能方法, 其中依据网络调度引擎进行网络 调度包括以下步骤:
利用历史数据库, 根据当前时间和所连接的网络来确定当前的网络环境, 其中历史数据库存储有网络环境的记录,所述网络环境的记录与网络以及用户 使用该网络的时间相关联, 并规定了对后台网络进行管理的策略;
根据所述当前的网络环境的策略以及用户联网的频繁程度对用户不使用 移动设备时的后台网络进行管理,从而确保用户使用的时候网络自动连接, 用 户不使用的时候网络保持断开。
13、 如权利要求 12所述的电池节能方法, 其中, 所述网络环境包括办公 环境、 家庭环境、 和其他环境。
14、 一种移动设备的电池节能系统, 包括:
存储模块(602 ), 用于存储历史数据库;
新程序启动判断模块(605 ), 用于判断用户是否启动新程序, 以及当用户 启动新程序时, 将用户启动的新程序保存进入所述存储模块中的历史数据库 中;
网络连接判断模块(606 ), 用于判断用户是否连接网络, 以及当用户连接 网络时, 将用户的联网情况保存进入所述存储模块中的历史数据库中; 电池电量判断模块(608 ), 用于判断电池电量是否触发动态节电调度; 节电调度模块(604 ), 用于当所述电池电量判断模块确定电池电量触发动 态节电调度时, 依据节电调度引擎进行节电调度;
屏幕关闭判断模块(607 ), 用于判断屏幕关闭是否触发动态网络调度; 网络调度模块( 603 ), 用于当所述屏幕关闭判断模块确定屏幕关闭触发动 态网络调度时, 依据网络调度引擎进行网络调度。
15、 如权利要求 14所述的电池节能系统, 其中所述电池节能系统进一步 包括初始化模块(601 ), 用于初始化所述电池节能系统的操作。
16、 如权利要求 14所述的电池节能系统, 其中所述电池节能系统进一步 包括网络判断模块 ( 609 ) , 所述网络判断模块用于判断历史数据库中是否已经 存在用户所连接的网络的记录,当历史数据库中不存在用户所连接的网络的记 录时, 创建该网络的己录。
17、 如权利要求 14所述的电池节能系统, 其中所述节电调度模块(604 ) 包括以下子模块:
耗电总值计算模块(701 ), 用于计算当前运行的所有程序的耗电总值; 程序列入模块(702 ), 用于将耗电总值与和当前电池电量百分比相适应的 阔值 W做比较, 并将当前运行的所有程序中的后台程序列入调度列表, 其中 阔值 W依照当前电池电量百分比自动调整, 并且与当前电池电量百分比成正 比例关系;
排除模块(703 ), 用于获取用户下一个可能运行的程序, 并将其从调度列 用户自定义的一系列程序, 白名单中的程序不受所述节电调度控制;
关闭模块(704 ), 用于自动关闭或者提示关闭调度列表中的程序。
18、 如权利要求 14所述的电池节能系统, 其中所述网络调度模块(603 ) 包括以下子模块:
网络环境确定模块(801 ), 用于利用历史数据库, 根据当前时间和所连接 的网络来确定当前的网络环境, 其中历史数据库存储有所述网络环境的记录, 所述网络环境与网络以及用户使用该网络的时间相关联,并规定了对后台网络 进行管理的策略;
网络管理模块( 802 ) , 用于根据所述当前的网络环境的策略以及用户联网 的频繁程度对用户不使用移动设备时的后台网络进行管理,从而确保用户使用 的时候网络自动连接, 用户不使用的时候网络保持断开。
PCT/CN2012/086160 2011-12-09 2012-12-07 电池节能方法和系统 WO2013083075A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/129,730 US9335815B2 (en) 2011-12-09 2012-12-07 Method and system for battery power saving

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110409204.7A CN103167185B (zh) 2011-12-09 2011-12-09 电池节能方法和系统
CN201110409204.7 2011-12-09

Publications (1)

Publication Number Publication Date
WO2013083075A1 true WO2013083075A1 (zh) 2013-06-13

Family

ID=48573565

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/086160 WO2013083075A1 (zh) 2011-12-09 2012-12-07 电池节能方法和系统

Country Status (3)

Country Link
US (1) US9335815B2 (zh)
CN (1) CN103167185B (zh)
WO (1) WO2013083075A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533676A (zh) * 2013-10-09 2014-01-22 中国联合网络通信集团有限公司 移动终端解锁方法和装置
CN111030853A (zh) * 2019-11-29 2020-04-17 深圳市中电数通智慧安全科技股份有限公司 基于设备全生命周期的信息监控系统
US10917850B2 (en) 2015-05-08 2021-02-09 Huawei Technologies Co., Ltd. Setting information configuration method, terminal, and server

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2823373B1 (en) * 2012-03-08 2019-07-17 Hewlett-Packard Development Company, L.P. Virtualizing battery across a group of personal mobile devices
CN103440031A (zh) * 2013-09-11 2013-12-11 广州市久邦数码科技有限公司 一种移动终端关屏自动优化的省电系统及方法
CN103440032A (zh) * 2013-09-11 2013-12-11 广州市久邦数码科技有限公司 一种调节移动终端cpu频率的省电系统及方法
US20150095835A1 (en) * 2013-09-30 2015-04-02 Kobo Incorporated Providing a user specific reader mode on an electronic personal display
US9619010B1 (en) * 2014-06-17 2017-04-11 Amazon Technologies, Inc. Selective powering off of hardware components for battery management in mobile devices
KR102270239B1 (ko) 2014-08-07 2021-06-28 삼성전자 주식회사 전자장치에서 소프트웨어를 실행하기 위한 방법 및 장치
US9693312B2 (en) * 2014-11-03 2017-06-27 Intel Corporation Communication terminal and method for controlling power consumption of a communication terminal
US10172041B2 (en) 2014-12-04 2019-01-01 At&T Intellectual Property I, L.P. Facilitation of mobile device resource optimization
CN104618994A (zh) * 2014-12-30 2015-05-13 西安乾易企业管理咨询有限公司 一种智能终端省电系统和方法
CN104991192B (zh) * 2015-05-28 2018-02-06 努比亚技术有限公司 电池掉电检测方法、装置及移动终端
CN105306682B (zh) * 2015-09-18 2019-01-11 Oppo广东移动通信有限公司 自动关闭网络连接开关的方法及装置
CN105338186A (zh) * 2015-11-11 2016-02-17 华南理工大学 基于情景感知的Android移动终端电源管理方法
US10452123B2 (en) 2017-03-30 2019-10-22 Google Llc Predictive power saving and screen dimming for computing devices
CN109308112A (zh) * 2017-07-26 2019-02-05 中兴通讯股份有限公司 一种移动终端主动节能的方法及装置
JP7272694B2 (ja) * 2017-10-13 2023-05-12 ホアウェイ・テクノロジーズ・カンパニー・リミテッド 端末の電力消費を低減するための方法、および端末
JP6955092B2 (ja) * 2017-10-13 2021-10-27 ホアウェイ・テクノロジーズ・カンパニー・リミテッド 端末の電力消費を低減するための方法、および端末
JP2021512567A (ja) * 2018-01-26 2021-05-13 オパンガ ネットワークス,インコーポレイテッド データパケットネットワークにおいて、候補フローを識別するためのシステムおよび方法
US20220167187A1 (en) * 2020-11-20 2022-05-26 At&T Intellectual Property I, L.P. Utilization-aware management of device capabilities

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722882A (zh) * 2004-07-16 2006-01-18 明基电通股份有限公司 电池低电量状态变更访问控制级别的移动通信装置与方法
CN101977272A (zh) * 2010-10-26 2011-02-16 浙江大学 一种用于Android操作系统手机的电量保护方法
WO2011064933A1 (ja) * 2009-11-27 2011-06-03 日本電気株式会社 節電通知システム、端末装置、方法及びプログラム
CN102238273A (zh) * 2010-05-07 2011-11-09 宏碁股份有限公司 通讯装置及其省电方法与计算机程序产品

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192641A1 (en) * 2006-02-10 2007-08-16 Intel Corporation Method and apparatus to manage power consumption in a computer
US9172117B2 (en) * 2008-12-04 2015-10-27 Domingo Enterprises, Llc User-controlled application-based power management
CN102005620B (zh) * 2010-10-29 2012-12-26 华为终端有限公司 一种终端及终端电池电量管理方法
US20120210277A1 (en) * 2011-02-11 2012-08-16 International Business Machines Corporation Usage based screen management
US9348399B2 (en) * 2011-05-03 2016-05-24 Google Inc. Heuristics based on backoff for power modes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1722882A (zh) * 2004-07-16 2006-01-18 明基电通股份有限公司 电池低电量状态变更访问控制级别的移动通信装置与方法
WO2011064933A1 (ja) * 2009-11-27 2011-06-03 日本電気株式会社 節電通知システム、端末装置、方法及びプログラム
CN102238273A (zh) * 2010-05-07 2011-11-09 宏碁股份有限公司 通讯装置及其省电方法与计算机程序产品
CN101977272A (zh) * 2010-10-26 2011-02-16 浙江大学 一种用于Android操作系统手机的电量保护方法

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103533676A (zh) * 2013-10-09 2014-01-22 中国联合网络通信集团有限公司 移动终端解锁方法和装置
US10917850B2 (en) 2015-05-08 2021-02-09 Huawei Technologies Co., Ltd. Setting information configuration method, terminal, and server
US11671919B2 (en) 2015-05-08 2023-06-06 Honor Device Co., Ltd. Setting information configuration method, terminal, and server
CN111030853A (zh) * 2019-11-29 2020-04-17 深圳市中电数通智慧安全科技股份有限公司 基于设备全生命周期的信息监控系统
CN111030853B (zh) * 2019-11-29 2022-09-30 深圳市中电数通智慧安全科技股份有限公司 基于设备全生命周期的信息监控系统

Also Published As

Publication number Publication date
CN103167185A (zh) 2013-06-19
CN103167185B (zh) 2015-09-02
US9335815B2 (en) 2016-05-10
US20140195843A1 (en) 2014-07-10

Similar Documents

Publication Publication Date Title
WO2013083075A1 (zh) 电池节能方法和系统
US11662797B2 (en) Techniques for adjusting computing device sleep states
CN110198558B (zh) 待机优化方法、装置、计算机设备和存储介质
US8156363B2 (en) Information processing device and mobile phone including comparison of power consumption information and remaining power
US9696886B2 (en) Systems and methods for communicating task reminders on portable electronic devices
JP4977026B2 (ja) コンテキストベース電力管理のための方法、装置、システム及びプログラム
US7525289B2 (en) System and method for automatically synchronizing and acquiring content for battery-powered devices
US8286013B2 (en) Portable communication device with multi-tiered power save operation
US8407500B2 (en) Anticipatory power management for battery-powered electronic device
CN105554316A (zh) 一种预留智能终端电池电量的实现方法及系统
CN101720120B (zh) 低功耗移动通讯终端及其低功耗实现方法
US20060087981A1 (en) Methods and apparatus for operating a wireless electronic device based on usage pattern
US20080133956A1 (en) Power consumption management for functional preservation in a battery-powered electronic device
CN101344814A (zh) 信息处理装置及便携终端
WO2013155763A1 (zh) 多模终端、多模终端驻留网络的选择方法及装置
CN111163504A (zh) 一种省电处理方法、移动终端及计算机存储介质
US20120001883A1 (en) Method and apparatus for calculating a power consumption segment and displaying a power consumption indicator
WO2022041542A1 (zh) 处理方法、设备及存储介质
CN108038050B (zh) 性能调整方法、装置、存储介质及电子设备
WO2018090838A1 (en) Channel recommendation system and method
CN106020426A (zh) 一种唤醒锁的释放方法和装置
CN110989819B (zh) Doze模式控制方法、装置、移动终端以及存储介质
CN111381662A (zh) 省电控制方法、控制设备及存储介质
WO2013141300A1 (ja) 携帯端末装置の省電力制御装置、携帯端末装置の省電力制御方法、及びコンピュータプログラム
CN114390654A (zh) 5g移动终端的智能控制方法和装置、存储介质、移动终端

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14129730

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12854918

Country of ref document: EP

Kind code of ref document: A1