CN106292838B - Control method, processor and electronic equipment - Google Patents

Control method, processor and electronic equipment Download PDF

Info

Publication number
CN106292838B
CN106292838B CN201610603193.9A CN201610603193A CN106292838B CN 106292838 B CN106292838 B CN 106292838B CN 201610603193 A CN201610603193 A CN 201610603193A CN 106292838 B CN106292838 B CN 106292838B
Authority
CN
China
Prior art keywords
processor
frequency
information
set frequency
condition
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.)
Active
Application number
CN201610603193.9A
Other languages
Chinese (zh)
Other versions
CN106292838A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201610603193.9A priority Critical patent/CN106292838B/en
Publication of CN106292838A publication Critical patent/CN106292838A/en
Application granted granted Critical
Publication of CN106292838B publication Critical patent/CN106292838B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/04Generating or distributing clock signals or signals derived directly therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a control method, a processor and electronic equipment, which can improve the processing effect of the processor and avoid the reduction of the service life of the processor caused by long-term over-frequency. The control method is applied to a control method of an electronic device including a processor. The control method comprises the following steps: acquiring the use condition of the processor when the processor executes the application; generating information for controlling a set frequency of the processor according to the acquired use condition; adjusting the set frequency of the processor in response to information for controlling the set frequency of the processor.

Description

