Movatterモバイル変換


[0]ホーム

URL:


CN106326074B - Processor operation parameter adjusting method and mobile terminal - Google Patents

Processor operation parameter adjusting method and mobile terminal
Download PDF

Info

Publication number
CN106326074B
CN106326074BCN201610819135.XACN201610819135ACN106326074BCN 106326074 BCN106326074 BCN 106326074BCN 201610819135 ACN201610819135 ACN 201610819135ACN 106326074 BCN106326074 BCN 106326074B
Authority
CN
China
Prior art keywords
processor
electronic red
operating parameters
red envelope
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201610819135.XA
Other languages
Chinese (zh)
Other versions
CN106326074A (en
Inventor
刘合东
李宗骏
唐荣政
张强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610819135.XApriorityCriticalpatent/CN106326074B/en
Publication of CN106326074ApublicationCriticalpatent/CN106326074A/en
Application grantedgrantedCritical
Publication of CN106326074BpublicationCriticalpatent/CN106326074B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention is applicable to the technical field of communication, and provides a method for adjusting operating parameters of a processor and a mobile terminal, wherein the method for adjusting the operating parameters of the processor comprises the following steps: when the preset application is detected to be started, starting the monitoring operation on the electronic red packet; and if the electronic red packet is monitored, the operating parameters of the processor are improved so as to improve the response speed of the processor to the electronic red packet. The invention improves the performance of the processor during the distribution of the electronic red packet, thereby improving the processing speed of the mobile terminal on the red electronic red packet, effectively shortening the operation time of the user for robbing the red packet and improving the probability of the user for robbing the red packet.

Description

Translated fromChinese
处理器运行参数的调整方法及移动终端Processor operating parameter adjustment method and mobile terminal

技术领域technical field

本发明属于通信技术领域,尤其涉及一种处理器运行参数的调整方法及移动终端。The invention belongs to the technical field of communication, and in particular relates to a method for adjusting operating parameters of a processor and a mobile terminal.

背景技术Background technique

目前,大多数的移动终端(例如智能手机、平板电脑等)都安装有大量的应用(Application,APP),例如微信、支付宝、QQ等。这些应用除了具有社交、支付功能外,还具有一些其他的附加功能,例如发/抢电子红包功能。然而,现有的CPU调度策略单一,不能满足一些需要较快瞬时响应的应用场景,比如抢电子红包等,移动终端容易出现卡顿、操作不流程流畅的现象,进而导致用户抢不到红包。At present, most mobile terminals (such as smart phones, tablet computers, etc.) are installed with a large number of applications (Application, APP), such as WeChat, Alipay, QQ, and the like. In addition to social and payment functions, these applications also have some other additional functions, such as the function of sending/grabbing electronic red envelopes. However, the existing CPU scheduling strategy is single, which cannot meet some application scenarios that require fast and instantaneous response, such as grabbing electronic red envelopes, etc. Mobile terminals are prone to freezes and unsmooth operations, which leads to users not being able to grab red envelopes.

故,有必要提出一种新的技术方案,以解决上述技术问题Therefore, it is necessary to propose a new technical solution to solve the above technical problems

发明内容Contents of the invention

鉴于此,本发明实施例提供了一种处理器运行参数的调整方法及移动终端,以提高处理器对电子红包的处理效率,提高用户抢到红包的概率。In view of this, embodiments of the present invention provide a method for adjusting operating parameters of a processor and a mobile terminal, so as to improve the processor's processing efficiency of electronic red packets and increase the probability of users grabbing red packets.

第一方面,提供了一种处理器运行参数的调整方法,所述调整方法包括:In a first aspect, a method for adjusting an operating parameter of a processor is provided, and the adjustment method includes:

当检测到预设应用启动时,启动对电子红包的监听操作;When it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started;

若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。If the electronic red envelope is detected, the operating parameters of the processor are increased to increase the response speed of the processor to the electronic red envelope.

进一步地,在检测到预设应用启动时,启动对电子红包的监听操作之前,所述调整方法还包括:Further, when it is detected that the preset application is started, before the monitoring operation on the electronic red envelope is started, the adjustment method further includes:

在所述预设应用的网络交互接口上设置电子红包监听功能;Setting an electronic red packet monitoring function on the network interaction interface of the preset application;

所述当检测到预设应用启动时,启动对电子红包的监听操作包括:When it is detected that the preset application is started, starting the monitoring operation of the electronic red envelope includes:

当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When it is detected that the preset application is started, the electronic red packet monitoring function on the network interaction interface is started to monitor the electronic red packet.

进一步地,在启动对电子红包的监听操作之后,所述调整方法还包括:Further, after the monitoring operation on the electronic red envelope is started, the adjustment method further includes:

根据预设应用上的界面消息来监听电子红包。Monitor the electronic red envelope according to the interface message on the preset application.

进一步地,所述提升所述处理器的运行参数包括:Further, the raising the operating parameters of the processor includes:

增加所述处理器中CPU和/或GPU的个数,和/或,提升所述处理器中CPU和/或GPU的性能参数;Increase the number of CPUs and/or GPUs in the processor, and/or, improve the performance parameters of the CPUs and/or GPUs in the processor;

所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.

进一步地,所述调整方法还包括:Further, the adjustment method also includes:

在提升所述处理器的运行参数时开始计时,并在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态。The timing is started when the operating parameters of the processor are increased, and after the timing reaches a preset time, the operating parameters of the processor are restored to the state before the improvement.

进一步地,所述调整方法还包括:Further, the adjustment method also includes:

获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成;Obtaining the window change information of the preset application, and judging whether the red envelope grabbing operation has been completed according to the window change information;

若所述抢红包操作已完成,恢复所述处理器的运行参数为提升前的状态。。If the operation of grabbing red envelopes has been completed, restore the operating parameters of the processor to the state before the upgrade. .

第二方面,提供了一种移动终端,所述移动终端包括:In a second aspect, a mobile terminal is provided, and the mobile terminal includes:

监听模块,用于当检测到预设应用启动时,启动对电子红包的监听操作;The monitoring module is used to start the monitoring operation of the electronic red envelope when it is detected that the preset application is started;

第一调整模块,用于若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。The first adjustment module is configured to increase the operating parameters of the processor to increase the response speed of the processor to the electronic red envelope when the electronic red envelope is detected.

第三方面,提供了一种移动终端,所述移动终端包括处理器,所述处理器用于当检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包时,提升自身的运行参数,以提高对电子红包的响应速度。。In the third aspect, a mobile terminal is provided, the mobile terminal includes a processor, and the processor is used to start the monitoring operation of the electronic red envelope when it is detected that the preset application is started; operating parameters to improve the response speed to electronic red envelopes. .

与现有技术相比,本发明实施例通过检测预设应用,并在检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包,则提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度,从而提高了移动终端对电子红包的处理效率,有效地缩短了用户抢红包的操作时间,提高了用户抢到红包的概率。Compared with the prior art, the embodiment of the present invention detects the preset application, and when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started; if the electronic red envelope is detected, the operating parameters of the processor are increased , to improve the response speed of the processor to the electronic red envelope, thereby improving the processing efficiency of the mobile terminal to the electronic red envelope, effectively shortening the operation time for the user to grab the red envelope, and improving the probability of the user grabbing the red envelope.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without creative work.

图1是本发明第一实施例提供的处理器运行参数的调整方法的实现流程图;FIG. 1 is a flow chart of the implementation of the method for adjusting the operating parameters of the processor provided by the first embodiment of the present invention;

图2是本发明第二实施例提供的处理器运行参数的调整方法的实现流程图;FIG. 2 is a flow chart of the implementation of the method for adjusting the operating parameters of the processor provided by the second embodiment of the present invention;

图3是本发明第三实施例提供的处理器运行参数的调整方法的实现流程图;FIG. 3 is a flow chart of the implementation of the method for adjusting the operating parameters of the processor provided by the third embodiment of the present invention;

图4是本发明第四实施例提供的处理器运行参数的调整方法的实现流程图;FIG. 4 is a flow chart of the implementation of the method for adjusting the operating parameters of the processor provided by the fourth embodiment of the present invention;

图5是本发明第五实施例提供的移动终端的示意性框图;Fig. 5 is a schematic block diagram of a mobile terminal provided by a fifth embodiment of the present invention;

图6是本发明第六实施例提供的移动终端的示意性框图;FIG. 6 is a schematic block diagram of a mobile terminal provided by a sixth embodiment of the present invention;

图7是本发明第七实施例提供的移动终端的示意性框图。Fig. 7 is a schematic block diagram of a mobile terminal provided by a seventh embodiment of the present invention.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明实施例通过检测预设应用,并在检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包,则提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度,从而提高了移动终端对电子红包的处理效率,有效地缩短了用户抢红包的操作时间,提高了用户抢到红包的概率。本发明实施例还提供了相应的移动终端,以下分别进行详细的说明。In the embodiment of the present invention, by detecting the preset application, and when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started; if the electronic red envelope is detected, the operating parameters of the processor are increased to improve the processor. The response speed to the electronic red envelope improves the processing efficiency of the mobile terminal to the electronic red envelope, effectively shortens the operation time for the user to grab the red envelope, and improves the probability of the user grabbing the red envelope. The embodiment of the present invention also provides a corresponding mobile terminal, which will be described in detail below.

图1示出了本发明第一实施例提供的处理器运行参数的调整方法的实现流程。Fig. 1 shows the implementation flow of the method for adjusting the operating parameters of the processor provided by the first embodiment of the present invention.

在本发明实施例中,所述处理器运行参数的调整方法应用于移动终端,所述移动终端包括但不限于智能手机、平板电脑等。所述移动终端的处理器上包括多个CPU(CentralProcessing Unit,中央处理器)和/或GPU(Graphic Processing Unit,图形处理器)。In the embodiment of the present invention, the method for adjusting the operating parameters of the processor is applied to a mobile terminal, and the mobile terminal includes but is not limited to a smart phone, a tablet computer, and the like. The processor of the mobile terminal includes multiple CPUs (Central Processing Unit, central processing unit) and/or GPUs (Graphic Processing Unit, graphics processing unit).

参阅图1,所述处理器运行参数的调整方法包括:Referring to Fig. 1, the adjustment method of described processor operation parameter comprises:

在步骤S101中,当检测到预设应用启动时,启动对电子红包的监听操作。In step S101, when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started.

在这里,移动终端实时地检测应用程序的状态,并在有应用程序启动时,判断所述应用程序是否为预设应用,若是,则开启对电子红包的监听操作。可选地,所述预设应用为具有电子红包收发功能的应用程序,包括但不限于比如微信、支付宝、腾讯QQ等社交软件。Here, the mobile terminal detects the state of the application program in real time, and when an application program is started, judges whether the application program is a preset application, and if so, starts the monitoring operation of the electronic red envelope. Optionally, the preset application is an application program with the function of sending and receiving electronic red envelopes, including but not limited to social software such as WeChat, Alipay, and Tencent QQ.

作为本发明的一个优选示例,可以在不涉及用户隐私的前提下,针对微信的网络交互接口,设置对电子红包的监听功能,并且设置此监听功能默认处于关闭状态。因此,在所述步骤S101之前,所述处理器运行参数的调整方法还包括:As a preferred example of the present invention, on the premise that user privacy is not involved, the monitoring function of the electronic red envelope can be set for the network interaction interface of WeChat, and the monitoring function is set to be off by default. Therefore, before the step S101, the method for adjusting the operating parameters of the processor further includes:

在所述预设应用的网络交互接口上设置电子红包监听功能。An electronic red packet monitoring function is set on the network interaction interface of the preset application.

所述步骤S101包括:当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。The step S101 includes: when it is detected that the preset application is started, start the electronic red packet monitoring function on the network interaction interface, so as to monitor the electronic red packet.

在这里,所述网络交互接口为所述预设应用与服务器之间的远程访问接口,所述预设应用通过调用所述网络接口,实现与所述服务器之间的数据交互。所述网络交互接口的功能包括由所述预设应用发起的数据上传以及由所述服务器发起的数据下发。当所述预设应用为具有电子红包收发功能的应用程序时,所述预设应用通过所述网络交互接口获取服务器下发的电子红包。本发明实施例改进所述网络交互接口,设置对电子红包的监听功能,从而使得所述预设应用可以通过所述网络交互接口监听电子红包,有利于提升电子红包监听的效率。Here, the network interaction interface is a remote access interface between the preset application and the server, and the preset application implements data interaction with the server by invoking the network interface. The functions of the network interaction interface include data upload initiated by the preset application and data delivery initiated by the server. When the preset application is an application program with a function of sending and receiving electronic red packets, the preset application obtains the electronic red packets issued by the server through the network interaction interface. The embodiment of the present invention improves the network interaction interface and sets the monitoring function of the electronic red envelope, so that the preset application can monitor the electronic red envelope through the network interaction interface, which is beneficial to improve the efficiency of electronic red envelope monitoring.

作为本发明的另一个优选示例,也可以根据预设应用上的界面消息来监听电子红包。示例性地,在启动对电子红包的监听操作之后,所述步骤S101还可以包括:As another preferred example of the present invention, electronic red envelopes can also be monitored according to interface messages on preset applications. Exemplarily, after the monitoring operation of the electronic red envelope is started, the step S101 may further include:

获取群组中的电子红包的发放预告信息,通过所述发放预告信息来监听电子红包。Acquiring the release notice information of the electronic red envelopes in the group, and monitoring the electronic red envelopes through the release notice information.

在这里,所述群组为所述预设应用中的多人聊天交流的平台。所述发放预告信息为群组中任意成员输出的隐含发放红包语义的预告信息。示例性地,所述发放预告信息可以为文字信息也可以为语音信息,包括但不限于比如用户输出的包含“准备发/抢红包啦”、“在XX时间准备发/抢红包啦”等语义的文字信息和/或语音信息。本发明实施例在预设应用启动后,则开启对电子红包的监听操作,并根据所述发放预告信息实时地监听电子红包,有利于提高电子红包的监听效率和准确率。Here, the group is a platform for chatting and exchanging among multiple people in the preset application. The distribution notice information is the notice information output by any member of the group, which implies the red envelope distribution semantics. Exemplarily, the release notice information can be text information or voice information, including but not limited to semantic information such as "ready to send/grab red envelopes" and "ready to send/grab red envelopes at XX time" output by the user text messages and/or voice messages. In the embodiment of the present invention, after the preset application is started, the monitoring operation of the electronic red envelope is started, and the electronic red envelope is monitored in real time according to the distribution notice information, which is conducive to improving the monitoring efficiency and accuracy of the electronic red envelope.

示例性地,在启动对电子红包的监听操作之后,所述步骤S101还可以包括:Exemplarily, after the monitoring operation of the electronic red envelope is started, the step S101 may further include:

根据群组中电子红包的历史发放数据预测电子红包的发放规律,通过所述发放规律来监听电子红包。According to the historical distribution data of the electronic red envelopes in the group, the distribution rules of the electronic red envelopes are predicted, and the electronic red envelopes are monitored through the distribution rules.

在这里,本发明示例通过采集群组中电子红包的历史发放数据(包括但不限于电子红包的发放时间、发放金额、发放用户及其发放次数),然后根据所述历史发放数据,预测电子红包的发放规律。所述发放规律包括但不限于电子红包的发放时间、发放金额等。在预设应用启动后,则开启对电子红包的监听操作,并根据所述群组中的电子红包的发放规律连接网络以监听电子红包。比如,在根据群组中电子红包的历史发放数据得到本群组成员在除夕夜晚上11点开始至凌晨1点期间平均每隔10分钟进行一次红包派发,则在下年的除夕夜从晚上11点开始,以每隔10分钟的间隔连接网络来监听电子红包(包括移动终端在待机状态或者工作状态下)。本示例通过统计群组中电子红包的发放规律,有效地提高了电子红包的监听效率和准确率,降低了电子红包漏掉的概率。Here, the example of the present invention collects the historical distribution data of electronic red packets in the group (including but not limited to the distribution time of electronic red packets, the amount of distribution, the issuing user and the number of distributions), and then predicts the distribution of electronic red packets according to the historical distribution data. distribution rules. The distribution rules include, but are not limited to, the distribution time and amount of the electronic red envelopes. After the preset application is started, the monitoring operation on the electronic red envelopes is started, and the electronic red envelopes are connected to the network according to the distribution rules of the electronic red envelopes in the group to monitor the electronic red envelopes. For example, according to the historical distribution data of electronic red envelopes in the group, it is found that the members of this group distribute red envelopes every 10 minutes on average from 11 am to 1 am on New Year’s Eve. At the beginning, connect to the network to monitor the electronic red envelope (including the mobile terminal in standby or working state) at an interval of 10 minutes. This example effectively improves the monitoring efficiency and accuracy of electronic red envelopes and reduces the probability of missing electronic red envelopes by counting the distribution rules of electronic red envelopes in groups.

在步骤S102中,若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。In step S102, if the electronic red envelope is detected, the operating parameters of the processor are increased, so as to increase the response speed of the processor to the electronic red envelope.

在本发明实施例中,当监听到电子红包,则提升处理器的运行参数。本发明实施例主要通过调整处理器的CPU和/或GPU来提升处理器的运行参数。In the embodiment of the present invention, when the electronic red envelope is detected, the operating parameters of the processor are increased. In the embodiment of the present invention, the operating parameters of the processor are improved mainly by adjusting the CPU and/or the GPU of the processor.

示例性地,当所述处理器包括若干个CPU和/或GPU时,可以增加所述处理器中运行的CPU个数、增加所述处理器中运行的GPU个数。Exemplarily, when the processor includes several CPUs and/or GPUs, the number of CPUs running in the processor and the number of GPUs running in the processor may be increased.

示例性地,对于每一个CPU和/或GPU,也可以提升所述处理器中已启动的CPU和/或GPU的性能参数。其中,所述性能参数包括但不限于运行核心数、运行频率。通过增加所述处理器中CPU的运行核心数和/或运行频率,有利于提高当前移动终端对电子红包的接收、处理效率;而通过增加所述处理器中GPU的运行核心数和/或运行频率,则有利于提高当前移动终端对电子红包的加载、显示效率。Exemplarily, for each CPU and/or GPU, the performance parameter of the started CPU and/or GPU in the processor may also be increased. Wherein, the performance parameters include but are not limited to the number of running cores and running frequency. By increasing the number of operating cores and/or operating frequency of the CPU in the processor, it is beneficial to improve the reception and processing efficiency of the current mobile terminal to electronic red envelopes; and by increasing the number of operating cores and/or operating frequency of the GPU in the processor The frequency is beneficial to improve the efficiency of loading and displaying electronic red envelopes by current mobile terminals.

本发明实施例通过检测预设应用,并在检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包,则提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度,从而提高了移动终端对电子红包的处理效率,有效地缩短了用户抢红包的操作时间,提高了用户抢到红包的概率。In the embodiment of the present invention, by detecting the preset application, and when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started; if the electronic red envelope is detected, the operating parameters of the processor are increased to improve the processor. The response speed to the electronic red envelope improves the processing efficiency of the mobile terminal to the electronic red envelope, effectively shortens the operation time for the user to grab the red envelope, and improves the probability of the user grabbing the red envelope.

作为本发明的另一个优选实施例,在监听到电子红包提升所述处理器的运行参数之后,所述预设应用切换为前台运行状态,因此,可以通过检测所述预设应用从前台运行状态切换为后台运行状态时,结束对处理器运行参数的调整。图2示出了本发明第二实施例提供的处理器运行参数的调整方法的实现流程。As another preferred embodiment of the present invention, after the electronic red envelope is heard to increase the operating parameters of the processor, the preset application is switched to the foreground running state. Therefore, the preset application can be switched from the foreground running state to When switching to the background running state, the adjustment of the processor running parameters is ended. Fig. 2 shows the implementation flow of the method for adjusting the operating parameters of the processor provided by the second embodiment of the present invention.

参阅图2,所述处理器运行参数的调整方法包括:Referring to Fig. 2, the adjustment method of described processor operation parameter comprises:

在步骤S201中,当检测到预设应用启动时,启动对电子红包的监听操作。In step S201, when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started.

在步骤S202中,若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。In step S202, if the electronic red envelope is detected, the operating parameters of the processor are increased, so as to increase the response speed of the processor to the electronic red envelope.

在这里,步骤S201至步骤S202与图1实施例中所述的步骤S101至步骤S102相同,具体请参见上述实施例的叙述,此处不再赘述。Here, step S201 to step S202 are the same as step S101 to step S102 described in the embodiment of FIG. 1 , please refer to the description of the above embodiment for details, and details are not repeated here.

进一步地,所述处理器运行参数的调整方法还包括:Further, the method for adjusting the operating parameters of the processor also includes:

在步骤S203中,当检测到所述预设应用从前台运行状态切换为后台运行状态时,恢复所述处理器的运行参数为提升前的状态。In step S203, when it is detected that the preset application is switched from the foreground running state to the background running state, restore the operating parameters of the processor to the state before the upgrade.

在这里,处于前台运行状态的应用程序通常是由于用户设置而主动地进入后台运行或者在用户将另一应用程序前置而被动地进入后台运行,这均表明了用户当前不关注电子红包,本实施例根据所述预设应用切换为后台运行状态,则恢复所述处理器的运行参数为提升前的状态,包括但不限于减少所述处理器运行的CPU和/或GPU,降低所述CPU和/或GPU的性能参数,比如运行核心数和/或运行频率,以结束对处理器处理性能的调整,降低移动终端的功耗,保护硬件设备。Here, the application running in the foreground usually enters the background actively due to user settings or passively enters the background when the user puts another application in front, which indicates that the user does not pay attention to the electronic red envelope at present. In an embodiment, according to the preset application switching to the background running state, the operating parameters of the processor are restored to the state before the promotion, including but not limited to reducing the CPU and/or GPU of the processor, reducing the CPU And/or the performance parameters of the GPU, such as the number of operating cores and/or operating frequency, so as to complete the adjustment of the processing performance of the processor, reduce the power consumption of the mobile terminal, and protect the hardware device.

作为本发明的另一个优选实施例,在监听到电子红包提升所述处理器的运行参数之后,也可以通过设置预设时间,在所述预设时间到达后则结束对处理器性能的调整。图3示出了本发明第三实施例提供的处理器运行参数的调整方法的实现流程。As another preferred embodiment of the present invention, after the electronic red envelope is heard to increase the operating parameters of the processor, a preset time can also be set, and the adjustment of the performance of the processor ends after the preset time arrives. Fig. 3 shows the implementation process of the method for adjusting the operating parameters of the processor provided by the third embodiment of the present invention.

参阅图3,所述处理器运行参数的调整方法包括:Referring to Fig. 3, the method for adjusting the operating parameters of the processor includes:

在步骤S301中,当检测到预设应用启动时,启动对电子红包的监听操作。In step S301, when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started.

在步骤S302中,若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。In step S302, if the electronic red envelope is detected, the operating parameters of the processor are increased, so as to increase the response speed of the processor to the electronic red envelope.

在这里,步骤S301至步骤S302与图1实施例中所述的步骤S101至步骤S102相同,具体请参见上述实施例的叙述,此处不再赘述。Here, step S301 to step S302 are the same as step S101 to step S102 described in the embodiment of FIG. 1 , please refer to the description of the above embodiment for details, and details will not be repeated here.

进一步地,所述处理器运行参数的调整方法还包括:Further, the method for adjusting the operating parameters of the processor also includes:

在步骤S303中,在提升所述处理器的运行参数时开始计时。In step S303, start timing when the operating parameter of the processor is increased.

在步骤S304中,在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态。In step S304, after the timing reaches the preset time, the operating parameters of the processor are restored to the state before the upgrade.

可选地,所述预设时间可以根据用户的抢红包习惯确定。所述步骤S303之前还包括:Optionally, the preset time can be determined according to the user's habit of grabbing red envelopes. Before the step S303, it also includes:

统计用户对电子红包的操作时长,根据所述操作时长确定所述预设时间。The operation time of the user on the electronic red envelope is counted, and the preset time is determined according to the operation time.

可选地,所述预设时间也可以根据电子红包的发放方式确定,所述步骤S303之前还可以包括:Optionally, the preset time may also be determined according to the distribution method of the electronic red envelope, and before the step S303 may also include:

根据群组中电子红包的发放时间和聊天信息的语义分析,统计所述群组中电子红包的发放方式,根据所述发放方式确定所述预设时间。According to the distribution time of the electronic red envelopes in the group and the semantic analysis of the chat information, the distribution methods of the electronic red packets in the group are counted, and the preset time is determined according to the distribution methods.

在这里,移动终端采集每一个群组中的电子红包的发放时间,以及分析群组聊天信息,统计所述聊天信息中隐含的发红包语义,并联系实际的电子红包发放操作,预测所述群组的电子红包的发放方式。所述发放方式包括但不限于比如连续发红包概率、哪些成员喜欢结伴发红包、结伴发红包次数等。然后根据所述发放方式确定预设时间。其中,群组的连续发红包概率越高,所述预设时间越长;群组中喜欢结伴发红包的成员发红包时对应预设时间大于不喜欢结伴发红包的成员发红包时对应的预设时间。比如,若群组A连续发红包的概率高,群组B连续发红包的概率低,在群组A中任意成员发红包时,可以设置预设时间为5分钟,在群组B中任意成员发红包时,则设置预设时间为1分钟。又比如,若指定群组中成员A与成员B喜欢结伴发红包,成员C与其他成员均不喜欢结伴发红包,则在成员A发红包或成员B发红包时,可以设置预设时间为2分钟,在成员C发红包时,则设置预设时间为1分钟。Here, the mobile terminal collects the distribution time of the electronic red packets in each group, and analyzes the group chat information, counts the hidden red packet semantics in the chat information, and links the actual electronic red packet distribution operations to predict the The distribution method of the group's electronic red envelope. The distribution method includes, but is not limited to, such as the probability of continuously sending red packets, which members like to send red packets together, and the number of times red packets are sent together. Then the preset time is determined according to the distribution method. Wherein, the higher the probability of the group's continuous sending of red envelopes, the longer the preset time; the corresponding preset time when members who like to send out red envelopes in the group is greater than the corresponding preset time when members who do not like to send out red envelopes together. set time. For example, if group A has a high probability of continuously sending red packets, and group B has a low probability of continuously sending red packets, when any member of group A sends red packets, the preset time can be set to 5 minutes, and any member of group B When sending red envelopes, set the preset time to 1 minute. For another example, if member A and member B in the specified group like to send red envelopes together, and member C and other members do not like to send red envelopes together, then when member A sends red envelopes or member B sends red envelopes, the preset time can be set to 2 minutes, when member C sends a red envelope, the preset time is set to 1 minute.

本发明实施例通过监听到电子红包时自动提升处理器的运行参数,以及通过在预设时间到达后再自动恢复处理器的运行参数,以结束对处理器性能的调整,从而使得在电子红包派发的预设时间内处理器具有高于常规情况的处理性能,保证了用户在所述预设时间内进行抢红包操作时能够避免设备卡顿、操作不流畅的现象,同时尽可能地降低了移动终端产生的功耗。In the embodiment of the present invention, the operating parameters of the processor are automatically increased when the electronic red envelope is detected, and the operating parameters of the processor are automatically restored after the preset time is reached, so as to complete the adjustment of the performance of the processor, so that the distribution of electronic red envelopes The processor has a higher processing performance than the normal situation within the preset time, which ensures that the user can avoid the phenomenon of device freezing and unsmooth operation when grabbing red envelopes within the preset time, and at the same time reduce the movement as much as possible. Power consumption generated by the terminal.

作为本发明的另一个优选实施例,在监听到电子红包提升所述处理器的运行参数之后,可以通过检测用户的预设动作是否完成来结束对处理器性能的调整。在这里,所述预设动作为所述抢红包操作已完成。图4示出了本发明第四实施例提供的处理器运行参数的调整方法的实现流程。As another preferred embodiment of the present invention, after it is heard that the electronic red envelope increases the operating parameters of the processor, the adjustment of the performance of the processor can be ended by detecting whether the user's preset action is completed. Here, the preset action is that the red envelope grabbing operation has been completed. Fig. 4 shows the implementation process of the method for adjusting the operating parameters of the processor provided by the fourth embodiment of the present invention.

参阅图4,所述处理器运行参数的调整方法包括:Referring to Fig. 4, the method for adjusting the operating parameters of the processor includes:

在步骤S401中,当检测到预设应用启动时,启动对电子红包的监听操作。In step S401, when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started.

在步骤S402中,若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。In step S402, if the electronic red envelope is detected, the operating parameters of the processor are increased, so as to increase the response speed of the processor to the electronic red envelope.

在这里,步骤S401至步骤S402与图1实施例中所述的步骤S101至步骤S102相同,具体请参见上述实施例的叙述,此处不再赘述。Here, step S401 to step S402 are the same as step S101 to step S102 described in the embodiment of FIG. 1 , please refer to the description of the above embodiment for details, and details will not be repeated here.

进一步地,所述处理器运行参数的调整方法还包括:Further, the method for adjusting the operating parameters of the processor also includes:

在步骤S403中,获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成。In step S403, the window change information of the preset application is obtained, and it is judged according to the window change information whether the red packet grabbing operation has been completed.

在这里,本发明实施例根据所述预设应用的窗口变化信息,来确定电子红包中的资源是否已被获取,所述资源即电子红包内的金额。若所述电子红包中的资源已被获取,则判定抢红包操作已完成。示例性地,可以根据“显示所抢到的红包”到“红包被拆且显示金额”的窗口变化过程,也根据“红包被拆且显示金额”的弹出窗口来判断抢红包操作已完成Here, the embodiment of the present invention determines whether the resource in the electronic red envelope has been acquired according to the window change information of the preset application, and the resource is the amount in the electronic red envelope. If the resources in the electronic red envelope have been acquired, it is determined that the red envelope grabbing operation has been completed. Exemplarily, it can be judged that the red envelope grabbing operation has been completed according to the window change process from "displaying the grabbed red envelope" to "the red envelope is opened and the amount is displayed", and also according to the pop-up window of "the red envelope is opened and the amount is displayed"

若通过窗口变化信息判定抢红包操作已完成,则执行步骤S404;否则,即抢红包操作未完成,则不进行任何操作。If it is determined through the window change information that the operation of grabbing red packets has been completed, then step S404 is executed; otherwise, that is, the operation of grabbing red packets has not been completed, then no operation is performed.

在步骤S404中,若所述抢红包操作已完成,恢复所述处理器的运行参数为调整前的状态。In step S404, if the red envelope grabbing operation is completed, restore the operating parameters of the processor to the state before adjustment.

在这里,所述抢红包操作已完成包括但不限于用户已经抢到红包、所述电子红包已经被抢完的情况。本发明实施例通过监听到电子红包时自动调整处理器的运行参数,以及通过监听所述抢红包操作已完成时再自动恢复所述处理器的运行参数,结束对处理器性能的调整,从而保证了仅在电子红包派发期间处理器具有高于常规情况的处理性能,用户在所述期间内进行抢红包操作时能够避免设备卡顿、操作不流畅的现象,同时尽可能地降了低移动终端产生的功耗。Here, the completion of the red envelope grabbing operation includes but is not limited to the situation that the user has grabbed the red envelope and the electronic red envelope has been grabbed. The embodiment of the present invention automatically adjusts the operating parameters of the processor when the electronic red envelope is detected, and automatically restores the operating parameters of the processor when the operation of snatching the red envelope is completed, and ends the adjustment of the performance of the processor, thereby ensuring In order to ensure that the processor has a higher processing performance than the normal situation only during the distribution of electronic red envelopes, the user can avoid the phenomenon of device freezes and unsmooth operations when grabbing red envelopes during the period, and at the same time reduce the mobile terminal as much as possible. generated power consumption.

应理解,在上述实施例中,各步骤的序号的大小并不意味着执行顺序的先后,各步骤的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in the above-mentioned embodiments, the sequence numbers of the steps do not mean the order of execution, and the execution order of the steps should be determined by their functions and internal logic, and should not constitute any constraint on the implementation process of the embodiments of the present invention. limited.

图5示出了本发明第五实施例提供的移动终端的示意性框图,为了便于说明,仅示出了与本发明实施例相关的部分。FIG. 5 shows a schematic block diagram of a mobile terminal provided by a fifth embodiment of the present invention. For ease of description, only parts related to the embodiment of the present invention are shown.

在本发明实施例中,所述移动终端用于实现上述图1至图4任一实施例中所述的处理器运行参数的调整方法。所述移动终端包括但不限于智能手机、平板电脑等。所述移动终端的处理器上包括多个CPU(Central Processing Unit,中央处理器)和/或GPU(GraphicProcessing Unit,图形处理器)。In the embodiment of the present invention, the mobile terminal is used to implement the method for adjusting the operating parameters of the processor described in any one of the embodiments in FIG. 1 to FIG. 4 . The mobile terminal includes, but is not limited to, a smart phone, a tablet computer, and the like. The processor of the mobile terminal includes multiple CPUs (Central Processing Unit, central processing unit) and/or GPUs (Graphic Processing Unit, graphics processing unit).

参阅图5,所述移动终端包括:Referring to Figure 5, the mobile terminal includes:

监听模块51,用于当检测到预设应用启动时,启动对电子红包的监听操作;The monitoring module 51 is used to start the monitoring operation of the electronic red envelope when it is detected that the preset application is activated;

第一调整模块52,用于若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。The first adjustment module 52 is configured to increase the operating parameters of the processor to increase the response speed of the processor to the electronic red envelope if the electronic red envelope is detected.

可选的,所述预设应用为具有电子红包收发功能的应用程序,包括但不限于比如微信、支付宝、腾讯QQ等社交软件。Optionally, the preset application is an application program with the function of sending and receiving electronic red envelopes, including but not limited to social software such as WeChat, Alipay, Tencent QQ and the like.

作为本发明的一个优选示例,可以在不涉及用户隐私的前提下,针对预设应用的网络交互接口,设置对电子红包的监听功能,并且设置此监听功能默认处于关闭状态。所述移动终端还包括:As a preferred example of the present invention, on the premise that user privacy is not involved, the monitoring function of the electronic red envelope can be set for the network interaction interface of the preset application, and the monitoring function is set to be off by default. The mobile terminal also includes:

设置模块53,用于在所述预设应用的网络交互接口上设置电子红包监听功能。The setting module 53 is used to set the electronic red envelope monitoring function on the network interaction interface of the preset application.

所述监听模块51具体用于:The monitoring module 51 is specifically used for:

当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When it is detected that the preset application is started, the electronic red packet monitoring function on the network interaction interface is started to monitor the electronic red packet.

可选地,作为本发明的另一个优选示例,所述监听模块51还可以用于:Optionally, as another preferred example of the present invention, the monitoring module 51 may also be used for:

当检测到预设应用启动时,通过检测所述预设应用的界面消息来监听电子红包。When it is detected that the preset application is started, the electronic red envelope is monitored by detecting the interface message of the preset application.

进一步地,所述监听模块51通过检测所述预设应用的界面消息来监听电子红包包括:Further, the monitoring module 51 monitoring the electronic red envelope by detecting the interface message of the preset application includes:

获取群组中电子红包的发放预告信息,根据所述发放预告信息来监听电子红包;和/或Acquiring the release notice information of the electronic red envelope in the group, and monitoring the electronic red envelope according to the release notice information; and/or

根据群组中电子红包的历史发放数据预测电子红包的发放规律,通过所述发放规律来监听电子红包。According to the historical distribution data of the electronic red envelopes in the group, the distribution rules of the electronic red envelopes are predicted, and the electronic red envelopes are monitored through the distribution rules.

在这里,本发明实施例通过采集微信群组中电子红包的历史发放数据(包括但不限于电子红包的发放时间、发放金额、发放用户及其发放次数),然后根据所述历史发放数据,预测电子红包的发放规律。所述发放规律包括但不限于电子红包的发放时间、发放金额等。在预设应用启动后,则启动对电子红包的监听操作,并根据所述群组中的电子红包的发放规律来监听电子红包。本示例通过获取电子红包的发放预告信息和统计群组中电子红包的发放规律,有效地提高了监听电子红包的准确率,降低了电子红包漏掉的概率。Here, the embodiment of the present invention collects the historical distribution data of electronic red envelopes in the WeChat group (including but not limited to the distribution time of electronic red envelopes, the amount of distribution, the issuing users and the number of times of distribution), and then predicts according to the historical distribution data. Distribution rules of electronic red envelopes. The distribution rules include, but are not limited to, the distribution time and amount of the electronic red envelopes. After the preset application is started, the monitoring operation on the electronic red envelopes is started, and the electronic red envelopes are monitored according to the distribution rules of the electronic red envelopes in the group. This example effectively improves the accuracy of monitoring electronic red envelopes and reduces the probability of missing electronic red envelopes by obtaining the distribution notice information of electronic red envelopes and counting the distribution rules of electronic red envelopes in groups.

进一步地,所述第一调整模块52提升所述处理器的运行参数具体包括:Further, the first adjustment module 52 increasing the operating parameters of the processor specifically includes:

增加所述处理器中CPU和/或GPU的个数,和/或,提升所述处理器中CPU和/或GPU的性能参数;所述性能参数包括运行核心数、运行频率。Increase the number of CPUs and/or GPUs in the processor, and/or increase the performance parameters of the CPUs and/or GPUs in the processor; the performance parameters include the number of operating cores and operating frequency.

进一步地,所述移动终端还包括:Further, the mobile terminal also includes:

第二调整模块54,用于在提升所述处理器的运行参数时开始计时,并在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态。The second adjustment module 54 is configured to start timing when the operating parameters of the processor are increased, and restore the operating parameters of the processor to the state before the increase after the timing reaches a preset time.

在这里,所述第二调整模块54可以统计用户对电子红包的操作时长,根据所述操作时长确定所述预设时间;和/或Here, the second adjustment module 54 can count the user's operation time on the electronic red envelope, and determine the preset time according to the operation time; and/or

根据群组中电子红包的发放时间和聊天信息的语义分析,预测所述群组中电子红包的发放方式,根据所述发放方式确定所述预设时间。According to the distribution time of the electronic red packets in the group and the semantic analysis of the chat information, the distribution method of the electronic red packets in the group is predicted, and the preset time is determined according to the distribution method.

在这里,移动终端采集每一个群组中的电子红包的发放时间,以及分析群组聊天信息,统计所述聊天信息中隐含的发红包语义,并联系实际的电子红包发放操作,预测所述群组的电子红包的发放方式。所述发放方式包括但不限于比如连续发红包概率、哪些成员喜欢结伴发红包、结伴发红包次数等。然后根据所述发放方式确定预设时间。Here, the mobile terminal collects the distribution time of the electronic red packets in each group, and analyzes the group chat information, counts the hidden red packet semantics in the chat information, and links the actual electronic red packet distribution operations to predict the The distribution method of the group's electronic red envelope. The distribution method includes, but is not limited to, such as the probability of continuously sending red packets, which members like to send red packets together, and the number of times red packets are sent together. Then the preset time is determined according to the distribution method.

本发明实施例通过监听到电子红包时自动调整处理器的运行参数,以及通过在预设时间到达后再自动恢复处理器的运行参数,以结束对处理器性能的调整,从而使得在电子红包派发的预设时间内处理器具有高于常规情况的处理性能,保证了用户在所述预设时间内进行抢红包操作时能够避免设备卡顿、操作不流畅的现象,同时尽可能地降低移动终端产生的功耗。The embodiment of the present invention automatically adjusts the operating parameters of the processor when the electronic red envelope is detected, and automatically restores the operating parameters of the processor after the preset time arrives, so as to end the adjustment of the performance of the processor, so that when the electronic red envelope is distributed The processor has a higher processing performance than the normal situation within the preset time, which ensures that the user can avoid the phenomenon of device freezing and unsmooth operation when grabbing red envelopes within the preset time, and at the same time reduce the mobile terminal as much as possible. generated power consumption.

进一步地,所述移动终端还包括:Further, the mobile terminal also includes:

第三调整模块55,用于获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成,若所述抢红包操作已完成,恢复所述处理器的运行参数为调整前的状态。The third adjustment module 55 is used to obtain the window change information of the preset application, and judge whether the red envelope grabbing operation has been completed according to the window change information, and resume the operation of the processor if the red envelope grabbing operation has been completed. The parameter is the state before adjustment.

在这里,所述抢红包操作已完成包括但不限于用户已经抢到红包、所述电子红包已经被抢完的情况。本发明实施例通过监听到电子红包时自动提升处理器的运行参数,以及通过监听所述抢红包操作已完成时再自动恢复所述处理器的运行参数,结束对处理器性能的调整,从而保证了仅在电子红包派发期间处理器具有高于常规情况的处理性能,用户在所述期间内进行抢红包操作时能够避免设备卡顿、操作不流畅的现象,同时尽可能地降低移动终端产生的功耗。Here, the completion of the red envelope grabbing operation includes but is not limited to the situation that the user has grabbed the red envelope and the electronic red envelope has been grabbed. In the embodiment of the present invention, the operating parameters of the processor are automatically increased when the electronic red envelope is detected, and the operating parameters of the processor are automatically restored when the operation of snatching the red envelope is completed, and the adjustment of the performance of the processor is completed, thereby ensuring In order to ensure that the processor has a higher processing performance than the normal situation only during the distribution of electronic red packets, the user can avoid the phenomenon of device freezing and unsmooth operation when grabbing red packets during the period, and at the same time reduce the noise generated by the mobile terminal as much as possible. power consumption.

需要说明的是,本发明实施例中的移动终端可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实例中的相关描述,此处不再赘述。It should be noted that the mobile terminal in the embodiment of the present invention can be used to implement all the technical solutions in the above method embodiments, and the functions of each functional module can be specifically realized according to the methods in the above method embodiments, and the specific implementation process can be Refer to related descriptions in the above examples, and details are not repeated here.

参见图6,是本发明第六实施例提供的移动终端的示意性框图。如图所示的该移动终端可以包括:一个或多个处理器501(图中仅示出一个);一个或多个输入设备502(图中仅示出一个),一个或多个输出设备503(图中仅示出一个)、存储器504。上述处理器501、输入设备502、输出设备503、存储器504通过总线506连接。存储器504用于存储指令,处理器501用于执行存储器504存储的指令。其中:Referring to FIG. 6 , it is a schematic block diagram of a mobile terminal provided by a sixth embodiment of the present invention. The mobile terminal as shown in the figure may include: one or more processors 501 (only one is shown in the figure); one or more input devices 502 (only one is shown in the figure), one or more output devices 503 (only one is shown in the figure), memory 504 . The aforementioned processor 501 , input device 502 , output device 503 , and memory 504 are connected through a bus 506 . The memory 504 is used to store instructions, and the processor 501 is used to execute the instructions stored in the memory 504 . in:

所述处理器501,用于当检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包时,提升自身的运行参数,以提高对电子红包的响应速度。The processor 501 is configured to start the monitoring operation of the electronic red envelope when it detects that the preset application is started; if the electronic red envelope is detected, increase its own operating parameters to increase the response speed to the electronic red envelope.

可选地,所述处理器501还用于:在所述预设应用的网络交互接口上设置电子红包监听功能;相应的,所述处理器501在检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。Optionally, the processor 501 is further configured to: set an electronic red packet monitoring function on the network interaction interface of the preset application; correspondingly, when the processor 501 detects that the preset application is started, start the The electronic red envelope monitoring function on the network interaction interface is used to monitor the electronic red envelope.

可选地,所述处理器501提升自身的运行参数包括:Optionally, the processor 501 improving its own operating parameters includes:

增加CPU和/或GPU的个数,和/或,提升CPU和/或GPU的性能参数;Increase the number of CPUs and/or GPUs, and/or, improve the performance parameters of CPUs and/or GPUs;

所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.

可选地,所述处理器501还用于:Optionally, the processor 501 is further configured to:

在提升自身的运行参数时开始计时,并在计时达到预设时间后,恢复所述运行参数为提升前的状态。It starts timing when its own operating parameters are increased, and after the timing reaches a preset time, restores the operating parameters to the state before the improvement.

可选地,所述处理器501还用于Optionally, the processor 501 is also used to

获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成;若所述抢红包操作已完成,恢复所述运行参数为提升前的状态。Obtaining the window change information of the preset application, and judging whether the red envelope grabbing operation has been completed according to the window change information; if the red envelope grabbing operation has been completed, restoring the operating parameters to the state before the upgrade.

应当理解,在本发明实施例中,所称处理器501可以是中央处理单元(CentralProcessing Unit,CPU)和/或图形处理器(Graphic Processing Unit,GPU),也可以在此基础上结合其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。It should be understood that, in the embodiment of the present invention, the so-called processor 501 may be a central processing unit (Central Processing Unit, CPU) and/or a graphics processing unit (Graphic Processing Unit, GPU), and may also be combined with other general-purpose processing units on this basis. device, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or Transistor logic devices, discrete hardware components, and more.

输入设备502可以包括触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风、通信模块(比如Wi-Fi模块、2G/3G/4G网络模块)、物理按键等。The input device 502 may include a touch panel, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, a communication module (such as a Wi-Fi module, a 2G/3G/4G network module), physical buttons, etc. .

输出设备503可以包括显示器(LCD等)、扬声器等。其中,显示器可用于显示由用户输入的信息或提供给用户的信息等。显示器可包括显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。进一步的,上述触摸屏可覆盖在显示器上,当触摸屏检测到在其上或附近的触摸操作后,传送给处理器501以确定触摸事件的类型,随后处理器501根据触摸事件的类型在显示器上提供相应的视觉输出。The output device 503 may include a display (LCD, etc.), a speaker, and the like. Wherein, the display can be used to display information input by the user or information provided to the user, and the like. The display may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the above-mentioned touch screen can be covered on the display, and when the touch screen detects a touch operation on or near it, it is sent to the processor 501 to determine the type of the touch event, and then the processor 501 provides on the display according to the type of the touch event. corresponding visual output.

具体实现中,本发明实施例中所描述的处理器501、输入设备502、输出设备503、存储器504可执行本发明实施例提供的处理器运行参数的调整方法的实施例中所描述的实现方式,在此不再赘述。In a specific implementation, the processor 501, input device 502, output device 503, and memory 504 described in the embodiment of the present invention can execute the implementation described in the embodiment of the method for adjusting the operating parameters of the processor provided in the embodiment of the present invention , which will not be repeated here.

图7是本发明第七实施例提供的一种移动终端的示意性框图,该移动终端可以用于实施上述实施例中提供的处理器运行参数的调整方法。Fig. 7 is a schematic block diagram of a mobile terminal provided by a seventh embodiment of the present invention, and the mobile terminal may be used to implement the method for adjusting the operating parameters of the processor provided in the foregoing embodiments.

如图7所示,移动终端1200可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上(图中仅示出一个)计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、传输模块170、包括有一个或者一个以上(图中仅示出一个)处理核心的处理器180以及电源190等部件。本领域技术人员可以理解,图7中示出的移动终端1200结构并不构成对移动终端1200的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:As shown in FIG. 7, a mobile terminal 1200 may include an RF (Radio Frequency, radio frequency) circuit 110, a memory 120 including one or more (only one shown in the figure) computer-readable storage media, an input unit 130, and a display unit. 140, a sensor 150, an audio circuit 160, a transmission module 170, a processor 180 including one or more (only one is shown in the figure) processing cores, a power supply 190 and other components. Those skilled in the art can understand that the structure of the mobile terminal 1200 shown in FIG. 7 does not constitute a limitation to the mobile terminal 1200, and may include more or less components than those shown in the illustration, or combine certain components, or different components. layout. in:

RF电路110用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。RF电路110可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。RF电路110可与各种网络如互联网、企业内部网、无线网络进行通讯或者通过无线网络与其他设备进行通讯。上述的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(Global System for Mobile Communication,GSM)、增强型移动通信技术(Enhanced DataGSM Environment,EDGE),宽带码分多址技术(wideband code division multipleaccess,W-CDMA),码分多址技术(Code division access,CDMA)、时分多址技术(timedivision multiple access,TDMA),无线保真技术(Wireless,Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE802.11a,IEEE 802.11b,IEEE802.11g和/或IEEE 802.11n)、网络电话(Voice over internet protocal,VoIP)、全球微波互联接入(WorldwideInteroperability for Microwave Access,Wi-Max)、其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The RF circuit 110 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The RF circuit 110 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and the like. The RF circuit 110 can communicate with various networks such as the Internet, intranet, wireless network, or communicate with other devices through a wireless network. The wireless network mentioned above may include a cellular telephone network, a wireless local area network or a metropolitan area network. The wireless network mentioned above can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced DataGSM Environment (EDGE), broadband code division Multiple access technology (wideband code division multiple access, W-CDMA), code division multiple access technology (Code division access, CDMA), time division multiple access technology (timedivision multiple access, TDMA), wireless fidelity technology (Wireless, Fidelity, WiFi) (such as IEEE802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), VoIP (Voice over internet protocol, VoIP), Worldwide Interoperability for Microwave Access, Wi-Max), other protocols for email, instant messaging, and short messaging, and any other suitable communication protocol, even those that have not yet been developed.

