WO2016110056A1 - 一种终端及终端省电的方法 - Google Patents

一种终端及终端省电的方法 Download PDF

Info

Publication number
WO2016110056A1
WO2016110056A1 PCT/CN2015/081714 CN2015081714W WO2016110056A1 WO 2016110056 A1 WO2016110056 A1 WO 2016110056A1 CN 2015081714 W CN2015081714 W CN 2015081714W WO 2016110056 A1 WO2016110056 A1 WO 2016110056A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
terminal
network
priority
data interaction
Prior art date
Application number
PCT/CN2015/081714
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 WO2016110056A1 publication Critical patent/WO2016110056A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • 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 terminal technologies, and in particular, to a method for power saving of a terminal and a terminal.
  • the radio frequency module is an important factor in the power consumption of the terminal. As more and more wireless data services are required, the terminal needs to wake up the radio frequency module frequently to perform background data interaction with the server, especially In the case of poor network signal, the signal amplifier of the radio frequency module needs to increase its own power, and the power consumption will be larger, which will also reduce the battery life of the terminal battery.
  • the embodiment of the present invention provides a method for saving power of a terminal and a terminal.
  • an embodiment of the present invention provides a method for saving power of a terminal, where the method includes:
  • the terminal sets a network level corresponding to the current network environment according to the preset first dividing rule
  • the terminal sets the priority of the application according to a preset priority policy; wherein the priority of the application and the network level have Matching relationship
  • the terminal controls whether the application performs data interaction with the network side according to the network level, the priority of the application, and the matching relationship, and controls the order in which the application interacts with the network side according to the priority order.
  • the terminal controls whether the application performs data interaction with the network side according to the network level, the priority of the application, and the matching relationship, including:
  • the terminal determines that the priority of the application does not match the network level according to the matching relationship, the terminal controls the application not to perform data interaction with the network side;
  • the terminal determines that the priority of the application matches the network level according to the matching relationship
  • the terminal controls the application to perform data interaction with the network side.
  • the method further includes:
  • the terminal controls the application to not perform data interaction with the network side, the terminal increases the priority of the application.
  • the terminal sets the network level corresponding to the current network environment according to the preset first dividing rule, including:
  • the terminal detects a network type and a signal strength of the current network
  • the terminal acquires power consumption of the radio frequency module of the terminal according to the network type and signal strength of the current network
  • the terminal determines a network level corresponding to the current network environment according to the power consumption of the radio frequency module.
  • an embodiment of the present invention provides a terminal, where the terminal includes: a first setting unit, a second setting unit, and a control unit, where
  • the first setting unit is configured to set a network level corresponding to the current network environment according to the preset first dividing rule
  • the second setting unit is configured to set a priority of the application according to a preset priority policy when the application in the terminal performs data interaction with the network side;
  • the priority of the application has a matching relationship with the network level;
  • the control unit is configured to control whether the application performs data interaction with the network side according to the network level, the priority of the application, and the matching relationship, and controls the application and the network side according to the priority order. The order of interaction.
  • control unit is configured to:
  • the second setting unit is further configured to: when the terminal controls the application to not perform data interaction with the network side, in a preset period, the priority of the application is increased.
  • the first setting unit includes a detecting subunit, an obtaining subunit, and a determining subunit, wherein
  • the detecting subunit is configured to detect a network type and a signal strength of the current network
  • the acquiring subunit is configured to acquire power consumption of the radio frequency module of the terminal according to the network type and signal strength of the current network;
  • the determining subunit is configured to determine a network level corresponding to the current network environment according to the power consumption of the radio frequency module.
  • An embodiment of the present invention provides a method for power saving a terminal and a terminal.
  • determining whether the application performs data interaction with the network side according to the priority of the application, and the wireless RF module of the terminal may be in a poor network environment.
  • the wireless radio module is more awake to perform data interaction in a better network environment, thereby reducing the power consumption of the radio frequency module and saving power.
  • the function is to improve the battery life of the terminal battery and effectively extend the standby time of the terminal.
  • FIG. 1 is a schematic flowchart of a method for saving power of a terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for power saving of a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the application of the terminal needs to wake up the radio frequency module of the terminal to implement data interaction with the network side. Therefore, the embodiment of the present invention prioritizes the terminal application, and each priority corresponds to the corresponding network environment. Therefore, the radio frequency module of the terminal is less awake to perform data interaction in the case of a poor network environment, and the wireless radio module is more awakened to perform data interaction when the network environment is better, thereby achieving The purpose of terminal power saving.
  • a method for saving power of a terminal is shown.
  • the method may be applied to a terminal, which may be a common mobile terminal device such as a smart phone or a tablet computer.
  • the method may include :
  • S101 The terminal sets a network level corresponding to the current network environment according to the preset first dividing rule.
  • step S101 may specifically include S1011 to S1013:
  • the terminal detects a network type and a signal strength of the current network.
  • S1012 The terminal acquires power consumption of the radio frequency module of the terminal according to the network type and signal strength of the current network.
  • the terminal determines a network corresponding to the current network environment according to the power consumption of the radio frequency module. level.
  • the network level is sequentially identified by ten levels of level 1 to level 10, wherein level 1 is the highest level and level 10 is the lowest level.
  • the priority of the application has a matching relationship with the network level
  • the preset priority policy may be a real-time requirement of the application, and the higher the real-time requirement of the application, the higher the priority corresponding to the application, for example, in actual
  • the real-time requirement of the instant messaging application is greater than the real-time requirement of the date management application.
  • the instant messaging application has a higher priority than the date management application.
  • the priority of the application can be divided into five levels, the first level is the highest, and the fifth level is the lowest. It can be understood that the higher the priority of the application, the higher the real-time requirement of the application.
  • the priority of the application has a matching relationship with the network level.
  • the matching relationship may be: the higher the priority of the application, the lower the terminal allows the application to perform data interaction. The lower the network level.
  • the minimum network level that the terminal allows for data interaction can be level 10, that is, even if the network environment is under the worst conditions, the terminal still allows the application to perform with the network side.
  • Data interaction priority is 5 Level application, then the minimum network level that the terminal allows the application to perform data interaction can be level 2, that is, when the network level is level 2 or higher, the terminal will allow the application and the network side. Perform data interaction.
  • S103 The terminal controls, according to the network level, the priority of the application, and the matching relationship, whether the application performs data interaction with the network side, and controls an order in which the application interacts with the network side according to the priority order;
  • step S103 may specifically include:
  • the terminal control application does not perform data interaction with the network side
  • the terminal determines that the priority of the application matches the network level according to the matching relationship
  • the terminal controls the application to perform data interaction with the network side.
  • the terminal can control whether the application interacts with the network side according to the network level corresponding to the current network environment, the priority of the application that performs data interaction with the network side, and the matching relationship in step S102; for example, priority For a level 1 application, when the current network environment corresponds to a network level of 10 or higher, the terminal controls its data interaction with the network side; if the priority is a level 5 application, then the network corresponding to the current network environment When the level is level 2 or higher, the terminal controls the application to perform data interaction with the network side; otherwise, the terminal controls the application to not interact with the network side.
  • the terminal controls the order in which the application interacts with the network side according to the priority order, which may be: in the case of the network level corresponding to the current network environment, the terminal may be controlled from high to low according to the priority order of the application.
  • the application interacts with the network side. For example, in the network level corresponding to the current network environment, the terminal needs to control the application A with the priority level 1, the application B with the priority level 4, and the application with the priority level 2.
  • Program C interacts with the network side. Then, the terminal will control application A, application C, and application B to interact with the network side according to the order of priority from high to low.
  • the terminal power saving method provided in this embodiment may further include: When the terminal control application does not interact with the network side, the terminal raises the priority of the application. Specifically, in this embodiment, when the terminal control application does not perform data interaction with the network side in a preset period, the terminal may raise the priority of the application by one level.
  • the embodiment provides a method for saving power of a terminal.
  • determining whether the application performs data interaction with the network side according to the priority of the application, and the wireless RF module of the terminal may be in a bad network environment. It is less awakened to perform data interaction, and more allows the radio frequency module to work in a better network environment to wake up to perform data interaction, thereby reducing the power consumption of the radio frequency module, thereby saving power and improving
  • the battery life of the terminal battery effectively extends the terminal standby time.
  • an instant messaging application A and a date management application B are installed in the terminal, and the method may include :
  • S301 The terminal detects a network type and a signal strength of the current network.
  • S302 The terminal acquires power consumption of the radio frequency module of the terminal according to the network type and signal strength of the current network.
  • the terminal determines, according to power consumption of the radio frequency module, a network level corresponding to the current network environment.
  • the steps S301 to S303 enable the terminal to complete the setting of the network level corresponding to the current network environment. It can be understood that the better the network environment, the lower the power consumption of the radio frequency module, and the higher the network level; The power consumption of the RF module is large, and the network level is lower.
  • the network level is sequentially identified by ten levels of level 1 to level 10, wherein level 1 is the highest level and level 10 is the lowest level.
  • the priority of the application has a matching relationship with the network level
  • the real-time requirement of the application A is higher than that of the application B. Therefore, the priority of the application A is higher than that of the application B; and the matching relationship between the priority of the application and the network level may be: When the level is 8 or higher, the application A can perform data interaction with the network side; when the network level is 2 or higher, the application B can perform data interaction with the network side.
  • S305 The terminal controls whether the application performs data interaction with the network side according to the network level, the priority of the application, and the matching relationship, and controls the order in which the application interacts with the network side according to the priority order.
  • the terminal control application does not perform data interaction with the network side
  • the terminal determines that the priority of the application matches the network level according to the matching relationship
  • the terminal controls the application to perform data interaction with the network side.
  • the application A and the application B have the same priority as before, and the matching relationship is also as before. Then, if the current network environment corresponds to a network level of 8 or less, the terminal control application A and the application B both Data interaction does not occur with the network side; if the current network environment corresponds to a network level of 3 to 8, the terminal control application A performs data interaction with the network side, and the control application B does not perform data interaction with the network side; When the network level corresponding to the network environment is level 2 or higher, the terminal control application A and the application B both perform data interaction with the network side, and control the network according to the order of priority of the application from high to low. Interaction, the terminal recalls that the application A controls the data interaction with the network side, and then controls the application B to interact with the network side.
  • This embodiment may further include:
  • the terminal may raise the priority of the application by one level. For example, if the priority of the application A is upgraded to level 1, then when the network level is level 9, the terminal can control the data interaction between the application A and the network side according to the matching relationship.
  • the embodiment provides a method for saving power of a terminal.
  • determining whether the application performs data interaction with the network side according to the priority of the application, and the wireless RF module of the terminal may be in a bad network environment. It is less awakened to perform data interaction, and more allows the radio frequency module to work in a better network environment to wake up to perform data interaction, thereby reducing the power consumption of the radio frequency module, thereby saving power and improving
  • the battery life of the terminal battery effectively extends the terminal standby time.
  • the terminal 40 may include: a first setting unit 401, a second setting unit 402, and a control unit 403. ,among them,
  • the first setting unit 401 is configured to set a network level corresponding to the current network environment according to the preset first dividing rule
  • the second setting unit 402 is configured to: when the application in the terminal 40 performs data interaction with the network side, set the priority of the application according to a preset priority policy; wherein the priority of the application has a matching relationship with the network level ;
  • the control unit 403 is configured to control whether the application interacts with the network side according to the network level, the priority of the application, and the matching relationship, and controls the application according to the priority order. The order of interaction with the network side.
  • control unit 403 is configured to:
  • the control application does not perform data interaction with the network side
  • the control application performs data interaction with the network side.
  • the second setting unit 402 is further configured to increase the priority of the application when the terminal 40 controls the application not to perform data interaction with the network side within a preset period.
  • the first setting unit 401 includes a detecting subunit 4011, an obtaining subunit 4012, and a determining subunit 4013, where
  • the obtaining sub-unit 4012 is configured to acquire power consumption of the radio frequency module of the terminal 40 according to the network type and signal strength of the current network;
  • the determining subunit 4013 is configured to determine a network level corresponding to the current network environment according to the power consumption of the radio frequency module.
  • Each of the above units may be implemented by a central processing unit (CPU), a digital signal processor (DSP), or a field-programmable gate array (FPGA) in an electronic device.
  • CPU central processing unit
  • DSP digital signal processor
  • FPGA field-programmable gate array
  • the present embodiment provides a terminal 40, which determines whether the application performs data interaction with the network side according to the current network environment, and enables the radio frequency module of the terminal 40 to be less in a bad network environment.
  • the ground is awakened to perform data interaction, and the wireless radio module is more awakened to perform data interaction when the network environment is better, thereby reducing the power consumption of the radio frequency module, thereby saving power and improving the terminal battery.
  • the battery life effectively extends the terminal standby time.
  • embodiments of the present invention can be provided as a method, system, Or a computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • the embodiment of the invention discloses a method for saving power of a terminal and a terminal, and the method may include: The terminal sets a network level corresponding to the current network environment according to the preset first dividing rule; when the application in the terminal performs data interaction with the network side, the terminal sets the application according to a preset priority policy. a priority; wherein, the priority of the application has a matching relationship with the network level; and the terminal controls whether the application is related to a network according to the network level, a priority of the application, and the matching relationship
  • the side performs data interaction and controls the order in which the application interacts with the network side in order of priority.
  • the method for power saving the terminal and the terminal determines whether the application performs data interaction with the network side according to the current network environment, and the wireless RF module of the terminal is in a bad network environment. In the case of less wake-up to perform data interaction, the wireless radio module is more awake to perform data interaction in a better network environment, thereby reducing the power consumption of the radio frequency module and saving power.
  • the function is to improve the battery life of the terminal battery and effectively extend the standby time of the terminal.