Control method, processor and electronic equipment
Technical Field
The invention relates to a control method, a processor and an electronic device.
Background
The maximum processing frequency (set frequency) is preset in a processor such as a CPU (central processing unit) or a GPU (graphics processing unit). That is, the set frequency is the maximum processing frequency at which the processor can operate. When the maximum processing frequency is preset by the manufacturer, there is a portion of the margin. Therefore, the user can maximize the performance of the processor by increasing the maximum processing frequency (i.e., the overdrive frequency).
However, as the maximum processing frequency increases, the voltage of the processor is caused to be unstable, and the power of the processor is caused to increase. When the processor is in the increased maximum processing frequency for a long time, the processor is in a state where the voltage is unstable and the power is increased for a long time, which may cause unstable operation of the processor, a halt of an electronic device including the processor, and the like. This results in a reduction in the useful life of the processor.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a control method, a processor, and an electronic device that can improve the processing effect of the processor and avoid a reduction in the lifetime of the processor due to a long-term over-clocking.
According to a first aspect of the present invention, there is provided a control method applied to an electronic apparatus including a processor. The control method comprises the following steps: acquiring the use condition of the processor when the processor executes the application; generating information for controlling a set frequency of the processor according to the acquired use condition; adjusting the set frequency of the processor in response to information for controlling the set frequency of the processor.
According to a second aspect of the invention, a processor is provided. The processor adjusts the set frequency of the processor in response to information for controlling the set frequency of the processor, wherein the information for controlling the set frequency of the processor is generated according to the acquired use condition of the processor when executing an application.
According to a third aspect of the present invention, an electronic device is provided. The electronic equipment comprises the processor, wherein the processor responds to information for controlling the set frequency of the processor and adjusts the set frequency of the processor, and the information for controlling the set frequency of the processor is generated according to the acquired use condition of the processor in application execution.
According to the control method, the processor and the electronic equipment, the processing effect of the processor can be improved, and the reduction of the service life of the processor caused by long-term over-frequency can also be avoided.
Drawings
Fig. 1 is a flowchart showing a control method according to an embodiment of the present invention.
Fig. 2 is a functional block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described below with reference to the drawings. The following description with reference to the accompanying drawings is provided to assist in understanding the exemplary embodiments of the invention as defined by the claims and their equivalents. It includes various specific details to assist understanding, but they are to be construed as merely illustrative. Accordingly, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. Also, in order to make the description clearer and simpler, a detailed description of functions and configurations well known in the art will be omitted.
First, a control method according to an embodiment of the present invention will be described with reference to fig. 1. The control method shown in fig. 1 is applied to an electronic apparatus including a processor, wherein a set frequency of the processor included in the electronic apparatus can be adjusted. For example, the electronic device is, for example, a computer, a digital camera, or the like as long as it includes a processor capable of adjusting the set frequency (maximum processing frequency), and the processor included in the electronic device is, for example, a central processing unit, an image processor, or the like as long as the set frequency can be adjusted.
In step S1, the usage when the processor executes the application is acquired.
Specifically, a current processing frequency when the processor executes the application is obtained, wherein the current processing frequency is less than or equal to a set frequency of the processor.
In addition, the processor usage rate of the processor executing the application may also be obtained and expressed as a percentage. For example, the result of dividing the current processing frequency by the set frequency may be used as the processor utilization.
Furthermore, in the embodiments of the present invention, the usage of the processor may be acquired for all applications executed in the processor, or may be acquired for each application executed in the processor. In particular, when an application such as a large-sized game is executed, a large load of the processor is required. At this time, in step S1, the usage when the processor executes the large game is acquired.
In step S2, information for controlling the frequency of the processor is generated in accordance with the acquired use cases.
Specifically, in the case where the acquired use condition satisfies a first condition, first information for increasing the set frequency of the processor is generated; generating second information for reducing the setting frequency of the processor in a case where the acquired use case satisfies a second condition.
For example, in the case where the acquired current usage frequency is equal to or greater than a first predetermined frequency, first information for increasing the set frequency of the processor is generated, and in the case where the acquired current usage frequency is less than a second predetermined frequency, second information for decreasing the set frequency of the processor is generated. For another example, in the case where the acquired processor usage is equal to or greater than the first threshold value, first information for increasing the set frequency of the processor is generated, and in the case where the acquired processor usage is less than the second threshold value, second information for decreasing the set frequency of the processor is generated. The predetermined frequency and the threshold value may be flexibly set as needed, and for example, the first predetermined frequency may be set to 95% of the set frequency, and the first threshold value may be set to 80%. The first predetermined frequency and the second predetermined frequency may be the same value or different values. The first threshold value and the second threshold value may be the same value or different values. Furthermore, the first condition may be set to another condition, and a case where the first condition is satisfied may indicate a case where the processing effect of the processor needs to be ensured by increasing the frequency of setting the processor. Similarly, the second condition may be set to be another condition, and a case where the second condition is satisfied may indicate a case where the processing effect of the processor is not required to be ensured by increasing the frequency of setting the processor.
In addition, the first information for increasing the frequency of setting the processor may be generated when the acquired situation in which the usage satisfies the first condition continues for a predetermined time or longer, and the second information for increasing the frequency of setting the processor may be generated when the acquired situation in which the usage satisfies the second condition continues for a predetermined time or longer. This improves the rationality, which is the appropriateness of adjusting the set frequency of the processor, and avoids wasteful adjustment of the set frequency when the set frequency does not need to be adjusted.
In the case where the setting frequency has been adjusted, the setting frequency in the above description indicates, for example, an adjusted setting frequency. Of course, the setting frequency used when determining whether the first condition or the second condition is satisfied may be a setting frequency preset by a manufacturer. Further, in the embodiment of the invention, in the case where the current setting frequency is the setting frequency preset by the manufacturer, the second information for lowering the setting frequency of the processor may not be generated (even if the second condition is satisfied in the acquired use case). Therefore, the set frequency after adjustment is not lower than the set frequency preset by a manufacturer.
In step S3, the set frequency of the processor is adjusted in response to the information for controlling the set frequency of the processor.
Specifically, the set frequency of the processor is increased in response to the first information, and the set frequency of the processor is decreased in response to the second information.
For example, in a case where the first information for increasing the set frequency of the processor is generated because the acquired use case satisfies the first condition in step S2, the set frequency of the processor is increased in response to the generated first information. On the other hand, in a case where the second information for reducing the set frequency of the processor is generated because the acquired use condition satisfies the second condition in step S2, the set frequency of the processor is reduced in response to the generated second information. When the current set frequency is equal to the set frequency preset by a manufacturer, the processor is not in a state of unstable voltage and increased power, so that the processor is not unstable in operation, the electronic equipment including the processor is not halted, and the current set frequency does not need to be adjusted to be lower than the preset set frequency. In addition, adjusting the current set frequency to be below the preset set frequency results in reduced performance of the processor. Therefore, in the case where the current set frequency is equal to the set frequency preset by the manufacturer, even if the second information for lowering the set frequency of the processor is generated, the set frequency of the processor is not lowered.
According to the control method of the embodiment of the invention, the setting frequency of the processor is adjusted according to the use condition when the processor executes the application. For example, if it is determined that the performance of the processor needs to be improved to ensure the processing effect, the setting frequency of the processor is increased, whereas if it is determined that the performance of the processor does not need to be improved to ensure the processing effect, the setting frequency of the processor is decreased, thereby preventing the reduction in the lifetime of the processor due to the long-term over-clocking.
Furthermore, the embodiment of the present invention preferably further includes acquiring a processing effect when the processor executes the application. At this time, in the present invention, in generating information for controlling a set frequency, information for controlling the set frequency of the processor is generated according to the acquired use and processing effect.
The processing effect when the processor executes the application can be expressed by, for example, a refresh rate, and the higher the refresh rate, the better the processing effect, and the lower the refresh rate, the worse the processing effect. In addition, the processing effect when the processor executes the application may be represented by other parameters as long as the processing effect when the processor executes the application can be reflected. For example, when a large game is executed, the fluency of the screen can represent the processing effect when the processor executes the application, and in this case, the processing effect when the processor executes the application can be represented by a parameter which can represent the fluency of the screen.
Preferably, the step of generating information for controlling the set frequency of the processor according to the acquired use case and processing effect includes: generating first information for increasing a set frequency of the processor in a case where the acquired use condition satisfies a first condition and the acquired processing effect satisfies a third condition; and generating second information for reducing the setting frequency of the processor in a case where the acquired use case satisfies a second condition and the acquired processing effect does not satisfy a fourth condition.
In the embodiment of the present invention, for example, an increase amount is set to increase the setting frequency of the processor each time. Therefore, the process of increasing the setting frequency may be performed a plurality of times. That is, after the set frequency of the processor is increased, if it is considered that the set frequency of the processor needs to be increased, the set frequency of the processor is increased again.
Specifically, when the acquired use condition satisfies the first condition, in a case where the processing effect of the processor can be improved by further increasing the set frequency of the processor, the first information for increasing the set frequency of the processor is generated. On the other hand, when the acquired use condition satisfies the first condition, in a case where the processing effect of the processor cannot be improved even if the setting frequency of the processor is further increased, the first information for increasing the setting frequency of the processor is not generated.
For example, if the processing effect of the processor is not improved after the last processing for increasing the setting frequency, it is considered that the processing effect of the processor cannot be improved even if the setting frequency of the processor is further increased. For example, if the processing effect of the processor is improved after the last processing for increasing the setting frequency, the processing effect of the processor can be improved by further increasing the setting frequency of the processor. Specifically, when the processing effect of the processor is expressed by the refresh rate, in a case where the amount of increase in the refresh rate is smaller than the first preset amount after the processing of increasing the setting frequency in the previous time, it is determined that the processing effect of the processor cannot be increased even if the setting frequency of the processor is further increased, and the third condition is not satisfied. In the case where the amount of increase in the refresh rate is equal to or greater than the first preset amount after the last processing of increasing the setting frequency, it is considered that the processing effect of the processor can be improved by further increasing the setting frequency of the processor, and it is determined that the third condition is satisfied.
In the embodiment of the present invention, when the acquired usage satisfies the first condition, the first information for increasing the setting frequency of the processor is generated in a case where the acquired processing effect satisfies the third condition, and the first information for increasing the setting frequency of the processor is not generated in a case where the acquired processing effect does not satisfy the third condition. Therefore, the setting frequency of the processor can be finally adjusted to ensure the processing effect of the processor and reduce the setting frequency of the finally adjusted processor to the maximum extent. As the setting frequency increases, the state in which the voltage of the processor is unstable and the power increases becomes more serious, and thus the state in which the voltage of the processor is unstable and the power increases can be minimized.
In the embodiment of the present invention, for example, the reduction amount for reducing the setting frequency of the processor at a time is set. Therefore, the process of lowering the setting frequency may be performed a plurality of times. That is, after the set frequency of the processor is lowered, if it is considered that the set frequency of the processor needs to be lowered, the set frequency of the processor is lowered again.
Specifically, when the acquired use condition satisfies the second condition, in a case where the processing effect of the processor is not reduced by further reducing the set frequency of the processor, the second information for reducing the set frequency of the processor is generated. On the other hand, when the acquired use condition satisfies the second condition, in a case where the processing effect of the processor is reduced by further reducing the setting frequency of the processor, the second information for reducing the setting frequency of the processor is not generated.
For example, in the case where the processing effect of the processor is not reduced after the processing of reducing the setting frequency in the previous time, it is considered that the processing effect of the processor is not reduced by further reducing the setting frequency of the processor. For example, if the processing effect of the processor is reduced after the last processing for reducing the setting frequency, it is considered that the processing effect of the processor is reduced by further reducing the setting frequency of the processor. Specifically, when the processing effect of the processor is expressed by the refresh rate, in a case where the reduction amount of the refresh rate is smaller than the second preset amount after the processing of reducing the setting frequency in the previous time, it is determined that the fourth condition is not satisfied by considering that the processing effect of the processor is not reduced by further reducing the setting frequency of the processor. If the reduction amount of the refresh rate is equal to or greater than the second preset amount after the last processing for reducing the setting frequency, it is determined that the fourth condition is satisfied by further reducing the setting frequency of the processor to reduce the processing effect of the processor.
In the embodiment of the present invention, when the acquired usage satisfies the second condition, the second information for reducing the setting frequency of the processor is generated in a case where the acquired processing effect does not satisfy the fourth condition, and the second information for reducing the setting frequency of the processor is not generated in a case where the acquired processing effect satisfies the fourth condition. Therefore, the setting frequency of the processor can be finally adjusted to be capable of reducing the setting frequency of the finally adjusted processor to the maximum extent and ensuring the processing effect of the processor.
Further, the embodiment of the present invention may further include: acquiring a final first setting frequency adjusted when the processor executes the first application; storing the first application in association with the adjusted first set frequency; and setting a set frequency of the processor to a first set frequency stored in association with the first application while the first application is being executed.
For example, when the game application a is executed by the processor, the setting frequency of the processor is adjusted by the above-described method, so that the final first setting frequency adjusted when the game application a is executed by the processor can be acquired. At this time, optionally, the use condition of the processor is acquired for the game application a when the set frequency of the processor is adjusted. After the first set frequency is acquired, the first set frequency is stored in association with the game application a. Thus, when the game application a is executed again by the processor, the setting frequency of the processor is directly set as appropriate to the stored first setting frequency associated with the game application a without adjusting the setting frequency of the processor by the above-described method. Therefore, the processing effect of the processor can be simply improved, and the reduction of the service life of the processor caused by long-term over-frequency can be avoided. The same processing may be executed for another application B, and the adjusted final second setting frequency may be stored in association with the application B. Then, when the application B is executed again by the processor, the setting frequency of the processor is directly set as appropriate to the stored second setting frequency associated with the application B without adjusting the setting frequency of the processor by the above-described method.
Next, an electronic device according to an embodiment of the present invention will be described with reference to fig. 2. Fig. 2 is a functional block diagram of an electronic device according to an embodiment of the present invention.
As shown in fig. 2, the electronic device 1 comprises a processor 10. The electronic device 1 is, for example, a computer, a digital camera, or the like, as long as it includes a processor 10 capable of adjusting a setting frequency (maximum processing frequency).
Next, the processor 10 according to the embodiment of the present invention will be specifically described. As described above, the processor 10 according to the embodiment of the present invention is, for example, a central processing unit, an image processor, or the like, as long as the set frequency can be adjusted. The processor 10 of the embodiment of the present invention adjusts the set frequency of the processor in response to the information for controlling the set frequency of the processor.
Wherein the information for controlling the setting frequency of the processor is generated according to the acquired use condition of the processor when executing the application. For example, in the embodiment of the present invention, the use case when the processor executes an application is acquired by the controller, and information for controlling the setting frequency of the processor is generated according to the acquired use case. Then, the set frequency of itself is adjusted by the processor in response to information generated by the controller for controlling the set frequency of the processor.
Specifically, the processor 10 increases the set frequency of the processor in response to the first information for increasing the set frequency of the processor, and decreases the set frequency of the processor in response to the second information for decreasing the set frequency of the processor. Wherein the first information is generated if the obtained usage satisfies a first condition, and the second information is generated if the obtained usage satisfies a second condition. For example, in an embodiment of the present invention, the controller generates first information for increasing the set frequency of the processor in a case where the acquired use case satisfies a first condition, and generates second information for decreasing the set frequency of the processor in a case where the acquired use case satisfies a second condition.
For example, the controller generates first information for increasing the set frequency of the processor in a case where the acquired current usage frequency is equal to or greater than a first predetermined frequency, and generates second information for decreasing the set frequency of the processor in a case where the acquired current usage frequency is less than a second predetermined frequency. For another example, the controller generates first information for increasing the set frequency of the processor in a case where the acquired processor usage is equal to or greater than a first threshold, and generates second information for decreasing the set frequency of the processor in a case where the acquired processor usage is less than a second threshold. The first condition may be set to be another condition, and a case where the first condition is satisfied may indicate a case where the processing effect of the processor needs to be ensured by increasing the setting frequency of the processor. Similarly, the second condition may be set to be another condition, and a case where the second condition is satisfied may indicate a case where the processing effect of the processor is not required to be ensured by increasing the frequency of setting the processor.
In the embodiment of the present invention, it is preferable that the information for controlling the setting frequency of the processor is generated according to the acquired usage situation of the processor when executing the application and the acquired processing effect of the processor when executing the application. For example, the controller acquires a processing effect when the processor executes an application, and generates information for controlling a set frequency of the processor according to the acquired use and processing effect.
Specifically, the first information for increasing the setting frequency of the processor is generated in a case where the acquired use condition satisfies the first condition and the acquired processing effect satisfies the third condition, and the second information for decreasing the setting frequency of the processor is generated in a case where the acquired use condition satisfies the second condition and the acquired processing effect does not satisfy the fourth condition. For example, the controller generates first information for increasing the setting frequency of the processor in a case where the acquired use condition satisfies a first condition and the acquired processing effect satisfies a third condition, and generates second information for decreasing the setting frequency of the processor in a case where the acquired use condition satisfies a second condition and the acquired processing effect does not satisfy a fourth condition.
In the embodiment of the present invention, for example, an increase amount is set to increase the setting frequency of the processor each time. Therefore, the process of increasing the setting frequency may be performed a plurality of times. That is, after the set frequency of the processor is increased, if it is considered that the set frequency of the processor needs to be increased, the set frequency of the processor is increased again.
Specifically, when the acquired use condition satisfies the first condition, in a case where the processing effect of the processor can be improved by further increasing the set frequency of the processor, the first information for increasing the set frequency of the processor is generated. On the other hand, when the acquired use condition satisfies the first condition, in a case where the processing effect of the processor cannot be improved even if the setting frequency of the processor is further increased, the first information for increasing the setting frequency of the processor is not generated.
For example, if the processing effect of the processor is not improved after the last processing for increasing the setting frequency, it is considered that the processing effect of the processor cannot be improved even if the setting frequency of the processor is further increased. For example, if the processing effect of the processor is improved after the last processing for increasing the setting frequency, the processing effect of the processor can be improved by further increasing the setting frequency of the processor. Specifically, when the processing effect of the processor is expressed by the refresh rate, in a case where the amount of increase in the refresh rate is smaller than the first preset amount after the processing of increasing the setting frequency in the previous time, it is determined that the processing effect of the processor cannot be increased even if the setting frequency of the processor is further increased, and the third condition is not satisfied. In the case where the amount of increase in the refresh rate is equal to or greater than the first preset amount after the last processing of increasing the setting frequency, it is considered that the processing effect of the processor can be improved by further increasing the setting frequency of the processor, and it is determined that the third condition is satisfied.
In the embodiment of the present invention, for example, the reduction amount for reducing the setting frequency of the processor at a time is set. Therefore, the process of lowering the setting frequency may be performed a plurality of times. That is, after the set frequency of the processor is lowered, if it is considered that the set frequency of the processor needs to be lowered, the set frequency of the processor is lowered again.
Specifically, when the acquired use condition satisfies the second condition, in a case where the processing effect of the processor is not reduced by further reducing the set frequency of the processor, the second information for reducing the set frequency of the processor is generated. On the other hand, when the acquired use condition satisfies the second condition, in a case where the processing effect of the processor is reduced by further reducing the setting frequency of the processor, the second information for reducing the setting frequency of the processor is not generated.
For example, in the case where the processing effect of the processor is not reduced after the processing of reducing the setting frequency in the previous time, it is considered that the processing effect of the processor is not reduced by further reducing the setting frequency of the processor. For example, if the processing effect of the processor is reduced after the last processing for reducing the setting frequency, it is considered that the processing effect of the processor is reduced by further reducing the setting frequency of the processor. Specifically, when the processing effect of the processor is expressed by the refresh rate, in a case where the reduction amount of the refresh rate is smaller than the second preset amount after the processing of reducing the setting frequency in the previous time, it is determined that the fourth condition is not satisfied by considering that the processing effect of the processor is not reduced by further reducing the setting frequency of the processor. If the reduction amount of the refresh rate is equal to or greater than the second preset amount after the last processing for reducing the setting frequency, it is determined that the fourth condition is satisfied by further reducing the setting frequency of the processor to reduce the processing effect of the processor.
Here, the controller may be constituted by the processor 10 itself. For example, in the case where the processor 10 is a central processor, the central processor generates information for controlling the set frequency of the central processor based on the acquired use condition of the central processor. Then, the central processing unit adjusts its own set frequency based on the information for controlling the set frequency of the central processing unit generated by itself.
The controller may be formed separately from the processor 10. That is, the controller and the processor are different hardware. For example, the processor is a graphics processor, and the controller generates information for controlling a set frequency of the graphics processor according to the acquired usage of the graphics processor and then transmits the information to the graphics processor. Then, the setting frequency of itself is adjusted by the graphic processor based on the information from the controller. In this case, the controller may be constituted by a central processing unit. For another example, the processor is a central processing unit, and the controller generates information for controlling the set frequency of the central processing unit according to the use condition of the central processing unit acquired from the central processing unit, and then transmits the information to the central processing unit. Then, the central processor adjusts its own set frequency based on the information from the controller.
Returning to fig. 2, the electronic device 1 of the embodiment of the present invention may further include a memory 11. Specifically, the memory 11 is configured to store the first application in association with the final first set frequency adjusted when the processor 10 executes the first application. For example, the controller acquires a final first setting frequency adjusted when the processor executes a first application, and controls the memory 11 to store the first application in association with the adjusted first setting frequency.
While the processor 10 is executing the first application, the set frequency of the processor is set to a first set frequency stored in the memory in association with the first application. For example, the set frequency of the processor is set to a first set frequency stored in association with the first application while the first application is being executed. Specifically, an instruction to set a set frequency of the processor to a first set frequency stored in association with the first application may be generated by the controller and transmitted to the processor. The processor 10 sets its own set frequency to a first set frequency in response to an instruction received from the controller. In addition, the processor may also read a first setting frequency stored in association with the first application, and set the first setting frequency of itself according to the read first setting frequency.
Similarly, the controller may be constituted by the processor 10 itself, or may be formed separately from the processor 10.
For example, when the game application a is executed by the processor, the setting frequency of the processor is adjusted by the above-described method, so that the final first setting frequency adjusted when the game application a is executed by the processor can be acquired. At this time, optionally, the use condition of the processor is acquired for the game application a when the set frequency of the processor is adjusted. After the first set frequency is acquired, the first set frequency is stored in association with the game application a. Thus, when the game application a is executed again by the processor, the setting frequency of the processor is directly set as appropriate to the stored first setting frequency associated with the game application a without adjusting the setting frequency of the processor by the above-described method. Therefore, the processing effect of the processor can be simply improved, and the reduction of the service life of the processor caused by long-term over-frequency can be avoided. The same processing may be executed for another application B, and the adjusted final second setting frequency may be stored in association with the application B. Then, when the application B is executed again by the processor, the setting frequency of the processor is directly set as appropriate to the stored second setting frequency associated with the application B without adjusting the setting frequency of the processor by the above-described method.
According to the processor 10 and the electronic apparatus 1 of the embodiment of the present invention, the setting frequency of the processor is adjusted according to the use situation when the processor executes the application. For example, if it is determined that the performance of the processor needs to be improved to ensure the processing effect, the setting frequency of the processor is increased, whereas if it is determined that the performance of the processor does not need to be improved to ensure the processing effect, the setting frequency of the processor is decreased, thereby preventing the reduction in the lifetime of the processor due to the long-term over-clocking.
Various embodiments of the present invention are described in detail above. However, those skilled in the art will appreciate that various modifications, combinations, or sub-combinations of the embodiments may be made without departing from the spirit and principle of the invention, and such modifications are intended to be within the scope of the invention.

