技术领域technical field
本发明涉及电子技术领域,具体涉及一种移动终端功耗的确定方法及装置。The present invention relates to the field of electronic technology, in particular to a method and device for determining power consumption of a mobile terminal.
背景技术Background technique
随着电子技术的快速发展,移动终端的应用越来越广泛,与此同时,如何降低移动终端的功耗进而延长移动终端中剩余电量的使用时长也逐渐成为大多数用户比较关心的问题。在实际应用中,当处于信号强度较强的无线网络环境中时,移动终端的发射功率小,这降低了移动终端的功耗,进而延长了移动终端中剩余电量的使用时长;当处于信号强度较弱的无线网络环境中时,移动终端的发射功率较大,这大大增加了移动终端的功耗,进而缩短了移动终端中剩余电量的使用时长。可见,为了使用户选择合理的上网方式进而延长移动终端中剩余电量的使用时长,确定移动终端在当前无线网络环境中的功耗显得尤为重要。With the rapid development of electronic technology, mobile terminals are more and more widely used. At the same time, how to reduce the power consumption of mobile terminals and prolong the use time of remaining power in mobile terminals has gradually become a concern of most users. In practical applications, when in a wireless network environment with strong signal strength, the transmission power of the mobile terminal is small, which reduces the power consumption of the mobile terminal, thereby prolonging the use time of the remaining power in the mobile terminal; In a weak wireless network environment, the transmission power of the mobile terminal is relatively high, which greatly increases the power consumption of the mobile terminal, thereby shortening the usage time of the remaining power in the mobile terminal. It can be seen that it is particularly important to determine the power consumption of the mobile terminal in the current wireless network environment in order to enable the user to choose a reasonable way of surfing the Internet and prolong the use time of the remaining power in the mobile terminal.
发明内容Contents of the invention
本发明实施例公开了一种移动终端功耗的确定方法及装置,能够确定出移动终端在当前无线网络中的功耗。The embodiment of the invention discloses a method and device for determining power consumption of a mobile terminal, which can determine the power consumption of the mobile terminal in the current wireless network.
本发明实施例第一方面公开了一种移动终端功耗的确定方法,所述方法包括:The first aspect of the embodiments of the present invention discloses a method for determining power consumption of a mobile terminal, the method including:
确定移动终端当前接入的无线网络的第一网络制式,并检测所述移动终端在所述第一网络制式下的目标发射功率;Determine the first network standard of the wireless network currently accessed by the mobile terminal, and detect the target transmit power of the mobile terminal under the first network standard;
根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在所述第一网络制式下所述目标发射功率对应的第一电流值,所述第一电流值用于标识所述移动终端在所述第一网络制式下的功耗,且所述第一电流值越大,所述移动终端在所述第一网络制式下的功耗越大;According to the pre-stored correspondence between transmission power and current values under different network standards, determine a first current value corresponding to the target transmission power under the first network standard, and the first current value is used to identify the mobile The power consumption of the terminal under the first network standard, and the larger the first current value, the greater the power consumption of the mobile terminal under the first network standard;
输出所述第一电流值。output the first current value.
在本发明实施例第一方面的第一种可能的实现方式中,所述方法还包括:In a first possible implementation manner of the first aspect of the embodiments of the present invention, the method further includes:
从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式;From the correspondence between transmit power and current values under different network standards, determine a second network standard whose current value is smaller than the first current value under the target transmit power;
将所述移动终端当前接入的无线网络由所述第一网络制式切换为所述第二网络制式,并输出在所述第二网络制式下所述目标发射功率对应的第二电流值。Switching the wireless network currently accessed by the mobile terminal from the first network standard to the second network standard, and outputting a second current value corresponding to the target transmit power under the second network standard.
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第二种可能的实现方式中,所述从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式,包括:With reference to the first possible implementation of the first aspect of the embodiments of the present invention, in the second possible implementation of the first aspect of the embodiments of the present invention, the transmission power and current values from different network standards In the corresponding relationship, determining the second network system whose current value is smaller than the first current value under the target transmit power includes:
从不同网络制式下发射功率与电流值的所述对应关系中,查找在所述目标发射功率下电流值小于所述第一电流值的所有网络制式;Find all network standards whose current value is smaller than the first current value under the target transmission power from the corresponding relationship between transmission power and current value under different network standards;
将所述所有网络制式中所述目标发射功率对应电流值最小的网络制式确定为第二网络制式。Determining the network standard with the smallest current value corresponding to the target transmission power among all the network standards as the second network standard.
结合本发明实施例第一方面的第一种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式,包括:With reference to the first possible implementation of the first aspect of the embodiments of the present invention, in the third possible implementation of the first aspect of the embodiments of the present invention, the transmission power and current values from different network standards In the corresponding relationship, determining the second network system whose current value is smaller than the first current value under the target transmit power includes:
从不同网络制式下发射功率与电流值的所述对应关系中,查找在所述目标发射功率下电流值小于所述第一电流值的所有网络制式,所述所有网络制式中不同网络制式对应不同的优先级;From the corresponding relationship between transmission power and current value under different network standards, find all network standards whose current value is less than the first current value under the target transmission power, and in all network standards, different network standards correspond to different the priority of
将所述所有网络制式中优先级最高的网络制式确定为第二网络制式。Determining the network standard with the highest priority among all the network standards as the second network standard.
结合本发明实施例第一方面,在本发明实施例第一方面的第四种可能的实现方式中,所述输出所述第一电流值之后,所述方法还包括:With reference to the first aspect of the embodiments of the present invention, in a fourth possible implementation manner of the first aspect of the embodiments of the present invention, after outputting the first current value, the method further includes:
获取所述移动终端的剩余电量;Obtaining the remaining power of the mobile terminal;
计算所述剩余电量在所述第一电流值下的第一使用时长;calculating a first duration of use of the remaining power at the first current value;
输出所述第一使用时长。Output the first duration of use.
结合本发明实施例第一方面的第四种可能的实现方式,在本发明实施例第一方面的第五种可能的实现方式中,所述输出所述第一使用时长之后,所述方法还包括:With reference to the fourth possible implementation manner of the first aspect of the embodiments of the present invention, in the fifth possible implementation manner of the first aspect of the embodiments of the present invention, after the output of the first usage duration, the method further include:
获取用户输入的第二使用时长;Obtain the second duration of use input by the user;
判断所述第二使用时长是否大于所述第一使用时长;judging whether the second duration of use is greater than the first duration of use;
当所述第二使用时长大于所述第一使用时长时,根据所述第二使用时长以及预先统计出的所述移动终端的当前运行应用中每个应用的平均功耗,从所述当前运行应用中确定出至少一个目标应用;When the second usage duration is longer than the first usage duration, according to the second usage duration and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal, start from the current running At least one target application is determined in the application;
关闭每个所述目标应用。Close each of said target applications.
本发明实施例第二方面公开了一种移动终端功耗的确定装置,所述装置包括第一确定模块、检测模块、第二确定模块以及输出模块,其中:The second aspect of the embodiment of the present invention discloses a device for determining power consumption of a mobile terminal. The device includes a first determination module, a detection module, a second determination module, and an output module, wherein:
所述第一确定模块,用于确定移动终端当前接入的无线网络的第一网络制式;The first determining module is configured to determine the first network standard of the wireless network currently accessed by the mobile terminal;
所述检测模块,用于检测所述移动终端在所述第一网络制式下的目标发射功率;The detection module is configured to detect the target transmit power of the mobile terminal under the first network standard;
所述第二确定模块,用于根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在所述第一网络制式下所述目标发射功率对应的第一电流值,所述第一电流值用于标识所述移动终端在所述第一网络制式下的功耗,且所述第一电流值越大,所述移动终端在所述第一网络制式下的功耗越大;The second determination module is configured to determine a first current value corresponding to the target transmission power under the first network standard according to the pre-stored correspondence between transmission power and current values under different network standards, and the first A current value is used to identify the power consumption of the mobile terminal under the first network standard, and the larger the first current value, the greater the power consumption of the mobile terminal under the first network standard;
所述输出模块,用于输出所述第一电流值。The output module is configured to output the first current value.
在本发明实施例第二方面的第一种可能的实现方式中,所述第二确定模块,还用于从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式;In the first possible implementation manner of the second aspect of the embodiment of the present invention, the second determining module is further configured to determine the A second network standard whose current value is smaller than the first current value under the target transmission power;
所述装置还包括切换模块,其中:The device also includes a switching module, wherein:
所述切换模块,用于将所述移动终端当前接入的无线网络由所述第一网络制式切换为所述第二网络制式;The switching module is configured to switch the wireless network currently accessed by the mobile terminal from the first network standard to the second network standard;
所述输出模块,还用于输出在所述第二网络制式下所述目标发射功率对应的第二电流值。The output module is further configured to output a second current value corresponding to the target transmission power under the second network standard.
结合本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第二种可能的实现方式中,所述第二确定模块从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式的具体方式为:With reference to the first possible implementation of the second aspect of the embodiment of the present invention, in the second possible implementation of the second aspect of the embodiment of the present invention, the second determination module transmits power and current from different network standards In the corresponding relationship of values, the specific way to determine the second network system whose current value is smaller than the first current value under the target transmit power is as follows:
从不同网络制式下发射功率与电流值的所述对应关系中,查找在所述目标发射功率下电流值小于所述第一电流值的所有网络制式;Find all network standards whose current value is smaller than the first current value under the target transmission power from the corresponding relationship between transmission power and current value under different network standards;
将所述所有网络制式中所述目标发射功率对应电流值最小的网络制式确定为第二网络制式。Determining the network standard with the smallest current value corresponding to the target transmission power among all the network standards as the second network standard.
结合本发明实施例第二方面的第一种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述第二确定模块从不同网络制式下发射功率与电流值的所述对应关系中,确定出在所述目标发射功率下电流值小于所述第一电流值的第二网络制式的具体方式为:With reference to the first possible implementation of the second aspect of the embodiment of the present invention, in the third possible implementation of the second aspect of the embodiment of the present invention, the second determination module transmits power and current from different network standards In the corresponding relationship of values, the specific way to determine the second network system whose current value is smaller than the first current value under the target transmit power is as follows:
从不同网络制式下发射功率与电流值的所述对应关系中,查找在所述目标发射功率下电流值小于所述第一电流值的所有网络制式,所述所有网络制式中不同网络制式对应不同的优先级;From the corresponding relationship between transmission power and current value under different network standards, find all network standards whose current value is less than the first current value under the target transmission power, and in all network standards, different network standards correspond to different the priority of
将所述所有网络制式中优先级最高的网络制式确定为第二网络制式。Determining the network standard with the highest priority among all the network standards as the second network standard.
结合本发明实施例第二方面,在本发明实施例第二方面的第四种可能的实现方式中,所述装置还包括第一获取模块以及计算模块,其中:With reference to the second aspect of the embodiments of the present invention, in a fourth possible implementation manner of the second aspect of the embodiments of the present invention, the device further includes a first acquisition module and a calculation module, wherein:
所述第一获取模块,用于获取所述移动终端的剩余电量;The first acquiring module is configured to acquire the remaining power of the mobile terminal;
所述计算模块,用于计算所述剩余电量在所述第一电流值下的第一使用时长;The calculation module is used to calculate the first use time of the remaining power under the first current value;
所述输出模块,还用于输出所述第一使用时长。The output module is also used to output the first usage time.
结合本发明实施例第二方面的第四种可能的实现方式,在本发明实施例第二方面的第五种可能的实现方式中,所述装置还包括第二获取模块、判断模块、第三确定模块以及关闭模块,其中:With reference to the fourth possible implementation of the second aspect of the embodiments of the present invention, in the fifth possible implementation of the second aspect of the embodiments of the present invention, the device further includes a second acquiring module, a judging module, a third Determine the module and close the module, where:
所述第二获取模块,用于获取用户输入的第二使用时长;The second acquisition module is configured to acquire the second usage time input by the user;
所述判断模块,用于判断所述第二使用时长是否大于所述第一使用时长;The judging module is used to judge whether the second duration of use is greater than the first duration of use;
所述第三确定模块,用于当所述判断模块判断出所述第二使用时长大于所述第一使用时长时,根据所述第二使用时长以及预先统计出的所述移动终端的当前运行应用中每个应用的平均功耗,从所述当前运行应用中确定出至少一个目标应用;The third determination module is configured to, when the judging module determines that the second duration of use is greater than the first duration of use, according to the second duration of use and the pre-stated current operation of the mobile terminal The average power consumption of each application in the applications, at least one target application is determined from the currently running applications;
所述关闭模块,用于关闭每个所述目标应用。The closing module is configured to close each of the target applications.
本发明实施例中,确定移动终端当前接入的无线网络的第一网络制式,并检测移动终端在该第一网络制式下的目标发射功率,根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在该第一网络制式下目标发射功率对应的第一电流值并输出该第一电流值,其中,该第一电流值用于标识移动终端在该第一网络制式下的功耗,且该第一电流值越大,移动终端在该第一网络制式下的功耗越大。实施本发明实施例能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,提高了用户的使用体验。In the embodiment of the present invention, the first network standard of the wireless network that the mobile terminal is currently accessing is determined, and the target transmission power of the mobile terminal under the first network standard is detected, and the transmission power and current value of the different network standards stored in advance are determined. The corresponding relationship, determine the first current value corresponding to the target transmission power under the first network standard and output the first current value, wherein the first current value is used to identify the power of the mobile terminal under the first network standard power consumption, and the greater the first current value, the greater the power consumption of the mobile terminal under the first network standard. The implementation of the embodiments of the present invention enables the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, thereby enabling the user to choose a reasonable way to access the Internet, and improving the user experience.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本发明实施例公开的一种移动终端功耗的确定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种移动终端功耗的确定方法的流程示意图;FIG. 2 is a schematic flowchart of another method for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图3是本发明实施例公开的一种移动终端功耗的确定装置的结构示意图;FIG. 3 is a schematic structural diagram of an apparatus for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种移动终端功耗的确定装置的结构示意图;FIG. 4 is a schematic structural diagram of another device for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图5是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图;FIG. 5 is a schematic structural diagram of another device for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图6是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图;FIG. 6 is a schematic structural diagram of another device for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention;
图7是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图。Fig. 7 is a schematic structural diagram of another device for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种移动终端功耗的确定方法及装置,能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,提高了用户的使用体验。以下分别进行详细说明。The embodiment of the present invention discloses a method and device for determining the power consumption of a mobile terminal, which enables the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, thereby enabling the user to choose a reasonable way to access the Internet, improving the User experience. Each will be described in detail below.
请参阅图1,图1是本发明实施例公开的一种移动终端功耗的确定方法的流程示意图。其中,图1所示的方法可以应用于智能手机(如Android手机、iOS手机等)、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端上。如图1所示,该移动终端功耗的确定方法可以包括以下操作:Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of a method for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. Wherein, the method shown in FIG. 1 can be applied to mobile terminals such as smart phones (such as Android phones, iOS phones, etc.), handheld computers, tablet computers, and personal digital assistants (Personal Digital Assistant, PDA). As shown in Figure 1, the method for determining the power consumption of the mobile terminal may include the following operations:
S101、确定移动终端当前接入的无线网络的第一网络制式,并检测移动终端在该第一网络制式下的目标发射功率。S101. Determine the first network standard of the wireless network currently accessed by the mobile terminal, and detect the target transmit power of the mobile terminal under the first network standard.
本发明实施例中,在确定出移动终端当前接入的无线网络的第一网络制式后,检测移动终端在该第一网络制式下的目标发射功率,其中,该第一网络制式可以包括2G、3G以及4G中的任意一种,本发明实施例不做限定。In the embodiment of the present invention, after determining the first network standard of the wireless network currently accessed by the mobile terminal, the target transmission power of the mobile terminal under the first network standard is detected, wherein the first network standard may include 2G, Any one of 3G and 4G is not limited in this embodiment of the present invention.
S102、根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在上述第一网络制式下上述目标发射功率对应的第一电流值。S102. Determine a first current value corresponding to the target transmit power under the first network standard according to the pre-stored correspondence between transmit power and current values under different network standards.
本发明实施例中,移动终端中可以预先存储有不同网络制式下发射功率与电流值的对应关系,且该对应关系可以是移动终端的生产厂商在不同网络制式下针对不同的发射功率测试得到并存储在移动终端中的,其中,对于一个网络制式而言,不同的发射功率对应不同的电流值,对于不同的网络制式而言,相同的发射功率对应的电流值可以相同也可以不同,不同的发射功率对应的电流值可以相同,也可以不同。In the embodiment of the present invention, the corresponding relationship between transmission power and current value under different network standards may be pre-stored in the mobile terminal, and the corresponding relationship may be obtained by the manufacturer of the mobile terminal for different transmission power tests under different network standards and obtained. Stored in the mobile terminal, wherein, for a network standard, different transmission powers correspond to different current values, and for different network standards, the current values corresponding to the same transmission power can be the same or different, different The current values corresponding to the transmit power may be the same or different.
本发明实施例中,某个网络制式下发射功率对应的电流值用于标识移动终端在该网络制式下的功耗,且发射功率对应的电流值越大,移动终端在该网络制式下的功耗就越大。即该第一电流值用于标识移动终端在上述第一网络制式下的功耗,且第一电流值越大,移动终端在上述第一网络制式下的功耗就越大。In the embodiment of the present invention, the current value corresponding to the transmission power under a certain network standard is used to identify the power consumption of the mobile terminal under the network standard, and the larger the current value corresponding to the transmission power, the greater the power consumption of the mobile terminal under the network standard. The greater the consumption. That is, the first current value is used to identify the power consumption of the mobile terminal under the above-mentioned first network standard, and the larger the first current value is, the greater the power consumption of the mobile terminal under the above-mentioned first network standard is.
S103、输出上述第一电流值。S103. Output the above-mentioned first current value.
本发明实施例中,输出上述第一电流值能够使用户直观的了解到移动终端的功耗,进而使用户选择合理的上网方式以降低移动终端的功耗。如用户通过移动终端浏览网页且上述第一电流值比较大时,用户可以通过设置选项设置在移动终端加载网页时,只加载文字,不加载图片和视频。In the embodiment of the present invention, the output of the above-mentioned first current value can enable the user to intuitively know the power consumption of the mobile terminal, and further enable the user to choose a reasonable way to access the Internet to reduce the power consumption of the mobile terminal. For example, when the user browses the webpage through the mobile terminal and the above-mentioned first current value is relatively large, the user can set the mobile terminal to load only the text when loading the webpage through setting options, and not to load pictures and videos.
举例来说,当用户通过移动终端上网或打电话时,可以检测移动终端在当前接入的无线网络的网络制式下的发射功率,并将该发射功率对应的电流值输出给用户。For example, when a user surfs the Internet or makes a phone call through a mobile terminal, it can detect the transmission power of the mobile terminal under the network standard of the currently accessed wireless network, and output the current value corresponding to the transmission power to the user.
在一个可选的实施例中,在执行完毕步骤S103之后,还可以执行以下操作:In an optional embodiment, after step S103 is performed, the following operations may also be performed:
获取移动终端的剩余电量;Obtain the remaining power of the mobile terminal;
计算剩余电量在上述第一电流值下的第一使用时长;Calculate the first duration of use of the remaining power at the above-mentioned first current value;
输出第一使用时长。Output the first usage time.
该可选的实施例能够计算出在上述第一电流值下移动终端的剩余电量的第一使用时长并输出,能够使用户根据该第一使用时长合理的安排自身的通信(上网或打电话)时长。This optional embodiment can calculate and output the first use time of the remaining power of the mobile terminal under the above-mentioned first current value, so that the user can reasonably arrange his own communication (surfing the Internet or making a phone call) according to the first use time duration.
在该可选的实施例中,进一步可选的,在输出第一使用时长之后,还可以执行以下操作:In this optional embodiment, further optionally, after outputting the first usage duration, the following operations may also be performed:
获取用户输入的第二使用时长,其中,该第二使用时长小于当移动终端的所有应用均处于关闭状态时移动终端的剩余电量的使用时长(即移动终端的剩余电量的最大使用时长);Acquiring the second usage duration input by the user, wherein the second usage duration is less than the usage duration of the remaining power of the mobile terminal when all applications of the mobile terminal are in the closed state (ie the maximum usage duration of the remaining power of the mobile terminal);
判断第二使用时长是否大于上述第一使用时长;Determine whether the second duration of use is greater than the first duration of use;
当第二使用时长大于上述第一使用时长时,根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用;When the second usage duration is longer than the first usage duration, at least one target application is determined from the currently running applications according to the second usage duration and the average power consumption of each application in the currently running applications of the mobile terminal calculated in advance ;
关闭每个目标应用。Close each target application.
在该可选的实施例中,具体的,以关闭当前运行应用中的至少一个应用后剩余电量的使用时长大于等于用户输入的第二使用时长为依据,从当前运行应用中确定出至少一个目标应用并关闭,这样能够使移动终端剩余电量的使用时长满足用户对于期望的使用时长的需求,进一步提高了用户的使用体验。In this optional embodiment, specifically, at least one target is determined from the currently running applications on the basis that the usage time of the remaining power after closing at least one of the currently running applications is greater than or equal to the second usage time input by the user application and close, so that the use time of the remaining power of the mobile terminal can meet the user's demand for the expected use time, and further improve the user's use experience.
作为一种可选的实施方式,根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用可以包括:As an optional implementation manner, determining at least one target application from the currently running applications according to the second usage duration and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal may include:
根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从当前运行应用中确定出至少一个应用组,其中,每个应用组包括至少一个应用;Determine at least one application group from the currently running applications according to the second usage time and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal, wherein each application group includes at least one application;
输出上述至少一个应用组,并获取用户从上述至少一个应用组中选择的目标应用组,并将该目标应用组的每个应用确定为目标应用。Outputting the at least one application group, acquiring a target application group selected by the user from the at least one application group, and determining each application in the target application group as a target application.
其中,该可选的实施方式能够以关闭当前运行应用中的至少一个应用后剩余电量的使用时长大于等于用户输入的第二使用时长为依据,为用户提供多种能够关闭的应用的组合(即多个可以关闭的应用组),以使用户根据自身的需求选择合适的应用组,用户选择好合适的应用组后对该应用组内的每个应用执行关闭操作,提高了用户的使用体验。Wherein, this optional implementation mode can provide the user with a combination of various applications that can be closed (i.e. Multiple application groups that can be closed), so that the user can select a suitable application group according to his own needs. After the user selects the suitable application group, each application in the application group can be closed, which improves the user experience.
作为又一种可选的实施方式,根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用可以包括:As yet another optional implementation manner, determining at least one target application from the currently running applications according to the second usage duration and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal may include:
根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从当前运行应用中确定出至少一个应用组,其中,每个应用组包括至少一个应用;Determine at least one application group from the currently running applications according to the second usage time and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal, wherein each application group includes at least one application;
根据预先统计的上述至少一个应用组中每个应用的使用频率,从上述至少一个应用组中确定出使用频率最低的应用所在的目标应用组,并将该目标应用组的每个应用确定为目标应用。According to the pre-statistical use frequency of each application in the at least one application group, determine the target application group in which the application with the lowest frequency of use is located in the at least one application group, and determine each application in the target application group as a target application.
其中,该可选的实施方式能够根据预先设置的选择规则,如应用的使用频率、应用的优先级或应用的运行状态(如前台运行或后台运行)等,从确定出的至少一个应用组中自动选择出一个应用组,其中,该应用组中应用的使用频率低或该应用组中应用的优先级低或该应用组中应用的运行状态为后台运行等,并关闭该应用组中的所有应用,这样能够使移动终端更加智能化,减少了用户的手动操作,提高了用户的使用体验。Wherein, in this optional embodiment, according to preset selection rules, such as application frequency, application priority, or application running status (such as foreground running or background running), etc., from at least one determined application group Automatically select an application group, wherein the application frequency in the application group is low or the priority of the application in the application group is low, or the running status of the application in the application group is running in the background, etc., and close all the applications in the application group application, which can make the mobile terminal more intelligent, reduce the manual operation of the user, and improve the user experience.
本发明实施例中,确定移动终端当前接入的无线网络的第一网络制式,并检测移动终端在该第一网络制式下的目标发射功率,根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在该第一网络制式下目标发射功率对应的第一电流值并输出该第一电流值,其中,该第一电流值用于标识移动终端在该第一网络制式下的功耗,且该第一电流值越大,移动终端在该第一网络制式下的功耗越大。实施本发明实施例能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,提高了用户的使用体验。In the embodiment of the present invention, the first network standard of the wireless network that the mobile terminal is currently accessing is determined, and the target transmission power of the mobile terminal under the first network standard is detected, and the transmission power and current value of the different network standards stored in advance are determined. The corresponding relationship, determine the first current value corresponding to the target transmission power under the first network standard and output the first current value, wherein the first current value is used to identify the power of the mobile terminal under the first network standard power consumption, and the greater the first current value, the greater the power consumption of the mobile terminal under the first network standard. The implementation of the embodiments of the present invention enables the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, thereby enabling the user to choose a reasonable way to access the Internet, and improving the user experience.
请参阅图2,图2是本发明实施例公开的另一种移动终端功耗的确定方法的流程示意图。其中,图2所示的方法可以应用于智能手机(如Android手机、iOS手机等)、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端上。如图2所示,该移动终端功耗的确定方法可以包括以下操作:Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another method for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. Wherein, the method shown in FIG. 2 can be applied to mobile terminals such as smart phones (such as Android phones, iOS phones, etc.), handheld computers, tablet computers, and personal digital assistants (Personal Digital Assistant, PDA). As shown in Figure 2, the method for determining the power consumption of the mobile terminal may include the following operations:
S201、确定移动终端当前接入的无线网络的第一网络制式,并检测移动终端在该第一网络制式下的目标发射功率。S201. Determine a first network standard of the wireless network currently accessed by the mobile terminal, and detect a target transmit power of the mobile terminal under the first network standard.
本发明实施例中,该第一网络制式可以包括2G、3G以及4G中的任意一种,本发明实施例不做限定。In this embodiment of the present invention, the first network standard may include any one of 2G, 3G, and 4G, which is not limited in this embodiment of the present invention.
S202、根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在上述第一网络制式下上述目标发射功率对应的第一电流值。S202. Determine a first current value corresponding to the target transmit power under the first network standard according to the pre-stored correspondence between transmit power and current values under different network standards.
本发明实施例中,移动终端中可以预先存储有不同网络制式下发射功率与电流值的对应关系,且该对应关系可以是移动终端的生产厂商在不同网络制式下针对不同的发射功率测试得到并存储在移动终端中的,其中,对于一个网络制式而言,不同的发射功率对应不同的电流值,对于不同的网络制式而言,相同的发射功率对应的电流值可以相同也可以不同,不同的发射功率对应的电流值可以相同,也可以不同。In the embodiment of the present invention, the corresponding relationship between transmission power and current value under different network standards may be pre-stored in the mobile terminal, and the corresponding relationship may be obtained by the manufacturer of the mobile terminal for different transmission power tests under different network standards and obtained. Stored in the mobile terminal, wherein, for a network standard, different transmission powers correspond to different current values, and for different network standards, the current values corresponding to the same transmission power can be the same or different, different The current values corresponding to the transmit power may be the same or different.
本发明实施例中,某个网络制式下发射功率对应的电流值用于标识移动终端在该网络制式下的功耗,且发射功率对应的电流值越大,移动终端在该网络制式下的功耗就越大。即该第一电流值用于标识移动终端在上述第一网络制式下的功耗,且第一电流值越大,移动终端在上述第一网络制式下的功耗就越大。In the embodiment of the present invention, the current value corresponding to the transmission power under a certain network standard is used to identify the power consumption of the mobile terminal under the network standard, and the larger the current value corresponding to the transmission power, the greater the power consumption of the mobile terminal under the network standard. The greater the consumption. That is, the first current value is used to identify the power consumption of the mobile terminal under the above-mentioned first network standard, and the larger the first current value is, the greater the power consumption of the mobile terminal under the above-mentioned first network standard is.
S203、输出上述第一电流值。S203. Output the above-mentioned first current value.
本发明实施例中,输出上述第一电流值能够使用户直观的了解到移动终端的功耗,进而使用户选择合理的上网方式以降低移动终端的功耗。In the embodiment of the present invention, the output of the above-mentioned first current value can enable the user to intuitively know the power consumption of the mobile terminal, and further enable the user to choose a reasonable way to access the Internet to reduce the power consumption of the mobile terminal.
S204、从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式。S204. Determine a second network standard whose current value is smaller than the first current value under the target transmit power from the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards.
S205、将移动终端当前接入的无线网络由上述第一网络制式切换为上述第二网络制式。S205. Switch the wireless network currently accessed by the mobile terminal from the above-mentioned first network standard to the above-mentioned second network standard.
本发明实施例能够实现移动终端接入的无线网络的智能切换,即在相同的目标发射功率下将移动终端接入的无线网络的网络制式切换到功耗比较低的网络制式下,进而在保证用户正常通信的同时,降低了移动终端的功耗,延长了移动终端剩余电量的使用时长,提高了用户的使用体验。The embodiment of the present invention can realize the intelligent switching of the wireless network accessed by the mobile terminal, that is, switch the network standard of the wireless network accessed by the mobile terminal to a network standard with relatively low power consumption under the same target transmission power, and then ensure While the user communicates normally, the power consumption of the mobile terminal is reduced, the use time of the remaining power of the mobile terminal is prolonged, and the user experience is improved.
S206、输出在上述第二网络制式下上述目标发射功率对应的第二电流值。S206. Output a second current value corresponding to the target transmission power under the second network standard.
作为一种可选的实施方式,从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式可以包括:As an optional implementation manner, determining the second network standard whose current value is smaller than the first current value under the above-mentioned target transmit power from the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards may include:
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, search for all network standards whose current value is smaller than the above-mentioned first current value under the above-mentioned target transmission power;
将该所有网络制式中上述目标发射功率对应电流值最小的网络制式确定为第二网络制式。Among all the network standards, the network standard with the minimum current value corresponding to the target transmit power is determined as the second network standard.
作为另一种可选的实施方式,从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式也可以包括:As another optional implementation manner, from the corresponding relationship between the transmission power and the current value under the above-mentioned different network systems, it is determined that the second network system whose current value is smaller than the above-mentioned first current value under the above-mentioned target transmission power may also include :
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式,其中,该所有网络制式中不同网络制式对应不同的优先级;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, find all the network standards whose current value is less than the above-mentioned first current value under the above-mentioned target transmission power, wherein, among the all network standards, different network standards correspond to different priorities class;
将该所有网络制式中优先级最高的网络制式确定为第二网络制式。The network standard with the highest priority among all the network standards is determined as the second network standard.
在一个可选的实施例中,在执行步骤S205之前,还可以执行以下操作:In an optional embodiment, before performing step S205, the following operations may also be performed:
输出提示信息,其中,该提示信息用于提示是否将移动终端当前接入的无线网络的网络制式由上述第一网络制式切换为上述第二网络制式;Outputting prompt information, wherein the prompt information is used to prompt whether to switch the network standard of the wireless network currently accessed by the mobile terminal from the above-mentioned first network standard to the above-mentioned second network standard;
检测是否接收到用户针对上述提示信息输入的确认信息,其中,该确认信息用于指示将移动终端接入的无线网络的网络制式由上述第一网络制式切换为上述第二网络制式;Detecting whether confirmation information input by the user for the above-mentioned prompt information is received, wherein the confirmation information is used to indicate that the network standard of the wireless network to be accessed by the mobile terminal is switched from the above-mentioned first network standard to the above-mentioned second network standard;
当检测结果为是时,触发执行步骤S205。When the detection result is yes, the execution of step S205 is triggered.
可见,实施本发明实施例能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,且能够自动将移动终端当前接入的无线网络切换到功耗较小的网络制式下,减少了移动终端的功耗,延长了移动终端剩余电量的使用时长,提高了用户的使用体验。It can be seen that the implementation of the embodiment of the present invention can enable the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, and then enable the user to choose a reasonable way to access the Internet, and can automatically switch the wireless network currently accessed by the mobile terminal Under the network standard with low power consumption, the power consumption of the mobile terminal is reduced, the use time of the remaining power of the mobile terminal is extended, and the user experience is improved.
请参阅图3,图3是本发明实施例公开的一种移动终端功耗的确定装置的结构示意图。其中,图3所示的装置可以安装在智能手机(如Android手机、iOS手机等)、掌上电脑、平板电脑、个人数字助理(Personal Digital Assistant,PDA)等移动终端上。如图3所示,该移动终端功耗的确定装置可以包括第一确定模块301、检测模块302、第二确定模块303以及输出模块304,其中:Please refer to FIG. 3 . FIG. 3 is a schematic structural diagram of an apparatus for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. Wherein, the device shown in FIG. 3 can be installed on mobile terminals such as smart phones (such as Android phones, iOS phones, etc.), palmtop computers, tablet computers, and personal digital assistants (Personal Digital Assistant, PDA). As shown in FIG. 3, the device for determining the power consumption of the mobile terminal may include a first determination module 301, a detection module 302, a second determination module 303, and an output module 304, wherein:
第一确定模块301用于确定移动终端当前接入的无线网络的第一网络制式。The first determining module 301 is configured to determine the first network standard of the wireless network currently accessed by the mobile terminal.
本发明实施例中,具体的,在确定出该第一网络制式之后,第一确定模块301向检测模块302以及第二确定模块303发送该第一网络制式,并向检测模块302发送用于触发检测模块302执行相关操作的触发消息,其中,该第一网络制式可以包括2G、3G以及4G中的任意一种,本发明实施例不做限定。In the embodiment of the present invention, specifically, after the first network standard is determined, the first determination module 301 sends the first network standard to the detection module 302 and the second determination module 303, and sends a trigger to the detection module 302 The detection module 302 executes a trigger message of a related operation, wherein the first network standard may include any one of 2G, 3G, and 4G, which is not limited in this embodiment of the present invention.
检测模块302用于检测移动终端在第一确定模块301确定出的第一网络制式下的目标发射功率。The detection module 302 is configured to detect the target transmit power of the mobile terminal under the first network standard determined by the first determination module 301 .
本发明实施例中,具体的,在检测出移动终端在上述第一网络制式下的目标发射功率之后,检测模块302将该目标发射功率发送至第二确定模块303。In the embodiment of the present invention, specifically, after detecting the target transmit power of the mobile terminal under the above-mentioned first network standard, the detection module 302 sends the target transmit power to the second determination module 303 .
第二确定模块303用于根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在上述第一网络制式下上述目标发射功率对应的第一电流值。The second determining module 303 is configured to determine a first current value corresponding to the above-mentioned target transmit power under the above-mentioned first network standard according to the pre-stored correspondence between transmit power and current values under different network standards.
本发明实施例中,在接收到第一确定模块301发送的上述第一网络制式以及检测模块302发送的上述目标发射功率之后,第二确定模块303根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在上述第一网络制式下上述目标发射功率对应的第一电流值,并将该第一电流值发送至输出模块304。其中,移动终端中可以预先存储有不同网络制式下发射功率与电流值的对应关系,且该对应关系可以是移动终端的生产厂商在不同网络制式下针对不同的发射功率测试得到并存储在移动终端中的,其中,对于一个网络制式而言,不同的发射功率对应不同的电流值,对于不同的网络制式而言,相同的发射功率对应的电流值可以相同也可以不同,不同的发射功率对应的电流值可以相同,也可以不同。In the embodiment of the present invention, after receiving the above-mentioned first network standard sent by the first determining module 301 and the above-mentioned target transmission power sent by the detecting module 302, the second determining module 303 sets the transmit power and current according to different pre-stored network standards value correspondence, determine the first current value corresponding to the above-mentioned target transmission power under the above-mentioned first network standard, and send the first current value to the output module 304 . Wherein, the mobile terminal may pre-store the corresponding relationship between transmission power and current value under different network standards, and the corresponding relationship may be obtained by the manufacturer of the mobile terminal for different transmission power tests under different network standards and stored in the mobile terminal. Among them, for a network system, different transmission powers correspond to different current values, for different network systems, the current values corresponding to the same transmission power can be the same or different, and different transmission powers correspond to The current values may be the same or different.
输出模块304用于输出上述第一电流值。The output module 304 is used for outputting the above-mentioned first current value.
在一个可选的实施例中,第二确定模块303还可以用于从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式以及在该第二网络制式下上述目标发射功率对应的第二电流值,并将该第二电流值发送至输出模块304。且在图3所示的装置结构基础上,该移动终端功耗的确定装置还可以包括切换模块305,此时,该移动终端功耗的确定装置的结构可以如图4所示,图4是本发明实施例公开的另一种移动终端功耗的确定装置的结构示意图。其中:In an optional embodiment, the second determination module 303 can also be used to determine from the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, that the current value under the above-mentioned target transmission power is smaller than the above-mentioned first current value The second network standard and the second current value corresponding to the target transmit power under the second network standard, and send the second current value to the output module 304 . And on the basis of the device structure shown in Figure 3, the device for determining the power consumption of the mobile terminal may also include a switching module 305. At this time, the structure of the device for determining the power consumption of the mobile terminal may be as shown in Figure 4, and Figure 4 is A schematic structural diagram of another apparatus for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. in:
切换模块305用于将移动终端当前接入的无线网络由上述第一网络制式切换为上述第二网络制式。The switching module 305 is used to switch the wireless network currently accessed by the mobile terminal from the above-mentioned first network standard to the above-mentioned second network standard.
在该可选的实施例中,输出模块304还可以用于输出在上述第二网络制式下上述目标发射功率对应的第二电流值。In this optional embodiment, the output module 304 may also be configured to output a second current value corresponding to the above-mentioned target transmission power under the above-mentioned second network standard.
作为该可选的实施例的一种可选的实施方式,第二确定模块303从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式的具体方式可以为:As an optional implementation of this optional embodiment, the second determination module 303 determines from the correspondence between the transmission power and the current value under the above-mentioned different network standards that the current value under the above-mentioned target transmission power is less than the above-mentioned first The specific way of the second network standard of a current value can be:
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, search for all network standards whose current value is smaller than the above-mentioned first current value under the above-mentioned target transmission power;
将该所有网络制式中上述目标发射功率对应电流值最小的网络制式确定为第二网络制式。Among all the network standards, the network standard with the minimum current value corresponding to the target transmit power is determined as the second network standard.
作为该可选的实施例的另一种可选的实施方式,第二确定模块303从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式的具体方式也可以为:As another optional implementation manner of this optional embodiment, the second determining module 303 determines from the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards that the current value under the above-mentioned target transmission power is less than the above-mentioned The specific manner of the second network standard of the first current value may also be:
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式,其中,该所有网络制式中不同的网络制式对应不同的优先级;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, find all the network standards whose current value is less than the above-mentioned first current value under the above-mentioned target transmission power, wherein the different network standards in all the network standards correspond to different priority;
将该所有网络制式中优先级最高的网络制式确定为第二网络制式。The network standard with the highest priority among all the network standards is determined as the second network standard.
在另一个可选的实施例中,在图3所示的装置结构基础上,该移动终端功耗的确定装置还可以包括第一获取模块306以及计算模块307,此时,该移动终端的确定装置的结构可以如图5所示,图5是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图。其中:In another optional embodiment, on the basis of the device structure shown in FIG. 3 , the device for determining the power consumption of the mobile terminal may also include a first acquisition module 306 and a calculation module 307. At this time, the determination of the mobile terminal The structure of the device may be shown in FIG. 5 , and FIG. 5 is a schematic structural diagram of another device for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. in:
第一获取模块306用于获取移动终端的剩余电量。The first obtaining module 306 is used for obtaining the remaining power of the mobile terminal.
计算模块307用于计算第一获取模块306获取到的剩余电量在上述第一电流值下的第一使用时长。The calculation module 307 is used to calculate the first usage time of the remaining power obtained by the first acquisition module 306 under the above-mentioned first current value.
输出模块304还可以用于输出计算模块307计算出的上述第一使用时长。The output module 304 may also be configured to output the above-mentioned first usage time calculated by the calculation module 307 .
在该另一种可选的实施例中,进一步可选的,该移动终端功耗的确定装置还可以包括第二获取模块308、判断模块309、第三确定模块310以及关闭模块311,此时,该移动终端的确定装置可以如图6所示,图6是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图。其中:In another optional embodiment, as a further option, the device for determining the power consumption of the mobile terminal may also include a second acquiring module 308, a judging module 309, a third determining module 310, and a closing module 311, at this time The apparatus for determining the mobile terminal may be shown in FIG. 6 , which is a schematic structural diagram of another apparatus for determining power consumption of the mobile terminal disclosed in an embodiment of the present invention. in:
第二获取模块308用于获取用户输入的第二使用时长。The second acquiring module 308 is configured to acquire the second usage duration input by the user.
判断模块309用于判断上述第二使用时长是否大于上述第一使用时长。The judging module 309 is used for judging whether the second duration of use is greater than the first duration of use.
第三确定模块310用于当判断模块判309断出上述第二使用时长大于上述第一使用时长时,根据上述第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用。The third determination module 310 is used to determine that the second usage duration is greater than the first usage duration by the judging module 309, according to the second usage duration and the average value of each application in the currently running applications of the mobile terminal For power consumption, at least one target application is determined from the currently running applications.
关闭模块311用于关闭每个目标应用。The closing module 311 is used to close each target application.
作为一种可选的实施方式,第三确定模块310根据上述第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用的具体方式可以为:As an optional implementation manner, the third determination module 310 determines at least one application from the currently running applications of the mobile terminal according to the above-mentioned second usage time and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal. The specific way of target application can be:
根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从当前运行应用中确定出至少一个应用组,其中,每个应用组包括至少一个应用;Determine at least one application group from the currently running applications according to the second usage time and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal, wherein each application group includes at least one application;
输出上述至少一个应用组,并获取用户从上述至少一个应用组中选择的目标应用组,并将该目标应用组的每个应用确定为目标应用。Outputting the at least one application group, acquiring a target application group selected by the user from the at least one application group, and determining each application in the target application group as a target application.
作为另一种可选的实施方式,第三确定模块310根据上述第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用的具体方式也可以为:As another optional implementation manner, the third determination module 310 determines at least A specific way to apply a target can also be:
根据第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从当前运行应用中确定出至少一个应用组,其中,每个应用组包括至少一个应用;Determine at least one application group from the currently running applications according to the second usage time and the pre-stated average power consumption of each application in the currently running applications of the mobile terminal, wherein each application group includes at least one application;
根据预先统计的上述至少一个应用组中每个应用的使用频率,从上述至少一个应用组中确定出使用频率最低的应用所在的目标应用组,并将该目标应用组的每个应用确定为目标应用。According to the pre-statistical use frequency of each application in the at least one application group, determine the target application group in which the application with the lowest frequency of use is located in the at least one application group, and determine each application in the target application group as a target application.
可见,实施本发明实施例能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,提高了用户的使用体验。It can be seen that the implementation of the embodiments of the present invention enables the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, thereby enabling the user to choose a reasonable way to access the Internet, and improving the user experience.
请参阅图7,图7是本发明实施例公开的又一种移动终端功耗的确定装置的结构示意图。如图7所示,该移动终端功耗的确定装置可以包括:壳体701、处理器702、存储器703、电路板704和电源电路705,且该移动终端还包括显示屏(未在图7中画出)。其中,电路板704安置在壳体701围成的空间内部,处理器702和存储器703设置在电路板704上,电源电路705用于为电子设备的各个电路或器件供电,存储器703用于存储可执行程序代码,处理器702通过读取存储器703中存储的可执行程序代码来运行与该可执行程序代码对应的程序,以用于执行以下步骤:Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of another apparatus for determining power consumption of a mobile terminal disclosed in an embodiment of the present invention. As shown in Figure 7, the device for determining the power consumption of the mobile terminal may include: a housing 701, a processor 702, a memory 703, a circuit board 704, and a power supply circuit 705, and the mobile terminal also includes a display screen (not shown in Figure 7 draw). Wherein, the circuit board 704 is placed inside the space surrounded by the casing 701, the processor 702 and the memory 703 are arranged on the circuit board 704, the power supply circuit 705 is used to supply power to each circuit or device of the electronic device, and the memory 703 is used to store Executing the program code, the processor 702 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 703, so as to perform the following steps:
确定移动终端当前接入的无线网络的第一网络制式,并检测移动终端在该第一网络制式下的目标发射功率;Determine the first network standard of the wireless network currently accessed by the mobile terminal, and detect the target transmit power of the mobile terminal under the first network standard;
根据预先存储的不同网络制式下发射功率与电流值的对应关系,确定在上述第一网络制式下上述目标发射功率对应的第一电流值,其中,该第一电流值用于标识移动终端在第一网络制式下的功耗,且该第一电流值越大,移动终端在第一网络制式下的功耗越大;According to the pre-stored corresponding relationship between transmit power and current value under different network standards, determine the first current value corresponding to the above-mentioned target transmit power under the above-mentioned first network standard, wherein the first current value is used to identify the mobile terminal at the Power consumption under a network standard, and the larger the first current value, the greater the power consumption of the mobile terminal under the first network standard;
通过显示屏输出上述第一电流值。The above-mentioned first current value is output through the display screen.
可选的,处理器702通过读取存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,还用于执行以下步骤:Optionally, the processor 702 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 703, and is also used to perform the following steps:
从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, determine the second network standard whose current value is smaller than the above-mentioned first current value under the above-mentioned target transmission power;
将移动终端当前接入的无线网络由上述第一网络制式切换为上述第二网络制式,并输出在上述第二网络制式下上述目标发射功率对应的第二电流值。Switching the wireless network currently accessed by the mobile terminal from the above-mentioned first network standard to the above-mentioned second network standard, and outputting a second current value corresponding to the above-mentioned target transmission power under the above-mentioned second network standard.
可选的,处理器702从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式的具体方式可以为:Optionally, the specific manner for the processor 702 to determine the second network standard whose current value is smaller than the first current value under the above-mentioned target transmit power from the corresponding relationship between the transmit power and the current value under the above-mentioned different network standards may be as follows:
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, search for all network standards whose current value is smaller than the above-mentioned first current value under the above-mentioned target transmission power;
将该所有网络制式中上述目标发射功率对应电流值最小的网络制式确定为第二网络制式。Among all the network standards, the network standard with the minimum current value corresponding to the target transmit power is determined as the second network standard.
可选的,处理器702从上述不同网络制式下发射功率与电流值的对应关系中,确定出在上述目标发射功率下电流值小于上述第一电流值的第二网络制式的具体方式也可以为:Optionally, the specific manner in which the processor 702 determines the second network standard whose current value is smaller than the first current value under the above-mentioned target transmit power from the corresponding relationship between the transmit power and the current value under the above-mentioned different network standards may also be: :
从上述不同网络制式下发射功率与电流值的对应关系中,查找在上述目标发射功率下电流值小于上述第一电流值的所有网络制式,其中,该所有网络制式中不同网络制式对应不同的优先级;From the corresponding relationship between the transmission power and the current value under the above-mentioned different network standards, find all the network standards whose current value is less than the above-mentioned first current value under the above-mentioned target transmission power, wherein, among the all network standards, different network standards correspond to different priorities class;
将该所有网络制式中优先级最高的网络制式确定为第二网络制式。The network standard with the highest priority among all the network standards is determined as the second network standard.
可选的,在通过显示屏输出上述第一电流值之后,处理器702通过读取存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,还用于执行以下步骤:Optionally, after the above-mentioned first current value is output through the display screen, the processor 702 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 703, and is also used to perform the following steps:
获取移动终端的剩余电量;Obtain the remaining power of the mobile terminal;
计算该剩余电量在上述第一电流值下的第一使用时长;Calculate the first duration of use of the remaining power at the above-mentioned first current value;
通过显示屏输出该第一使用时长。The first usage time is output through the display screen.
可选的,在通过显示屏输出第一使用时长之后,处理器702通过读取存储器703中存储的可执行程序代码来运行与可执行程序代码对应的程序,还用于执行以下步骤:Optionally, after outputting the first duration of use through the display screen, the processor 702 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 703, and is also used to perform the following steps:
获取用户输入的第二使用时长;Obtain the second duration of use input by the user;
判断该第二使用时长是否大于上述第一使用时长;judging whether the second duration of use is greater than the first duration of use;
当该第二使用时长大于上述第一使用时长时,根据该第二使用时长以及预先统计出的移动终端的当前运行应用中每个应用的平均功耗,从该当前运行应用中确定出至少一个目标应用;When the second usage duration is longer than the first usage duration, according to the second usage duration and the pre-stated average power consumption of each application in the current running applications of the mobile terminal, determine at least one of the current running applications target application;
关闭每个目标应用。Close each target application.
实施本发明实施例能够使用户根据输出的电流值了解移动终端在当前无线网络中的功耗,进而能够使用户合理的选择上网方式,提高了用户的使用体验。The implementation of the embodiments of the present invention enables the user to know the power consumption of the mobile terminal in the current wireless network according to the output current value, thereby enabling the user to choose a reasonable way to access the Internet, and improving the user experience.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作以及模块并不一定是本发明所必须的。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例装置中的模块可以根据实际需要进行合并、划分和删减。The modules in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本发明实施例中所述模块,可以通过通用集成电路,例如CPU(CentralProcessing Unit,中央处理器),或通过ASIC(Application Specific IntegratedCircuit,专用集成电路)来实现。The modules described in the embodiments of the present invention may be implemented by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上对本发明实施例公开的一种移动终端功耗的确定方法及装置进行了详细介绍,本文中应用了具体实例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method and device for determining the power consumption of a mobile terminal disclosed in the embodiments of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are only used to help understanding The present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as Limitations on the Invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810307505.0ACN108668292A (en) | 2016-01-06 | 2016-01-06 | Method and device for determining power consumption of mobile terminal |
| CN201610012052.XACN105611550B (en) | 2016-01-06 | 2016-01-06 | A method and device for determining power consumption of a mobile terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610012052.XACN105611550B (en) | 2016-01-06 | 2016-01-06 | A method and device for determining power consumption of a mobile terminal |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810307505.0ADivisionCN108668292A (en) | 2016-01-06 | 2016-01-06 | Method and device for determining power consumption of mobile terminal |
| Publication Number | Publication Date |
|---|---|
| CN105611550A CN105611550A (en) | 2016-05-25 |
| CN105611550Btrue CN105611550B (en) | 2018-06-29 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610012052.XAExpired - Fee RelatedCN105611550B (en) | 2016-01-06 | 2016-01-06 | A method and device for determining power consumption of a mobile terminal |
| CN201810307505.0APendingCN108668292A (en) | 2016-01-06 | 2016-01-06 | Method and device for determining power consumption of mobile terminal |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810307505.0APendingCN108668292A (en) | 2016-01-06 | 2016-01-06 | Method and device for determining power consumption of mobile terminal |
| Country | Link |
|---|---|
| CN (2) | CN105611550B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106793010B (en)* | 2016-12-30 | 2020-01-14 | Oppo广东移动通信有限公司 | Network access method and equipment |
| CN111642000B (en)* | 2020-05-27 | 2021-11-05 | 广东小天才科技有限公司 | Data transmission method and device, electronic equipment and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101656795A (en)* | 2008-08-22 | 2010-02-24 | Lg电子株式会社 | Mobile terminal and method of reducing power consumption in the mobile terminal |
| CN102572914A (en)* | 2010-12-10 | 2012-07-11 | 中兴通讯股份有限公司 | Method, device and system for saving power for terminal |
| CN102685857A (en)* | 2011-03-17 | 2012-09-19 | 国基电子(上海)有限公司 | Mobile phone and switching method of communication systems thereof |
| CN103199310A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power guarantee method, device and mobile terminal for portable electronic products |
| CN104168392A (en)* | 2014-09-09 | 2014-11-26 | 北京奇虎科技有限公司 | Mobile terminal and charging/residual use time display method and device thereof |
| CN104601816A (en)* | 2015-01-13 | 2015-05-06 | 广东欧珀移动通信有限公司 | Method and device for reminding user of saving electricity |
| CN105188100A (en)* | 2015-06-10 | 2015-12-23 | 广东欧珀移动通信有限公司 | Method for intelligently switching 4G network frequency band of terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9086875B2 (en)* | 2009-06-05 | 2015-07-21 | Qualcomm Incorporated | Controlling power consumption of a mobile device based on gesture recognition |
| CN102981905B (en)* | 2011-09-05 | 2016-03-30 | 联想(北京)有限公司 | A kind of application control method and electronic equipment |
| CN103365399B (en)* | 2013-06-26 | 2017-02-08 | 贝壳网际(北京)安全技术有限公司 | Method and device for controlling application object of mobile terminal |
| CN104360852A (en)* | 2014-10-30 | 2015-02-18 | 北京数字天域科技股份有限公司 | Application program management method and application program management device of mobile terminal |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101656795A (en)* | 2008-08-22 | 2010-02-24 | Lg电子株式会社 | Mobile terminal and method of reducing power consumption in the mobile terminal |
| CN102572914A (en)* | 2010-12-10 | 2012-07-11 | 中兴通讯股份有限公司 | Method, device and system for saving power for terminal |
| CN102685857A (en)* | 2011-03-17 | 2012-09-19 | 国基电子(上海)有限公司 | Mobile phone and switching method of communication systems thereof |
| CN103199310A (en)* | 2013-02-05 | 2013-07-10 | 北京奇虎科技有限公司 | Battery power guarantee method, device and mobile terminal for portable electronic products |
| CN104168392A (en)* | 2014-09-09 | 2014-11-26 | 北京奇虎科技有限公司 | Mobile terminal and charging/residual use time display method and device thereof |
| CN104601816A (en)* | 2015-01-13 | 2015-05-06 | 广东欧珀移动通信有限公司 | Method and device for reminding user of saving electricity |
| CN105188100A (en)* | 2015-06-10 | 2015-12-23 | 广东欧珀移动通信有限公司 | Method for intelligently switching 4G network frequency band of terminal |
| Publication number | Publication date |
|---|---|
| CN108668292A (en) | 2018-10-16 |
| CN105611550A (en) | 2016-05-25 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104243671B (en) | Volume adjusting method, device and electronic equipment | |
| CN107402790B (en) | Application startup method, device, storage medium and terminal | |
| CN109901881B (en) | Plug-in loading method and device of application program, computer equipment and storage medium | |
| CN108040352B (en) | A service processing method, device and mobile terminal under a hybrid network standard | |
| CN107734616A (en) | Application closing method, device, storage medium and electronic device | |
| CN108768870B (en) | Flow control method and device and mobile terminal | |
| CN105657656B (en) | A kind of transmission power adjustment method and user equipment | |
| CN104536711A (en) | Control method of terminal display | |
| CN110636598B (en) | Terminal power saving control method and device, mobile terminal and storage medium | |
| KR20150138742A (en) | Method for processing contents and electronic device thereof | |
| CN106775828A (en) | Application program installation method and device, computer equipment | |
| CN104580019A (en) | Network service supplying method and device | |
| CN106155557A (en) | A virtual button display method and mobile terminal | |
| CN105657755B (en) | A channel control method and device | |
| CN106453907A (en) | Control method and device for terminal application | |
| CN105611550B (en) | A method and device for determining power consumption of a mobile terminal | |
| CN107272985B (en) | Notification message processing method and related product | |
| CN107734618A (en) | Application closing method, device, storage medium and electronic device | |
| CN109687922B (en) | Signal monitoring method and device of wireless network, storage medium and mobile terminal | |
| CN104699535B (en) | A kind of information processing method and electronic equipment | |
| CN106095567B (en) | A method for allocating installation tasks and a mobile terminal | |
| CN104581402B (en) | A kind of interaction control method and electronic equipment | |
| CN105657280A (en) | Fast focusing method and device and mobile terminal | |
| CN113676271B (en) | Method and device for switching antenna | |
| CN114270297A (en) | Touch screen reporting method, device, electronic device and storage medium |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| 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:20180629 |