存储器120可用于存储软件程序以及模块,如上述实施例中处理器运行参数的调整方法对应的程序指令/模块,处理器180通过运行存储在存储器120内的软件程序以及模块,从而执行各种功能应用以及数据处理,即在启动预定应用时监听电子红包、并在监听到电子红包后提升自身的运行参数的功能或其他功能。存储器120可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器120可进一步包括相对于处理器180远程设置的存储器,这些远程存储器可以通过网络连接至移动终端1200。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 120 can be used to store software programs and modules, such as the program instructions/modules corresponding to the method for adjusting the operating parameters of the processor in the above-mentioned embodiments, and the processor 180 executes various functions by running the software programs and modules stored in the memory 120 Application and data processing, that is, the function of monitoring the electronic red envelope when starting the predetermined application, and improving its own operating parameters or other functions after monitoring the electronic red envelope. The memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 120 may further include a memory that is remotely located relative to the processor 180, and these remote memories may be connected to the mobile terminal 1200 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 130 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132 . The touch-sensitive surface 131, also referred to as a touch screen or a touchpad, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch-sensitive surface 131 or on the operation near the touch-sensitive surface 131), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 131 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 131 , the input unit 130 may also include other input devices 132 . Specifically, other input devices 132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元140可用于显示由用户输入的信息或提供给用户的信息以及移动终端1200的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid CrystalDisplay,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图7中,触敏表面131与显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。The display unit 140 can be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 1200, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured in the form of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode), and the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation on or near it, the touch operation is sent to the processor 180 to determine the type of the touch event, and then the processor 180 determines the type of the touch event according to the type of the touch event. The type provides a corresponding visual output on the display panel 141 . Although in FIG. 7 , the touch-sensitive surface 131 and the display panel 141 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 131 and the display panel 141 can be integrated to realize input. and output functions.