Claims (10)

1. A control method applied to an electronic device including a processor, the control method comprising:
acquiring the use condition and the processing effect of the processor when the processor executes the application;
generating information for controlling a set frequency of the processor according to the acquired use condition and the acquired processing effect;
adjusting a set frequency of the processor in response to information for controlling the set frequency of the processor;
wherein the step of generating information for controlling the set frequency of the processor according to the acquired use situation and processing effect comprises:
the acquired processing effect includes a refresh rate of the processor after the last processing of increasing the setting frequency;
generating first information for increasing a setting frequency of the processor in a case where the acquired use situation satisfies a first condition and the acquired processing effect satisfies a third condition, wherein the acquired processing effect is determined to satisfy the third condition in a case where an increase amount of a refresh rate after the processing of increasing the setting frequency by the last time is equal to or greater than a first preset amount.
2. The control method according to claim 1,
the step of generating information for controlling the set frequency of the processor according to the acquired use case includes:
generating first information for increasing a set frequency of the processor in a case where the acquired use condition satisfies a first condition;
generating second information for reducing a set frequency of the processor in a case where the acquired use case satisfies a second condition,
in response to the information for controlling the set frequency of the processor, the adjusting the set frequency of the processor comprises:
increasing a set frequency of the processor in response to the first information and decreasing the set frequency of the processor in response to the second information.
3. The control method according to claim 1,
the step of generating information for controlling the set frequency of the processor according to the acquired use situation and processing effect further includes:
and generating second information for reducing the setting frequency of the processor in a case where the acquired use case satisfies a second condition and the acquired processing effect does not satisfy a fourth condition.
4. The control method according to claim 1, further comprising:
acquiring a final first setting frequency adjusted when the processor executes a first application;
storing the first application in association with the adjusted first set frequency; and
setting a set frequency of the processor to a first set frequency stored in association with the first application while the first application is being executed.
5. A processor, wherein,
the processor adjusting a set frequency of the processor in response to information for controlling the set frequency of the processor,
wherein the information for controlling the setting frequency of the processor is generated based on the acquired use situation and processing effect when the processor executes an application,
the acquired processing effect includes a refresh rate of the processor after the last processing of increasing the setting frequency;
the first information for increasing the setting frequency of the processor is generated in a case where the acquired use condition satisfies a first condition and the acquired processing effect satisfies a third condition, wherein in a case where an amount of increase in the refresh rate after the last processing of increasing the setting frequency is equal to or greater than a first preset amount, it is determined that the acquired processing effect satisfies the third condition.
6. The processor of claim 5,
the processor increases the set frequency of the processor in response to first information for increasing the set frequency of the processor, decreases the set frequency of the processor in response to second information for decreasing the set frequency of the processor,
wherein the first information is generated if the obtained usage satisfies a first condition, and the second information is generated if the obtained usage satisfies a second condition.
7. The processor of claim 5,
the information for controlling the setting frequency of the processor is generated according to the acquired use condition of the processor when executing the application and the acquired processing effect of the processor when executing the application.
8. The processor of claim 7,
the second information for reducing the setting frequency of the processor is generated in a case where the acquired use case satisfies a second condition and the acquired processing effect does not satisfy a fourth condition.
9. An electronic device comprising the processor of any one of claims 5 to 8.
10. The electronic device of claim 9, further comprising:
a memory configured to store a first application in association with a final first set frequency adjusted while the processor executes the first application,
setting a set frequency of the processor to a first set frequency stored in association with the first application in the memory while the processor executes the first application.
CN201610603193.9A 2016-07-27 2016-07-27 Control method, processor and electronic equipment Active CN106292838B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610603193.9A CN106292838B (en) 2016-07-27 2016-07-27 Control method, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610603193.9A CN106292838B (en) 2016-07-27 2016-07-27 Control method, processor and electronic equipment