Abstract

本发明实施例公开了一种终端及终端省电的方法,该方法可以包括:终端根据预设的第一划分规则设置当前网络环境对应的网络等级;当所述终端中的应用程序与网络侧进行数据交互时,所述终端按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先级与所述网络等级具有匹配关系;所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。

Description

一种终端及终端省电的方法 技术领域
本发明涉及终端技术,尤其涉及一种终端及终端省电的方法。
背景技术
现今,终端(尤其是智能手机、平板电脑等)的不断普及和终端性能的持续提升,终端的数据业务呈现了爆发式增长,用户总是频繁地使用终端的语音通话、收发电子邮件、发送短信和上网等功能,导致终端的耗电也越来越大。
与此同时,无线射频模块属于终端耗电的一个重要因素,越来越多的无线数据业务,由于要保证实时性,因此终端需要频繁地唤醒无线射频模块来进行后台数据与服务器的交互,尤其是在网络信号差的情况下,无线射频模块的信号放大器要提高自己的功率,耗电量将会更大,从而也会降低终端电池的续航时间。
发明内容
有鉴于此,为解决现有技术存在的技术问题,本发明实施例提供一种终端及终端省电的方法。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供了一种终端省电的方法,所述方法包括:
终端根据预设的第一划分规则设置当前网络环境对应的网络等级;
当所述终端中的应用程序与网络侧进行数据交互时,所述终端按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先级与所述网络等级具有匹配关系;
所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。
较佳地,所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,包括:
当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,所述终端控制所述应用程序不与网络侧进行数据交互;
当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,所述终端控制所述应用程序与网络侧进行数据交互。
较佳地,所述方法还包括:
在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,所述终端将所述应用程序的优先级提升。
较佳地,所述终端根据预设的第一划分规则设置当前网络环境对应的网络等级,包括:
所述终端检测当前网络的网络类型和信号强度;
所述终端根据所述当前网络的网络类型和信号强度获取所述终端的无线射频模块的功耗;
所述终端根据所述无线射频模块的功耗确定当前网络环境对应的网络等级。
第二方面,本发明实施例提供了一种终端,所述终端包括:第一设置单元、第二设置单元和控制单元,其中,
所述第一设置单元,配置为根据预设的第一划分规则设置当前网络环境对应的网络等级;
所述第二设置单元,配置为当所述终端中的应用程序与网络侧进行数据交互时,按照预设的优先级策略设置所述应用程序的优先级;其中,所 述应用程序的优先级与所述网络等级具有匹配关系;
所述控制单元,配置为根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。
较佳地,所述控制单元,配置为:
当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,控制所述应用程序不与网络侧进行数据交互;
以及,当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,控制所述应用程序与网络侧进行数据交互。
较佳地,所述第二设置单元,还配置为在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,将所述应用程序的优先级提升。
较佳地,所述第一设置单元,包括检测子单元、获取子单元和确定子单元,其中,
所述检测子单元,配置为检测当前网络的网络类型和信号强度;
所述获取子单元,配置为根据所述当前网络的网络类型和信号强度获取所述终端的无线射频模块的功耗;
所述确定子单元,配置为根据所述无线射频模块的功耗确定当前网络环境对应的网络等级。
本发明实施例提供了一种终端及终端省电的方法,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。
附图说明
图1为本发明实施例提供的一种终端省电的方法流程示意图;
图2为本发明实施例提供的一种终端设置网络等级的流程示意图;
图3为本发明实施例提供的一种终端省电的方法详细流程示意图;
图4为本发明实施例提供的一种终端的结构示意图;
图5为本发明实施例提供的另一种终端的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
由于终端的应用程序需要唤醒终端的无线射频模块来实现与网络侧的数据交互,因此,本发明实施例对终端应用程序进行优先级分级,每个优先级都与相应的网络环境情况进行对应,从而使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,以此来实现终端省电的目的。
参见图1,其示出了本发明实施例提供的一种终端省电的方法流程,该方法可以应用于一终端,具体可以是智能手机、平板电脑等常见的移动终端设备,该方法可以包括:
S101:终端根据预设的第一划分规则设置当前网络环境对应的网络等级;
示例性地,参见图2,步骤S101具体可以包括S1011至S1013:
S1011:终端检测当前网络的网络类型和信号强度;
S1012:终端根据当前网络的网络类型和信号强度获取终端的无线射频模块的功耗;
S1013:终端根据无线射频模块的功耗确定当前网络环境对应的网络等 级。
可以理解地,网络环境越好,无线射频模块的功耗越低,网络等级越高;反之则无线射频模块的功耗较大,网络等级越低。在本实施例中,以1级至10级这十个等级依次来标识网络等级,其中,1级为最高级,10级为最低级。
S102:当终端中的应用程序与网络侧进行数据交互时,终端按照预设的优先级策略设置应用程序的优先级;
其中,应用程序的优先级与网络等级具有匹配关系;
可选地,在本实施例中,预设的优先级策略可以为应用程序的实时性要求,应用程序的实时性要求越高,该应用程序对应的优先级也就越高,例如,在实际应用中,即时通信应用程序的实时性要求就要大于日期管理应用程序的实时性要求,相应地,即时通信应用程序的优先级高于日期管理应用程序的优先级。在本实施例中,应用程序的优先级可以划分为5级,1级为最高,5级为最低,可以理解地,应用程序的优先级越高,应用程序的实时性要求也就越高。
需要说明的是,由于应用程序的优先级越低,因此,应用程序的实时性要求就越低,此时,当网络环境不理想的情况下,低优先级的应用程序频繁地唤醒终端的无线射频模块来进行与网络侧的数据交互,额外地增加了无线射频模块的功耗,因此,基于“在网络环境较为良好的情况下对实时性要求不高的应用程序进行数据交互”的思想,在本实施例中,应用程序的优先级与网络等级具有匹配关系,在本实施例中,该匹配关系具体可以为:应用程序的优先级越高,那么终端允许该应用程序进行数据交互的最低网络等级就越低。例如,优先级为1级的应用程序,终端允许其进行数据交互的最低网络等级可以是10级,也就是说,即使网络环境在最恶劣的条件下,终端仍旧允许该应用程序与网络侧进行数据交互;优先级为5 级的应用程序,那么终端允许该应用程序进行数据交互的最低网络等级可以是2级,也就是说,当网络等级为2级或2级以上的时候,终端才会允许该应用程序与网络侧进行数据交互。
S103:终端根据网络等级、应用程序的优先级及匹配关系控制应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序;
示例性地,步骤S103具体可以包括:
当终端根据匹配关系确定应用程序的优先级与网络等级不匹配时,终端控制应用程序不与网络侧进行数据交互;
当终端根据匹配关系确定应用程序的优先级与网络等级匹配时,终端控制应用程序与网络侧进行数据交互。
可以理解地,终端可以根据当前网络环境对应的网络等级、与网络侧进行数据交互的应用程序的优先级以及步骤S102中的匹配关系来控制应用程序是否与网络侧进行数据交互;例如:优先级为1级的应用程序,当前网络环境对应的网络等级为10级或10级以上时,终端控制其与网络侧进行数据交互;优先级为5级的应用程序,那么,当前网络环境对应的网络等级为2级或2级以上的时候,终端控制该应用程序与网络侧进行数据交互,否则,终端控制该应用程序不与网络侧进行交互。
还可以理解地,终端按照优先级顺序控制应用程序与网络侧进行交互的顺序,具体可以为:在当前网络环境对应的网络等级情况下,终端可以按照应用程序的优先级顺序由高到低地控制应用程序与网络侧进行数据交互,例如,当前网络环境对应的网络等级下,终端需要控制优先级为1级的应用程序A、优先级为4级的应用程序B以及优先级为2级的应用程序C与网络侧进行数据交互,那么,终端将会按照优先级由高到低的顺序,控制应用程序A、应用程序C和应用程序B与网络侧进行数据交互。
需要说明的是,为了避免若网络环境持续不好,从而导致一些应用程序无法与网络侧进行数据交互的情况发生,本实施例所提供的终端省电方法还可以包括:在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端将应用程序的优先级提升。具体在本实施例中,在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端可以将应用程序的优先级提升一级。
本实施例提供了一种终端省电的方法,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。
参见图3,其示出了本发明实施例提供的一种终端省电的方法详细流程,在本实施例中,终端中安装有即时通讯应用程序A及日期管理应用程序B,该方法可以包括:
S301:终端检测当前网络的网络类型和信号强度;
S302:终端根据当前网络的网络类型和信号强度获取终端的无线射频模块的功耗;
S303:终端根据无线射频模块的功耗确定当前网络环境对应的网络等级;
需要说明的是,步骤S301至S303使得终端完成了对当前网络环境对应的网络等级的设置,可以理解地,网络环境越好,无线射频模块的功耗越低,网络等级越高;反之则无线射频模块的功耗较大,网络等级越低。在本实施例中,以1级至10级这十个等级依次来标识网络等级,其中,1级为最高级,10级为最低级。
S304:当终端中的应用程序与网络侧进行数据交互时,终端按照预设的优先级策略设置应用程序的优先级;
其中,应用程序的优先级与网络等级具有匹配关系;
在本实施例中,应用程序A的实时性要求要高于应用程序B,因此,应用程序A的优先级高于应用程序B;而应用程序的优先级与网络等级的匹配关系可以是:网络等级为8级或8级以上的时候,应用程序A能够与网络侧进行数据交互;网络等级为2级或2级以上的时候,应用程序B能够与网络侧进行数据交互。
S305:终端根据网络等级、应用程序的优先级及匹配关系控制应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。
具体地,当终端根据匹配关系确定应用程序的优先级与网络等级不匹配时,终端控制应用程序不与网络侧进行数据交互;
当终端根据匹配关系确定应用程序的优先级与网络等级匹配时,终端控制应用程序与网络侧进行数据交互。
可以理解地,应用程序A和应用程序B的优先级如前,匹配关系也如前,那么,若当前网络环境对应的网络等级为8级以下的时候,终端控制应用程序A与应用程序B均不与网络侧进行数据交互;若当前网络环境对应的网络等级为3至8级的时候,终端控制应用程序A与网络侧进行数据交互,控制应用程序B不与网络侧进行数据交互;若当前网络环境对应的网络等级为2级或2级以上的时候,终端控制应用程序A与应用程序B均与网络侧进行数据交互,并按照应用程序的优先级由高到低的顺序控制与网络进行交互,终端回想控制应用程序A与网络侧进行数据交互,然后再控制应用程序B与网络侧进行交互。
还需要说明的是,如果网络环境持续处于不良的情况下,例如,网络 等级持续为9级的情况下,那么,在预设的周期内,终端控制应用程序A和应用程序B均不与网络侧进行数据交互,但是为了避免由于网络环境持续不好所导致的应用程序一直无法与网络侧进行数据交互的情况发生,本实施例还可以包括:
S306:终端将应用程序的优先级提升;
具体地,在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端可以将应用程序的优先级提升一级。例如,应用程序A的优先级提升为1级,那么当网络等级为9级的时候,终端按照匹配关系就能够控制应用程序A与网络侧进行数据交互。
本实施例提供了一种终端省电的方法,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的一种终端40的结构,终端40可以包括:第一设置单元401、第二设置单元402和控制单元403,其中,
第一设置单元401,配置为根据预设的第一划分规则设置当前网络环境对应的网络等级;
第二设置单元402,配置为当终端40中的应用程序与网络侧进行数据交互时,按照预设的优先级策略设置应用程序的优先级;其中,应用程序的优先级与网络等级具有匹配关系;
控制单元403,配置为根据网络等级、应用程序的优先级及匹配关系控制应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序 与网络侧进行交互的顺序。
示例性地,控制单元403,配置为:
当终端40根据匹配关系确定应用程序的优先级与网络等级不匹配时,控制应用程序不与网络侧进行数据交互;
以及,当终端40根据匹配关系确定应用程序的优先级与网络等级匹配时,控制应用程序与网络侧进行数据交互。
示例性地,第二设置单元402,还配置为在预设的周期内,当终端40控制应用程序不与网络侧进行数据交互时,将应用程序的优先级提升。
示例性地,参见图5,第一设置单元401,包括检测子单元4011、获取子单元4012和确定子单元4013,其中,
检测子单元4011,配置为检测当前网络的网络类型和信号强度;
获取子单元4012,配置为根据当前网络的网络类型和信号强度获取终端40的无线射频模块的功耗;
确定子单元4013,配置为根据无线射频模块的功耗确定当前网络环境对应的网络等级。
上述各单元可以由电子设备中的中央处理器(Central Processing Unit,CPU)、数字信号处理器(Digital Signal Processor,DSP)或可编程逻辑阵列(Field-Programmable Gate Array,FPGA)实现。
本实施例提供了一种终端40,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端40的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、 或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例公开了一种终端及终端省电的方法,该方法可以包括: 终端根据预设的第一划分规则设置当前网络环境对应的网络等级;当所述终端中的应用程序与网络侧进行数据交互时,所述终端按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先级与所述网络等级具有匹配关系;所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。本发明实施例提供的一种终端及终端省电的方法,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。

Claims (9)

  1. 一种终端省电的方法,所述方法包括:
    终端根据预设的第一划分规则设置当前网络环境对应的网络等级;
    当所述终端中的应用程序与网络侧进行数据交互时,所述终端按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先级与所述网络等级具有匹配关系;
    所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。
  2. 根据权利要求1所述的方法,其中,所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,包括:
    当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,所述终端控制所述应用程序不与网络侧进行数据交互;
    当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,所述终端控制所述应用程序与网络侧进行数据交互。
  3. 根据权利要求1所述的方法,其中,所述方法还包括:
    在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,所述终端将所述应用程序的优先级提升。
  4. 根据权利要求1所述的方法,其中,所述终端根据预设的第一划分规则设置当前网络环境对应的网络等级,包括:
    所述终端检测当前网络的网络类型和信号强度;
    所述终端根据所述当前网络的网络类型和信号强度获取所述终端的无线射频模块的功耗;
    所述终端根据所述无线射频模块的功耗确定当前网络环境对应的网络等级。
  5. 一种终端,所述终端包括:第一设置单元、第二设置单元和控制单元,其中,
    所述第一设置单元,配置为根据预设的第一划分规则设置当前网络环境对应的网络等级;
    所述第二设置单元,配置为当所述终端中的应用程序与网络侧进行数据交互时,按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先级与所述网络等级具有匹配关系;
    所述控制单元,配置为根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。
  6. 根据权利要求5所述的终端,其中,所述控制单元,配置为当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,控制所述应用程序不与网络侧进行数据交互;
    以及,当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,控制所述应用程序与网络侧进行数据交互。
  7. 根据权利要求5所述的终端,其中,所述第二设置单元,还配置为在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,将所述应用程序的优先级提升。
  8. 根据权利要求5所述的终端,其中,所述第一设置单元,包括检测子单元、获取子单元和确定子单元,其中,
    所述检测子单元,配置为检测当前网络的网络类型和信号强度;
    所述获取子单元,配置为根据所述当前网络的网络类型和信号强度获取所述终端的无线射频模块的功耗;
    所述确定子单元,配置为根据所述无线射频模块的功耗确定当前网络环境对应的网络等级。
  9. 一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令,所述计算机可执行指令用于执行所述权利要求1至4任一项所述的方法。
PCT/CN2015/081714 2015-01-08 2015-06-17 一种终端及终端省电的方法 WO2016110056A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510012660.6 2015-01-08
CN201510012660.6A CN105828421A (zh) 2015-01-08 2015-01-08 一种终端及终端省电的方法

Publications (1)

Publication Number Publication Date
WO2016110056A1 true WO2016110056A1 (zh) 2016-07-14

Family

ID=56355448

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/075707 WO2016110011A1 (zh) 2015-01-08 2015-04-01 一种终端及终端省电的方法、存储介质
PCT/CN2015/081714 WO2016110056A1 (zh) 2015-01-08 2015-06-17 一种终端及终端省电的方法

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075707 WO2016110011A1 (zh) 2015-01-08 2015-04-01 一种终端及终端省电的方法、存储介质

Country Status (2)

Country Link
CN (1) CN105828421A (zh)
WO (2) WO2016110011A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347164A (zh) * 2018-10-31 2019-02-15 深圳拓邦股份有限公司 一种电池包唤醒方法、装置、电动设备及园林设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612282B (zh) * 2016-12-26 2020-06-26 努比亚技术有限公司 网络访问限制装置及方法
CN107612705B (zh) * 2017-07-29 2021-04-30 深圳市盛路物联通讯技术有限公司 一种批量管理物联网终端设备省电的方法、及中继设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693126A (zh) * 2011-01-10 2012-09-26 三星电子株式会社 用于自适应地操作应用程序的设备和方法
CN102932863A (zh) * 2012-10-17 2013-02-13 南京云恒瑞通网络科技有限责任公司 一种基于qos的终端设备选择连网方式的方法
CN103326959A (zh) * 2012-09-14 2013-09-25 深圳市中兴移动通信有限公司 一种多网络制式的切换应用方法、系统及云存储系统
US20140068314A1 (en) * 2012-08-31 2014-03-06 Pantech Co., Ltd. Portable electronic device and method for managing battery power consumption

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123393A1 (en) * 2002-01-03 2003-07-03 Feuerstraeter Mark T. Method and apparatus for priority based flow control in an ethernet architecture
KR20080074869A (ko) * 2005-11-01 2008-08-13 로타니, 인크 무선 통신의 클라이언트 제어를 위한 방법 및 장치
CN101889264B (zh) * 2007-11-02 2014-05-14 高通股份有限公司 可配置系统事件和资源仲裁管理的设备和方法
CN101198131A (zh) * 2008-01-09 2008-06-11 中兴通讯股份有限公司 一种移动终端的节电控制方法及系统
US8843774B2 (en) * 2010-08-20 2014-09-23 Qualcomm Incorporated Method and apparatus for managing battery power in response to an indication of an application being scheduled for immediate execution
EP2627128B1 (en) * 2012-02-10 2021-04-14 Samsung Electronics Co., Ltd. Method for reducing the rate for higher priority PLMN scanning for a User Equipment
US9516591B2 (en) * 2012-05-18 2016-12-06 Mediatek, Inc. Enhanced UE data transmission for power consumption optimization
CN103440138B (zh) * 2013-09-06 2018-05-22 杭州网易云音乐科技有限公司 一种行为引导方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693126A (zh) * 2011-01-10 2012-09-26 三星电子株式会社 用于自适应地操作应用程序的设备和方法
US20140068314A1 (en) * 2012-08-31 2014-03-06 Pantech Co., Ltd. Portable electronic device and method for managing battery power consumption
CN103326959A (zh) * 2012-09-14 2013-09-25 深圳市中兴移动通信有限公司 一种多网络制式的切换应用方法、系统及云存储系统
CN102932863A (zh) * 2012-10-17 2013-02-13 南京云恒瑞通网络科技有限责任公司 一种基于qos的终端设备选择连网方式的方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347164A (zh) * 2018-10-31 2019-02-15 深圳拓邦股份有限公司 一种电池包唤醒方法、装置、电动设备及园林设备

