WO2016110011A1 - Terminal, power saving method thereof, storage medium - Google Patents

Terminal, power saving method thereof, storage medium Download PDF

Info

Publication number
WO2016110011A1
WO2016110011A1 PCT/CN2015/075707 CN2015075707W WO2016110011A1 WO 2016110011 A1 WO2016110011 A1 WO 2016110011A1 CN 2015075707 W CN2015075707 W CN 2015075707W WO 2016110011 A1 WO2016110011 A1 WO 2016110011A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
application
network
priority
data interaction
Prior art date
Application number
PCT/CN2015/075707
Other languages
French (fr)
Chinese (zh)
Inventor
赵阳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016110011A1 publication Critical patent/WO2016110011A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • 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

Landscapes

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

Abstract

Disclosed in an embodiment of the present invention are a terminal, power saving method thereof, and storage medium. The method comprises: according to a preset first division rule, the terminal sets a network level corresponding to current network environment; when an application program of the terminal conducts data interaction with a network side, the terminal sets a priority of the application program according to a preset priority policy; the priority of the application program and the network level have a matching relationship; the terminal controls the application program to conduct data interaction with the network side or not according to the network level, the priority of the application program, and the matching relationship, and controls an interaction order between the application program and the network side according to the order of the priority.

Description

一种终端及终端省电的方法、存储介质Terminal and terminal power saving method and storage medium 技术领域Technical field
本发明涉及终端技术,尤其涉及一种终端及终端省电的方法、存储介质。The present invention relates to terminal technologies, and in particular, to a terminal and a terminal power saving method and a storage medium.
背景技术Background technique
现今,终端(尤其是智能手机、平板电脑等)的不断普及和终端性能的持续提升,终端的数据业务呈现了爆发式增长,用户总是频繁地使用终端的语音通话、收发电子邮件、发送短信和上网等功能,导致终端的耗电也越来越大。Nowadays, the continuous popularization of terminals (especially smart phones, tablets, etc.) and the continuous improvement of terminal performance, the terminal's data services have experienced explosive growth, and users always use the terminal's voice calls, send and receive emails, and send text messages frequently. And the Internet and other functions, resulting in the terminal's power consumption is also growing.
与此同时,无线射频模块属于终端耗电的一个重要因素,越来越多的无线数据业务,由于要保证实时性,因此终端需要频繁地唤醒无线射频模块来进行后台数据与服务器的交互,尤其是在网络信号差的情况下,无线射频模块的信号放大器要提高自己的功率,耗电量将会更大,从而也会降低终端电池的续航时间。At the same time, 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.
发明内容Summary of the invention
为解决上述技术问题,本发明实施例期望提供一种终端及终端省电的方法、存储介质。In order to solve the above technical problem, an embodiment of the present invention is to provide a method and a storage medium for power saving of a terminal and a terminal.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
第一方面,本发明实施例提供了一种终端省电的方法,所述方法包括:In a first aspect, 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;
当所述终端中的应用程序与网络侧进行数据交互时,所述终端按照预设的优先级策略设置所述应用程序的优先级;其中,所述应用程序的优先 级与所述网络等级具有匹配关系;When the application in the terminal performs data interaction with the network side, the terminal sets the priority of the application according to a preset priority policy; wherein the application priority The level has a matching relationship with the network level;
所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。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.
第二方面,本发明实施例提供了一种终端,所述终端包括:第一设置单元、第二设置单元和控制单元,其中,In a second aspect, 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: when the application in the terminal performs data interaction with the network side, set a priority of the application according to a preset priority policy; wherein, the priority of the application Matching 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.
第三方面,本发明实施例提供了一种计算机存储介质,其中存储有计算机程序,所述计算机程序用于执行上述的终端省电的方法。In a third aspect, an embodiment of the present invention provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute the foregoing method for power saving of a terminal.
本发明实施例提供了一种终端及终端省电的方法、存储介质,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。An embodiment of the present invention provides a method for saving power of a terminal and a terminal, and a storage medium. According to the current network environment, determining whether the application performs data interaction with the network side according to the priority of the application, and enabling the radio frequency module of the terminal to be In the case of a poor network environment, the data interaction is less awakened, 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. When it comes to power saving, it improves the battery life of the terminal battery and effectively extends the standby time of the terminal.
附图说明DRAWINGS
图1为本发明实施例提供的一种终端省电的方法流程示意图;1 is a schematic flowchart of a method for saving power of a terminal according to an embodiment of the present invention;
图2为本发明实施例提供的一种终端设置网络等级的流程示意图; 2 is a schematic flowchart of setting a network level of a terminal according to an embodiment of the present invention;
图3为本发明实施例提供的一种终端省电的方法详细流程示意图;FIG. 3 is a schematic flowchart of a method for power saving of a terminal according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图5为本发明实施例提供的另一种终端的结构示意图。FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
由于终端的应用程序需要唤醒终端的无线射频模块来实现与网络侧的数据交互,因此,本发明实施例对终端应用程序进行优先级分级,每个优先级都与相应的网络环境情况进行对应,从而使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,以此来实现终端省电的目的。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.
参见图1,其示出了本发明实施例提供的一种终端省电的方法流程,该方法可以应用于一终端,具体可以是智能手机、平板电脑等常见的移动终端设备,该方法可以包括:Referring to FIG. 1 , a method for saving power of a terminal according to an embodiment of the present invention 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:终端根据预设的第一划分规则设置当前网络环境对应的网络等级;示例性地,参见图2,步骤S101具体可以包括S1011至S1013:S101: The terminal sets the network level corresponding to the current network environment according to the preset first dividing rule. For example, referring to FIG. 2, step S101 may specifically include S1011 to S1013:
S1011:终端检测当前网络的网络类型和信号强度;S1011: The terminal detects a network type and a signal strength of the current network.
S1012:终端根据当前网络的网络类型和信号强度获取终端的无线射频模块的功耗;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.
S1013:终端根据无线射频模块的功耗确定当前网络环境对应的网络等级。S1013: The terminal determines a network level corresponding to the current network environment according to the power consumption of the radio frequency module.
可以理解地,网络环境越好,无线射频模块的功耗越低,网络等级越高;反之则无线射频模块的功耗较大,网络等级越低。在本实施例中,以1级至10级这十个等级依次来标识网络等级,其中,1级为最高级,10级为 最低级。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; otherwise, the power consumption of the radio frequency module is larger, and the network level is lower. In this embodiment, the network level is identified in order of ten levels from 1 to 10, wherein the level 1 is the highest level and the level 10 is The lowest level.
S102:当终端中的应用程序与网络侧进行数据交互时,终端按照预设的优先级策略设置应用程序的优先级;S102: When the application in the terminal performs data interaction with the network side, the terminal sets the priority of the application according to the preset priority policy.
其中,应用程序的优先级与网络等级具有匹配关系;Wherein, the priority of the application has a matching relationship with the network level;
可选地,在本实施例中,预设的优先级策略可以为应用程序的实时性要求,应用程序的实时性要求越高,该应用程序对应的优先级也就越高,例如,在实际应用中,即时通信应用程序的实时性要求就要大于日期管理应用程序的实时性要求,相应地,即时通信应用程序的优先级高于日期管理应用程序的优先级。在本实施例中,应用程序的优先级可以划分为5级,1级为最高,5级为最低,可以理解地,应用程序的优先级越高,应用程序的实时性要求也就越高。Optionally, in this embodiment, 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 In an application, the real-time requirement of the instant messaging application is greater than the real-time requirement of the date management application. Accordingly, the instant messaging application has a higher priority than the date management application. In this embodiment, 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.
需要说明的是,由于应用程序的优先级越低,因此,应用程序的实时性要求就越低,此时,当网络环境不理想的情况下,低优先级的应用程序频繁地唤醒终端的无线射频模块来进行与网络侧的数据交互,额外地增加了无线射频模块的功耗,因此,基于“在网络环境较为良好的情况下对实时性要求不高的应用程序进行数据交互”的思想,在本实施例中,应用程序的优先级与网络等级具有匹配关系,在本实施例中,该匹配关系具体可以为:应用程序的优先级越高,那么终端允许该应用程序进行数据交互的最低网络等级就越低。例如,优先级为1级的应用程序,终端允许其进行数据交互的最低网络等级可以是10级,也就是说,即使网络环境在最恶劣的条件下,终端仍旧允许该应用程序与网络侧进行数据交互;优先级为5级的应用程序,那么终端允许该应用程序进行数据交互的最低网络等级可以是2级,也就是说,当网络等级为2级或2级以上的时候,终端才会允许该应用程序与网络侧进行数据交互。It should be noted that due to the lower priority of the application, the real-time requirement of the application is lower. At this time, when the network environment is not ideal, the low-priority application frequently wakes up the wireless of the terminal. The RF module interacts with the data on the network side to additionally increase the power consumption of the radio frequency module. Therefore, based on the idea of “data interaction between applications with low real-time requirements when the network environment is relatively good,” In this embodiment, the priority of the application has a matching relationship with the network level. In this embodiment, 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. For example, for an application with priority level 1, 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; an application with a priority of 5, then the minimum network level at which 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 Allows the application to interact with the network side for data.
S103:终端根据网络等级、应用程序的优先级及匹配关系控制应用程 序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序;示例性地,步骤S103具体可以包括:S103: The terminal controls the application according to the network level, the priority of the application, and the matching relationship. Whether the sequence performs data interaction with the network side, and controls the order in which the application interacts with the network side according to the priority order; for example, step S103 may specifically include:
当终端根据匹配关系确定应用程序的优先级与网络等级不匹配时,终端控制应用程序不与网络侧进行数据交互;When the terminal determines that the priority of the application does not match the network level according to the matching relationship, the terminal control application does not perform data interaction with the network side;
当终端根据匹配关系确定应用程序的优先级与网络等级匹配时,终端控制应用程序与网络侧进行数据交互。When 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.
可以理解地,终端可以根据当前网络环境对应的网络等级、与网络侧进行数据交互的应用程序的优先级以及步骤S102中的匹配关系来控制应用程序是否与网络侧进行数据交互;例如:优先级为1级的应用程序,当前网络环境对应的网络等级为10级或10级以上时,终端控制其与网络侧进行数据交互;优先级为5级的应用程序,那么,当前网络环境对应的网络等级为2级或2级以上的时候,终端控制该应用程序与网络侧进行数据交互,否则,终端控制该应用程序不与网络侧进行交互。It can be understood that 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.
还可以理解地,终端按照优先级顺序控制应用程序与网络侧进行交互的顺序,具体可以为:在当前网络环境对应的网络等级情况下,终端可以按照应用程序的优先级顺序由高到低地控制应用程序与网络侧进行数据交互,例如,当前网络环境对应的网络等级下,终端需要控制优先级为1级的应用程序A、优先级为4级的应用程序B以及优先级为2级的应用程序C与网络侧进行数据交互,那么,终端将会按照优先级由高到低的顺序,控制应用程序A、应用程序C和应用程序B与网络侧进行数据交互。It is also understood that 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.
需要说明的是,为了避免若网络环境持续不好,从而导致一些应用程序无法与网络侧进行数据交互的情况发生,本实施例所提供的终端省电方法还可以包括:在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端将应用程序的优先级提升。具体在本实施例中,在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端可以将应 用程序的优先级提升一级。It should be noted that, in order to avoid the situation that the network environment continues to be poor, and the data cannot be exchanged with the network side, 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 respond Increase the level of priority with the program.
本实施例提供了一种终端省电的方法,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。The embodiment provides a method for saving power of a terminal. According to the current network environment, 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.
参见图3,其示出了本发明实施例提供的一种终端省电的方法详细流程,在本实施例中,终端中安装有即时通讯应用程序A及日期管理应用程序B,该方法可以包括:Referring to FIG. 3, a detailed flow of a method for power saving of a terminal according to an embodiment of the present invention is shown. In this embodiment, an instant messaging application A and a date management application B are installed in the terminal, and the method may include :
S301:终端检测当前网络的网络类型和信号强度;S301: The terminal detects a network type and a signal strength of the current network.
S302:终端根据当前网络的网络类型和信号强度获取终端的无线射频模块的功耗;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.
S303:终端根据无线射频模块的功耗确定当前网络环境对应的网络等级;S303: The terminal determines, according to power consumption of the radio frequency module, a network level corresponding to the current network environment.
需要说明的是,步骤S301至S303使得终端完成了对当前网络环境对应的网络等级的设置,可以理解地,网络环境越好,无线射频模块的功耗越低,网络等级越高;反之则无线射频模块的功耗较大,网络等级越低。在本实施例中,以1级至10级这十个等级依次来标识网络等级,其中,1级为最高级,10级为最低级。It should be noted that 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. In this embodiment, 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.
S304:当终端中的应用程序与网络侧进行数据交互时,终端按照预设的优先级策略设置应用程序的优先级;S304: When the application in the terminal performs data interaction with the network side, the terminal sets the priority of the application according to the preset priority policy.
其中,应用程序的优先级与网络等级具有匹配关系;Wherein, the priority of the application has a matching relationship with the network level;
在本实施例中,应用程序A的实时性要求要高于应用程序B,因此,应用程序A的优先级高于应用程序B;而应用程序的优先级与网络等级的 匹配关系可以是:网络等级为8级或8级以上的时候,应用程序A能够与网络侧进行数据交互;网络等级为2级或2级以上的时候,应用程序B能够与网络侧进行数据交互。In this embodiment, the real-time requirement of the application A is higher than the application B, therefore, the priority of the application A is higher than that of the application B; and the priority of the application and the network level The matching relationship may be: when the network 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:终端根据网络等级、应用程序的优先级及匹配关系控制应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。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.
具体地,当终端根据匹配关系确定应用程序的优先级与网络等级不匹配时,终端控制应用程序不与网络侧进行数据交互;Specifically, when the terminal determines, according to the matching relationship, that the priority of the application does not match the network level, the terminal control application does not perform data interaction with the network side;
当终端根据匹配关系确定应用程序的优先级与网络等级匹配时,终端控制应用程序与网络侧进行数据交互。When 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.
可以理解地,应用程序A和应用程序B的优先级如前,匹配关系也如前,那么,若当前网络环境对应的网络等级为8级以下的时候,终端控制应用程序A与应用程序B均不与网络侧进行数据交互;若当前网络环境对应的网络等级为3至8级的时候,终端控制应用程序A与网络侧进行数据交互,控制应用程序B不与网络侧进行数据交互;若当前网络环境对应的网络等级为2级或2级以上的时候,终端控制应用程序A与应用程序B均与网络侧进行数据交互,并按照应用程序的优先级由高到低的顺序控制与网络进行交互,终端回想控制应用程序A与网络侧进行数据交互,然后再控制应用程序B与网络侧进行交互。It can be understood that 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.
还需要说明的是,如果网络环境持续处于不良的情况下,例如,网络等级持续为9级的情况下,那么,在预设的周期内,终端控制应用程序A和应用程序B均不与网络侧进行数据交互,但是为了避免由于网络环境持续不好所导致的应用程序一直无法与网络侧进行数据交互的情况发生,本实施例还可以包括:It should also be noted that if the network environment continues to be in a bad situation, for example, if the network level continues to be 9 levels, then in a preset period, the terminal control application A and application B are not connected to the network. The data is exchanged on the side, but in order to prevent the application from being incapable of interacting with the network side due to the continuous poor network environment, the embodiment may further include:
S306:终端将应用程序的优先级提升; S306: The terminal increases the priority of the application;
具体地,在预设的周期内,当终端控制应用程序不与网络侧进行数据交互时,终端可以将应用程序的优先级提升一级。例如,应用程序A的优先级提升为1级,那么当网络等级为9级的时候,终端按照匹配关系就能够控制应用程序A与网络侧进行数据交互。Specifically, in a preset period, when the terminal control application does not perform data interaction with the network side, 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. According to the current network environment, 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.
基于前述实施例相同的技术构思,参见图4,其示出了本发明实施例提供的一种终端40的结构,终端40可以包括:第一设置单元401、第二设置单元402和控制单元403,其中,Based on the same technical concept of the foregoing embodiment, referring to FIG. 4, a structure of a terminal 40 according to an embodiment of the present invention is shown. The terminal 40 may include: a first setting unit 401, a second setting unit 402, and a control unit 403. ,among them,
第一设置单元401,配置为根据预设的第一划分规则设置当前网络环境对应的网络等级;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;
第二设置单元402,配置为当终端40中的应用程序与网络侧进行数据交互时,按照预设的优先级策略设置应用程序的优先级;其中,应用程序的优先级与网络等级具有匹配关系;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 ;
控制单元403,配置为根据网络等级、应用程序的优先级及匹配关系控制应用程序是否与网络侧进行数据交互,并按照优先级顺序控制应用程序与网络侧进行交互的顺序。The control unit 403 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 order in which the application interacts with the network side according to the priority order.
示例性地,控制单元403,配置为:Illustratively, the control unit 403 is configured to:
当终端40根据匹配关系确定应用程序的优先级与网络等级不匹配时,控制应用程序不与网络侧进行数据交互;When the terminal 40 determines that the priority of the application does not match the network level according to the matching relationship, the control application does not perform data interaction with the network side;
以及,当终端40根据匹配关系确定应用程序的优先级与网络等级匹配 时,控制应用程序与网络侧进行数据交互。And, when the terminal 40 determines, according to the matching relationship, the priority of the application matches the network level. The control application interacts with the network side for data interaction.
示例性地,第二设置单元402,还配置为在预设的周期内,当终端40控制应用程序不与网络侧进行数据交互时,将应用程序的优先级提升。Exemplarily, 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.
示例性地,参见图5,第一设置单元401,包括检测子单元4011、获取子单元4012和确定子单元4013,其中,Illustratively, referring to FIG. 5, the first setting unit 401 includes a detecting subunit 4011, an obtaining subunit 4012, and a determining subunit 4013, where
检测子单元4011,配置为检测当前网络的网络类型和信号强度;The detecting subunit 4011 is configured to detect a network type and a signal strength of the current network;
获取子单元4012,配置为根据当前网络的网络类型和信号强度获取终端40的无线射频模块的功耗;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;
确定子单元4013,配置为根据无线射频模块的功耗确定当前网络环境对应的网络等级。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.
本实施例提供了一种终端40,根据当前的网络环境,针对应用程序的优先级确定应用程序是否与网络侧进行数据交互,能够使终端40的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间。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.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or 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 present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a general purpose computer, a special purpose computer, An processor of an embedded processor or other programmable data processing device to generate a machine such that instructions executed by a processor of a computer or other programmable data processing device are generated for implementation in a flow or a flow of flowcharts and/or Or a block diagram of a device in a box or a function specified in a plurality of boxes.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。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.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
相应的,本发明实施例还提供一种计算机存储介质,其中存储有计算机程序,该计算机程序用于执行上述本发明实施例的终端省电的方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, wherein a computer program is stored, and the computer program is used to execute the method for saving power of the terminal in the embodiment of the present invention.
以上,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
综合上述本发明的各实施例,根据当前的网络环境,来判断不同优先级的应用程序是否与网络侧进行数据交互,能够使终端的无线射频模块在网络环境不良的情况下较少地被唤醒执行数据交互,更多地让无线射频模块工作在网络环境较好的情况下被唤醒来执行数据交互,从而能够降低无线射频模块的耗电量,起到了省电作用,提高终端电池的续航时间,有效地延长了终端待机时间 According to the foregoing embodiments of the present invention, according to the current network environment, it is determined whether the applications of different priorities perform data interaction with the network side, so that the radio frequency module of the terminal is less awake in the case of a poor network environment. Perform data interaction, and let the wireless RF module work more in the network environment to wake up to perform data interaction, thereby reducing the power consumption of the wireless RF module, saving power and improving the battery life of the terminal battery. , effectively extending the terminal standby time

Claims (9)

  1. 一种终端省电的方法,所述方法包括:A method for power saving a terminal, the method comprising:
    终端根据预设的第一划分规则设置当前网络环境对应的网络等级;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 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.
  2. 根据权利要求1所述的方法,其中,所述终端根据所述网络等级、所述应用程序的优先级及所述匹配关系控制所述应用程序是否与网络侧进行数据交互,包括:The method according to claim 1, wherein 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:
    当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,所述终端控制所述应用程序不与网络侧进行数据交互;When 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;
    当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,所述终端控制所述应用程序与网络侧进行数据交互。When 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.
  3. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,所述终端将所述应用程序的优先级提升。During a preset period, when the terminal controls the application to not perform data interaction with the network side, the terminal increases the priority of the application.
  4. 根据权利要求1所述的方法,其中,所述终端根据预设的第一划分规则设置当前网络环境对应的网络等级,包括:The method of claim 1, wherein the terminal sets a 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;
    所述终端根据所述无线射频模块的功耗确定当前网络环境对应的网络 等级。Determining, by the terminal, a network corresponding to the current network environment according to the power consumption of the radio frequency module grade.
  5. 一种终端,所述终端包括:第一设置单元、第二设置单元和控制单元,其中,A terminal, 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: when the application in the terminal performs data interaction with the network side, set a priority of the application according to a preset priority policy; wherein, the priority of the application Matching 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.
  6. 根据权利要求5所述的终端,其中,所述控制单元,配置为:The terminal according to claim 5, wherein the control unit is configured to:
    当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级不匹配时,控制所述应用程序不与网络侧进行数据交互;When the terminal determines, according to the matching relationship, that the priority of the application does not match the network level, controlling, by the terminal, that the application does not perform data interaction with the network side;
    以及,当所述终端根据所述匹配关系确定所述应用程序的优先级与所述网络等级匹配时,控制所述应用程序与网络侧进行数据交互。And, when the terminal determines that the priority of the application matches the network level according to the matching relationship, controlling the application to perform data interaction with the network side.
  7. 根据权利要求5所述的终端,其中,所述第二设置单元,还配置为在预设的周期内,当所述终端控制所述应用程序不与网络侧进行数据交互时,将所述应用程序的优先级提升。The terminal according to claim 5, wherein the second setting unit is further configured to: when the terminal controls the application not to perform data interaction with the network side in a preset period, the application is The priority of the program is increased.
  8. 根据权利要求5所述的终端,其中,所述第一设置单元,包括检测子单元、获取子单元和确定子单元,其中,The terminal according to claim 5, wherein the first setting unit comprises 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 current network according to power consumption of the radio frequency module The network level corresponding to the environment.
  9. 一种计算机存储介质,其中存储有计算机程序,所述计算机程序用于执行权利要求1至4任一项所述的终端省电的方法。 A computer storage medium storing therein a computer program for performing the method of power saving of a terminal according to any one of claims 1 to 4.
PCT/CN2015/075707 2015-01-08 2015-04-01 Terminal, power saving method thereof, storage medium WO2016110011A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510012660.6A CN105828421A (en) 2015-01-08 2015-01-08 Terminal and terminal power saving method
CN201510012660.6 2015-01-08

Publications (1)

Publication Number Publication Date
WO2016110011A1 true WO2016110011A1 (en) 2016-07-14

Family

ID=56355448

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/075707 WO2016110011A1 (en) 2015-01-08 2015-04-01 Terminal, power saving method thereof, storage medium
PCT/CN2015/081714 WO2016110056A1 (en) 2015-01-08 2015-06-17 Terminal and terminal power-saving method

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081714 WO2016110056A1 (en) 2015-01-08 2015-06-17 Terminal and terminal power-saving method

Country Status (2)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612282B (en) * 2016-12-26 2020-06-26 努比亚技术有限公司 Network access limiting device and method
CN107612705B (en) * 2017-07-29 2021-04-30 深圳市盛路物联通讯技术有限公司 Method for saving power for terminal equipment for managing Internet of things in batches and relay equipment
CN109347164A (en) * 2018-10-31 2019-02-15 深圳拓邦股份有限公司 A kind of battery pack awakening method, device, electrical equipment and garden equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198131A (en) * 2008-01-09 2008-06-11 中兴通讯股份有限公司 Electricity-saving control method and system for mobile terminal
CN103080870A (en) * 2010-08-20 2013-05-01 高通股份有限公司 Battery power management for a mobile device
US20130308513A1 (en) * 2012-05-18 2013-11-21 Mediatek, Inc. Enhanced UE Data Transmission for Power Consumption Optimization
CN103440138A (en) * 2013-09-06 2013-12-11 网易(杭州)网络有限公司 Behavior guidance method and device

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
WO2007053361A2 (en) * 2005-11-01 2007-05-10 Rotani, Inc. Method and apparatus for client control of wireless communications
JP2011504623A (en) * 2007-11-02 2011-02-10 クゥアルコム・インコーポレイテッド Configurable system event and resource arbitration management apparatus and method
KR101723389B1 (en) * 2011-01-10 2017-04-18 삼성전자주식회사 Method and apparatus for adaptive operation of application
KR20130092486A (en) * 2012-02-10 2013-08-20 삼성전자주식회사 Method for optimized high priority plmn search and normal service scan in limited service
KR101399112B1 (en) * 2012-08-31 2014-05-30 주식회사 팬택 Portable electronic device and battery management method for the device
CN103326959B (en) * 2012-09-14 2018-12-21 努比亚技术有限公司 A kind of switching application method, system and the cloud storage system of Multi net voting standard
CN102932863A (en) * 2012-10-17 2013-02-13 南京云恒瑞通网络科技有限责任公司 QOS (Quality of Service)-based method for selecting network connection mode by terminal equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101198131A (en) * 2008-01-09 2008-06-11 中兴通讯股份有限公司 Electricity-saving control method and system for mobile terminal
CN103080870A (en) * 2010-08-20 2013-05-01 高通股份有限公司 Battery power management for a mobile device
US20130308513A1 (en) * 2012-05-18 2013-11-21 Mediatek, Inc. Enhanced UE Data Transmission for Power Consumption Optimization
CN103440138A (en) * 2013-09-06 2013-12-11 网易(杭州)网络有限公司 Behavior guidance method and device