Publications (2)

Publication Number Publication Date
CN106292838A CN106292838A (en) 2017-01-04
CN106292838B true CN106292838B (en) 2020-08-25

Family

ID=57662927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610603193.9A Active CN106292838B (en) 2016-07-27 2016-07-27 Control method, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN106292838B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844160B (en) * 2017-02-17 2020-05-26 联想(北京)有限公司 Power control method and device and electronic equipment
CN110619860B (en) * 2019-10-15 2022-11-29 Oppo广东移动通信有限公司 Screen refresh rate adjusting method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385435A (en) * 2010-08-27 2012-03-21 宏达国际电子股份有限公司 Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN104460934A (en) * 2013-09-13 2015-03-25 华为终端有限公司 Scheduling method and device for multi central processing units (CPU)
CN104765438A (en) * 2015-04-29 2015-07-08 集怡嘉数码科技(深圳)有限公司 Method for controlling power consumption and mobile terminal
CN105511593A (en) * 2016-02-25 2016-04-20 浪潮(北京)电子信息产业有限公司 Method and device for adjusting frequencies of CPU (central processing unit) subsystems of Linux systems
CN105786615A (en) * 2015-01-14 2016-07-20 联发科技股份有限公司 Controlling method for optimizing a processor and controlling system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7236938B2 (en) * 2004-08-11 2007-06-26 Hewlett-Packard Development Company, L.P. System and method for refreshing metric values
US7598959B2 (en) * 2005-06-29 2009-10-06 Intel Corporation Display controller
CN100412755C (en) * 2005-09-02 2008-08-20 鸿富锦精密工业(深圳)有限公司 In-time adjusting circuit for central processor frequency
US8451279B2 (en) * 2006-12-13 2013-05-28 Nvidia Corporation System, method and computer program product for adjusting a refresh rate of a display
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
CN102385435A (en) * 2010-08-27 2012-03-21 宏达国际电子股份有限公司 Electronic device having operation mode dynamic adjusting mechanism and method of the same
CN104460934A (en) * 2013-09-13 2015-03-25 华为终端有限公司 Scheduling method and device for multi central processing units (CPU)
CN105786615A (en) * 2015-01-14 2016-07-20 联发科技股份有限公司 Controlling method for optimizing a processor and controlling system
CN104765438A (en) * 2015-04-29 2015-07-08 集怡嘉数码科技(深圳)有限公司 Method for controlling power consumption and mobile terminal
CN105511593A (en) * 2016-02-25 2016-04-20 浪潮(北京)电子信息产业有限公司 Method and device for adjusting frequencies of CPU (central processing unit) subsystems of Linux systems

Also Published As

Publication number Publication date
CN106292838A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
KR102210355B1 (en) Adaptive power control loop
KR102194795B1 (en) Electronic device and method for contolling power
US11289048B2 (en) Frame refresh synchronization with synchronization boundary
US9740642B2 (en) Methods and electronic devices for adjusting the operating frequency of a memory
US10535287B2 (en) Step-down pixel response correction systems and methods
US10915158B2 (en) Control system and control method for DDR SDRAM system with shared power domain
US9740266B2 (en) Apparatus and method for controlling multi-core of electronic device
US20140281613A1 (en) Frequency control device and frequency control method
CN106292838B (en) Control method, processor and electronic equipment
US20200089300A1 (en) Load line regulation via clamping voltage
EP2507677A1 (en) Power-cap settings
EP3232297A1 (en) Chip aware thermal policy
US9852677B2 (en) Dithering for image data to be displayed
KR102270239B1 (en) Method and apparatus for executing software in a electronic device
JP2016063424A (en) Information processing device, communication device, terminal, communication processing method, and computer program
JP2015084185A (en) Information processor, control method of information processor and information processor control program
KR101589983B1 (en) Method for controlling packet transmission interval
CN110928587A (en) Control method and control device
CN108235422B (en) Antenna power setting method and electronic device
JP2019139522A (en) Information processing device, distributed system, and change control program
US9665926B2 (en) Method for object displaying and electronic device thereof
JP2021525936A (en) Voltage margin adaptable to the processor
JP2014140124A (en) Electronic apparatus having sound volume adjustment function and sound volume adjustment method for electronic apparatus having sound volume adjustment function
KR20160059834A (en) Memory controller and operating method thereof
CN108932050B (en) Method for reducing heat productivity of mobile terminal during hand trip operation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant