




技术领域technical field
本发明涉及通信领域,更具体地说,涉及一种移动终端上应用的数据更新频率的方法和装置。The present invention relates to the communication field, and more specifically, to a method and device for updating frequency of data applied on a mobile terminal.
背景技术Background technique
目前智能移动终端(例如智能手机)上安装的很多应用会按照某个数据更新频率进行数据更新,例如电子邮件数据更新频率,天气预报数据更新频率。当应用的数据更新频率越高,在一定时间内消耗的电量以及网络流量也会更多。当移动终端电量不足,或者网络流量不足的时候,现有的智能移动终端无法自动地将应用的数据更新频率降低,无法满足省电以及省流量的要求。At present, many applications installed on smart mobile terminals (such as smart phones) will update data according to a certain data update frequency, such as e-mail data update frequency, weather forecast data update frequency. The higher the data update frequency of the application, the more power and network traffic will be consumed within a certain period of time. When the power of the mobile terminal is insufficient or the network traffic is insufficient, the existing intelligent mobile terminal cannot automatically reduce the frequency of updating the data of the application, and cannot meet the requirements of power saving and traffic saving.
发明内容Contents of the invention
本发明针对现有技术中,当移动终端电量不足或者网络流量不足的时候,无法自动地将应用的数据更新频率降低的缺陷,提供一种移动终端上应用的数据更新频率的方法和装置,能够检测移动终端的剩余电量值和剩余网络流量值,并在剩余电量值或者剩余网络流量值低于预设的阈值时,降低应用的数据更新频率,达到省电及省流量的目的。The present invention aims at the defect in the prior art that when the power of the mobile terminal is insufficient or the network traffic is insufficient, the data update frequency of the application cannot be automatically reduced, and provides a method and device for updating the data application frequency on the mobile terminal, which can Detect the remaining power value and remaining network traffic value of the mobile terminal, and reduce the data update frequency of the application when the remaining power value or the remaining network traffic value is lower than the preset threshold, so as to achieve the purpose of saving power and traffic.
本发明解决其技术问题采用的技术方案是:提供一种调整移动终端上的应用的数据更新频率的方法,包括以下步骤:The technical solution adopted by the present invention to solve the technical problem is: provide a method for adjusting the data update frequency of the application on the mobile terminal, comprising the following steps:
S1、检测移动终端当前的剩余电量值,计算移动终端当前的剩余网络流量值;S1. Detect the current remaining power value of the mobile terminal, and calculate the current remaining network traffic value of the mobile terminal;
S2、将移动终端当前的剩余电量值与预设的电量阈值进行比较,将移动终端当前的剩余网络流量值与预设的网络流量阈值进行比较,若移动终端当前的剩余电量值小于预设的电量阈值或者移动终端当前的剩余网络流量值小于预设的网络流量阈值,则降低移动终端上应用的数据更新频率。S2. Comparing the current remaining power value of the mobile terminal with the preset power threshold, comparing the current remaining network traffic value of the mobile terminal with the preset network traffic threshold, if the current remaining power value of the mobile terminal is less than the preset If the power threshold or the current remaining network traffic value of the mobile terminal is less than the preset network traffic threshold, the data update frequency of the application on the mobile terminal is reduced.
优选地,所述方法还包括以下步骤:Preferably, the method further comprises the steps of:
S01、将从零到所述电量阈值之间的电量等间距划分为多个电量区间,将从零到所述网络流量阈值之间的网络流量等间距划分为多个网络流量区间;S01. Divide the electric quantity from zero to the electric quantity threshold into multiple electric quantity intervals, and divide the network traffic from zero to the network traffic threshold into multiple network traffic intervals;
S02、为每个电量区间和每个网络流量区间设置目标数据更新频率。S02. Set a target data update frequency for each power interval and each network traffic interval.
优选地,步骤S2包括以下子步骤:Preferably, step S2 includes the following sub-steps:
S21、判断移动终端当前的剩余电量值所属的电量区间,判断移动终端当前的剩余网络流量值所属的网络流量区间;S21. Determine the power interval to which the current remaining power value of the mobile terminal belongs, and determine the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs;
S22、将移动终端上应用的数据更新频率调整为该电量区间或者该网络流量区间对应的目标数据更新频率;S22. Adjust the data update frequency of the application on the mobile terminal to the target data update frequency corresponding to the power range or the network traffic range;
其中,当步骤S21中同时判断出移动终端当前的剩余电量值所属的电量区间和动终端当前的剩余网络流量值所属的网络流量区间时,步骤S22中将移动终端上应用的数据更新频率调整为判断出的网络流量区间对应的目标数据更新频率。Wherein, when it is judged in step S21 that the power interval to which the current remaining power value of the mobile terminal belongs and the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs, in step S22, the data update frequency of the application on the mobile terminal is adjusted to The target data update frequency corresponding to the determined network traffic interval.
优选地,所述方法还包括以下步骤:Preferably, the method further comprises the steps of:
S03、为移动终端上的应用分配优先级,并为每个电量区间和网络流量区间设置在该区间内调整数据更新频率的应用的优先级。S03. Assign priorities to applications on the mobile terminal, and set priorities for applications that adjust data update frequency within each power interval and network traffic interval.
优选地,子步骤S22中,将移动终端上具有该网络流量区间对应的优先级的应用的数据更新调整为该电量区间或者该网络流量区间对应的目标数据更新频率。Preferably, in sub-step S22, the data update of the application with the priority corresponding to the network traffic interval on the mobile terminal is adjusted to the target data update frequency corresponding to the power interval or the network traffic interval.
提供一种调整移动终端上的应用的数据更新频率的装置,包括:A device for adjusting the data update frequency of an application on a mobile terminal is provided, including:
检测和计算单元,用于检测移动终端当前的剩余电量值,计算移动终端当前的剩余网络流量值;The detection and calculation unit is used to detect the current remaining power value of the mobile terminal and calculate the current remaining network traffic value of the mobile terminal;
调整单元,用于将移动终端当前的剩余电量值与预设的电量阈值进行比较,将移动终端当前的剩余网络流量值与预设的网络流量阈值进行比较,并在移动终端当前的剩余电量值小于预设的电量阈值或者移动终端当前的剩余网络流量值小于预设的网络流量阈值时,降低移动终端上应用的数据更新频率。The adjustment unit is configured to compare the current remaining power value of the mobile terminal with a preset power threshold, compare the current remaining network traffic value of the mobile terminal with the preset network traffic threshold, and compare the current remaining power value of the mobile terminal When it is less than the preset power threshold or the current remaining network traffic value of the mobile terminal is lower than the preset network traffic threshold, the data update frequency of the application on the mobile terminal is reduced.
优选地,所述装置还包括:Preferably, the device also includes:
区间划分单元,用于将从零到所述电量阈值之间的电量等间距划分为多个电量区间,将从零到所述网络流量阈值之间的网络流量等间距划分为多个网络流量区间;An interval division unit, configured to equally divide the electric quantity from zero to the electric quantity threshold into a plurality of electric quantity intervals, and equally divide the network flow from zero to the network flow threshold into a plurality of network flow intervals ;
设置单元,用于为每个电量区间和每个网络流量区间设置目标数据更新频率。The setting unit is used to set the target data update frequency for each power interval and each network traffic interval.
优选地,所述调整单元包括:Preferably, the adjustment unit includes:
判断模块,用于判断移动终端当前的剩余电量值所属的电量区间,判断移动终端当前的剩余网络流量值所属的网络流量区间;The judging module is used to judge the battery interval to which the current remaining power value of the mobile terminal belongs, and to judge the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs;
调整模块,用于将移动终端上应用的数据更新频率调整为所述判断模块判断出的电量区间或者网络流量区间对应的目标数据更新频率;An adjustment module, configured to adjust the data update frequency applied on the mobile terminal to the target data update frequency corresponding to the battery interval or network traffic interval judged by the judgment module;
其中,当所述判断模块同时判断出移动终端当前的剩余电量值所属的电量区间和动终端当前的剩余网络流量值所属的网络流量区间时,所述调整模块将移动终端上应用的数据更新频率调整为所述判断模块判断出的网络流量区间对应的目标数据更新频率。Wherein, when the judging module simultaneously judges the battery interval to which the current remaining power value of the mobile terminal belongs and the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs, the adjustment module updates the data update frequency applied on the mobile terminal to Adjust to the target data update frequency corresponding to the network traffic interval judged by the judging module.
优选地,所述装置还包括:Preferably, the device also includes:
优先级设置和分配单元,用于为移动终端上的应用分配优先级,并为每个电量区间和网络流量区间设置在该区间内调整数据更新频率的应用的优先级;The priority setting and allocation unit is used to assign priorities to applications on the mobile terminal, and to set the priority of applications that adjust the data update frequency within each power interval and network traffic interval;
所述调整模块将移动终端上具有该网络流量区间对应的优先级的应用的数据更新调整为该电量区间或者该网络流量区间对应的目标数据更新频率。The adjustment module adjusts the data update of the application with the priority corresponding to the network traffic interval on the mobile terminal to the target data update frequency corresponding to the power interval or the network traffic interval.
本发明的调整移动终端上的应用的数据更新频率的方法和装置具有以下有益效果:能够在移动终端的剩余电量或剩余网络流量不足的情形下,自动降低移动终端上应用的数据更新频率,减少不必要的电量和流量使用,达到省电和省流量的目的。The method and device for adjusting the data update frequency of the application on the mobile terminal of the present invention have the following beneficial effects: the data update frequency of the application on the mobile terminal can be automatically reduced when the remaining power of the mobile terminal or the remaining network traffic is insufficient, reducing Unnecessary power and traffic usage to achieve the purpose of saving power and traffic.
附图说明Description of drawings
图1为本发明的调整移动终端上的应用的数据更新频率的方法第一实施例的流程图;FIG. 1 is a flowchart of a first embodiment of the method for adjusting the data update frequency of an application on a mobile terminal according to the present invention;
图2为本发明的调整移动终端上的应用的数据更新频率的方法第二实施例的流程图;FIG. 2 is a flowchart of a second embodiment of the method for adjusting the data update frequency of an application on a mobile terminal according to the present invention;
图3为本发明的调整移动终端上的应用的数据更新频率的方法第三实施例的流程图;FIG. 3 is a flow chart of a third embodiment of a method for adjusting the data update frequency of an application on a mobile terminal according to the present invention;
图4为本发明的调整移动终端上的应用的数据更新频率的装置第一实施例的功能框图;FIG. 4 is a functional block diagram of the first embodiment of the device for adjusting the data update frequency of the application on the mobile terminal according to the present invention;
图5为本发明的调整移动终端上的应用的数据更新频率的装置第二实施例的功能框图;FIG. 5 is a functional block diagram of a second embodiment of a device for adjusting the data update frequency of an application on a mobile terminal according to the present invention;
图6为本发明的调整移动终端上的应用的数据更新频率的装置第三实施例的功能框图。Fig. 6 is a functional block diagram of a third embodiment of an apparatus for adjusting data update frequency of applications on a mobile terminal according to the present invention.
具体实施方式Detailed ways
以下结合附图和实施例对本发明做进一步的解释说明。The present invention will be further explained below in conjunction with the accompanying drawings and embodiments.
图1为本发明的调整移动终端上的应用的数据更新频率的方法第一实施例的流程图,如图1所示,在本实施例中,本发明的方法包括以下步骤:Fig. 1 is a flow chart of the first embodiment of the method for adjusting the data update frequency of the application on the mobile terminal according to the present invention. As shown in Fig. 1, in this embodiment, the method of the present invention includes the following steps:
S1、检测移动终端当前的剩余电量值,计算移动终端当前的剩余网络流量值;S1. Detect the current remaining power value of the mobile terminal, and calculate the current remaining network traffic value of the mobile terminal;
S2、将移动终端当前的剩余电量值与预设的电量阈值进行比较,将移动终端当前的剩余网络流量值与预设的网络流量阈值进行比较,若移动终端当前的剩余电量值小于预设的电量阈值或者移动终端当前的剩余网络流量值小于预设的网络流量阈值,则降低移动终端上应用的数据更新频率。S2. Comparing the current remaining power value of the mobile terminal with the preset power threshold, comparing the current remaining network traffic value of the mobile terminal with the preset network traffic threshold, if the current remaining power value of the mobile terminal is less than the preset If the power threshold or the current remaining network traffic value of the mobile terminal is less than the preset network traffic threshold, the data update frequency of the application on the mobile terminal is reduced.
在本实施例中,可以利用现有的电源管理技术,检测移动终端当前的剩余电量值。可以利用现有的移动终端网络流量检测技术,结合用户输入的运营商流量套餐信息,计算出移动终端当前的剩余网络流量值。In this embodiment, the existing power management technology can be used to detect the current remaining power value of the mobile terminal. The current remaining network traffic value of the mobile terminal can be calculated by using the existing mobile terminal network traffic detection technology combined with the operator traffic package information input by the user.
另外,通过系统默认设置或者让用户手动输入数值的方式,分别为移动终端的剩余电量值(剩余电量的比例)和剩余网络流量值设定阈值。在本实施例中,分别设置了一个电量阈值和一个网络流量阈值,例如该电量阈值设置为剩余电量占电池总电量的20%,该网络流量阈值为10M。在步骤S2中,将检测到的移动终端当前的剩余电量值与该电量阈值进行比较,将计算出的移动终端当前的剩余网络流量值与该网络流量阈值进行比较。只要剩余电量值和剩余的网络流量值中之一低于阈值时,后台给需要且能够降低数据更新频率的应用发送一个降低频率的广播指令。相应的应用接收到该降低频率的广播指令时,后台自动进行数据更新频率的设置,降低当前的数据更新频率,从而节省了移动终端的电量和网络流量。In addition, thresholds are respectively set for the remaining power value (the proportion of remaining power) and the remaining network traffic value of the mobile terminal through the default setting of the system or by allowing the user to manually input values. In this embodiment, a power threshold and a network traffic threshold are respectively set. For example, the power threshold is set so that the remaining power accounts for 20% of the total battery power, and the network traffic threshold is 10M. In step S2, compare the detected current remaining power value of the mobile terminal with the power threshold, and compare the calculated current remaining network traffic value of the mobile terminal with the network traffic threshold. As long as one of the remaining power value and the remaining network traffic value is lower than the threshold value, the background sends a broadcast instruction to reduce the frequency to the application that needs and can reduce the data update frequency. When the corresponding application receives the broadcast instruction to reduce the frequency, the background automatically sets the data update frequency to reduce the current data update frequency, thereby saving the power and network traffic of the mobile terminal.
在本发明的方法的其他实施例中,还可以增加一个功能开关来开启和关闭上述调整应用的数据更新频率的功能。并且,功能开关还可以分开设置,即设置一个根据剩余电量值调整数据更新频率的功能开关,以及一个根据剩余网络流量值调整数据更新频率的功能开关。In other embodiments of the method of the present invention, a function switch may also be added to enable and disable the above function of adjusting the data update frequency of the application. Moreover, the function switch can also be set separately, that is, a function switch for adjusting the data update frequency according to the remaining power value and a function switch for adjusting the data update frequency according to the remaining network traffic value are set.
图2为本发明的调整移动终端上的应用的数据更新频率的方法第二实施例的流程图,如图2所示,本实施例与本发明的方法第一实施例的区别在于,方法还包括以下步骤:Fig. 2 is a flowchart of the second embodiment of the method for adjusting the data update frequency of the application on the mobile terminal according to the present invention. As shown in Fig. 2, the difference between this embodiment and the first embodiment of the method of the present invention is that the method also Include the following steps:
S01、将从零到电量阈值之间的电量等间距划分为多个电量区间,将从零到网络流量阈值之间的网络流量等间距划分为多个网络流量区间;S01. Divide the electric quantity from zero to the electric quantity threshold into a plurality of electric quantity intervals, and divide the network flow from zero to the network flow threshold into a plurality of network flow intervals;
S02、为每个电量区间和每个网络流量区间设置目标数据更新频率。S02. Set a target data update frequency for each power interval and each network traffic interval.
在该实施例中,当移动终端当前的剩余电量值或者剩余的网络流量值低于阈值时,逐步地降低应用的数据更新频率。具体地,在本实施例中,步骤S2包括以下子步骤:S21、当移动终端当前的剩余电量低于电量阈值时,进一步判断移动终端当前的剩余电量值属于步骤S01中划分的哪个电量区间,同样的,当移动终端当前的剩余网络流量低于网络流量阈值时,进一步判断移动终端当前的剩余网络流量值属于步骤S01中划分的哪个网络流量区间;然后,在步骤S22中,将移动终端上应用的数据更新频率调整为其所属的电量区间或者网络流量区间对应的目标数据更新频率。In this embodiment, when the current remaining power value or the remaining network traffic value of the mobile terminal is lower than the threshold, the data update frequency of the application is gradually reduced. Specifically, in this embodiment, step S2 includes the following sub-steps: S21. When the current remaining power of the mobile terminal is lower than the power threshold, further determine which power interval the current remaining power of the mobile terminal belongs to in step S01, Similarly, when the current remaining network traffic of the mobile terminal is lower than the network traffic threshold, it is further judged which network traffic interval the current remaining network traffic of the mobile terminal belongs to in step S01; then, in step S22, the The data update frequency of the application is adjusted to the target data update frequency corresponding to the power range or network traffic range to which it belongs.
另外,应当说明的是,为了避免冲突的发生,当移动终端当前的剩余电量低于电量阈值,且当前的剩余的网络流量低于网络流量阈值时,即步骤S21中同时判断出移动终端当前的剩余电量值所属的电量区间和动终端当前的剩余网络流量值所属的网络流量区间,此时,步骤S22中将移动终端上应用的数据更新频率调整为判断出的网络流量区间对应的目标数据更新频率。In addition, it should be noted that, in order to avoid the occurrence of conflicts, when the current remaining power of the mobile terminal is lower than the power threshold and the current remaining network traffic is lower than the network traffic threshold, it is determined in step S21 that the mobile terminal's current The power interval to which the remaining power value belongs and the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs. At this time, in step S22, the data update frequency applied on the mobile terminal is adjusted to the target data update corresponding to the judged network traffic interval frequency.
这样,当移动终端当前的剩余网络流量值高于网络流量阈值,但是当前的剩余电量值低于电量阈值时,能够逐步降低应用的数据更新频率,当移动终端充电后,剩余电量回升时,能够逐步提升应用的数据更新频率。当移动终端的剩余电量超过电量阈值时,或者关闭了应用的数据更行频率的调整功能时,将应用的数据更新频率恢复到默认值。同样的,当移动终端的剩余网络流量值重新超过网络流量阈值时,或者关闭了应用的数据更行频率的调整功能时,将应用的数据更新频率恢复到默认值。In this way, when the current remaining network traffic value of the mobile terminal is higher than the network traffic threshold, but the current remaining power value is lower than the power threshold, the data update frequency of the application can be gradually reduced. When the mobile terminal is charged and the remaining power rises, it can Gradually increase the data update frequency of the application. When the remaining power of the mobile terminal exceeds the power threshold, or the function of adjusting the data update frequency of the application is turned off, the data update frequency of the application is restored to a default value. Similarly, when the remaining network traffic value of the mobile terminal exceeds the network traffic threshold again, or when the adjustment function of the data updating frequency of the application is turned off, the data updating frequency of the application is restored to a default value.
图3为本发明的调整移动终端上的应用的数据更新频率的方法第三实施例的流程图,如图3所示,本实施例与本发明的方法第二实施例的区别在于,方法还包括以下步骤:Fig. 3 is a flow chart of the third embodiment of the method for adjusting the data update frequency of the application on the mobile terminal according to the present invention. As shown in Fig. 3, the difference between this embodiment and the second embodiment of the method of the present invention is that the method also Include the following steps:
S03、为移动终端上的应用分配优先级,并为每个电量区间和网络流量区间设置在该区间内调整数据更新频率的应用的优先级。S03. Assign priorities to applications on the mobile terminal, and set priorities for applications that adjust data update frequency within each power interval and network traffic interval.
在该实施例中,不仅仅能够在移动终端的剩余电量值或者剩余网络流量值低于阈值时逐步降低应用的数据更新频率,还能够根据用户的喜好或者使用者的习惯为所有能够调整数据更新频率的应用划分优先级,当剩余电量值或者剩余网络流量值处于不同的区间时,对具有与该区间对应的优先级的应用的数据更新频率进行调整。In this embodiment, not only can the data update frequency of the application be gradually reduced when the remaining power value of the mobile terminal or the remaining network traffic value is lower than the threshold, but also the data update frequency can be adjusted for all users according to the user's preference or user's habits. The application of the frequency is prioritized, and when the remaining power value or the remaining network traffic value is in a different range, the data update frequency of the application with the priority corresponding to the range is adjusted.
例如,将所有能够调整数据更新频率的应用分别四个优先级,第一优先级至第四优先级,第一优先级为最高,第四优先级为最低。电量阈值为20%,等间距分为两个电量区间,分别为[0,10%)、(10%,20%],电量区间[0,10%)对应的第一目标数据更新频率以及第一和第二优先级,电量区间(10%,20%]对应第二目标数据更新频率以及第三和第四优先级,第一和第二目标数据更新频率可相同也可以不相同,但是都小于数据更新频率的默认值(即正常时候移动终端时,应用的数据更新频率),也可以是零(即不再更新数据)。当移动终端当前的剩余电量为15%时,将具有第三和第四优先级的应用的数据更新频率调整为第二目标数据更新频率。当移动终端的剩余电量值进一步下降,下降到8%时,将具有第一和第二优先级的应用的数据更新频率调整为第一目标数据更新频率,此时,所有能够调整数据更新频率的应用的数据更新角频率都被降低。根据剩余的网络流量值来调整数据更新频率的情况以此类推。For example, all the applications that can adjust the data update frequency are divided into four priorities, from the first priority to the fourth priority, the first priority is the highest, and the fourth priority is the lowest. The power threshold is 20%, and it is equally spaced into two power ranges, namely [0,10%) and (10%, 20%], the first target data update frequency corresponding to the power range [0,10%] and the second The first and second priority levels, the power range (10%, 20%] corresponds to the second target data update frequency and the third and fourth priority levels, the first and second target data update frequencies can be the same or different, but both Less than the default value of the data update frequency (i.e. the data update frequency of the application when the mobile terminal is in normal times), or it can be zero (i.e. no longer update the data). When the current remaining power of the mobile terminal is 15%, it will have a third And the data update frequency of the application of the fourth priority is adjusted to the second target data update frequency.When the remaining power value of the mobile terminal further declines, when it drops to 8%, the data update of the application with the first and second priority The frequency is adjusted to the first target data update frequency, at this time, the angular data update frequencies of all applications capable of adjusting the data update frequency are reduced. The situation of adjusting the data update frequency according to the remaining network traffic value can be deduced by analogy.
图4为本发明的调整移动终端上的应用的数据更新频率的装置400第一实施例的功能框图,如图4所示,在本实施例中,本发明的装置400包括:FIG. 4 is a functional block diagram of a first embodiment of an
检测和计算单元410,用于检测移动终端当前的剩余电量值,计算移动终端当前的剩余网络流量值;The detection and calculation unit 410 is used to detect the current remaining power value of the mobile terminal and calculate the current remaining network traffic value of the mobile terminal;
调整单元420,用于将移动终端当前的剩余电量值与预设的电量阈值进行比较,将移动终端当前的剩余网络流量值与预设的网络流量阈值进行比较,并在移动终端当前的剩余电量值小于预设的电量阈值或者移动终端当前的剩余网络流量值小于预设的网络流量阈值时,降低移动终端上应用的数据更新频率。The adjusting
在本实施例中,检测和计算单元410可以利用现有的电源管理技术,检测移动终端当前的剩余电量值,可以利用现有的移动终端网络流量检测技术,结合用户输入的运营商流量套餐信息,计算出移动终端当前的剩余网络流量值。In this embodiment, the detection and calculation unit 410 can use the existing power management technology to detect the current remaining power value of the mobile terminal, and can use the existing mobile terminal network traffic detection technology, combined with the operator's traffic package information input by the user , to calculate the current remaining network traffic value of the mobile terminal.
另外,通过系统默认设置或者让用户手动输入数值的方式,分别为移动终端的剩余电量值(剩余电量的比例)和剩余网络流量值设定阈值。在本实施例中,分别设置了一个电量阈值和一个网络流量阈值,例如该电量阈值设置为剩余电量占电池总电量的20%,该网络流量阈值为10M。调整单元420将检测到的移动终端当前的剩余电量值与该电量阈值进行比较,将计算出的移动终端当前的剩余网络流量值与该网络流量阈值进行比较。只要剩余电量值和剩余的网络流量值中之一低于阈值时,调整单元420给需要且能够降低数据更新频率的应用发送一个降低频率的广播指令,该降低频率的广播指令使能相应的应用自动进行数据更新频率的设置,降低当前的数据更新频率,从而节省了移动终端的电量和网络流量。In addition, thresholds are respectively set for the remaining power value (the proportion of remaining power) and the remaining network traffic value of the mobile terminal through the default setting of the system or by allowing the user to manually input values. In this embodiment, a power threshold and a network traffic threshold are respectively set. For example, the power threshold is set so that the remaining power accounts for 20% of the total battery power, and the network traffic threshold is 10M. The
在本发明的装置400的其他实施例中,还可以增加一个功能开关来开启和关闭上述调整应用的数据更新频率的功能。并且,功能开关还可以分开设置,即设置一个根据剩余电量值调整数据更新频率的功能开关,以及一个根据剩余网络流量值调整数据更新频率的功能开关。In other embodiments of the
图5为本发明的调整移动终端上的应用的数据更新频率的装置400第二实施例的功能框图,如图5所示,本实施例与本发明的装置400第一实施例的区别在于,装置400还包括:FIG. 5 is a functional block diagram of the second embodiment of the
区间划分单元430,用于将从零到所述电量阈值之间的电量等间距划分为多个电量区间,将从零到所述网络流量阈值之间的网络流量等间距划分为多个网络流量区间;The
设置单元440,用于为每个电量区间和每个网络流量区间设置目标数据更新频率。The
在本实施例中,调整单元420包括:In this embodiment, the
判断模块421,用于判断移动终端当前的剩余电量值所属的电量区间,判断移动终端当前的剩余网络流量值所属的网络流量区间;The judging module 421 is used to judge the battery interval to which the current remaining power value of the mobile terminal belongs, and to judge the network traffic interval to which the current remaining network traffic value of the mobile terminal belongs;
调整模块422,用于将移动终端上应用的数据更新频率调整为判断模块421判断出的电量区间或者网络流量区间对应的目标数据更新频率。The adjustment module 422 is configured to adjust the data update frequency of the application on the mobile terminal to the target data update frequency corresponding to the battery interval or the network traffic interval determined by the judgment module 421 .
另外,应当说明的是,为了避免冲突的发生,当移动终端当前的剩余电量低于电量阈值,且当前的剩余的网络流量低于网络流量阈值时,即判断模块421同时判断出移动终端当前的剩余电量值所属的电量区间和动终端当前的剩余网络流量值所属的网络流量区间,此时,调整模块422将移动终端上应用的数据更新频率调整为判断出的网络流量区间对应的目标数据更新频率。In addition, it should be noted that, in order to avoid the occurrence of conflicts, when the current remaining power of the mobile terminal is lower than the power threshold and the current remaining network traffic is lower than the network traffic threshold, the judging module 421 simultaneously judges that the mobile terminal's current The power range to which the remaining power value belongs and the network traffic range to which the current remaining network traffic value of the mobile terminal belongs. At this time, the adjustment module 422 adjusts the data update frequency of the application on the mobile terminal to the target data update corresponding to the determined network traffic range. frequency.
这样,当移动终端当前的剩余网络流量值高于网络流量阈值,但是当前的剩余电量值低于电量阈值时,能够逐步降低应用的数据更新频率,当移动终端充电后,剩余电量回升时,能够逐步提升应用的数据更新频率。当移动终端的剩余电量超过电量阈值时,或者关闭了应用的数据更行频率的调整功能时,将应用的数据更新频率恢复到默认值。同样的,当移动终端的剩余网络流量值重新超过网络流量阈值时,或者关闭了应用的数据更行频率的调整功能时,将应用的数据更新频率恢复到默认值。In this way, when the current remaining network traffic value of the mobile terminal is higher than the network traffic threshold, but the current remaining power value is lower than the power threshold, the data update frequency of the application can be gradually reduced. When the mobile terminal is charged and the remaining power rises, it can Gradually increase the data update frequency of the application. When the remaining power of the mobile terminal exceeds the power threshold, or the function of adjusting the data update frequency of the application is turned off, the data update frequency of the application is restored to a default value. Similarly, when the remaining network traffic value of the mobile terminal exceeds the network traffic threshold again, or when the adjustment function of the data updating frequency of the application is turned off, the data updating frequency of the application is restored to a default value.
图6为本发明的调整移动终端上的应用的数据更新频率的装置400第三实施例的功能框图,如图6所示,本实施例与本发明的装置400第二实施例的区别在于,装置400还包括:FIG. 6 is a functional block diagram of the third embodiment of the
优先级设置和分配单元450,用于为移动终端上的应用分配优先级,并为每个电量区间和网络流量区间设置在该区间内调整数据更新频率的应用的优先级。The priority setting and
在本实施例中,调整模块422将移动终端上具有该网络流量区间对应的优先级的应用的数据更新调整为该电量区间或者该网络流量区间对应的目标数据更新频率。In this embodiment, the adjustment module 422 adjusts the data update of the application with the priority corresponding to the network traffic interval on the mobile terminal to the target data update frequency corresponding to the power interval or the network traffic interval.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201310299257.7ACN103402243B (en) | 2013-07-16 | 2013-07-16 | A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal | 
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN201310299257.7ACN103402243B (en) | 2013-07-16 | 2013-07-16 | A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal | 
| Publication Number | Publication Date | 
|---|---|
| CN103402243Atrue CN103402243A (en) | 2013-11-20 | 
| CN103402243B CN103402243B (en) | 2016-04-27 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| CN201310299257.7AExpired - Fee RelatedCN103402243B (en) | 2013-07-16 | 2013-07-16 | A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal | 
| Country | Link | 
|---|---|
| CN (1) | CN103402243B (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN104347049A (en)* | 2014-09-24 | 2015-02-11 | 广东欧珀移动通信有限公司 | A method and device for adjusting screen refresh rate | 
| CN104820487A (en)* | 2015-05-19 | 2015-08-05 | 深圳天珑无线科技有限公司 | Processing method and device of running unit and terminal mobile | 
| WO2015154495A1 (en)* | 2013-10-23 | 2015-10-15 | 中兴通讯股份有限公司 | Traffic control method and device | 
| CN105406894A (en)* | 2015-11-28 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| CN105515744A (en)* | 2015-11-28 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| CN105704785A (en)* | 2014-11-28 | 2016-06-22 | 联芯科技有限公司 | Network searching method, device and mobile terminal | 
| CN106211102A (en)* | 2016-09-14 | 2016-12-07 | 广东欧珀移动通信有限公司 | The method and device that the difference of a kind of chat message synchronizes | 
| CN106506401A (en)* | 2016-10-31 | 2017-03-15 | 维沃移动通信有限公司 | A traffic management method and mobile terminal | 
| CN107248961A (en)* | 2017-06-23 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of management method and management system of Internet of Things data flow | 
| WO2017206429A1 (en)* | 2016-05-30 | 2017-12-07 | 广东美的暖通设备有限公司 | Central air-conditioning system, and data traffic management method and device therefor | 
| CN107749967A (en)* | 2017-10-31 | 2018-03-02 | 广州成达信息科技有限公司 | A kind of video communication optimization method and its system | 
| CN114363305A (en)* | 2021-12-27 | 2022-04-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium | 
| CN115032336A (en)* | 2022-05-20 | 2022-09-09 | 深圳衡伟环境技术有限公司 | An online environmental TVOC concentration monitoring terminal, method and system | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN101291335A (en)* | 2008-06-13 | 2008-10-22 | 中兴通讯股份有限公司 | A method and device for obtaining dynamic data of a server based on a browser | 
| CN101414918A (en)* | 2007-10-17 | 2009-04-22 | 北京搜狐新媒体信息技术有限公司 | Method, apparatus and system for on-line generating random data | 
| CN101977365A (en)* | 2010-11-16 | 2011-02-16 | 北京瓦力网络科技有限公司 | Method and system for indicating residual mobile phone Internet traffic | 
| US20110105049A1 (en)* | 2009-11-04 | 2011-05-05 | Nec Casio Mobile Communications, Ltd. | Radio communication apparatus, radio communication method, and recording medium recording radio communication control program | 
| CN103199311A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal | 
| CN103199310A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power guarantee method, device and mobile terminal for portable electronic products | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN101414918A (en)* | 2007-10-17 | 2009-04-22 | 北京搜狐新媒体信息技术有限公司 | Method, apparatus and system for on-line generating random data | 
| CN101291335A (en)* | 2008-06-13 | 2008-10-22 | 中兴通讯股份有限公司 | A method and device for obtaining dynamic data of a server based on a browser | 
| US20110105049A1 (en)* | 2009-11-04 | 2011-05-05 | Nec Casio Mobile Communications, Ltd. | Radio communication apparatus, radio communication method, and recording medium recording radio communication control program | 
| CN101977365A (en)* | 2010-11-16 | 2011-02-16 | 北京瓦力网络科技有限公司 | Method and system for indicating residual mobile phone Internet traffic | 
| CN103199311A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power saving method and battery power saving apparatus for portable electronic product, and mobile terminal | 
| CN103199310A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power guarantee method, device and mobile terminal for portable electronic products | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| WO2015154495A1 (en)* | 2013-10-23 | 2015-10-15 | 中兴通讯股份有限公司 | Traffic control method and device | 
| CN104347049A (en)* | 2014-09-24 | 2015-02-11 | 广东欧珀移动通信有限公司 | A method and device for adjusting screen refresh rate | 
| CN105704785A (en)* | 2014-11-28 | 2016-06-22 | 联芯科技有限公司 | Network searching method, device and mobile terminal | 
| CN104820487B (en)* | 2015-05-19 | 2018-09-21 | 深圳天珑无线科技有限公司 | The processing method and processing device and mobile terminal of running unit | 
| CN104820487A (en)* | 2015-05-19 | 2015-08-05 | 深圳天珑无线科技有限公司 | Processing method and device of running unit and terminal mobile | 
| CN105406894A (en)* | 2015-11-28 | 2016-03-16 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| CN105515744A (en)* | 2015-11-28 | 2016-04-20 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| CN105515744B (en)* | 2015-11-28 | 2018-01-19 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| CN105406894B (en)* | 2015-11-28 | 2017-12-15 | 广东欧珀移动通信有限公司 | Method for setting carrier aggregation mode of communication terminal and communication terminal | 
| WO2017206429A1 (en)* | 2016-05-30 | 2017-12-07 | 广东美的暖通设备有限公司 | Central air-conditioning system, and data traffic management method and device therefor | 
| CN106211102A (en)* | 2016-09-14 | 2016-12-07 | 广东欧珀移动通信有限公司 | The method and device that the difference of a kind of chat message synchronizes | 
| CN106211102B (en)* | 2016-09-14 | 2020-05-05 | Oppo广东移动通信有限公司 | Method and device for distinguishing and synchronizing chat information | 
| CN106506401A (en)* | 2016-10-31 | 2017-03-15 | 维沃移动通信有限公司 | A traffic management method and mobile terminal | 
| CN107248961A (en)* | 2017-06-23 | 2017-10-13 | 深圳市盛路物联通讯技术有限公司 | A kind of management method and management system of Internet of Things data flow | 
| CN107749967A (en)* | 2017-10-31 | 2018-03-02 | 广州成达信息科技有限公司 | A kind of video communication optimization method and its system | 
| CN114363305A (en)* | 2021-12-27 | 2022-04-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium | 
| CN114363305B (en)* | 2021-12-27 | 2023-12-15 | 广东明创软件科技有限公司 | Application updating method and device, electronic equipment and storage medium | 
| CN115032336A (en)* | 2022-05-20 | 2022-09-09 | 深圳衡伟环境技术有限公司 | An online environmental TVOC concentration monitoring terminal, method and system | 
| Publication number | Publication date | 
|---|---|
| CN103402243B (en) | 2016-04-27 | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN103402243B (en) | A kind of method and apparatus of Data Update frequency of the application adjusted on mobile terminal | |
| CN110187753B (en) | Application control method, device, terminal and computer-readable storage medium | |
| US9003219B2 (en) | Method and apparatus for mobile terminal power management | |
| CN105353395B (en) | Method and device for adjusting reporting frequency of position information | |
| CN101772061B (en) | Sleeping timer control method and device and communication system | |
| CN103151019B (en) | Control method and control device for display refresh rate of mobile terminal | |
| CN103577898B (en) | Load control distribution method and system of electric power industry | |
| CN104038968B (en) | A kind of controlling electronic devices shares the method and device of network bandwidth | |
| KR20160068694A (en) | Method and device for signal strength adjustment of router | |
| US20150223252A1 (en) | Resource Allocation Method and Device | |
| CN102006628B (en) | Flow control method and device for multimode base station | |
| CN104426802A (en) | Dynamic adjusting method for bandwidth | |
| CN104244414A (en) | Shared network bandwidth allocation method and device based on terminals and terminals | |
| CN106130742A (en) | Equipment method of supplying power to based on POE system and device | |
| CN104065586A (en) | Flow control method and device | |
| CN103780447A (en) | Flow control method and device | |
| EP3310093B1 (en) | Traffic control method and apparatus | |
| CN103081537B (en) | Communication device, method and computer implementable product for admission control | |
| JP2013535164A (en) | Method and apparatus for changes between transmission states in a communication system | |
| CN106507451B (en) | Wireless AP energy-saving method and device based on connection rate | |
| CN106413053B (en) | A kind of mobile terminal and its electricity saving method | |
| EP2472945B1 (en) | Method and device for implementing admission control | |
| US9323271B2 (en) | Electricity management apparatus and electricity management method | |
| CN103731859B (en) | Network resource optimizing method and device | |
| JP2015061274A (en) | Communication device | 
| Date | Code | Title | Description | 
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | ||
| CP01 | Change in the name or title of a patent holder | Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. | |
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160427 |