WO2017206859A1 - 控制cpu功耗的方法、装置及终端 - Google Patents

控制cpu功耗的方法、装置及终端 Download PDF

Info

Publication number
WO2017206859A1
WO2017206859A1 PCT/CN2017/086454 CN2017086454W WO2017206859A1 WO 2017206859 A1 WO2017206859 A1 WO 2017206859A1 CN 2017086454 W CN2017086454 W CN 2017086454W WO 2017206859 A1 WO2017206859 A1 WO 2017206859A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor core
fps
display thread
display
threshold
Prior art date
Application number
PCT/CN2017/086454
Other languages
English (en)
French (fr)
Inventor
曾元清
Original Assignee
广东欧珀移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Publication of WO2017206859A1 publication Critical patent/WO2017206859A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/324Power saving characterised by the action undertaken by lowering clock frequency
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3265Power saving in display device

Definitions

  • the present invention relates to the field of terminals, and in particular, to a method and apparatus for controlling power consumption of a CPU.
  • multi-core technology has become an important direction for the development of today's processors.
  • the multi-core processor technology can greatly improve the performance of the system by maintaining the same frequency by means of mutual assistance of multiple processing cores.
  • An embodiment of the present invention provides a method for controlling power consumption of a CPU, including:
  • Another embodiment of the present invention provides an apparatus for controlling power consumption of a CPU, including:
  • a screen refresh rate detecting module configured to detect a screen refresh rate FPS of the display thread
  • a processor core determining module configured to acquire a processor core corresponding to the display thread
  • a processor frequency adjustment module configured to adjust an operating frequency of the processor core corresponding to the display thread according to the FPS of the display thread
  • a processor core adjustment module configured to detect an operating frequency of the processor core, where the detected When the operating frequency of the processor core is greater than a threshold, a new processor core is added to the display thread.
  • a further embodiment of the present invention provides a terminal, comprising: a processor and a memory, the processor is configured to store a computer program, and the processor is configured to execute a computer program stored in the memory to execute:
  • Adjustment that is, accurately determining the amount of resources of the processor core required according to the requirements of each display thread, thereby more optimally determining the number and running frequency of the next processor core, while ensuring the performance of the display thread. , reducing the power consumption of the terminal.
  • FIG. 1 is a schematic flow chart of a method for controlling power consumption of a CPU in an embodiment
  • FIG. 2 is a schematic structural diagram of an apparatus for controlling power consumption of a CPU in an embodiment
  • FIG. 3 is a block diagram showing the structure of a computer device that operates the aforementioned method of controlling power consumption of a CPU in one embodiment.
  • a method for controlling power consumption of a CPU is proposed, and the implementation of the method may depend on a computer program, which may run on a computer system based on a von Neumann system, the computer program may A processor control application that is the terminal of a multi-core processor.
  • the computer system may be a terminal device such as a smart phone, a tablet computer, a personal computer or the like that runs the above computer program.
  • the processor mentioned may be a central processing unit (CPU), a graphics processing unit (GPU), and a micro controller unit (Micro Controller Unit, A combination of one or more of MCUs.
  • the processor in this embodiment may be a Symmetrical Multi-Processing (SMP) or an Asymmetric Multi-Processing (AMP).
  • the terminal mentioned in the embodiment of the present invention may be a smart phone, a tablet personal computer, a vehicle terminal, a computer, or the like.
  • the display content is composed of a plurality of different modules or regions, and different foreground applications are responsible for display contents of different regions or modules, for example, the signal bar application is responsible for updating the signal display, and the power is displayed.
  • the control module is responsible for updating the battery level icon. Every After the foreground application completes one frame of display data preparation of its display window, it performs a synthesis operation with the content of the entire display layer, and then actively calls the display interface of the kernel to send the display content to the display device for display.
  • the algorithm may also be different, which causes the load on the processor core to change drastically in a short period of time.
  • the frequency regulator is responsible for the frequency hopping voltage regulation operation of the core
  • the hot swap control module is responsible for the switching of the plurality of processing cores
  • the processing method is mainly based on the current processing and operating frequency and Change the direction to preset the load, or determine the switch of each processing core according to the number of tasks running per unit time; that is, the frequency regulator and the hot-swap control module do not detect during the current interface refresh process.
  • the behavior of the application is refreshed to any interface, that is, the processing core of the operation is not adjusted, and the processing power of the processor remains unchanged.
  • the processor does not perceive the change of the application interface update, so even if the load corresponding to the application interface update changes, the processing capability of the processor does not follow.
  • the adjustment is made, which may cause the load of the processor to be overloaded, the processing power of the processor is insufficient, and the load may be too small, or the load of the processor may be too light, and some cores of the processor may be Being in an "idle" state results in unnecessary wasted power.
  • the foregoing method for controlling power consumption of a CPU includes the following steps S102-S108, specifically:
  • Step S102 Detecting a screen refresh rate FPS of the display thread.
  • the screen refresh rate is the number of refreshes of the display content on the screen in a unit time. In this embodiment, it may be the number of refreshes per second, that is, FPS, Frames Per Second, and the number of frames transmitted per second on the display screen.
  • the default screen refresh rate of a typical computer display is 60 Hz, that is, the refresh rate of the screen displayed on the display of the computer per second is 60 frames per second.
  • the higher the screen refresh rate the higher the processing power requirement of the processor. For example, when the resolution of the screen is 1024 ⁇ 768, the refresh rate of the screen should be reached.
  • a plurality of display units are included.
  • the signal corresponding to the signal bar unit is displayed
  • the browser unit corresponds to the web content display
  • the power control unit corresponds to the battery power.
  • the icon is displayed; each display unit corresponds to a display thread, and each display thread is responsible for the display data of the corresponding display window, and after each frame display data is prepared, the display data prepared by other display threads on the entire display layer is displayed.
  • the synthesis is performed to obtain an image frame of the entire display interface. That is to say, the update of the display data of each display thread is independent of each other.
  • the refresh rate of each refresh sub-thread is independently tracked and the number of refreshes of each display thread per unit time is counted, thereby obtaining each display thread. Screen refresh rate.
  • Step S104 Acquire a processor core corresponding to the display thread.
  • each display thread is completed by the processor.
  • the processing of different display threads may be completed by different processor cores.
  • the processor core corresponding thereto is obtained according to each display thread, that is, which processor core is being executed by each display thread.
  • Step S106 Adjust the operating frequency of the processor core corresponding to the display thread according to the FPS of the display thread.
  • Each display thread has a corresponding running frequency in the processor.
  • the running frequency is determined according to the previous running state of the terminal or the refresh rate before the display thread, and may not necessarily be related to the current screen refresh rate of the display thread. Is a match. That is to say, it is necessary to determine the operating frequency of the corresponding processor core according to the current screen refresh rate of the display thread.
  • the operating frequency of the processor core corresponding to the display thread should be increased; correspondingly, if When the running flat rate required by the thread corresponding to the screen refresh rate is lower than the operating frequency of the processor core corresponding to the currently displayed thread, the operating frequency of the processor core corresponding to the display thread should be lowered, and the operating frequency of the processor core is lowered.
  • the adjustment amount is determined by the screen refresh rate of the display thread acquired in step S102.
  • the step of adjusting the operating frequency of the processor core corresponding to the display thread according to the FPS of the display thread specifically includes: the FPS of the display thread is lower than the first When the FPS threshold is increased, the operation of the processor core corresponding to the display thread is increased. Frequency: when the FPS of the display thread is higher than the second FPS threshold, lowering the operating frequency of the processor core corresponding to the display thread; the second FPS threshold is higher than the first FPS threshold.
  • the screen refresh rate has a maximum value, that is, a maximum frame frequency, and for example, the maximum frame frequency can be set to 60 frames/second.
  • the threshold of the screen refresh rate that is, the first FPS threshold and the second FPS threshold are preset, wherein the second FPS threshold is higher than the first FPS threshold.
  • the first FPS threshold may be set to 58 frames/second
  • the second FPS threshold is 50 frames/second.
  • the operating frequency of the processor core can be appropriately lowered, that is, the processing power of the corresponding processor core is too high, or in other embodiments, the display core can be processed by using a lower performance processor core;
  • the screen refresh rate of the thread is less than 50 frames/second, it indicates that the processor core where the display thread is located has insufficient running frequency, that is, the corresponding processor has insufficient processing capability, and needs to adjust the operating frequency of the processor core upward, or use the performance more.
  • High processor core when the FPS of the display thread is lower than the first FPS threshold, the processing capability of the processor core is improved, and when the FPS of the display thread is higher than the second FPS threshold, the processing capability of the processor core is reduced.
  • the calculation of the new operating frequency can be calculated according to the following formula:
  • New_freq old_freq*Good_FPS_THRESHOLD/current_fps
  • new_freq represents the new operating frequency
  • old_freq represents the operating frequency of the processor core before the early adjustment
  • Good_FPS_THRESHOLD represents the second FPS threshold
  • current_fps represents the screen refresh rate of the display thread acquired in step S102.
  • the step of adjusting the operating frequency of the processor core corresponding to the display thread according to the FPS of the display thread further includes: FPS in the display thread When the third FPS threshold is lower, the display thread is defined to be in an idle state; the third FPS threshold is lower than the first FPS threshold.
  • the third FPS threshold is a lower value for one screen.
  • the screen refresh rate of the corresponding display process should be greater than the lower third FPS threshold. Therefore, the display thread definition of the screen refresh rate lower than the preset third FPS threshold can be defined. In the idle state, that is, in an idle state, It is not necessary to allocate processing resources of the processor core for the display thread.
  • the third FPS threshold may be set to 10 frames/second, and when the screen refresh rate of the display thread is below 10 frames/second, the corresponding display thread is defined as the idle state.
  • the ideal value for the third FPS threshold is 0 frames per second.
  • Step S108 Detect an operating frequency of the processor core, and add a new processor core to the display thread when detecting that the operating frequency of the processor core is greater than a threshold.
  • step S106 the operating frequency of each display thread is adjusted, and may appear after the adjustment, and the sum of the operating frequencies of all the display threads corresponding to a certain processor core may exceed the load capacity of the processor core. Therefore, you need to make the appropriate adjustments.
  • the operating frequency of the processor core corresponding to each display thread is detected.
  • the processor core corresponding to the display thread may be one or multiple. For each processor core corresponding to the display thread, the corresponding operating frequency is detected separately.
  • a threshold is preset for its operating frequency.
  • the running frequency is greater than the threshold, the load of the processor core is already too large, to ensure the performance of the processor core, and to avoid the core of the processor. Insufficient processing power causes the situation of the Caton. It is necessary to increase the processing power of the processor core, that is, to add a new processor core to the display thread, that is, to allocate the operation of the partial display thread to the newly added processor core operation.
  • calculation processing is also required.
  • Core resource limit Specifically, the data volume change of the display thread refreshing process is obtained, and the processor core resource quota is calculated according to the data volume change; the detecting the operating frequency of the processor core further includes: according to the processor core resource Limit the frequency of the adjustment or add a new processor core.
  • the calculation shows the amount of data change of the thread refresh process, where M represents the amount of data change of the display thread during the refresh process, and Byte represents the data size of each pixel point, for example, RGB888, RGB565, YUV422, and the like.
  • Xtotal*Ytotal represents the screen resolution, ie the size of the screen
  • Nnew represents the number of new online processor cores
  • Fnew represents the maximum frequency of the new processor core
  • Nmax represents the available processor
  • the number of cores, Fmax represents the limit frequency of the available processor core. That is to say, the above method ensures the update rate of each display thread (ie, performance priority), and limits the resources of the overall processor core (ie, preferentially prioritizes power consumption), thereby achieving optimality.
  • the display performance-to-power ratio controls the power consumption of the terminal while ensuring the user experience.
  • an apparatus for controlling CPU power consumption including a screen refresh rate detecting module 102, a processor core determining module 104, a processor frequency adjusting module 106, and a processor core adjustment.
  • Module 108 wherein:
  • the screen refresh rate detecting module 102 is configured to detect a screen refresh rate FPS of the display thread
  • a processor core determining module 104 configured to acquire a processor core corresponding to the display thread
  • the processor frequency adjustment module 106 is configured to adjust an operating frequency of the processor core corresponding to the display thread according to the FPS of the display thread;
  • the processor core adjustment module 108 is configured to detect an operating frequency of the processor core, and add a new processor core to the display thread when detecting that the operating frequency of the processor core is greater than a threshold heart.
  • the processor frequency adjustment module 106 is further configured to: when the FPS of the display thread is lower than the first FPS threshold, increase an operating frequency of the processor core corresponding to the display thread; When the FPS of the display thread is higher than the second FPS threshold, the operating frequency of the processor core corresponding to the display thread is lowered; the second FPS threshold is higher than the first FPS threshold.
  • the processor frequency adjustment module 106 is further configured to: when the FPS of the display thread is lower than a third FPS threshold, define the display thread to be in an idle state; the third FPS The threshold is below the first FPS threshold.
  • the foregoing apparatus further includes a processor core resource quota calculation module 110, configured to acquire a data volume change of the display thread refresh process, and calculate according to the data volume change.
  • the processor core resource limit is also used by the processor core adjustment module 108 to adjust the frequency or add a new processor core according to the processor core resource limit.
  • the processor core resource quota calculation module 110 is further configured to use a formula according to the formula.
  • the processor core resource limit 110 calculation module is further used according to a formula
  • Nnew*Fnew Nmax*Fmax*Percentage (% of screen change)
  • the Nnew represents a new online processor core number
  • the Fnew represents a maximum frequency of a new processor core
  • the Nmax represents a number of available processor cores
  • Adjustment that is, accurately determining the amount of resources of the processor core required according to the requirements of each display thread, thereby more optimally determining the number and running frequency of the next processor core, while ensuring the performance of the display thread. , reducing the power consumption of the terminal.
  • FIG. 3 illustrates a computer system that operates the above described method of controlling CPU power consumption.
  • the computer system can be a terminal device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer or a personal computer.
  • an external input interface 1001, a processor 1002, a memory 1003, and an output interface 1004 connected through a system bus may be included.
  • the external input interface 1001 can optionally include at least a network interface 10012.
  • the memory 1003 may include an external memory 10032 (eg, a hard disk, an optical disk, or a floppy disk, etc.) and an internal memory 10034.
  • the output interface 1004 can include at least a device such as a display 10042.
  • the operation of the method is based on a computer program whose program file is stored in the external memory 10032 of the aforementioned computer system, loaded into the internal memory 10034 at runtime, and then compiled into machine code and then passed.
  • the input parameters are all received through the external input interface 1001, and transferred to the buffer in the memory 1003, and then input to the processor 1002 for processing, and the processed result data is cached in the memory. Subsequent processing is performed in 1003 or passed to output interface 1004 for output.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Power Sources (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种控制CPU功耗的方法,包括:检测显示线程的屏幕刷新率FPS(S102);获取所述显示线程对应的处理器核心(S104);根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率(S106);检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心(S108)。

Description

控制CPU功耗的方法、装置及终端
本发明要求2016年5月31日递交的发明名称为“控制CPU功耗的方法及装置”的申请号为201610380713.4的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本发明涉及终端领域,尤其涉及一种控制CPU功耗的方法及装置。
背景技术
随着处理器技术的不断发展,多核技术成为当今处理器发展的重要方向。相比传统的单核芯片,多核处理器技术通过多个处理核互相协助的方式实现了保持频率不变的情况下,大幅度地提升系统的性能。
发明内容
本发明实施例提供了一种控制CPU功耗的方法,包括:
检测显示线程的屏幕刷新率FPS;
获取所述显示线程对应的处理器核心;
根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
本发明又一实施例提供了一种控制CPU功耗的装置,包括:
屏幕刷新率检测模块,用于检测显示线程的屏幕刷新率FPS;
处理器核心确定模块,用于获取所述显示线程对应的处理器核心;
处理器频率调节模块,用于根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
处理器核心调整模块,用于检测所述处理器核心的运行频率,在检测到所 述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
本发明又一实施例提供了一种终端,包括:处理器和存储器,所述处理器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序来执行:
检测显示线程的屏幕刷新率FPS;
获取所述显示线程对应的处理器核心;
根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
采用了上述控制CPU功耗的方法和装置之后,根据显示线程的屏幕刷新率的大小对该显示线程对应的处理器核心的运行频率进行调节,并在根据每一个个显示线程所在的处理器核心以及其对应的运行频率,确定当前是否应该对运行的处理器核心的数量和运行频率进行调整,例如,增加新的处理器核心来运行显示线程。也就是说,在不破坏任何应用的运行逻辑和屏幕显示运行逻辑的前提下,主动对各个应用的显示相关线程的刷新情况进行分析,并根据分析结果对处理器核心的运行频率以及运行数量进行调整,即根据每一个显示线程的需求精确确定其所需的处理器核心的资源量,进而更优化的确定接下来的处理器核心的数量和运行频率,在保证了显示线程的性能的前提下,降低了终端的功耗。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
其中:
图1为一个实施例中一种控制CPU功耗的方法的流程示意图;
图2为一个实施例中一种控制CPU功耗的装置的结构示意图;
图3为一个实施例中运行前述控制CPU功耗的方法的计算机设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
在本实施例中,特提出了一种控制CPU功耗的方法,该方法的实现可依赖于计算机程序,该计算机程序可运行于基于冯诺依曼体系的计算机系统之上,该计算机程序可以是多核处理器的终端的处理器控制应用程序。该计算机系统可以是运行上述计算机程序的例如智能手机、平板电脑、个人电脑等终端设备。
需要说明的是,在本发明实施例中,所提及的处理器可以是中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)、微控制单元(Micro Controller Unit,MCU)中的一种或者多种的组合。而且,本实施例中的处理器可以是对称多核处理器(Symmetrical Multi-Processing,SMP),也可以是非对称多核处理器(Asymmetric Multi-Processing,AMP)。另外,本发明实施例中提及的终端可以是智能手机(smart phone)、平板电脑(Tablet Personal Computer)、车载终端、台式电脑(computer)等等。
对于在终端的显示界面上展示的显示内容来说,显示内容由多个不同的模块或者区域构成,不同的前景应用负责不同区域或者模块的显示内容,例如,信号栏应用负责更新信号显示,电量控制模块负责更新电池电量图标。每一个 前景应用在完成其显示窗口的一帧显示数据准备之后,会和当前整个显示图层的内容完成合成操作,然后主动的调用内核的显示接口,将显示内容发送给显示设备进行显示。在实践过程中技术人员发现,由于不同的显示线程负责不同的前景应用的显示以及显示窗口的刷新,而在显示刷新的过程中,在单一时刻,多个应用对应的刷新率的不同,图形库算法也可能不同,这就导致了处理器核的负载在短时间内可能发生剧烈的变化。
而在操作系统中处理核控制中,频率调节器负责内核的跳频调压操作,热插拔控制模块负责多个处理核的开关,处理方法主要是周期性的根据当前处理和的运行频率和变化方向来预设负载,或者根据单位时间内运行的任务数来确定每一个处理核的开关;也就是说,在当前界面刷新的过程中,频率调节器和热插拔控制模块并不会检测到任何的界面刷新应用的行为,也就是说,并不会对运行的处理核进行调整,处理器的处理能力却依然保持不变。
也就是说,在相关技术中多核处理器的控制方案中,处理器并不能感知应用界面更新的变化,所以,即使应用界面更新所对应的负载出现了变化,处理器的处理能力并不会随之进行调整,这就使得处理器的负载可能出现负载过重的问题,处理器的处理能力不足而导致出现卡顿等现象,或者,处理器的负载可能过轻,处理器的一些内核可能会处于“空转”状态而导致出现不必要的电量浪费。
如图1所示,上述控制CPU功耗的方法包括如下步骤S102-S108,具体的:
步骤S102:检测显示线程的屏幕刷新率FPS。
屏幕刷新率即屏幕上的显示内容在单位时间内的刷新次数,在本实施例中,可以是在每秒内的刷新次数,即FPS,Frames Per Second,显示屏上每秒传输帧数。例如,一般的电脑显示屏的默认屏幕刷新率为60Hz,即每秒在电脑的显示屏上显示的画面的刷新率为60帧每秒。一般来讲,在分辨率不变的情况下,屏幕刷新率越高,对处理器的处理能力要求也就越高,例如,在画面的分辨率是1024×768时,画面的刷新率要达到24帧/秒,那么显卡在一秒钟内需要处理的像素量就达到了“1024×768×24=18874368”,如果要求画面的刷新率达到50帧/秒,则数据量一下子提升到了“1024×768×50=39321600”。
对于终端的显示界面来讲,包括了多个显示单元,例如,在手机上网界面里,信号栏单元对应的信号显示,浏览器单元对应的是网页内容显示,电量控制单元对应的是电池电量的图标显示;每一个显示单元对应了一个显示线程,每一个显示线程负责对应的显示窗口的显示数据,并在每一帧显示数据准备完毕之后,会同整个显示图层上其他显示线程准备的显示数据进行合成以得到整个显示界面的图像帧。也就是说,每一个显示线程的显示数据的更新都是彼此独立的。
在本实施例中,在终端中的前景应用刷新率分析模块中,会针对每一个刷新子线程的刷新率进行独立跟踪并统计单位时间内各个显示线程的刷新次数,从而得出每一个显示线程的屏幕刷新率。
步骤S104:获取所述显示线程对应的处理器核心。
每一个显示线程的处理都是处理器完成的,在本实施例中,因为处理器的数量是多个,因此,不同的显示线程的处理可能是不同的处理器核心完成的。在本实施例中,根据每一个显示线程获取与其对应的处理器核心,即确定每一个显示线程正在哪一个处理器核心上运行。
步骤S106:根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率。
每一个显示线程在处理器中都存在对应的运行频率,但是,这个运行频率是根据终端之前的运行状态或者该显示线程之前的刷新率确定的,并不能一定与该显示线程当前的屏幕刷新率是匹配的。也就是说,需要根据显示线程当前的屏幕刷新率确定对应的处理器核心的运行频率。具体的,若显示线程对应的屏幕刷新率要求的运行频率高于当前显示线程对应的处理器核心的运行频率时,应调高该显示线程对应的处理器核心的运行频率;对应的,若显示线程对应的屏幕刷新率要求的运行平率低于当前显示线程对应的处理器核心的运行频率时,应调低该显示线程对应的处理器核心的运行频率,并且,对处理器核心的运行频率的调整量由步骤S102中获取的显示线程的屏幕刷新率确定。
在一个具体的实施例中,上述步骤S104中,所述根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率的步骤中,具体包括:在所述显示线程的FPS低于第一FPS阈值时,调高该显示线程对应的处理器核心的运行 频率;在所述显示线程的FPS高于第二FPS阈值时,调低该显示线程对应的处理器核心的运行频率;所述第二FPS阈值高于所述第一FPS阈值。
在本实施例中,屏幕刷新率存在最大值,即最大帧频率,例如,可以将最大帧频率设置为60帧/秒。预先设定屏幕刷新率的阈值,即第一FPS阈值和第二FPS阈值,其中第二FPS阈值高于所述第一FPS阈值。例如,可以设置第一FPS阈值为58帧/秒,第二FPS阈值为50帧/每秒,在显示线程的屏幕刷新率大于58帧/秒时,说明该显示线程所在的处理器核心运行频率充足,可以适当下调处理器核心的运行频率,即对应的处理器核心的处理能力过高,或者,在其他实施例中,还可以是使用性能较低的处理器核心处理上述显示线程;在显示线程的屏幕刷新率小于50帧/每秒时,说明该显示线程所在的处理器核心的运行频率不足,即对应的处理器处理能力不足,需要向上调整处理器核心的运行频率,或者使用性能更高的处理器核心。综上,在显示线程的FPS低于第一FPS阈值时,提高处理器核心的处理能力,在显示线程的FPS高于第二FPS阈值时,降低处理器核心的处理能力。
在一个具体的实施例中,在上述调高或者调低处理器核心的运行频率中,新的运行频率的计算可根据如下公式进行计算:
new_freq=old_freq*Good_FPS_THRESHOLD/current_fps
其中new_freq表示新的运行频率,old_freq表示早调节之前处理器核心的运行频率,Good_FPS_THRESHOLD表示第二FPS阈值,current_fps表示步骤S102中获取的显示线程的屏幕刷新率。
进一步的,在一个可选的实施例中,上述步骤S104中,所述根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率的步骤中,还包括:在所述显示线程的FPS低于第三FPS阈值时,将所述显示线程定义为处于idle状态;所述第三FPS阈值低于所述第一FPS阈值。
也就是说,在显示线程的屏幕刷新率低于第三FPS阈值时,说明对应的显示线程对于屏幕刷新并没有需求,一般来讲,第三FPS阈值时一个较低的数值,对于一个对于屏幕刷新有正常刷新需求的应用来讲,其对应的显示进程的屏幕刷新率应大于这个较低的第三FPS阈值,所以,可以将屏幕刷新率低于预设的第三FPS阈值的显示线程定义为处于idle状态,即处于空闲状态, 可以不用针对该显示线程分配处理器核心的处理资源。例如,在一个实施例中,可以将第三FPS阈值设置为10帧/秒,在显示线程的屏幕刷新率低于10帧/秒时,将对应的显示线程定义为idle状态。在另一个实施例中,第三个FPS阈值的理想值为0帧/秒。
步骤S108:检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
在步骤S106中,针对每一个显示线程的运行频率进行了调节,在调节过后可能会出现,某一个处理器核心对应的所有的显示线程的运行频率的总和可能超过了该处理器核心的负载能力,因此需要进行相应的调整。具体的,检测每一个显示线程对应的处理器核心的运行频率,在本实施例中,显示线程对应的处理器核心可以是一个,也可以是多个。针对于显示线程对应的每一个处理器核心,分别检测其对应的运行频率。
对于处理器核心来讲,针对其运行频率预设一个阈值,在运行频率大于该阈值时,说明该处理器核心的负载已经过大,为保证处理器核心的性能,以及避免该处理器核心的处理能力不足造成卡顿的状况,就需要增加处理器核心的处理能力,即为显示线程增加新的处理器核心,即将部分显示线程的运行分配给新增加的处理器核心运行。
需要说明的是,在本实施例中,在根据处理器核心的运行频率确定是否增加新的处理器核心的过程中,即在确定调整之后的处理器核心的数量的过程中,还需要计算处理器核心资源限额。具体的,获取所述显示线程刷新过程的数据量变化,根据所述数据量变化计算处理器核心资源限额;所述检测所述处理器核心的运行频率之后还包括:根据所述处理器核心资源限额调节频率或者增加新的处理器核心。
在针对每一个刷新子线程的刷新内容进行独立跟踪的过程中,检测对应的显示内容的变化情况,对每一次刷新内容变化进行分析,具体的,针对每一个显示线程,获取每一次刷新前后的窗口大小,即Xnew*Ynew表示刷新之后的窗口大小,Xold*Yold表示刷新之前的窗口大小,也就是说,ABS(Xnew*Ynew–Xold*Yold)表示每次刷新前后的显示窗口变化情况。还可以是,获取每次刷新前后的画面帧中变化的像素点的数量,即Npixel表示刷新之后相 对于刷新之前的变化像素点数。也就是说,针对每一个显示线程,根据公式
M=(ABS(Xnew*Ynew–Xold*Yold)|Npixel)*Byte
计算显示线程刷新过程的数据量变化,其中M代表该显示线程在刷新过程中的数据量变化,Byte表示每个像素点数据大小,例如,RGB888,RGB565,YUV422等等。
若终端总共对应了P个显示线程,计算每一个显示线程对应的刷新过程的数据量变化,即M1,M2,……,MP,其中Mi表示第i个显示线程刷新过程的数据量变化,所述i=1,2,…,P。
在上述计算计算处理器核心资源限额的过程中,可以根据公式
Percentage=(M1+M2+M3+…)/(P*Xtotal*Ytotal)
计算屏幕变化百分比Percentage,然后根据公式
Nnew*Fnew=Nmax*Fmax*Percentage
计算所述处理器核心资源限额,其中,Xtotal*Ytotal表示屏幕分辨率,即屏幕的大小,Nnew表示新的在线处理器核心数量,Fnew表示新的处理器核心的最大频率,Nmax表示可用处理器核心数量,Fmax表示可用处理器核心的极限频率。也就是说,采用上述方法在保证了每一个显示线程刷新率的同时(即性能优先),又对总体处理器核心的资源做出了限制(即倾向于功耗优先),从而实现了最优的显示性能功耗比,在保证了用户体验的前提下,控制了终端的功耗。
在一个实施例中,如图2所示,还提出了一种控制CPU功耗的装置,包括屏幕刷新率检测模块102、处理器核心确定模块104、处理器频率调节模块106以及处理器核心调整模块108,其中:
屏幕刷新率检测模块102,用于检测显示线程的屏幕刷新率FPS;
处理器核心确定模块104,用于获取所述显示线程对应的处理器核心;
处理器频率调节模块106,用于根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
处理器核心调整模块108,用于检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核 心。
可选的,在一个实施例中,处理器频率调节模块106还用于在所述显示线程的FPS低于第一FPS阈值时,调高该显示线程对应的处理器核心的运行频率;在所述显示线程的FPS高于第二FPS阈值时,调低该显示线程对应的处理器核心的运行频率;所述第二FPS阈值高于所述第一FPS阈值。
可选的,在一个实施例中,处理器频率调节模块106还用于在所述显示线程的FPS低于第三FPS阈值时,将所述显示线程定义为处于idle状态;所述第三FPS阈值低于所述第一FPS阈值。
可选的,在一个实施例中,如图2所示,上述装置还包括处理器核心资源限额计算模块110,用于获取所述显示线程刷新过程的数据量变化,根据所述数据量变化计算处理器核心资源限额;处理器核心调整模块108还用于根据所述处理器核心资源限额调节频率或者增加新的处理器核心。
可选的,在一个实施例中,处理器核心资源限额计算模块110还用于根据公式
M=(ABS(Xnew*Ynew–Xold*Yold)|Npixel)*Byte
计算所述显示线程刷新过程的数据量变化,其中,所述Xnew*Ynew表示刷新之后的窗口大小,所述Xold*Yold表示刷新之前的窗口大小,所述Npixel表示刷新之后相对于刷新之前的变化像素点数,所述Byte表示每个像素点数据大小;所述处理器核心资源限额110计算模块还用于根据公式
Percentage=(M1+M2+M3+…)/(P*Xtotal*Ytotal)
计算屏幕变化百分比,其中所述P表示显示线程的数量,所述Xtotal*Ytotal表示屏幕分辨率,所述Mi表示第i个显示线程刷新过程的数据量变化,所述i=1,2,…,P;然后根据公式
Nnew*Fnew=Nmax*Fmax*Percentage(屏幕变化百分比)
计算所述处理器核心资源限额,其中,所述Nnew表示新的在线处理器核心数量,所述Fnew表示新的处理器核心的最大频率,所述Nmax表示可用处理器核心数量,所述Fmax表示可用处理器核心的极限频率。
实施本发明实施例,将具有如下有益效果:
采用了上述控制CPU功耗的方法和装置之后,根据显示线程的屏幕刷新率的大小对该显示线程对应的处理器核心的运行频率进行调节,并在根据每一个个显示线程所在的处理器核心以及其对应的运行频率,确定当前是否应该对运行的处理器核心的数量和运行频率进行调整,例如,增加新的处理器核心来运行显示线程。也就是说,在不破坏任何应用的运行逻辑和屏幕显示运行逻辑的前提下,主动对各个应用的显示相关线程的刷新情况进行分析,并根据分析结果对处理器核心的运行频率以及运行数量进行调整,即根据每一个显示线程的需求精确确定其所需的处理器核心的资源量,进而更优化的确定接下来的处理器核心的数量和运行频率,在保证了显示线程的性能的前提下,降低了终端的功耗。
在一个实施例中,如图3所示,图3展示了一种运行上述控制CPU功耗的方法的计算机系统。该计算机系统可以是智能手机、平板电脑、掌上电脑,笔记本电脑或个人电脑等终端设备。具体的,可包括通过系统总线连接的外部输入接口1001、处理器1002、存储器1003和输出接口1004。其中,外部输入接口1001可选的可至少包括网络接口10012。存储器1003可包括外存储器10032(例如硬盘、光盘或软盘等)和内存储器10034。输出接口1004可至少包括显示屏10042等设备。
在本实施例中,本方法的运行基于计算机程序,该计算机程序的程序文件存储于前述计算机系统的外存储器10032中,在运行时被加载到内存储器10034中,然后被编译为机器码之后传递至处理器1002中执行,从而使得基于冯诺依曼体系的计算机系统中形成逻辑上的屏幕刷新率检测模块102、处理器核心确定模块104、处理器频率调节模块106以及处理器核心调整模块108。且在上述控制CPU功耗的方法执行过程中,输入的参数均通过外部输入接口1001接收,并传递至存储器1003中缓存,然后输入到处理器1002中进行处理,处理的结果数据或缓存于存储器1003中进行后续地处理,或被传递至输出接口1004进行输出。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (17)

  1. 一种控制CPU功耗的方法,其特征在于,包括:
    检测显示线程的屏幕刷新率FPS;
    获取所述显示线程对应的处理器核心;
    根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
    检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
  2. 根据权利要求1所述的控制CPU功耗的方法,其特征在于,所示显示线程的数量不止一个;
    所述检测显示线程的屏幕刷新率FPS包括:
    针对每一个显示线程统计该显示线程在单位时间内的刷新次数,根据每一个显示线程在单位时间内的刷新次数计算该显示线程的屏幕刷新率。
  3. 根据权利要求1所述的控制CPU功耗的方法,其特征在于,所述根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率包括:
    在所述显示线程的FPS低于第一FPS阈值时,调高该显示线程对应的处理器核心的运行频率;
    在所述显示线程的FPS高于第二FPS阈值时,调低该显示线程对应的处理器核心的运行频率;
    所述第二FPS阈值高于所述第一FPS阈值。
  4. 根据权利要求3所述的控制CPU功耗的方法,其特征在于,所述根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率包括:
    根据公式
    new_freq=old_freq*Good_FPS_THRESHOLD/current_fps
    计算调节后的运行频率,其中new_freq表示新的运行频率,old_freq表示早调节之前处理器核心的运行频率,Good_FPS_THRESHOLD表示第二FPS阈值, current_fps表示所述显示线程的屏幕刷新率。
  5. 根据权利要求3所述的控制CPU功耗的方法,其特征在于,所述根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率还包括:
    在所述显示线程的FPS低于第三FPS阈值时,将所述显示线程定义为处于idle状态;
    所述第三FPS阈值低于所述第一FPS阈值。
  6. 根据权利要求1所述的控制CPU功耗的方法,其特征在于,所述方法还包括:
    获取所述显示线程刷新过程的数据量变化,根据所述数据量变化计算处理器核心资源限额;
    所述检测所述处理器核心的运行频率之后还包括:
    根据所述处理器核心资源限额调节频率或者增加新的处理器核心。
  7. 根据权利要求6所述的控制CPU功耗的方法,其特征在于,所述获取所述显示线程刷新过程的数据量变化具体为:
    根据公式
    M=(ABS(Xnew*Ynew–Xold*Yold)|Npixel)*Byte
    计算所述显示线程刷新过程的数据量变化,其中,所述Xnew*Ynew表示刷新之后的窗口大小,所述Xold*Yold表示刷新之前的窗口大小,所述Npixel表示刷新之后相对于刷新之前的变化像素点数,所述Byte表示每个像素点数据大小;
    所述根据所述数据量变化计算处理器核心资源限额具体为:
    根据公式
    Percentage=(M1+M2+M3+…)/(P*Xtotal*Ytotal)
    计算屏幕变化百分比,其中所述P表示显示线程的数量,所述Xtotal*Ytotal表示屏幕分辨率,所述Mi表示第i个显示线程刷新过程的数据量变化,所述i=1,2,…,P;
    然后根据公式
    Nnew*Fnew=Nmax*Fmax*Percentage(屏幕变化百分比)
    计算所述处理器核心资源限额,其中,所述Nnew表示新的在线处理器核心数量,所述Fnew表示新的处理器核心的最大频率,所述Nmax表示可用处理器核心数量,所述Fmax表示可用处理器核心的极限频率。
  8. 一种控制CPU功耗的装置,其特征在于,包括:
    屏幕刷新率检测模块,用于检测显示线程的屏幕刷新率FPS;
    处理器核心确定模块,用于获取所述显示线程对应的处理器核心;
    处理器频率调节模块,用于根据显示线程的FPS调节该显示线程对应的处理器核心的运行频率;
    处理器核心调整模块,用于检测所述处理器核心的运行频率,在检测到所述处理器核心的运行频率大于阈值时,为所述显示线程增加新的处理器核心。
  9. 根据权利要求8所述的控制功耗的装置,其特征在于,所示显示线程的数量不止一个;
    所述屏幕刷新率检测模块还用于针对每一个显示线程统计该显示线程在单位时间内的刷新次数,根据每一个显示线程在单位时间内的刷新次数计算该显示线程的屏幕刷新率。
  10. 根据权利要求8所述的控制功耗的装置,其特征在于,所述处理器频率调节模块还用于在所述显示线程的FPS低于第一FPS阈值时,调高该显示线程对应的处理器核心的运行频率;在所述显示线程的FPS高于第二FPS阈值时,调低该显示线程对应的处理器核心的运行频率;所述第二FPS阈值高于所述第一FPS阈值。
  11. 根据权利要求10所述的控制功耗的装置,其特征在于,所述处理器频率调节模块还用于根据公式
    new_freq=old_freq*Good_FPS_THRESHOLD/current_fps
    计算调节后的运行频率,其中new_freq表示新的运行频率,old_freq表示早调节之前处理器核心的运行频率,Good_FPS_THRESHOLD表示第二FPS阈值,current_fps表示所述显示线程的屏幕刷新率。
  12. 根据权利要求10所述的控制CPU功耗的装置,其特征在于,所述处理器频率调节模块还用于在所述显示线程的FPS低于第三FPS阈值时,将所述显示线程定义为处于idle状态;所述第三FPS阈值低于所述第一FPS阈值。
  13. 根据权利要求8所述的控制CPU功耗的装置,其特征在于,所述装置还包括处理器核心资源限额计算模块,用于获取所述显示线程刷新过程的数据量变化,根据所述数据量变化计算处理器核心资源限额;
    所述处理器核心调整模块还用于根据所述处理器核心资源限额调节频率或者增加新的处理器核心。
  14. 根据权利要求13所述的控制CPU功耗的装置,其特征在于,所述处理器核心资源限额计算模块还用于根据公式
    M=(ABS(Xnew*Ynew–Xold*Yold)|Npixel)*Byte
    计算所述显示线程刷新过程的数据量变化,其中,所述Xnew*Ynew表示刷新之后的窗口大小,所述Xold*Yold表示刷新之前的窗口大小,所述Npixel表示刷新之后相对于刷新之前的变化像素点数,所述Byte表示每个像素点数据大小;
    所述处理器核心资源限额计算模块还用于根据公式
    Percentage=(M1+M2+M3+…)/(P*Xtotal*Ytotal)
    计算屏幕变化百分比,其中所述P表示显示线程的数量,所述Xtotal*Ytotal表示屏幕分辨率,所述Mi表示第i个显示线程刷新过程的数据量变化,所述i=1,2,…,P;
    然后根据公式
    Nnew*Fnew=Nmax*Fmax*Percentage(屏幕变化百分比)
    计算所述处理器核心资源限额,其中,所述Nnew表示新的在线处理器核心数 量,所述Fnew表示新的处理器核心的最大频率,所述Nmax表示可用处理器核心数量,所述Fmax表示可用处理器核心的极限频率。
  15. 一种终端,包括:处理器和存储器,其特征在于,所述处理器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序来执行如权利要求1-7所述的方法。
  16. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序被执行的情况下实现如权利要求1-7任一项所述的方法。
  17. 一种程序产品,其特征在于,所述计算机程序被执行的情况下实现如权利要求1-7任一项所述的方法。
PCT/CN2017/086454 2016-05-31 2017-05-27 控制cpu功耗的方法、装置及终端 WO2017206859A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610380713.4 2016-05-31
CN201610380713.4A CN106095052B (zh) 2016-05-31 2016-05-31 控制cpu功耗的方法及装置

Publications (1)

Publication Number Publication Date
WO2017206859A1 true WO2017206859A1 (zh) 2017-12-07

Family

ID=57229845

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/086454 WO2017206859A1 (zh) 2016-05-31 2017-05-27 控制cpu功耗的方法、装置及终端

Country Status (2)

Country Link
CN (2) CN108509016B (zh)
WO (1) WO2017206859A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377257A (zh) * 2019-07-17 2019-10-25 Oppo广东移动通信有限公司 图层合成方法、装置、电子设备及存储介质
CN112817746A (zh) * 2021-01-15 2021-05-18 浪潮电子信息产业股份有限公司 一种cpu功率调整方法、装置、设备及可读存储介质
CN113448789A (zh) * 2021-06-30 2021-09-28 东莞市小精灵教育软件有限公司 一种测试方法、装置和电子设备

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509016B (zh) * 2016-05-31 2021-02-19 上海瑾盛通信科技有限公司 控制cpu功耗的方法及装置和相关介质产品
CN106528296B (zh) * 2016-11-21 2019-05-14 滁州职业技术学院 一种移动终端运行内存的控制方法
CN110413400B (zh) * 2018-04-28 2022-02-11 珠海全志科技股份有限公司 一种cpu频率调节方法及系统
CN111077979B (zh) * 2019-12-09 2021-04-02 Oppo广东移动通信有限公司 功耗控制方法、存储介质及电子设备
CN112114975B (zh) * 2020-10-28 2023-06-27 Oppo广东移动通信有限公司 处理器频率的调整方法、装置、存储介质及电子设备
CN114442792A (zh) * 2022-02-09 2022-05-06 北京小米移动软件有限公司 处理器的运行频率调整方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463992B2 (en) * 2006-09-29 2008-12-09 Intel Corporation Method and system to self-test single and multi-core CPU systems
CN103226462A (zh) * 2012-01-31 2013-07-31 Lg电子株式会社 移动终端及其控制方法以及其记录介质
CN104978235A (zh) * 2015-06-30 2015-10-14 柏斯红 一种基于使用频率预测的负载均衡方法
CN105357401A (zh) * 2015-11-18 2016-02-24 广东欧珀移动通信有限公司 一种多核移动终端的省电方法及装置
CN106095052A (zh) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 控制cpu功耗的方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9250665B2 (en) * 2012-06-07 2016-02-02 Apple Inc. GPU with dynamic performance adjustment
CN104424156A (zh) * 2013-09-09 2015-03-18 中兴通讯股份有限公司 处理器的核处理方法、装置及终端
CN104460934A (zh) * 2013-09-13 2015-03-25 华为终端有限公司 多cpu调度方法及装置
CN105094272A (zh) * 2014-05-14 2015-11-25 中兴通讯股份有限公司 一种终端的硬件刷新率的调节方法及装置
US9905199B2 (en) * 2014-09-17 2018-02-27 Mediatek Inc. Processor for use in dynamic refresh rate switching and related electronic device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463992B2 (en) * 2006-09-29 2008-12-09 Intel Corporation Method and system to self-test single and multi-core CPU systems
CN103226462A (zh) * 2012-01-31 2013-07-31 Lg电子株式会社 移动终端及其控制方法以及其记录介质
CN104978235A (zh) * 2015-06-30 2015-10-14 柏斯红 一种基于使用频率预测的负载均衡方法
CN105357401A (zh) * 2015-11-18 2016-02-24 广东欧珀移动通信有限公司 一种多核移动终端的省电方法及装置
CN106095052A (zh) * 2016-05-31 2016-11-09 广东欧珀移动通信有限公司 控制cpu功耗的方法及装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377257A (zh) * 2019-07-17 2019-10-25 Oppo广东移动通信有限公司 图层合成方法、装置、电子设备及存储介质
CN110377257B (zh) * 2019-07-17 2022-04-19 Oppo广东移动通信有限公司 图层合成方法、装置、电子设备及存储介质
CN112817746A (zh) * 2021-01-15 2021-05-18 浪潮电子信息产业股份有限公司 一种cpu功率调整方法、装置、设备及可读存储介质
CN113448789A (zh) * 2021-06-30 2021-09-28 东莞市小精灵教育软件有限公司 一种测试方法、装置和电子设备

Also Published As

Publication number Publication date
CN106095052B (zh) 2018-03-27
CN108509016A (zh) 2018-09-07
CN108509016B (zh) 2021-02-19
CN106095052A (zh) 2016-11-09

Similar Documents

Publication Publication Date Title
WO2017206859A1 (zh) 控制cpu功耗的方法、装置及终端
CN110489228B (zh) 一种资源调度的方法和电子设备
US10510317B2 (en) Controlling display performance with target presentation times
US11568588B2 (en) Controlling display performance using display statistics and feedback
EP3039383B1 (en) Method, devices and systems for dynamic multimedia data flow control for thermal power budgeting
CN104932659B (zh) 图像显示方法及显示系统
WO2020073672A1 (zh) 资源调度方法和终端设备
CN103207659B (zh) 切换方法和电子设备
WO2017206852A1 (zh) 处理器计算资源的分配方法、装置及终端
CN102831209B (zh) 网页浏览的渲染处理方法及装置和移动终端
WO2014134912A1 (zh) 一种绘图方法、装置及终端
WO2021244666A1 (zh) 视频播放的控制方法、装置、计算机设备和存储介质
WO2021129415A1 (zh) 显示屏的帧率调整方法、装置、终端和存储介质
CN108681439B (zh) 基于帧率控制的均匀显示方法
CN109157839A (zh) 帧率调控方法、装置、存储介质及终端
WO2021008427A1 (zh) 图像合成方法、装置、电子设备及存储介质
JP6708734B2 (ja) ナビゲーション画像の描画方法、装置及び記憶媒体
CN112905326A (zh) 任务处理方法及装置
CN114911336B (zh) 调整频率的方法、装置、电子设备及可读存储介质
US8780120B2 (en) GPU self throttling
WO2021259249A1 (zh) 数据显示处理方法、装置、计算机设备和存储介质
CN108594982A (zh) 帧率调整方法、装置、终端设备及存储介质
EP4089533A2 (en) Pooling user interface engines for cloud ui rendering
CN108712556A (zh) 帧率调整方法、装置、终端设备及存储介质
CN104598008A (zh) 安卓设备的功耗控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17805804

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17805804

Country of ref document: EP

Kind code of ref document: A1