Also Published As

Publication number Publication date
WO2016110011A1 (zh) 2016-07-14
CN105828421A (zh) 2016-08-03

Similar Documents

Publication Publication Date Title
EP2733995B1 (en) Control method and device for awaking intelligent terminal
US9939869B2 (en) Methods and systems for coordination of operating states amongst multiple SOCs within a computing device
WO2020224658A1 (zh) 待机优化方法、装置、计算机设备和存储介质
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
CN112703714B (zh) 应用程序处理方法和装置、计算机设备、计算机可读存储介质
US9929868B2 (en) Wireless wake-up device for cellular module
WO2017101362A1 (zh) 一种智能终端的功耗管控方法及系统
CN107045383B (zh) 通过监视移动应用的活动来延长电池寿命的系统和方法
US20140245041A1 (en) Apparatus for hibernation control in a device
WO2016110056A1 (zh) 一种终端及终端省电的方法
US10338936B2 (en) Method for controlling schedule of executing application in terminal device and terminal device implementing the method
CN104346563B (zh) 一种信息处理的方法及电子设备
WO2015172283A1 (zh) 一种降低功耗的方法、装置及移动终端
US8984078B2 (en) Systems and methods for device-to-cloud message delivery
CN109992425B (zh) 信息处理方法、装置、计算机设备和计算机可读存储介质
US8417222B1 (en) Systems and methods for delivering messages based on a device radio status
CN110928586B (zh) App后台保活方法及装置
CN109992369B (zh) 应用程序处理方法和装置、电子设备、计算机可读存储介质
EP2867790B1 (en) Systems and methods for automatic modification of device configuration values
CN104572240B (zh) 控制方法和电子设备
EP2566259B1 (en) Method and apparatus for configuring ping interval in a portable terminal
WO2020133286A1 (zh) 充电提醒方法、装置、终端设备及计算机可读取存储介质
US9198193B1 (en) Systems and methods for controlling network connection overhead associated with mobile device communications
WO2017071545A1 (zh) 对齐唤醒的方法、终端和计算机存储介质
US20140245044A1 (en) Method for hibernation control based on usage pattern

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

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

Country of ref document: EP

Kind code of ref document: A1