CN110928587A - Control method and control device - Google Patents
Control method and control device Download PDFInfo
- Publication number
- CN110928587A CN110928587A CN201911123973.3A CN201911123973A CN110928587A CN 110928587 A CN110928587 A CN 110928587A CN 201911123973 A CN201911123973 A CN 201911123973A CN 110928587 A CN110928587 A CN 110928587A
- Authority
- CN
- China
- Prior art keywords
- information
- electronic equipment
- electronic device
- gpu
- fan
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Power Sources (AREA)
Abstract
The present disclosure provides a control method and a control apparatus. The control method comprises the following steps: obtaining first information, wherein the first information at least represents a use parameter of an image processor GPU of the electronic equipment; obtaining second information, wherein the second information represents application running information of the electronic equipment; adjusting the running state of the electronic equipment at least based on the first information and/or the second information; the electronic equipment has different operation parameters in different operation states.
Description
Technical Field
The present disclosure relates to a control method and a control apparatus.
Background
Users often have a need to use electronic devices in order to meet both the performance and energy saving requirements of the electronic devices. For example, when a user operates an electronic file using a computer, the user desires that the electronic device can last for a longer period of time without actually requiring high performance, and when large-scale software is run, for example, when large-scale game software is operated, the user desires that the electronic device can last for a longer period of time with high-performance support. Therefore, how to balance power saving and high performance of electronic devices becomes a problem to be solved at present.
Disclosure of Invention
An aspect of the present disclosure provides a control method including:
obtaining first information, wherein the first information at least represents a use parameter of an image processor GPU of the electronic equipment;
obtaining second information, wherein the second information represents application running information of the electronic equipment;
adjusting the operation state of the electronic equipment at least based on the first information and/or the second information; the electronic equipment has different operation parameters in different operation states.
Optionally, the adjusting the operation state of the electronic device based on at least the first information includes:
and switching the electronic equipment from the current operation state to a first operation state when detecting that the use parameter of the GPU meets a first threshold range and the state that the use parameter meets the first threshold range lasts for a first time threshold.
Optionally, the adjusting the operation state of the electronic device based on at least the second information includes:
detecting that application running information of the electronic equipment meets a first condition, and switching the electronic equipment from a current running state to a first running state, wherein the first condition is related to the number and/or type of currently running applications; or detecting that the application running information of the electronic equipment meets a second condition, and switching the electronic equipment from the current running state to a second running state, wherein the second condition is that the electronic equipment currently runs the first type of application.
Optionally, the adjusting the operation state of the electronic device based on at least the first information and the second information includes:
switching the electronic equipment from a current operation state to a third operation state when detecting that the use parameter of the GPU meets a second threshold range and the application operation information of the electronic equipment meets a third condition, wherein the third condition is that the electronic equipment does not operate the first type of application currently; or switching the electronic device from the current operation state to a second operation state when the usage parameter of the GPU meets a third threshold range and the application operation information of the electronic device meets a second condition, where the second condition is that the electronic device currently operates the first type of application.
Optionally, the adjusting the operation state of the electronic device includes: and adjusting hardware operating parameters of the electronic equipment to balance the performance and the power consumption of the electronic equipment.
Optionally, switching the electronic device from the current operation state to the first operation state includes:
setting the upper power limit and the lower power limit of a Central Processing Unit (CPU) of the electronic equipment as a first threshold value and a second threshold value respectively, and setting the GPU power of the electronic equipment at a third threshold value;
switching the electronic device from the current operating state to the second operating state comprises:
setting the upper power limit and the lower power limit of the CPU of the electronic equipment as a fourth threshold value and a fifth threshold value respectively, and setting the GPU power of the electronic equipment at a sixth threshold value;
switching the electronic device from the current operating state to a third operating state comprises:
setting the upper power limit and the lower power limit of a CPU of the electronic equipment as a seventh threshold value and an eighth threshold value respectively, and setting the GPU power of the electronic equipment at a ninth threshold value;
wherein the third threshold is greater than the ninth threshold, and the ninth threshold is greater than the sixth threshold; the first threshold value is larger than the seventh threshold value, and the seventh threshold value is larger than the fourth threshold value; the second threshold value is larger than the eighth threshold value, and the eighth threshold value is larger than the fifth threshold value.
Optionally, the method further includes: obtaining the use parameter of a Central Processing Unit (CPU) of the electronic equipment, and adjusting the running state of the electronic equipment at least based on the first information and/or the second information under the condition that the use parameter of the CPU meets a fourth condition;
wherein the fourth condition is related to the usage status of the central processing unit CPU.
Optionally, the method further includes: and obtaining third information, and adjusting the operating parameters of the electronic equipment at least based on the third information, wherein the third information represents fan parameter information of the electronic equipment.
Optionally, the adjusting the operating parameter of the electronic device based on at least the third information includes:
under the condition that the fan, the GPU and the CPU of the electronic equipment meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the attribute parameters of the fan and the corresponding fan curve;
and under the condition that the fan of the electronic equipment, the GPU and the CPU meet a second corresponding relation, correcting the adjusted hardware operating parameters of the electronic equipment based on the attribute parameters of the fan, the corresponding fan curves and the mutual association relation.
Optionally, the adjusting the operating parameter of the electronic device based on at least the third information includes:
under the condition that the fan of the electronic equipment, the GPU and the CPU meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the current use parameters of the fan and the corresponding fan curve;
and under the condition that the fan of the electronic equipment, the GPU and the CPU meet a second corresponding relation, correcting the adjusted hardware operating parameters of the electronic equipment based on the current use parameters of the fan, the corresponding fan curves and the mutual association relation.
Optionally, the method further includes: and obtaining fourth information, and adjusting hardware operating parameters of the electronic equipment at least based on at least three of the first information, the second information, the third information and the fourth information, wherein the fourth information represents electric quantity and/or temperature information of the electronic equipment.
Another aspect of the present disclosure provides a control apparatus including: the first acquisition module is used for acquiring first information, and the first information at least represents the use parameters of an image processor of the electronic equipment; the second obtaining module is used for obtaining second information, and the second information represents application running information of the electronic equipment; an adjusting module, configured to adjust an operating state of the electronic device based on at least the first information and/or the second information; the electronic equipment has different operation parameters in different operation states.
Another aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions for implementing the control method as described above when executed.
Another aspect of the present disclosure provides a computer program comprising computer executable instructions for implementing the control method as described above when executed.
Another aspect of the present disclosure provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program implementing the control method as described above when executed by the processor.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically shows an application scenario of a control method according to an embodiment of the present disclosure;
FIG. 2 schematically illustrates a flow chart of a control method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a control method according to another embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow chart for adjusting an operational state of an electronic device based on at least first information and/or second information, in accordance with an embodiment of the disclosure;
FIG. 5 schematically illustrates a flow chart of a control method according to another embodiment of the present disclosure;
FIG. 6 schematically illustrates a flow chart for adjusting an operating parameter of an electronic device based on at least third information, in accordance with an embodiment of the disclosure;
FIG. 7 schematically illustrates a block diagram of a control device according to an embodiment of the disclosure; and
FIG. 8 schematically illustrates a block diagram of a computer system suitable for implementing the control method and apparatus according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a convention analogous to "A, B or at least one of C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B or C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Some block diagrams and/or flow diagrams are shown in the figures. It will be understood that some blocks of the block diagrams and/or flowchart illustrations, or combinations thereof, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the instructions, which execute via the processor, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks. The techniques of this disclosure may be implemented in hardware and/or software (including firmware, microcode, etc.). In addition, the techniques of this disclosure may take the form of a computer program product on a computer-readable storage medium having instructions stored thereon for use by or in connection with an instruction execution system.
In carrying out the present disclosure, the inventors discovered that a user, when using an electronic device, does not actually need the performance of the electronic device to be maintained at a high or maximum level at all times, but rather in some scenarios requires the electronic device to be maintained at a high or maximum performance level. When the electronic device is not required to remain at a high or maximum performance level, it is desirable for the electronic device to be in a low power consumption state. In other words, the electronic device generally only needs to be able to meet the performance requirements of the user in the current scene, and the user does not want the electronic device to consume excessive power consumption.
An embodiment of the present disclosure provides a control method, including obtaining first information, the first information at least representing a usage parameter of an image processor GPU of an electronic device; obtaining second information, wherein the second information represents application running information of the electronic equipment; adjusting the running state of the electronic equipment at least based on the first information and/or the second information; the electronic equipment has different operation parameters in different operation states.
Fig. 1 schematically shows an application scenario of a control method according to an embodiment of the present disclosure. It should be noted that fig. 1 is only an example of a scenario in which the embodiments of the present disclosure may be applied to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the embodiments of the present disclosure may not be applied to other devices, systems, environments or scenarios.
As shown in fig. 1, in this application scenario, the electronic device 100 includes a display screen 101, a keyboard 102, and a mouse 103. At a first time, a user logs in social software, such as WeChat, using the electronic device 100, at this time, the current application running information of the electronic device 100 includes a social application, the image processor GPU of the electronic device 100 is in a low-load state, and the current running state of the electronic device may be a low-power mode. At the second time, the user logs in the game software using the electronic device 100, for example, the royal glory, at this time, the current application running information of the electronic device 100 includes the game-like application, the image processor GPU of the electronic device 100 is in a high-load state, and the current running state of the electronic device can be adjusted to the high-performance mode, so that the electronic device can meet the performance requirement of the user in the current scene.
It should be noted that the electronic device shown in fig. 1 is only an example, and the electronic device capable of executing the control method provided by the present disclosure includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, and the like. In addition, the visualization interface displayed in the display screen 101 in fig. 1 is only an example to facilitate understanding of the technical solution of the present disclosure, but this example does not constitute an undue limitation of the present disclosure.
Fig. 2 schematically shows a flow chart of a control method according to an embodiment of the disclosure.
The control method may be performed by an electronic device. As shown in fig. 2, the method includes operations S210 to S230.
In operation S210, first information is obtained, the first information characterizing at least usage parameters of an image processor GPU of the electronic device.
According to the embodiment of the disclosure, the usage parameters of the GPU may be acquired by a task manager of the electronic device. The usage parameters of the image processor GPU may for example comprise one or more of the following: the utilization rate or idle rate of the GPU display core, the temperature of the GPU, the available memory amount of the GPU and the like. In other embodiments, the usage parameters of the GPU may also be obtained by other hardware or software, such as a specific GPU monitoring tool.
In operation S220, second information is obtained, where the second information represents application running information of the electronic device.
According to the embodiment of the disclosure, the application running information of the electronic device can be acquired through the task manager of the electronic device. The application running information may include, for example, one or more of the following: the name of the application, the type of application, the resources occupied by the application, etc. In other embodiments, the application running information may also be obtained by monitoring a running log of the electronic device or monitoring a running window of the electronic device, which is not limited in this disclosure.
According to an embodiment of the present disclosure, the present disclosure does not limit the acquisition timings of the first information and the second information. In the process of executing the control method provided by the present disclosure, the electronic device may obtain the first information and the second information at the same time, or obtain the first information and the second information in sequence, for example, first obtain the first information and then obtain the second information; or the second information is acquired first, and then the first information is acquired.
In operation S230, adjusting an operation state of the electronic device based on at least the first information and/or the second information; the electronic equipment has different operation parameters in different operation states. According to embodiments of the present disclosure, the operating parameters of the electronic device may include performance parameters and power consumption parameters.
According to the embodiment of the disclosure, after the electronic device acquires the first information and the second information, the operating state of the electronic device can be adjusted based on the first information and/or the second information.
For example, the operating state of the electronic device is adjusted according to the usage parameters of the image processor GPU to change the performance or power consumption of the electronic device. Or adjusting the running state of the electronic equipment according to the current application running information of the electronic equipment so as to change the performance or power consumption of the electronic equipment. Or adjusting the running state of the electronic equipment according to the use parameters of the image processor GPU and the current application running information of the electronic equipment so as to change the performance or the power consumption of the electronic equipment.
In the related art, the operation state of the electronic device is generally adjusted only according to the load condition of the central processing unit CPU, and in this case, the problem of inaccurate adjustment result occurs. For example, during the upgrade of game software, the load of the CPU is large, and if the performance of the electronic device is rapidly improved, the power consumption of the electronic device will be greatly improved, but in practice, the system does not need as high performance requirement. According to the method and the device, the operation state of the electronic equipment is adjusted according to the use parameters of the GPU of the image processor and/or the current application operation information, the operation state of the electronic equipment can be adjusted accurately, the performance requirements of a user in the current scene are met, the performance requirements and the power consumption requirements of the electronic equipment can be balanced, the effect of dynamically adjusting the operation state of the electronic equipment is achieved, and the user experience is improved.
The method shown in fig. 2 is further described with reference to fig. 3-6 in conjunction with specific embodiments.
Fig. 3 schematically shows a flow chart of a control method according to another embodiment of the present disclosure.
It should be noted that the control method is further described with respect to operation S230 shown in fig. 2. The detailed description of operations S210 and S220 shown in fig. 3 may refer to fig. 2, and will not be described herein again.
As shown in fig. 3, operation S230 may be one of operations S231 to S233.
According to an embodiment of the present disclosure, for example, the adjusting the operation state of the electronic device based on at least the first information in operation S230 specifically includes operation S231, namely, detecting that the usage parameter of the GPU satisfies the first threshold range and the state in which the usage parameter satisfies the first threshold range continues for the first time threshold, and switching the electronic device from the current operation state to the first operation state.
According to the embodiment of the disclosure, the first threshold range and the first time threshold may be preset according to the type of the usage parameter of the GPU.
According to the embodiment of the disclosure, taking the usage parameter of the GPU as an example of the usage rate, the first threshold range may be, for example, 40% or more, the first time threshold may be, for example, 20 seconds, and if it is detected that the usage rate of the GPU is 40% or more and a state in which the usage parameter satisfies the first threshold range lasts for 20 seconds or more, the electronic device may be switched from the current operating state to the high performance state. That is, the first operating state may be a high performance state.
According to the embodiment of the disclosure, taking the usage parameter of the GPU as an example of the temperature, the first threshold range may be, for example, 50 degrees celsius or more, the first time threshold may be, for example, 30 seconds or more, and if it is detected that the temperature of the GPU is 50 degrees celsius or more and the state where the usage parameter satisfies the first threshold range lasts for 30 seconds or more, the electronic device may be switched from the current operating state to the high performance state. The inventor finds that the GPU is in a state with higher load at the moment when the temperature of the GPU is higher, the electronic equipment is switched from the current operation state to the high-performance state at the moment, the operation requirement of the GPU can be more intelligently adapted, the operation state of the electronic equipment can be adjusted according to the temperature and the duration of the GPU, and the control method is simple and convenient to implement.
According to the embodiment of the present disclosure, the adjusting the operation state of the electronic device based on at least the second information by the technical feature in operation S230 specifically includes operation S232, and operation S232 may be operation S2321 or operation S2322.
In operation S2321, it is detected that the application running information of the electronic device satisfies a first condition, and the electronic device is switched from the current running state to the first running state, where whether the first condition is satisfied is related to the number and/or the type of the currently running applications.
According to an embodiment of the present disclosure, the first condition may be, for example, the number and/or type of applications that the electronic device is running simultaneously. Specifically, for example, the first condition is that the number of applications simultaneously run by the electronic device is 2 or more, and the application types include at least game-class applications. If it is detected that the application running information of the electronic device is that 3 application programs are currently running and includes a game-like application, the electronic device may be switched from the current running state to the first running state, for example, the electronic device may be switched from the current running state to a high-performance state. For another example, if the first condition is that the number of applications simultaneously run by the electronic device is greater than 10, the electronic device is directly switched from the current running state to the first running state.
In operation S2322, it is detected that the application running information of the electronic device meets a second condition, and the electronic device is switched from the current running state to a second running state, where the second condition is that the first type of application is currently run by the electronic device.
According to the embodiment of the disclosure, the first type of application may be, for example, an application in a preset application list, for example, an office type application, or an application that is only executed by the GPU, or one of the types of applications that is obtained by classifying according to a proportion of the GPU occupied by the execution. According to an embodiment of the disclosure, the second operational state may be a low power consumption state.
According to the embodiment of the present disclosure, for example, if it is detected that an application currently running by the electronic device is office software, the electronic device may be switched from a current running state to a low power consumption state. It should be noted that, if the electronic device is in the low power consumption state from the current operation state, the low power consumption state may be maintained unchanged. Therefore, when adjusting the operation state of the electronic device, it may be determined whether the current operation state of the electronic device can meet the current performance requirement or the power consumption limit.
According to an embodiment of the present disclosure, the adjusting the operation state of the electronic device based on at least the first information and the second information by the technical feature in operation S230 specifically includes operation S233, where operation S233 may be operation S2331 or operation S2332.
In operation S2331, it is detected that the usage parameter of the GPU satisfies the second threshold range and the application running information of the electronic device satisfies a third condition, and the electronic device is switched from the current running state to a third running state, where the third condition is that the first type of application is not currently running on the electronic device.
According to the embodiment of the disclosure, taking the usage parameter of the GPU as an example of the usage rate, the second threshold range may be, for example, 10% to 40%, and the description of the first type of application may refer to the above description, for example, the first type of application is an office type application.
According to an embodiment of the present disclosure, for example, if the usage rate of the GPU is 20% and the electronic device is not currently running office-class software, the electronic device may be switched from the current running state to a third running state, which may be a balanced state mode.
In operation S2332, it is detected that the usage parameter of the GPU satisfies the third threshold range and the application running information of the electronic device satisfies a second condition, and the electronic device is switched from the current running state to a second running state, where the second condition is that the electronic device currently runs the first type of application.
According to the embodiment of the disclosure, taking the usage parameter of the GPU as an example of the usage rate, the third threshold range may be, for example, 10% or less, and the description of the first type of application may refer to the above description, for example, the first type of application is an office type application.
According to the embodiment of the disclosure, for example, if the usage rate of the GPU is 8% and the electronic device currently runs office software, the electronic device may be switched from the current running state to the second running state, which may be a low power consumption state mode.
Fig. 4 schematically shows a flow chart for adjusting an operational state of an electronic device based on at least first information and/or second information according to an embodiment of the present disclosure.
As shown in fig. 4, the method includes operations S401 to S409.
In operation S401, the utilization rate of the GPU and the application running information are acquired.
In operation S402, it is determined whether the GPU utilization is above 40%. If yes, the process proceeds to operation S403, and if no, the process proceeds to operation S405.
In operation S403, the duration when the GPU utilization is above 40% is calculated, and if the duration is above 20 seconds, operation S404 is performed.
In operation S404, the operation state of the electronic device is adjusted to a high performance state.
In operation S405, it is determined whether the GPU utilization is above 10% and below 40%. If yes, the process proceeds to operation S406, and if no, the process proceeds to operation S408.
In operation S406, the electronic device does not run office software.
In operation S407, the operation state of the electronic device is adjusted to an equilibrium state.
In operation S408, the GPU is used with a utilization rate of less than 10%, and the electronic device runs office software.
In operation S409, the operation state of the electronic device is adjusted to a low power consumption state.
According to an embodiment of the present disclosure, adjusting the operational state of the electronic device includes adjusting hardware operational parameters of the electronic device to balance performance and power consumption of the electronic device. According to embodiments of the present disclosure, the performance of an electronic device is related to the computing processing power of the electronic device. The hardware of the electronic device may include, for example, a GPU, a CPU, and the like.
According to an embodiment of the present disclosure, switching the electronic device from the current operating state to the first operating state includes setting an upper power limit and a lower power limit of a central processing unit CPU of the electronic device to a first threshold and a second threshold, respectively, and setting a GPU power of the electronic device to a third threshold.
For example, the first threshold value is 100w (unit, watt), the second threshold value is 70w, and the third threshold value is 105 w. The upper power limit PL1 for the central processing unit CPU may be set to 100w, the lower power limit PL2 for the central processing unit CPU may be set to 70w, and the GPU power may be set to 105w, in which first operating state the electronic device is in a high performance state.
According to an embodiment of the disclosure, switching the electronic device from the current operating state to the second operating state includes setting an upper power limit and a lower power limit of a CPU of the electronic device to a fourth threshold and a fifth threshold, respectively, and setting a GPU power of the electronic device to a sixth threshold.
According to an embodiment of the present disclosure, for example, the fourth threshold value is 45w (unit, watt), the fifth threshold value is 25w, and the sixth threshold value is 80 w. The upper power limit PL1 of the central processing unit CPU may be set to 45w, the lower power limit PL2 of the central processing unit CPU may be set to 25w, and the GPU power may be set to 80w, in which second operating state the electronic device is in a low power consumption state.
According to an embodiment of the disclosure, switching the electronic device from the current operating state to the third operating state includes setting an upper power limit and a lower power limit of a CPU of the electronic device to a seventh threshold value and an eighth threshold value, respectively, and setting a GPU power of the electronic device to a ninth threshold value.
For example, the seventh threshold value is 80w (units, watts), the eighth threshold value is 60w, and the ninth threshold value is 90 w. The upper power limit PL1 of the central processing unit CPU may be set to 80w, the lower power limit PL2 of the central processing unit CPU may be set to 60w, and the GPU power may be set to 90w, in which third operating state the electronic device is in a balanced state.
According to an embodiment of the present disclosure, the third threshold may be greater than the ninth threshold, and the ninth threshold may be greater than the sixth threshold; the first threshold may be greater than the seventh threshold, and the seventh threshold may be greater than the fourth threshold; the second threshold may be greater than the eighth threshold, which may be greater than the fifth threshold.
According to the embodiment of the disclosure, before adjusting the operation state of the electronic device, the usage parameter of the central processing unit CPU of the electronic device may be obtained, and if the usage parameter of the CPU satisfies a fourth condition, the operation state of the electronic device may be adjusted based on at least the first information and/or the second information, where the fourth condition is related to the usage state of the central processing unit CPU.
According to an embodiment of the present disclosure, the usage parameter of the central processing unit CPU may be, for example, a utilization rate and/or a temperature of the central processing unit CPU, or the like. The fourth condition is related to a usage parameter of the central processing unit CPU. The fourth condition may be set according to the type of the usage parameter of the central processing unit CPU. Taking the utilization rate as an example, the fourth condition may be a threshold range of utilization rates. For example, in the case that the utilization rate of the CPU reaches the maximum, but the performance and power consumption requirements of the electronic device cannot be balanced, the operating state of the electronic device may be adjusted according to the first information and/or the second information. In other embodiments, the operating state of the electronic device may also be adjusted according to the operating state of the electronic device by further combining the CPU usage parameter and the GPU usage parameter.
Fig. 5 schematically shows a flow chart of a control method according to another embodiment of the present disclosure.
In this embodiment, operation S510 is included in addition to operations S210 to S230. It should be noted that, reference may be made to fig. 2 for specific description of operations S210 to S230 shown in fig. 5, and details are not repeated here.
As shown in fig. 5, in operation S510, third information is obtained, and an operation parameter of the electronic device is adjusted based on at least the third information, wherein the third information represents fan parameter information of the electronic device.
According to the embodiment of the disclosure, the adjustment of the operation parameter of the electronic device based on the fan parameter information may be performed simultaneously with the adjustment of the operation state of the electronic device based on the first information and/or the second information, or may be performed after the adjustment of the operation state of the electronic device based on the first information and/or the second information. According to an embodiment of the present disclosure, the fan parameters of the electronic device may include a rated power and a maximum rotation speed of the fan, and the like.
According to the embodiment of the disclosure, when controlling whether to adjust the operation parameter of the electronic device, fourth information representing electric quantity and/or temperature information of the electronic device may be further obtained, and then the hardware operation parameter of the electronic device is adjusted based on at least three of the first information, the second information, the third information, and the fourth information.
For example, adjusting hardware operating parameters of the electronic device based on the first information, the second information and the fourth information; or adjusting hardware operating parameters of the electronic equipment based on the first information, the third information and the fourth information; or adjusting hardware operating parameters of the electronic device based on the first information, the second information, the third information, the fourth information, and so on.
According to an embodiment of the present disclosure, the hardware operating parameters of the electronic device may include, for example, a power limit of the GPU, an upper power limit and a lower power limit of the CPU.
According to the embodiment of the disclosure, the fourth information may be used as a limiting condition for adjusting hardware operating parameters of the electronic device. For example, when it is determined that the power limit of the GPU needs to be increased according to the first information, the second information, and the third information, but the power limit of the GPU of the electronic device may be decreased when the electric quantity of the electronic device is found to be low; when the electronic device has sufficient power, the power limit of the GPU of the electronic device can be increased. For another example, when it is determined that the power limit of the GPU needs to be increased according to the first information, the second information, and the third information, but the temperature of the electronic device is found to be very high, the power limit of the GPU of the electronic device may be decreased; the power limit of the GPU of the electronic device may be increased when the temperature of the electronic device is relatively low. Of course, the technical solution of adjusting the hardware operating parameter of the electronic device based on at least three of the first information, the second information, the third information and the fourth information shown in the present disclosure is only illustrative, and the technical solution of adjusting the hardware operating parameter of the electronic device in the present disclosure is not limited thereto.
FIG. 6 schematically illustrates a flow chart for adjusting an operating parameter of an electronic device based on at least third information, according to an embodiment of the disclosure.
As shown in fig. 6, the operation parameters of the electronic device are adjusted based on at least third information, which characterizes fan parameter information of the electronic device, (operation S510) includes operations S610 to S620.
In operation S610, under the condition that the fan of the electronic device, the GPU and the CPU satisfy the first corresponding relationship, the adjusted hardware operating parameter of the electronic device is modified based on the attribute parameter of the fan and the corresponding fan curve.
According to the embodiment of the disclosure, the fan of the electronic device, the GPU and the CPU satisfy the first corresponding relationship, for example, the GPU and the CPU correspond to the same fan, that is, the GPU and the CPU share the same fan.
According to an embodiment of the present disclosure, the property parameters of the fan may be a rated power and a maximum rotation speed of the fan. The fan curve may be a relationship between the temperatures of the GPU and the CPU and the rotational speed of the fan, and the higher the temperatures of the GPU and the CPU, the higher the rotational speed of the fan required.
According to an embodiment of the present disclosure, the hardware operating parameters of the electronic device may include, for example, a power limit of the GPU, an upper power limit and a lower power limit of the CPU.
According to the embodiment of the disclosure, if the GPU and the CPU correspond to the same fan, after adjusting hardware operating parameters of the electronic device, current temperatures of the GPU and the CPU may be obtained, and a fan curve may be searched according to the current temperatures of the GPU and the CPU to determine a fan rotation speed, and if the determined fan rotation speed is greater than the maximum rotation speed of the fan, it is indicated that the attribute parameters of the fan cannot meet the required fan rotation speed, and at this time, the temperatures of the GPU and the CPU cannot be reduced, then the power limit of the GPU, the power upper limit of the CPU, and the power lower limit of the CPU may be corrected.
Or, according to an embodiment of the present disclosure, adjusting the operating parameter of the electronic device based on at least the third information may further include, when the fan of the electronic device, the GPU and the CPU satisfy the first corresponding relationship, correcting the adjusted hardware operating parameter of the electronic device based on the current usage parameter of the fan and the corresponding fan curve.
For the fan of the electronic device, the GPU and the CPU satisfying the first corresponding relationship, reference may be made to the above description, which is not repeated herein.
According to an embodiment of the present disclosure, the current usage parameter of the fan may be a current rotational speed, a current power, and the like of the fan.
According to the embodiment of the disclosure, for example, if the GPU and the CPU correspond to the same fan, after adjusting hardware operating parameters of the electronic device, current temperatures of the GPU and the CPU may be obtained, and a fan curve may be searched according to the current temperatures of the GPU and the CPU to determine a required rotation speed of the fan, if the determined required rotation speed of the fan is greater than the current rotation speed of the fan, the rotation speed of the fan of the electronic device may be increased, and of course, power parameters of the GPU and the CPU may also be appropriately reduced. If the determined fan speed required is less than the current fan speed, the fan speed of the electronic device may be reduced.
In operation S620, in a case that the fan of the electronic device satisfies the second corresponding relationship with the GPU and the CPU, the adjusted hardware operating parameter of the electronic device is modified based on the attribute parameter of the fan, the corresponding fan curve and the association relationship therebetween.
According to the embodiment of the disclosure, the fan of the electronic device, the GPU and the CPU satisfy the second corresponding relationship, for example, the GPU and the CPU may correspond to more than two fans.
According to the embodiment of the disclosure, the scheme that the GPU and the CPU correspond to more than two fans comprises a plurality of schemes. For example, in the first scheme, the GPU and the CPU respectively correspond to different fans, that is, the GPU corresponds to one or more fans, the CPU corresponds to one or more fans, and the fans respectively corresponding to the GPU and the CPU may be physically separated. Or, in the second scheme, the GPU and the CPU correspond to a plurality of identical fans, and a fan array is formed among the plurality of fans and is commonly used for cooling the GPU and the CPU. The association relationship between the fans may be a relative positional relationship between the fans, whether a fan array is formed between the fans, or the like.
According to the embodiment of the disclosure, if the GPU and the CPU correspond to more than two fans, after adjusting hardware operating parameters of the electronic device, current temperatures of the GPU and the CPU may be obtained, and a fan curve is searched according to the current temperatures of the GPU and the CPU to determine a fan rotation speed, if the determined fan required rotation speed is greater than the maximum rotation speed of the fan, it is indicated that the attribute parameters of the fan cannot meet the required fan rotation speed, and at this time, the temperatures of the GPU and the CPU cannot be reduced by increasing the fan rotation speed, the power limit of the GPU, the power upper limit and the power lower limit of the CPU, for example, the power limit of the GPU is reduced, and the power upper limit and the power lower limit of the CPU are. If the determined fan speed is less than the maximum fan speed, the fan speed may be increased.
Or, according to an embodiment of the present disclosure, adjusting the operating parameter of the electronic device based on at least the third information may further include, when the fan of the electronic device meets the second corresponding relationship with the GPU and the CPU, correcting the adjusted hardware operating parameter of the electronic device based on the current usage parameter of the fan, the corresponding fan curve, and the association relationship between the fan and the GPU.
According to the embodiment of the disclosure, if the GPU and the CPU correspond to more than two fans, after adjusting hardware operating parameters of the electronic device, current temperatures of the GPU and the CPU may be obtained, a fan curve may be searched according to the current temperatures of the GPU and the CPU to determine a required rotation speed of the fan, and if the determined required rotation speed of the fan is greater than the current rotation speed of the fan, the rotation speed of the fan of the electronic device may be increased, or the power limit of the GPU may be reduced, and the power upper limit and the power lower limit of the CPU may be reduced. If the determined fan required rotating speed is less than the current rotating speed of the fan, the rotating speed of the fan of the electronic equipment can be reduced, or the power limit of the GPU is increased, and the power upper limit and the power lower limit of the CPU are increased. The effect of dynamically adjusting the running state of the electronic equipment is achieved.
Fig. 7 schematically shows a block diagram of a control device according to an embodiment of the present disclosure.
As shown in fig. 7, the control device 700 includes a first obtaining module 710, a second obtaining module 720, and an adjusting module 730.
The first obtaining module 710 is configured to obtain first information, where the first information at least represents a usage parameter of an image processor of the electronic device.
The second obtaining module 720 is configured to obtain second information, where the second information represents application running information of the electronic device.
The adjusting module 730 is configured to adjust an operating state of the electronic device based on at least the first information and/or the second information; the electronic equipment has different operation parameters in different operation states.
In the related art, the operation state of the electronic device is generally adjusted only according to the load condition of the central processing unit CPU, and in this case, the problem of inaccurate adjustment result occurs. For example, during the upgrade of game software, the load of the CPU is large, and if the performance of the electronic device is rapidly improved, the power consumption of the electronic device will be greatly improved, but in practice, the system does not need as high performance requirement. According to the method and the device, the operation state of the electronic equipment is adjusted according to the use parameters of the GPU of the image processor and/or the current application operation information, the operation state of the electronic equipment can be adjusted accurately, the performance requirements of a user in the current scene are met, the performance requirements and the power consumption requirements of the electronic equipment can be balanced, and the user experience is improved.
According to an embodiment of the disclosure, adjusting the operating state of the electronic device based at least on the first information includes detecting that a usage parameter of the GPU satisfies a first threshold range and a state in which the usage parameter satisfies the first threshold range lasts for a first time threshold, and switching the electronic device from a current operating state to a first operating state.
According to an embodiment of the present disclosure, adjusting the operating state of the electronic device based on at least the second information includes: detecting that application running information of the electronic equipment meets a first condition, and switching the electronic equipment from a current running state to a first running state, wherein the first condition is related to the number and/or type of the current running applications; or detecting that the application running information of the electronic equipment meets a second condition, and switching the electronic equipment from the current running state to a second running state, wherein the second condition is that the electronic equipment currently runs the first type of application.
According to an embodiment of the present disclosure, adjusting the operational state of the electronic device based on at least the first information and the second information includes: switching the electronic equipment from the current running state to a third running state when detecting that the use parameter of the GPU meets a second threshold range and the application running information of the electronic equipment meets a third condition, wherein the third condition is that the first type of application is not currently run by the electronic equipment; or switching the electronic device from the current running state to a second running state when the use parameter of the GPU meets a third threshold range and the application running information of the electronic device meets a second condition, wherein the second condition is that the first type of application is currently run by the electronic device.
According to an embodiment of the present disclosure, adjusting the operational state of the electronic device includes adjusting hardware operational parameters of the electronic device to balance performance and power consumption of the electronic device.
According to an embodiment of the present disclosure, switching the electronic device from the current operation state to the first operation state includes: the method comprises the steps of setting the upper power limit and the lower power limit of a Central Processing Unit (CPU) of the electronic equipment to be a first threshold value and a second threshold value respectively, and setting the GPU power of the electronic equipment to be a third threshold value.
According to an embodiment of the present disclosure, switching the electronic device from the current operation state to the second operation state includes: and respectively setting the upper power limit and the lower power limit of the CPU of the electronic equipment as a fourth threshold value and a fifth threshold value, and setting the GPU power of the electronic equipment at a sixth threshold value.
According to an embodiment of the present disclosure, switching the electronic device from the current operation state to the third operation state includes: and respectively setting the upper power limit and the lower power limit of the CPU of the electronic equipment as a seventh threshold value and an eighth threshold value, and setting the GPU power of the electronic equipment at a ninth threshold value.
According to an embodiment of the present disclosure, the third threshold is greater than the ninth threshold, and the ninth threshold is greater than the sixth threshold; the first threshold is larger than the seventh threshold, and the seventh threshold is larger than the fourth threshold; the second threshold is greater than the eighth threshold, which is greater than the fifth threshold.
According to an embodiment of the present disclosure, the control apparatus 700 further includes a third obtaining module, configured to obtain a usage parameter of a central processing unit CPU of the electronic device, so that the operating state of the electronic device may be adjusted based on at least the first information and/or the second information when the usage parameter of the CPU satisfies a fourth condition; wherein the fourth condition is related to the usage status of the central processing unit CPU.
According to an embodiment of the present disclosure, the control apparatus 700 further includes a fourth obtaining module, configured to obtain third information, so that an operating parameter of the electronic device may be adjusted based on at least the third information, where the third information represents fan parameter information of the electronic device.
According to an embodiment of the disclosure, adjusting the operating parameter of the electronic device based on at least the third information includes: under the condition that a fan of the electronic equipment, a GPU and a CPU meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the attribute parameters of the fan and the corresponding fan curve; and under the condition that the fan of the electronic equipment, the GPU and the CPU meet the second corresponding relation, correcting the adjusted hardware operating parameters of the electronic equipment based on the attribute parameters of the fan, the corresponding fan curves and the mutual association relation.
According to an embodiment of the disclosure, adjusting the operating parameter of the electronic device based on at least the third information includes: under the condition that a fan of the electronic equipment, a GPU and a CPU meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the current use parameters of the fan and the corresponding fan curve; and under the condition that the fan of the electronic equipment, the GPU and the CPU meet the second corresponding relation, correcting the adjusted hardware operating parameters of the electronic equipment based on the current use parameters of the fan, the corresponding fan curves and the mutual association relation.
According to an embodiment of the present disclosure, the control apparatus 700 further includes a fifth obtaining module, configured to obtain fourth information, so that a hardware operating parameter of the electronic device may be adjusted based on at least three of the first information, the second information, the third information, and the fourth information, where the fourth information represents power and/or temperature information of the electronic device.
Any number of modules, sub-modules, units, sub-units, or at least part of the functionality of any number thereof according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, and sub-units according to the embodiments of the present disclosure may be implemented by being split into a plurality of modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in any other reasonable manner of hardware or firmware by integrating or packaging a circuit, or in any one of or a suitable combination of software, hardware, and firmware implementations. Alternatively, one or more of the modules, sub-modules, units, sub-units according to embodiments of the disclosure may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
For example, any plurality of the first obtaining module 710, the second obtaining module 720 and the adjusting module 730 may be combined and implemented in one module, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first obtaining module 710, the second obtaining module 720 and the adjusting module 730 may be implemented at least partially as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or may be implemented by any one of three implementations of software, hardware and firmware, or any suitable combination of any of the three. Alternatively, at least one of the first obtaining module 710, the second obtaining module 720 and the adjusting module 730 may be at least partially implemented as a computer program module, which when executed may perform the corresponding functions.
The present disclosure also provides an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the computer program implementing the control method as described above when executed by the processor.
According to the embodiment of the disclosure, the processor may include a central processing unit CPU, an image processor GPU, or both the central processing unit CPU and the image processor GPU.
FIG. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described method according to an embodiment of the present disclosure. The computer system illustrated in FIG. 8 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the disclosure.
As shown in fig. 8, the computer system 800 includes a central processor 810, a computer-readable storage medium 820, and an image processor 830. The computer system 800 may perform a method according to an embodiment of the disclosure.
In particular, central processor 810 or image processor 830 may comprise, for example, a general purpose microprocessor, an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The central processor 810 or the image processor 830 may also include on-board memory for caching purposes. Central processor 810 or image processor 830 may be a single processing unit or multiple processing units for performing different actions of a method flow according to embodiments of the disclosure.
Computer-readable storage medium 820, for example, may be a non-volatile computer-readable storage medium, specific examples including, but not limited to: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and so on.
The computer-readable storage medium 820 may include a computer program 821, which computer program 821 may include code/computer-executable instructions that, when executed by the central processor 810 or the image processor 830, cause the central processor 810 or the image processor 830 to perform a method according to an embodiment of the present disclosure, or any variation thereof.
The computer program 821 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 821 may include one or more program modules, including for example 821A, modules 821B, … …. It should be noted that the dividing manner and number of the modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, when these program modules are executed by the central processing unit 810 or the image processor 830, the central processing unit 810 or the image processor 830 may execute the method according to the embodiment of the present disclosure or any variation thereof.
According to an embodiment of the present invention, at least one of the first obtaining module 710, the second obtaining module 720 and the adjusting module 730 may be implemented as a computer program module described with reference to fig. 8, which, when executed by the central processor 810 or the image processor 830, may implement the respective operations described above.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (10)
1. A control method, comprising:
obtaining first information, wherein the first information at least represents a use parameter of an image processor GPU of the electronic equipment;
obtaining second information, wherein the second information represents application running information of the electronic equipment;
adjusting an operating state of the electronic device based on at least the first information and/or the second information;
the electronic equipment has different operation parameters in different operation states.
2. The method of claim 1, the adjusting the operational state of the electronic device based on at least the first information, comprising:
detecting that a state that usage parameters of the GPU meet a first threshold range and the usage parameters meet the first threshold range continues for a first time threshold, and switching the electronic equipment from a current operation state to a first operation state; or the like, or, alternatively,
the adjusting the operating state of the electronic device based on at least the second information comprises:
detecting that application running information of the electronic equipment meets a first condition, and switching the electronic equipment from a current running state to a first running state, wherein whether the first condition is met is related to the number and/or the type of the currently running applications; or the like, or, alternatively,
detecting that application running information of the electronic equipment meets a second condition, and switching the electronic equipment from a current running state to a second running state, wherein the second condition is that the electronic equipment currently runs a first type of application; or the like, or, alternatively,
the adjusting the operating state of the electronic device based on at least the first information and the second information comprises:
switching the electronic equipment from a current operation state to a third operation state when detecting that the use parameter of the GPU meets a second threshold range and the application operation information of the electronic equipment meets a third condition, wherein the third condition is that the electronic equipment does not operate the first type of application currently; or the like, or, alternatively,
and switching the electronic equipment from the current running state to a second running state when detecting that the use parameter of the GPU meets a third threshold range and the application running information of the electronic equipment meets a second condition, wherein the second condition is that the electronic equipment currently runs the first type of application.
3. The method of claim 2, the adjusting the operational state of the electronic device, comprising:
adjusting hardware operating parameters of the electronic device to balance performance and power consumption of the electronic device.
4. The method of claim 3, switching the electronic device from a current operating state to a first operating state, comprising:
setting the upper power limit and the lower power limit of a Central Processing Unit (CPU) of the electronic equipment as a first threshold value and a second threshold value respectively, and setting the GPU power of the electronic equipment at a third threshold value;
switching the electronic device from a current operating state to a second operating state, comprising:
setting the upper power limit and the lower power limit of a CPU of the electronic equipment as a fourth threshold value and a fifth threshold value respectively, and setting the GPU power of the electronic equipment at a sixth threshold value;
switching the electronic device from a current operating state to a third operating state, comprising:
setting the upper power limit and the lower power limit of a CPU of the electronic equipment as a seventh threshold value and an eighth threshold value respectively, and setting the GPU power of the electronic equipment at a ninth threshold value;
wherein the third threshold is greater than the ninth threshold, which is greater than the sixth threshold; the first threshold is greater than the seventh threshold, and the seventh threshold is greater than the fourth threshold; the second threshold is greater than the eighth threshold, which is greater than the fifth threshold.
5. The method of any of claims 1 to 4, further comprising:
obtaining use parameters of a Central Processing Unit (CPU) of the electronic equipment, and adjusting the running state of the electronic equipment at least based on the first information and/or the second information under the condition that the use parameters of the CPU meet a fourth condition;
wherein the fourth condition is related to a usage status of the central processing unit CPU.
6. The method of any of claims 1 to 4, further comprising:
obtaining third information, and adjusting an operating parameter of the electronic device based on at least the third information, wherein the third information represents fan parameter information of the electronic device.
7. The method of claim 6, the adjusting the operating parameter of the electronic device based at least on the third information, comprising:
under the condition that a fan of the electronic equipment, a GPU and a CPU meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the attribute parameters of the fan and the corresponding fan curve;
and under the condition that the fan of the electronic equipment, the GPU and the CPU meet a second corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the attribute parameters of the fan, the corresponding fan curves and the mutual association relation.
8. The method of claim 6, the adjusting the operating parameter of the electronic device based at least on the third information, comprising:
under the condition that a fan of the electronic equipment, a GPU and a CPU meet a first corresponding relation, correcting the adjusted hardware operation parameters of the electronic equipment based on the current use parameters of the fan and the corresponding fan curve;
and under the condition that the fan of the electronic equipment, the GPU and the CPU meet a second corresponding relation, correcting the adjusted hardware operating parameters of the electronic equipment based on the current use parameters of the fan, the corresponding fan curves and the mutual association relation.
9. The method of claim 6, further comprising:
and obtaining fourth information, and adjusting hardware operating parameters of the electronic equipment at least based on at least three of the first information, the second information, the third information and the fourth information, wherein the fourth information represents electric quantity and/or temperature information of the electronic equipment.
10. A control device, comprising:
the first acquisition module is used for acquiring first information, and the first information at least represents a use parameter of an image processor of the electronic equipment;
the second obtaining module is used for obtaining second information, and the second information represents application running information of the electronic equipment;
the adjusting module is used for adjusting the running state of the electronic equipment at least based on the first information and/or the second information;
the electronic equipment has different operation parameters in different operation states.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911123973.3A CN110928587A (en) | 2019-11-14 | 2019-11-14 | Control method and control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201911123973.3A CN110928587A (en) | 2019-11-14 | 2019-11-14 | Control method and control device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110928587A true CN110928587A (en) | 2020-03-27 |
Family
ID=69854047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201911123973.3A Pending CN110928587A (en) | 2019-11-14 | 2019-11-14 | Control method and control device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110928587A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112667478A (en) * | 2020-12-30 | 2021-04-16 | 联想(北京)有限公司 | Control method and control device |
| CN114640873A (en) * | 2022-03-29 | 2022-06-17 | 联想(北京)有限公司 | Control method and device |
| CN115292121A (en) * | 2022-08-01 | 2022-11-04 | 联想(北京)有限公司 | Control method, control device, electronic equipment and storage medium |
| CN118012691A (en) * | 2022-11-10 | 2024-05-10 | 荣耀终端有限公司 | A power consumption control method and related device |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106095047A (en) * | 2016-05-31 | 2016-11-09 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
| CN106445068A (en) * | 2016-08-31 | 2017-02-22 | 湖南大学 | Fuzzy control energy-saving method based on GPU (Graphics Processing Unit) data packet classification |
| CN109388540A (en) * | 2018-09-30 | 2019-02-26 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
| CN109960395A (en) * | 2018-10-15 | 2019-07-02 | 华为技术有限公司 | Resource scheduling method and computer device |
-
2019
- 2019-11-14 CN CN201911123973.3A patent/CN110928587A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106095047A (en) * | 2016-05-31 | 2016-11-09 | 联想(北京)有限公司 | A kind of control method and electronic equipment |
| CN106445068A (en) * | 2016-08-31 | 2017-02-22 | 湖南大学 | Fuzzy control energy-saving method based on GPU (Graphics Processing Unit) data packet classification |
| CN109388540A (en) * | 2018-09-30 | 2019-02-26 | 联想(北京)有限公司 | A kind of processing method and electronic equipment |
| CN109960395A (en) * | 2018-10-15 | 2019-07-02 | 华为技术有限公司 | Resource scheduling method and computer device |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112667478A (en) * | 2020-12-30 | 2021-04-16 | 联想(北京)有限公司 | Control method and control device |
| CN114640873A (en) * | 2022-03-29 | 2022-06-17 | 联想(北京)有限公司 | Control method and device |
| CN115292121A (en) * | 2022-08-01 | 2022-11-04 | 联想(北京)有限公司 | Control method, control device, electronic equipment and storage medium |
| CN118012691A (en) * | 2022-11-10 | 2024-05-10 | 荣耀终端有限公司 | A power consumption control method and related device |
| WO2024098975A1 (en) * | 2022-11-10 | 2024-05-16 | 荣耀终端有限公司 | Power consumption control method and related apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110928587A (en) | Control method and control device | |
| JP6005895B1 (en) | Intelligent multi-core control for optimal performance per watt | |
| US10372494B2 (en) | Thread importance based processor core partitioning | |
| TWI656479B (en) | Migrating threads between asymmetric cores in a multiple core processor | |
| US20180120920A1 (en) | Thread Importance Based Processor Core Parking And Frequency Selection | |
| TWI553551B (en) | Use selective task modulation heat reduction | |
| US20130332753A1 (en) | Dynamic power limit sharing in a platform | |
| TW201600965A (en) | Thermally adaptive quality-of-service levels | |
| EP2754042A1 (en) | Resuming applications and/or exempting applications from suspension | |
| US9740266B2 (en) | Apparatus and method for controlling multi-core of electronic device | |
| US10725525B2 (en) | Method of operating system-on-chip, system-on-chip performing the same and electronic system including the same | |
| RU2573733C1 (en) | Method and apparatus for adjusting i/o channel on virtual platform | |
| US20170010992A1 (en) | Power saving feature for storage subsystems | |
| US11847009B1 (en) | Power control for improving foreground application performance in an information handling system | |
| Sahin et al. | On the impacts of greedy thermal management in mobile devices | |
| US9842027B1 (en) | Intelligent application optimized backups | |
| CN110825199A (en) | Information processing method and device, electronic device and medium | |
| TWI566087B (en) | System and method for controlling cpu | |
| US9535753B2 (en) | Context and optimization framework | |
| US10318278B2 (en) | Power management data package provision method and apparatus | |
| US20240111560A1 (en) | Workload linked performance scaling for servers | |
| WO2011135721A1 (en) | Information processing device and power consumption management program | |
| US11990784B2 (en) | Information handling system managing a power level within a battery | |
| US11237606B2 (en) | System parameter trace and test coverage optimization in a computer system | |
| KR102623137B1 (en) | System and method for dynamic buffer sizing in a computing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200327 |
|
| RJ01 | Rejection of invention patent application after publication |