Also Published As

Publication number Publication date
WO2016110056A1 (en) 2016-07-14
CN105828421A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
EP2733995B1 (en) Control method and device for awaking intelligent terminal
EP3268842B1 (en) Methods and systems for coordination of operating states amongst multiple socs within a computing device
CN107463435B (en) Application process priority management method and device, storage medium and electronic equipment
WO2015081664A1 (en) Method, apparatus, device and system for controlling wireless network to be switched on/off
WO2017101362A1 (en) Method and system for managing and controlling power consumption of intelligent terminal
EP3128789A1 (en) Method, device and mobile terminal for reducing power consumption
US20190306851A1 (en) Operation mode switching method and user equipment
WO2016110011A1 (en) Terminal, power saving method thereof, storage medium
US8984078B2 (en) Systems and methods for device-to-cloud message delivery
KR20160145116A (en) Battery efficient synchronization of communications using a token bucket
CN104346563B (en) The method and electronic equipment of a kind of information processing
US9661480B2 (en) Triggering application action using non-standard controls
US8417222B1 (en) Systems and methods for delivering messages based on a device radio status
CN104572007A (en) Method for adjusting sound volume of terminal
JP2019185771A (en) Method, device for processing data of bluetooth speaker, and bluetooth speaker
JP2012113638A (en) Electronic apparatus and power saving control method for electronic apparatus
CN110928586B (en) APP background keep-alive method and device
CN104571856A (en) Terminal
CN103164223A (en) Method of intelligent terminal capable of achieving alarm clock and intelligent terminal under shutdown state
EP2867790B1 (en) Systems and methods for automatic modification of device configuration values
CN104572240B (en) Control method and electronic equipment
EP2566259B1 (en) Method and apparatus for configuring ping interval in a portable terminal
US9198193B1 (en) Systems and methods for controlling network connection overhead associated with mobile device communications
JP5662909B2 (en) User terminal and communication method
CN112261712A (en) Power regulation method and device

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

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

Country of ref document: EP

Kind code of ref document: A1