移动终端1200还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在移动终端1200移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于检测倾斜角度,以及识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于移动终端1200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal 1200 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 141 when the mobile terminal 1200 moves to the ear. and/or backlighting. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to detect tilt angles and identify mobile phone attitude applications (such as Horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for the mobile terminal 1200, it can also be configured with gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Other sensors will not be described in detail here.

音频电路160、扬声器161,传声器162可提供用户与移动终端1200之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与移动终端1200的通信。The audio circuit 160 , the speaker 161 and the microphone 162 can provide an audio interface between the user and the mobile terminal 1200 . The audio circuit 160 can transmit the electrical signal converted from the received audio data to the loudspeaker 161, and the loudspeaker 161 converts it into an audio signal output; After being received, it is converted into audio data, and then the audio data is processed by the output processor 180, and then sent to another terminal through the RF circuit 110, or the audio data is output to the memory 120 for further processing. The audio circuit 160 may also include an earphone jack to provide communication between an external earphone and the mobile terminal 1200 .

移动终端1200通过传输模块170(例如WiFi模块)可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了传输模块170,但是可以理解的是,其并不属于移动终端1200的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。The mobile terminal 1200 can help the user to send and receive e-mails, browse the web, access streaming media, etc. through the transmission module 170 (such as the WiFi module), which provides the user with wireless broadband Internet access. Although FIG. 7 shows the transmission module 170, it can be understood that it is not an essential component of the mobile terminal 1200, and can be completely omitted as required without changing the essence of the invention.

处理器180是移动终端1200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行移动终端1200的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。The processor 180 is the control center of the mobile terminal 1200, and uses various interfaces and lines to connect various parts of the entire mobile phone, by running or executing software programs and/or modules stored in the memory 120, and calling data stored in the memory 120 , execute various functions and process data of the mobile terminal 1200, so as to monitor the mobile phone as a whole. Optionally, the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 180 .

移动终端1200还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal 1200 also includes a power supply 190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 180 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. . The power supply 190 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

尽管未示出,移动终端1200还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,移动终端的显示单元是触摸屏显示器,移动终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于进行以下操作的指令:Although not shown, the mobile terminal 1200 may also include a camera, a Bluetooth module, etc., which will not be repeated here. Specifically in this embodiment, the display unit of the mobile terminal is a touch screen display, and the mobile terminal also includes a memory, and one or more programs, wherein one or more programs are stored in the memory, and are configured to be controlled by one or one The above processor executes the one or more programs including instructions for performing the following operations:

当检测到预设应用启动时,启动对电子红包的监听操作;When it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started;

若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度。If the electronic red envelope is detected, the operating parameters of the processor are increased to increase the response speed of the processor to the electronic red envelope.

假设上述为第一种可能的实施方式,则在第一种可能的实施方式作为基础而提供的第二种可能的实施方式中,所述移动终端的存储器中,还包含用于执行以下操作的指令:Assuming that the above is the first possible implementation manner, then in the second possible implementation manner provided on the basis of the first possible implementation manner, the memory of the mobile terminal further includes a function for performing the following operations instruction:

在检测到预设应用启动时,启动对电子红包的监听操作之前,所述调整方法还包括:When it is detected that the preset application is started, before the monitoring operation on the electronic red envelope is started, the adjustment method further includes:

在所述预设应用的网络交互接口上设置电子红包监听功能;Setting an electronic red packet monitoring function on the network interaction interface of the preset application;

所述当检测到预设应用启动时,启动对电子红包的监听操作包括:When it is detected that the preset application is started, starting the monitoring operation of the electronic red envelope includes:

当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When it is detected that the preset application is started, the electronic red packet monitoring function on the network interaction interface is started to monitor the electronic red packet.

在第一种可能的实施方式作为基础而提供的第三种可能的实施方式中,所述移动终端的存储器中,还包含用于执行以下操作的指令:In a third possible implementation manner provided on the basis of the first possible implementation manner, the memory of the mobile terminal further includes instructions for performing the following operations:

所述提升处理器的运行参数包括:The operating parameters of the lifting processor include:

增加所述处理器中CPU和/或GPU的个数,和/或,提升所述处理器中CPU和/或GPU的性能参数;Increase the number of CPUs and/or GPUs in the processor, and/or, improve the performance parameters of the CPUs and/or GPUs in the processor;

所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.

在第一至第三种可能的实施方式作为基础而提供的第四种可能的实施方式中,所述移动终端的存储器中,还包含用于执行以下操作的指令:In a fourth possible implementation manner provided on the basis of the first to third possible implementation manners, the memory of the mobile terminal further includes instructions for performing the following operations:

在提升所述处理器的运行参数时开始计时,并在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态。The timing is started when the operating parameters of the processor are increased, and after the timing reaches a preset time, the operating parameters of the processor are restored to the state before the improvement.

在第一至第三种可能的实施方式作为基础而提供的第五种可能的实施方式中,所述移动终端的存储器中,还包含用于执行以下操作的指令:In a fifth possible implementation manner provided on the basis of the first to third possible implementation manners, the memory of the mobile terminal further includes instructions for performing the following operations:

获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成;Obtaining the window change information of the preset application, and judging whether the red envelope grabbing operation has been completed according to the window change information;

若所述抢红包操作已完成,恢复所述处理器的运行参数为提升前的状态。If the operation of grabbing red envelopes has been completed, restore the operating parameters of the processor to the state before the upgrade.

本发明实施例通过检测预设应用,并在检测到预设应用启动时,启动对电子红包的监听操作;若监听到电子红包,则提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度,从而提高了移动终端对电子红包的处理效率,有效地缩短了用户抢红包的操作时间,提高了用户抢到红包的概率。In the embodiment of the present invention, by detecting the preset application, and when it is detected that the preset application is started, the monitoring operation of the electronic red envelope is started; if the electronic red envelope is detected, the operating parameters of the processor are increased to improve the processor. The response speed to the electronic red envelope improves the processing efficiency of the mobile terminal to the electronic red envelope, effectively shortens the operation time for the user to grab the red envelope, and improves the probability of the user grabbing the red envelope.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the modules and units described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的处理器运行参数的调整方法及移动终端,可以通过其它的方式实现。例如,以上所描述的实施例仅仅是示意性的,例如,所述模块、单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed method for adjusting operating parameters of a processor and the mobile terminal may be implemented in other ways. For example, the above-described embodiments are only illustrative. For example, the division of modules and units is only a logical function division, and there may be other division methods during actual implementation. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元、模块单独物理存在,也可以两个或两个以上单元、模块集成在一个单元中。In addition, each functional unit and module in each embodiment of the present invention may be integrated into one processing unit, each unit or module may exist separately physically, or two or more units or modules may be integrated into one unit .

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (12)

Translated fromChinese
1.一种处理器运行参数的调整方法,其特征在于,所述调整方法包括:1. A method for adjusting processor operating parameters, characterized in that the method for adjusting comprises:当检测到预设应用启动时,启动对电子红包的监听操作,根据预设应用上的界面消息来监听电子红包;若监听到电子红包时,提升所述处理器的运行参数,以提高所述处理器对电子红包的响应速度,When it is detected that the preset application starts, the monitoring operation to the electronic red envelope is started, and the electronic red envelope is monitored according to the interface message on the preset application; if the electronic red envelope is detected, the operating parameters of the processor are increased to improve the The response speed of the processor to the electronic red envelope,所述提升所述处理器的运行参数包括:Said raising the operating parameters of said processor comprises:增加所述处理器中GPU的个数,和/或,提升所述处理器中GPU的性能参数;Increase the number of GPUs in the processor, and/or, improve the performance parameters of the GPUs in the processor;在提升所述处理器的运行参数时开始计时,并在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态,Start timing when the operating parameters of the processor are increased, and restore the operating parameters of the processor to the state before the improvement after the timing reaches a preset time,其中所述预设时间根据群组的连续发红包概率来确定。Wherein the preset time is determined according to the probability of the group sending out red envelopes continuously.2.如权利要求1所述的处理器运行参数的调整方法,其特征在于,在检测到预设应用启动时,启动对电子红包的监听操作之前,所述调整方法还包括:2. The method for adjusting the operating parameters of the processor according to claim 1, wherein the adjustment method further comprises:在所述预设应用的网络交互接口上设置电子红包监听功能;Setting an electronic red packet monitoring function on the network interaction interface of the preset application;所述当检测到预设应用启动时,启动对电子红包的监听操作包括:当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When detecting that the preset application is started, starting the monitoring operation of the electronic red envelope includes: when detecting that the preset application is started, starting the electronic red envelope monitoring function on the network interaction interface to monitor the electronic red envelope.3.如权利要求1所述的处理器运行参数的调整方法,其特征在于,所述提升所述处理器的运行参数还包括:3. The method for adjusting processor operating parameters as claimed in claim 1, wherein said raising the operating parameters of said processor further comprises:增加所述处理器中CPU的个数,和/或,提升所述处理器中CPU的性能参数;increasing the number of CPUs in the processor, and/or improving the performance parameters of the CPUs in the processor;所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.4.如权利要求1至2任一项所述的处理器运行参数的调整方法,其特征在于,所述调整方法还包括:4. The method for adjusting processor operating parameters according to any one of claims 1 to 2, wherein the method for adjusting further comprises:获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成;Obtaining the window change information of the preset application, and judging whether the red envelope grabbing operation has been completed according to the window change information;若所述抢红包操作已完成,恢复所述处理器的运行参数为提升前的状态。If the operation of grabbing red envelopes has been completed, restore the operating parameters of the processor to the state before the upgrade.5.一种移动终端,其特征在于,所述移动终端包括:5. A mobile terminal, characterized in that the mobile terminal comprises:监听模块,用于当检测到预设应用启动时,启动对电子红包的监听操作,根据预设应用上的界面消息来监听电子红包;The monitoring module is used to start the monitoring operation of the electronic red envelope when it is detected that the preset application is started, and monitor the electronic red envelope according to the interface message on the preset application;第一调整模块,用于若监听到电子红包时,提升处理器的运行参数,以提高所述处理器对电子红包的响应速度,The first adjustment module is used to increase the operating parameters of the processor to increase the response speed of the processor to the electronic red envelope if the electronic red envelope is monitored,所述提升所述处理器的运行参数包括:Said raising the operating parameters of said processor comprises:增加所述处理器中GPU的个数,和/或,提升所述处理器中GPU的性能参数;Increase the number of GPUs in the processor, and/or, improve the performance parameters of the GPUs in the processor;第二调整模块,用于在提升所述处理器的运行参数时开始计时,并在计时达到预设时间后,恢复所述处理器的运行参数为提升前的状态,其中所述预设时间根据群组的连续发红包概率来确定。The second adjustment module is used to start timing when the operating parameters of the processor are increased, and restore the operating parameters of the processor to the state before the increase after the timing reaches a preset time, wherein the preset time is based on The group's continuous distribution of red packets is determined by the probability.6.如权利要求5所述的移动终端,其特征在于,所述移动终端还包括:6. The mobile terminal according to claim 5, further comprising:设置模块,用于在所述预设应用的网络交互接口上设置电子红包监听功能;A setting module, configured to set the electronic red envelope monitoring function on the network interaction interface of the preset application;所述监听模块具体用于:The monitoring module is specifically used for:当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When it is detected that the preset application is started, the electronic red packet monitoring function on the network interaction interface is started to monitor the electronic red packet.7.如权利要求5所述的移动终端,其特征在于,所述第一调整模块还用于:7. The mobile terminal according to claim 5, wherein the first adjustment module is further used for:增加所述处理器中CPU的个数,和/或,提升所述处理器中CPU的性能参数;increasing the number of CPUs in the processor, and/or improving the performance parameters of the CPUs in the processor;所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.8.如权利要求5至7任一项所述的移动终端,其特征在于,所述移动终端还包括:8. The mobile terminal according to any one of claims 5 to 7, wherein the mobile terminal further comprises:第三调整模块,用于获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成,若所述抢红包操作已完成,恢复所述处理器的运行参数为提升前的状态。The third adjustment module is used to obtain the window change information of the preset application, and judge whether the operation of grabbing the red envelope has been completed according to the window change information, and restore the operating parameters of the processor if the operation of grabbing the red envelope has been completed is the state before the upgrade.9.一种移动终端,其特征在于,所述移动终端包括:9. A mobile terminal, characterized in that the mobile terminal comprises:处理器,用于当检测到预设应用启动时,启动对电子红包的监听操作,根据预设应用上的界面消息来监听电子红包;The processor is configured to start the monitoring operation of the electronic red envelope when it is detected that the preset application is started, and monitor the electronic red envelope according to the interface message on the preset application;若监听到电子红包时,提升自身的运行参数,以提高对电子红包的响应速度;If the electronic red envelope is monitored, improve its own operating parameters to improve the response speed to the electronic red envelope;所述处理器用于:The processor is used to:增加GPU的个数,和/或,提升GPU的性能参数;Increase the number of GPUs, and/or, improve the performance parameters of GPUs;所述处理器,用于在提升自身的运行参数时开始计时,并在计时达到预设时间后,恢复所述运行参数为提升前的状态,其中所述预设时间根据群组的连续发红包概率来确定。The processor is used to start timing when its own operating parameters are increased, and after the timing reaches a preset time, restore the operating parameters to the state before the upgrade, wherein the preset time is based on the group's continuous sending of red envelopes probability to determine.10.如权利要求9所述的移动终端,其特征在于,所述处理器,用于在所述预设应用的网络交互接口上设置电子红包监听功能;10. The mobile terminal according to claim 9, wherein the processor is configured to set an electronic red envelope monitoring function on the network interaction interface of the preset application;当检测到预设应用启动时,启动所述网络交互接口上的电子红包监听功能,以对电子红包进行监听。When it is detected that the preset application is started, the electronic red packet monitoring function on the network interaction interface is started to monitor the electronic red packet.11.如权利要求9所述的移动终端,其特征在于,所述处理器用于:增加CPU的个数,和/或,提升CPU的性能参数;11. The mobile terminal according to claim 9, wherein the processor is used for: increasing the number of CPUs, and/or improving the performance parameters of the CPUs;所述性能参数包括运行核心数、运行频率。The performance parameters include the number of running cores and running frequency.12.如权利要求9至11任一项所述的移动终端,其特征在于,所述处理器,用于获取所述预设应用的窗口变化信息,并根据所述窗口变化信息判断抢红包操作是否已完成;若所述抢红包操作已完成,恢复所述运行参数为提升前的状态。12. The mobile terminal according to any one of claims 9 to 11, wherein the processor is configured to obtain window change information of the preset application, and judge the red envelope grabbing operation according to the window change information Whether it has been completed; if the operation of grabbing red envelopes has been completed, restore the operating parameters to the state before the upgrade.
CN201610819135.XA2016-09-122016-09-12Processor operation parameter adjusting method and mobile terminalExpired - Fee RelatedCN106326074B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610819135.XACN106326074B (en)2016-09-122016-09-12Processor operation parameter adjusting method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610819135.XACN106326074B (en)2016-09-122016-09-12Processor operation parameter adjusting method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN106326074A CN106326074A (en)2017-01-11
CN106326074Btrue CN106326074B (en)2018-03-16

Family

ID=57787750

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610819135.XAExpired - Fee RelatedCN106326074B (en)2016-09-122016-09-12Processor operation parameter adjusting method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN106326074B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106339862A (en)*2016-09-122017-01-18广东欧珀移动通信有限公司Information processing method and mobile terminal
CN107193665A (en)*2017-04-122017-09-22北京安云世纪科技有限公司A kind of based reminding method of task, device and mobile terminal
CN107368298B (en)*2017-06-222020-09-11努比亚技术有限公司Text control simulation touch method, terminal and computer readable storage medium
CN107729283B (en)*2017-10-102021-07-13惠州Tcl移动通信有限公司 A method, system and storage medium for controlling CPU expansion based on mobile terminal
CN110874277B (en)*2018-09-032022-05-27Oppo广东移动通信有限公司 An electronic red envelope processing method, electronic red envelope processing device and mobile terminal
CN110879733B (en)*2018-09-062023-10-03Oppo广东移动通信有限公司Detection method, device, terminal and computer readable storage medium for electronic red envelope
CN110895698B (en)*2018-09-122022-05-24Oppo广东移动通信有限公司 Electronic red envelope identification method, electronic red envelope identification device and mobile terminal
CN109739642B (en)*2018-12-182023-08-11努比亚技术有限公司CPU frequency modulation method and device, mobile terminal and computer readable storage medium
CN111708642B (en)*2020-08-202020-12-08北京爱奇艺智能科技有限公司Processor performance optimization method and device in VR system and VR equipment
CN113448789A (en)*2021-06-302021-09-28东莞市小精灵教育软件有限公司Test method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105138229A (en)*2015-09-292015-12-09联想(北京)有限公司Information processing method and electronic equipment
CN105760158A (en)*2016-01-292016-07-13珠海市魅族科技有限公司 A method and device for loading information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105843514B (en)*2016-04-222019-05-14Oppo广东移动通信有限公司The application program launching method and device of mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105138229A (en)*2015-09-292015-12-09联想(北京)有限公司Information processing method and electronic equipment
CN105760158A (en)*2016-01-292016-07-13珠海市魅族科技有限公司 A method and device for loading information

Also Published As

Publication numberPublication date
CN106326074A (en)2017-01-11

Similar Documents

PublicationPublication DateTitle
CN106326074B (en)Processor operation parameter adjusting method and mobile terminal
CN106383654A (en) Method for adjusting touch screen parameters and mobile terminal
CN106327166A (en)Information processing method and mobile terminal
CN106657251A (en) A data synchronization method and device
CN107071147B (en)Parameter adjusting method and device
CN106131345A (en)The control method of a kind of proximity transducer, device and mobile terminal
CN105306682A (en)Method and device for automatically disconnecting network connection
US20200241925A1 (en)Method for automatically releasing resource occupied by process in background of terminal, storage medium, and terminal
CN106358225B (en)Network data processing method and device and mobile terminal
CN106453839A (en)Antenna adjusting method and mobile terminal
CN106791084A (en) Synchronization method of personalized parameters and mobile terminal
CN106326072B (en)Information processing method and mobile terminal
CN106453840A (en) Performance adjustment method of mobile terminal and mobile terminal
CN106161601A (en) Method and device for data request
CN106658753A (en)Data migration method and terminal equipment
CN106657566A (en)Physical button adjusting method and mobile terminal
CN106488391A (en) A data migration method and terminal equipment
CN106445721A (en)Watchdog fault-tolerant processing method and mobile terminal
CN106817489B (en) Message prompting method and mobile terminal
CN106445739A (en) A data migration method and terminal equipment
WO2018045874A1 (en)Method for information processing and related product
CN106980558A (en) Backup data cleaning method and mobile terminal
CN106066769A (en) A processing method for a mobile terminal and the mobile terminal
CN106254673A (en)Terminal fall detection method and device
CN106445660A (en) Application control method of mobile terminal and mobile terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address

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 523841 usha Beach Road No. 18

Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03Change of name, title or address
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20180316

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp