Method, device and equipment for adjusting power consumption of graphic processor and storage medium

By acquiring the status information of the graphics processor in real time and adjusting abnormal status parameters, the problem of real-time and accuracy of graphics processor power consumption adjustment is solved, and efficient power consumption management of the graphics processor is achieved.

CN116610477BActive Publication Date: 2026-08-04INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-05-04
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

Existing technologies for adjusting the power consumption of graphics processors suffer from poor real-time performance and low accuracy. Hardware circuit solutions have low adjustment accuracy, while software algorithm solutions have poor real-time performance.

Method used

By acquiring the status information of the graphics processor, it is determined whether there is an anomaly, and the corresponding status parameters, such as processing frequency, voltage, and fan speed, are adjusted based on the anomaly type to ensure that they are within the preset range, thereby achieving real-time power consumption adjustment.

Benefits of technology

It improves the real-time performance and accuracy of graphics processor power consumption adjustment, ensuring that the graphics processor adjusts in a timely manner under abnormal conditions to avoid performance degradation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116610477B_ABST
    Figure CN116610477B_ABST
Patent Text Reader

Abstract

This invention relates to the field of graphics processing unit (GPU) technology, and discloses a method, apparatus, computer device, and storage medium for adjusting the power consumption of a GPU. The invention acquires the status information of the GPU; when the value of the status information is outside a preset range, the status information is identified as abnormal; based on the type of abnormal information, the corresponding state parameter to be adjusted and the adjustment range of the state parameter to be adjusted are determined; and the state parameter to be adjusted is adjusted to the adjustment range. In this way, abnormal information of the GPU can be acquired in real time, and corresponding power consumption adjustments can be made, improving the real-time performance and accuracy of power consumption adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of graphics processors, and more specifically to a method, apparatus, computer device, and storage medium for adjusting the power consumption of graphics processors. Background Technology

[0002] A graphics processing unit (GPU) is a hardware device widely used in the computer field for graphics processing and computing. Its performance and energy efficiency greatly affect the computing power and processing speed of a computer. In practical applications, it is necessary to fully consider the power consumption, temperature and other information of the graphics processor to ensure that the graphics processor can work normally and that its performance and energy efficiency are not affected.

[0003] Currently, hardware circuits are typically used to monitor and adjust the power consumption of graphics processing units (GPUs), while software algorithms are used to capture and handle GPU anomalies. However, hardware-based solutions often suffer from low accuracy in power consumption adjustment, while software-based solutions suffer from poor real-time performance in anomaly capture and handling. Summary of the Invention

[0004] In view of this, the present invention provides a method, apparatus, computer device and storage medium for adjusting the power consumption of a graphics processor, so as to solve the problems of poor real-time performance of exception handling and low accuracy of power consumption adjustment in graphics processors.

[0005] In a first aspect, the present invention provides a method for adjusting the power consumption of a graphics processor, comprising:

[0006] Obtain the status information of the graphics processor;

[0007] When the value of the status information is not within the preset range, the status information is determined to be abnormal.

[0008] Based on the type of abnormal information, determine the state parameters to be adjusted and the adjustment range of the state parameters to be adjusted corresponding to the abnormal information;

[0009] Adjust the state parameters to be adjusted to the adjustment range.

[0010] In this way, abnormal information of the graphics processor can be obtained in real time, and corresponding power consumption can be adjusted, improving the real-time performance and accuracy of power consumption adjustment.

[0011] In some possible implementations, based on the type of anomaly information, the adjustment parameters to be adjusted corresponding to the anomaly information and the adjustment range of the adjustment parameters are determined, including:

[0012] When the type of the abnormal information is data processing abnormality, the processing frequency of the graphics processor processing the processing request is determined as the state parameter to be adjusted, and the adjustment range of the state parameter to be adjusted is determined based on the abnormal information.

[0013] In some possible implementations, data processing anomalies include voltage anomalies; determining the processing frequency of the graphics processor processing the processing request as a state parameter to be adjusted, and determining the adjustment range of the state parameter to be adjusted based on the anomaly information, including:

[0014] When the type of abnormal information is voltage abnormality, obtain the priority and current processing frequency of the graphics processor to process the processing request;

[0015] The processing frequency of requests with a priority lower than the first preset priority is determined as the status parameter to be adjusted.

[0016] Based on the anomaly information and the current processing frequency, a first processing frequency is determined, and this first processing frequency is set as the adjustment range for the state parameters to be adjusted; the current required voltage is the voltage required by the graphics processor to process the request at the current processing frequency.

[0017] In this way, the power consumption of the graphics processor can be adjusted in a timely manner when abnormal voltage occurs.

[0018] In some possible implementations, data processing anomalies include load anomalies; determining the processing frequency of the graphics processor in processing processing requests as a state parameter to be adjusted, and determining the adjustment range of the state parameter to be adjusted based on the anomaly information, including:

[0019] When the type of the exception information is load exception, obtain the priority of the graphics processor to process the request;

[0020] The processing frequency of requests with a priority lower than the second preset priority is determined as the status parameter to be adjusted.

[0021] Based on the abnormal information and the preset load, a second processing frequency is determined, and the second processing frequency is set as the adjustment range of the state parameter to be adjusted.

[0022] In this way, the power consumption of the graphics processor can be adjusted in a timely manner when abnormal load occurs.

[0023] In some possible implementations, based on the type of anomaly information, the adjustment parameters to be adjusted corresponding to the anomaly information and the adjustment range of the adjustment parameters are determined, including:

[0024] When the type of abnormal information is temperature abnormality, the fan speed is determined as the state parameter to be adjusted;

[0025] Based on the abnormal information and the preset temperature, the target fan speed is determined, and the target fan speed is set as the adjustment range of the state parameter to be adjusted.

[0026] In this way, the power consumption of the graphics processor can be adjusted in a timely manner when abnormal temperatures occur.

[0027] In some possible implementations, the method further includes:

[0028] When the target fan speed is greater than the preset fan speed, the preset fan speed is determined as the adjustment range of the state parameter to be adjusted.

[0029] This limits the maximum fan speed and prevents the fan from overloading.

[0030] In some possible implementations, the method further includes:

[0031] When the target fan speed is greater than the preset fan speed, the graphics processor voltage and / or processing frequency are determined as the state parameters to be adjusted.

[0032] Based on the abnormal information and the preset temperature, the target voltage and / or the third processing frequency are determined, and the target voltage and / or the third processing frequency are determined as the adjustment range of the state parameters to be adjusted.

[0033] In this way, when the power consumption of the graphics processor cannot be adjusted by the fan alone, the power consumption of the graphics processor can be adjusted by adjusting the voltage or the frequency of processing requests.

[0034] In a second aspect, the present invention provides a power consumption adjustment device for a graphics processor, comprising:

[0035] The status information acquisition module is used to acquire the status information of the graphics processor;

[0036] The abnormal information determination module is used to determine the status information as abnormal information when the value of the status information is not within the preset range.

[0037] The adjustment range determination module is used to determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted based on the type of the abnormal information.

[0038] The status parameter adjustment module is used to adjust the status parameters to be adjusted to the adjustment range.

[0039] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the power consumption adjustment method of the graphics processor described in the first aspect or any corresponding embodiment thereof.

[0040] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the power consumption adjustment method of a graphics processor according to the first aspect or any corresponding embodiment thereof. Attached Figure Description

[0041] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0042] Figure 1 This is a flowchart illustrating a power consumption adjustment method for a graphics processor according to an embodiment of the present invention.

[0043] Figure 2 This is a flowchart illustrating another power consumption adjustment method for a graphics processor according to an embodiment of the present invention;

[0044] Figure 3 This is a flowchart illustrating another power consumption adjustment method for a graphics processor according to an embodiment of the present invention;

[0045] Figure 4 This is a flowchart illustrating another power consumption adjustment method for a graphics processor according to an embodiment of the present invention;

[0046] Figure 5 This is a structural block diagram of a power consumption adjustment device for a graphics processor according to an embodiment of the present invention;

[0047] Figure 6 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0049] This invention provides a power adjustment method for a graphics processing unit (GPU). This method can capture abnormal information in real-time based on the GPU's status information, thereby adjusting power consumption accurately and in real-time to ensure GPU performance and energy efficiency. Specifically, the method involves: acquiring the GPU's status information; identifying abnormal information when the value of the status information is outside a preset range; determining the corresponding state parameter to be adjusted and its adjustment range based on the type of abnormal information; and adjusting the state parameter to be adjusted to the desired range.

[0050] In some possible implementations, the power adjustment method for the graphics processor can be applied to any device containing a graphics processor, including but not limited to mobile phones, tablets, computers, etc.

[0051] This embodiment provides a method for adjusting the power consumption of a graphics processor, which can be used in the aforementioned mobile terminals, such as mobile phones, tablets, and computers. Figure 1 This is a flowchart of a power consumption adjustment method for a graphics processor according to an embodiment of the present invention, such as... Figure 1 As shown, the process includes the following steps:

[0052] Step S101: Obtain the status information of the graphics processor.

[0053] In this embodiment of the invention, the status information of the graphics processor includes its temperature information, voltage information, and load information. Specifically, the temperature information is the operating temperature of the graphics processor; the voltage information is the voltage received by the graphics processor, i.e., the voltage supplied to the graphics processor; and the load information includes the resource utilization of the graphics processor, such as core utilization and memory utilization, which is essentially the workload of the graphics processor.

[0054] In some possible implementations, a temperature sensor can be used to obtain the graphics processor's temperature information in real time, and a voltage sensor can be used to obtain the graphics processor's voltage information in real time.

[0055] In some possible implementations, temperature information can be read in real time from a temperature sensor, voltage information from a voltage sensor, and load information from a graphics processor in the form of software algorithms.

[0056] In some possible implementations, a power consumption adjustment module and an anomaly handling module can be set up in the relevant circuitry of the graphics processor (GPU). Related power consumption adjustment algorithms and anomaly handling algorithms can be written into these modules. When the GPU starts up, both the power consumption adjustment module and the anomaly handling module, along with their respective algorithms, are simultaneously activated. An information exchange channel is established between the two modules to respond promptly to GPU anomalies and adjust the GPU's power consumption accordingly.

[0057] Step S102: When the value of the status information is not within the preset range, the status information is determined to be abnormal information.

[0058] In this embodiment of the invention, the preset range of status information is used to define the normal numerical range of the status information, that is, the range within which the status information value should be when the graphics processor is working normally. There are corresponding preset ranges for temperature information, voltage information, and load information. For temperature information, the preset range is a temperature range, which is typically used to limit the maximum temperature at which the graphics processor can operate normally. Within this temperature range, the graphics processor can operate normally; exceeding this temperature range will cause a significant increase in power consumption due to overheating. For voltage information, the preset range is a voltage range, which is typically a voltage range near the rated voltage of the graphics processor, used to ensure the graphics processor operates at a voltage close to its rated voltage. Within this voltage range, the graphics processor can process requests at its normal operating frequency. When the voltage is below this range, due to insufficient voltage supply, the graphics processor will increase power consumption to process requests at its normal operating frequency. For load information, the preset range is a resource utilization range, used to limit the maximum resource utilization of the graphics processor. Within this resource utilization range, the graphics processor can operate at normal power consumption; exceeding this resource utilization range will cause a significant increase in power consumption due to overload.

[0059] In some possible implementations, when the status information is determined to be abnormal, the abnormal information is written to an abnormal log or stored in a corresponding storage area. This storage area is used to record and store the type of abnormality that occurs in the graphics processor, as well as the time when the abnormality occurs, so as to facilitate subsequent backtracking and retrieval of the abnormality.

[0060] Step S103: Based on the type of abnormal information, determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted corresponding to the abnormal information.

[0061] In this embodiment of the invention, different types of abnormal information correspond to different state parameters to be adjusted and corresponding adjustment ranges for those state parameters. By determining the type of abnormal information, the state parameters to be adjusted and their adjustment ranges are determined.

[0062] In some possible implementations, the adjustment range can be an interval or a specific value.

[0063] Step S104: Adjust the state parameters to be adjusted to the adjustment range.

[0064] In this embodiment of the invention, the state parameter to be adjusted is adjusted to the adjustment range to complete the adjustment of the state parameter, thereby restoring the state information to normal and realizing the adjustment of the power consumption of the graphics processor.

[0065] In some possible implementations, after adjusting the state parameters to be adjusted to the desired range, the graphics processor's (GPU) state information does not immediately return to normal. Instead, it requires multiple adjustments to return to the preset range. Furthermore, the state information itself is dynamically changing and needs constant monitoring and adjustment. Correspondingly, the GPU's power consumption also does not immediately return to normal but gradually returns to normal as the state information is adjusted. In this case, the GPU's power consumption can be normalized through multiple adjustments to the state parameters, thereby achieving dynamic adjustment of the GPU's power consumption, adjusting it in real-time based on changes in the state information.

[0066] In some possible implementations, an adjustment range list can be pre-set. When the status information is abnormal, the status parameters to be adjusted are adjusted sequentially according to the adjustment ranges given in the list. If the status information and power consumption still do not return to normal after adjusting the status parameters according to the current adjustment range, the adjustment continues according to the next adjustment range in the list until the status information value returns to the preset range, thus returning to a normal state. This reduces the computational load when adjusting the power consumption of the graphics processor, thereby reducing resource consumption.

[0067] The power consumption adjustment method for a graphics processor provided in this embodiment obtains the status information of the graphics processor in real time, and adjusts the status parameters to be adjusted to the corresponding adjustment range according to the type of abnormal information. This improves the real-time performance and accuracy of power consumption adjustment by obtaining abnormal information of the graphics processor in real time and making corresponding power consumption adjustments.

[0068] This embodiment provides a method for adjusting the power consumption of a graphics processor, which can be used in the aforementioned mobile terminals, such as mobile phones, tablets, and computers. Figure 2 This is a flowchart of another power consumption adjustment method for a graphics processor according to an embodiment of the present invention, such as... Figure 2 As shown, the process includes the following steps:

[0069] Step S201: Obtain the status information of the graphics processor. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.

[0070] Step S202: When the value of the status information is not within the preset range, the status information is determined to be abnormal. For details, please refer to [link to relevant documentation]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.

[0071] Step S203: Based on the type of abnormal information, determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted corresponding to the abnormal information.

[0072] In this embodiment of the invention, the type of abnormal information includes data processing abnormalities. These abnormalities cannot be eliminated by external means; therefore, they can be eliminated internally by adjusting the processing frequency of the graphics processor (GPU) in processing requests. In other words, when the type of abnormal information is a data processing abnormality, the processing frequency of the GPU in processing requests is determined as the state parameter to be adjusted, and the adjustment range of the state parameter to be adjusted is determined based on the abnormal information.

[0073] Specifically, data processing anomalies may include voltage anomalies. Accordingly, step S203 above includes:

[0074] Step S2031: When the type is voltage abnormality, obtain the priority and current processing frequency of the graphics processor processing the processing request.

[0075] In this embodiment of the invention, when the abnormal information is voltage abnormality information, that is, when the type of abnormal information is voltage abnormality, the voltage information is usually lower than a preset voltage range, resulting in increased power consumption of the graphics processor due to insufficient power supply. In this case, since the voltage is supplied by an external power supply circuit, the graphics processor cannot adjust the voltage. Therefore, the power consumption can be adjusted by adjusting the processing frequency of the graphics processor in processing requests. Considering that the processing frequency of some important processing requests cannot be reduced, otherwise it will lead to a decrease in the processing efficiency of the graphics processor, or even affect the normal operation of the graphics processor, a priority system is introduced to sort the processing priority and importance of the processing requests.

[0076] In this embodiment of the invention, the current processing frequency is the frequency at which the graphics processor processes processing requests when it is working normally or when it receives the abnormal information. Based on this current processing frequency, the voltage required by the graphics processor to process these processing requests at this current processing frequency can be determined, i.e., the current required voltage. Furthermore, based on the difference between the current required voltage and the voltage corresponding to the abnormal information, the specific value that needs to be adjusted in the processing frequency of the graphics processor to process the processing requests can be determined.

[0077] In some possible implementations, priority levels can be set to divide processing requests into a preset number of levels, with higher priority levels indicating lower or higher importance of the processing requests. Optionally, the graphics processor can classify the priority level of a processing request upon receiving it. Alternatively, all possible processing requests can be pre-classified in terms of priority level, so that the graphics processor can simultaneously determine the priority level of a processing request upon receiving it.

[0078] In some possible implementations, the processing requests can be prioritized using a priority sorting method, with each processing request corresponding to a specific priority level. Optionally, the graphics processor can prioritize received processing requests upon receipt. Alternatively, all possible processing requests can be prioritized in advance, so that the graphics processor can simultaneously determine the priority of each processing request upon receiving it.

[0079] Step S2032: The processing frequency of processing requests with a priority lower than the first preset priority is determined as the state parameter to be adjusted.

[0080] In this embodiment of the invention, priorities are arranged in ascending order, with higher priorities indicating more important processing requests. Processing requests with priorities lower than a first preset priority are identified as unimportant and whose processing frequency can be reduced. Accordingly, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0081] In some possible implementations, priorities can be arranged in descending order, with lower priorities indicating more important processing requests. In this case, processing requests with a priority higher than the third preset priority are selected and considered unimportant, thus reducing the number of processing attempts. Consequently, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0082] In some possible implementations, a priority hierarchy can also be used, with a certain number of processing requests under each priority level. The higher the priority level, the more important the corresponding processing request. Processing requests with a priority level lower than the first preset priority level are selected and identified as unimportant, and their processing frequency can be reduced. Accordingly, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0083] In some possible implementations, a priority hierarchy can also be used, with a certain number of processing requests under each priority level. The lower the priority level, the more important the corresponding processing request. Processing requests with a priority level lower than a first preset priority level are selected and identified as unimportant, allowing for a reduction in the number of processing requests. Accordingly, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0084] Step S2033: Based on the abnormal information and the current processing frequency, determine the first processing frequency, and set the first processing frequency as the adjustment range of the state parameter to be adjusted.

[0085] In this embodiment of the invention, the current required voltage for the graphics processor to process processing requests can be obtained based on the current processing frequency, without adjusting the processing frequency. Since the voltage corresponding to the anomaly information is lower than the current required voltage, it cannot meet the graphics processor's processing needs. Therefore, based on the difference between the voltage corresponding to the anomaly information and the current required voltage, it is determined how many fewer processing cycles the graphics processor needs to perform in one processing cycle when the current required voltage is reduced to the voltage corresponding to the anomaly information. This determines the first processing frequency for the graphics processor to process processing requests. Simultaneously, the first processing frequency is used as the adjustment range for the state parameters to be adjusted. This reduces the processing frequency of requests requiring reduced processing frequency to the first processing frequency, ensuring the normal operation of the graphics processor while timely adjusting its power consumption to avoid performance degradation due to increased power consumption.

[0086] In some possible implementations, a processing frequency list can be set up, in which multiple processing frequencies are sequentially set. These multiple processing frequencies can be pre-determined by calculation and used to adjust for voltage anomaly information in different sections, or they can be a series of processing frequencies set according to empirical values.

[0087] In some possible implementations, the first processing frequency can be set in the order of the processing frequency list. When the currently set first processing frequency cannot meet the requirement of adjusting the current required voltage to below the voltage corresponding to the abnormal information, the next processing frequency in the processing frequency list is sequentially used as the new first processing frequency.

[0088] In some possible implementations, for a list of processing frequencies determined by calculation, the processing frequency corresponding to the segment where the abnormal information is located can be directly selected as the first processing frequency.

[0089] In some possible implementations, the processing frequency in the processing frequency list can be selected based on the difference between the current demand voltage and the abnormal information, and the difference between the current demand voltage and the abnormal information can be set into segments, with each segment corresponding to a different processing frequency in the processing frequency list.

[0090] In some possible implementations, when the current state parameters to be adjusted are lowered to the minimum processing frequency required for the graphics processor to operate normally, but the current required voltage still cannot be lower than the voltage corresponding to the anomaly information, the processing frequencies of higher-priority processing requests are further adjusted to reduce their processing frequencies until the current required voltage is lower than the voltage corresponding to the anomaly information, thereby completing the power consumption adjustment of the graphics processor. Accordingly, a preset number of priority segments can be set, each corresponding to a priority level; alternatively, priority segments can be obtained by sorting by priority and dividing a preset number of priority intervals according to actual needs. The processing frequencies of requests corresponding to lower-priority segments are adjusted first, and the processing frequencies of requests corresponding to higher-priority segments are adjusted later.

[0091] In some possible implementations, the processing requests corresponding to the highest priority segment can be set as non-adjustable. When the processing frequency of the processing requests corresponding to this priority segment is adjusted, it will cause the graphics processor to malfunction. If all the processing requests corresponding to the priority segments before this point have been adjusted but the current required voltage still cannot be adjusted below the voltage corresponding to the error message, a voltage adjustment failure message is sent to inform the user to adjust the supply voltage of the graphics processor in a timely manner to avoid the graphics processor malfunctioning.

[0092] Step S204: Adjust the state parameter to be adjusted to the adjustment range. For details, please refer to [link to relevant documentation]. Figure 1 Step S104 of the illustrated embodiment will not be described again here.

[0093] The power consumption adjustment method for a graphics processor provided in this embodiment adjusts the power consumption of the graphics processor in a timely manner without affecting its normal operation by setting the priority of processing requests and prioritizing the reduction of the processing frequency of lower priority processing requests.

[0094] This embodiment provides a method for adjusting the power consumption of a graphics processor, which can be used in the aforementioned mobile terminals, such as mobile phones, tablets, and computers. Figure 3 This is a flowchart of another power consumption adjustment method for a graphics processor according to an embodiment of the present invention, such as... Figure 3 As shown, the process includes the following steps:

[0095] Step S301: Obtain the status information of the graphics processor. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.

[0096] Step S302: When the value of the status information is not within the preset range, the status information is determined to be abnormal. For details, please refer to [link to relevant documentation]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.

[0097] Step S303: Based on the type of abnormal information, determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted corresponding to the abnormal information.

[0098] In this embodiment of the invention, the type of abnormal information includes data processing abnormalities. These abnormalities cannot be eliminated by external means; therefore, they can be eliminated internally by adjusting the processing frequency of the graphics processor (GPU) in processing requests. In other words, when the type of abnormal information is a data processing abnormality, the processing frequency of the GPU in processing requests is determined as the state parameter to be adjusted, and the adjustment range of the state parameter to be adjusted is determined based on the abnormal information.

[0099] Specifically, data processing anomalies can include load anomalies. Accordingly, step S303 above includes:

[0100] Step S3031: When the type of the exception information is load exception, obtain the priority of the graphics processor to process the request.

[0101] In this embodiment of the invention, when the exception information is a load exception, i.e., the type of exception information is a load exception, it usually indicates that the graphics processor (GPU) has received processing requests exceeding its processing capacity, or the processing frequency of the processing requests exceeds its processing capacity, resulting in increased GPU power consumption. In this case, power consumption can be adjusted by changing the processing frequency of the GPU's processing requests. Considering that the processing frequency of some important processing requests cannot be reduced, otherwise it would lead to a decrease in GPU processing efficiency or even affect the normal operation of the GPU, a priority system is introduced to rank the processing priorities and importance of the processing requests.

[0102] In some possible implementations, priority levels can be set to divide processing requests into a preset number of levels, with higher priority levels indicating lower or higher importance of the processing requests. Optionally, the graphics processor can classify the priority level of a processing request upon receiving it. Alternatively, all possible processing requests can be pre-classified in terms of priority level, so that the graphics processor can simultaneously determine the priority level of a processing request upon receiving it.

[0103] In some possible implementations, the processing requests can be prioritized using a priority sorting method, with each processing request corresponding to a specific priority level. Optionally, the graphics processor can prioritize received processing requests upon receipt. Alternatively, all possible processing requests can be prioritized in advance, so that the graphics processor can simultaneously determine the priority of each processing request upon receiving it.

[0104] Step S3032: The processing frequency of processing requests with a priority lower than the second preset priority is determined as the state parameter to be adjusted.

[0105] In this embodiment of the invention, priorities are arranged in ascending order, with higher priorities indicating more important processing requests. Processing requests with priorities lower than a second preset priority are selected and deemed unimportant, thus reducing the number of processing iterations. Consequently, their processing frequency is determined as an adjustable state parameter, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0106] In some possible implementations, priorities can be arranged in descending order, with lower priorities indicating more important processing requests. In this case, processing requests with a priority higher than the fourth preset priority are selected and considered unimportant, thus reducing the number of processing attempts. Consequently, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0107] In some possible implementations, a priority hierarchy can also be used, with a certain number of processing requests under each priority level. The higher the priority level, the more important the corresponding processing request. Processing requests with a priority level lower than the first preset priority level are selected and identified as unimportant, and their processing frequency can be reduced. Accordingly, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0108] In some possible implementations, a priority hierarchy can also be used, with a certain number of processing requests under each priority level. The lower the priority level, the more important the corresponding processing request. Processing requests with a priority level lower than a first preset priority level are selected and identified as unimportant, allowing for a reduction in the number of processing requests. Accordingly, their processing frequency is determined as a state parameter to be adjusted, thereby reducing their processing frequency and adjusting the power consumption of the graphics processor.

[0109] It should be noted that the priority and priority level division in this embodiment may be different from the priority and priority level division in the previous embodiment. The second preset priority may also be different from the first preset priority and the fourth preset priority may also be different from the third preset priority. It can be divided and set according to the actual situation, such as the load provided by the reference processing request in this embodiment and the voltage consumed by the reference processing request in the previous embodiment.

[0110] Step S3033: Based on the abnormal information and the preset load, determine the second processing frequency, and set the second processing frequency as the adjustment range of the state parameter to be adjusted.

[0111] In this embodiment of the invention, the preset load is a preset load value that allows the graphics processor (GPU) to operate normally and with normal power consumption. The preset load should be less than or equal to the GPU's maximum load capacity or rated load. Since the load corresponding to the abnormal information is greater than the preset load, the GPU is overloaded, resulting in increased power consumption. Based on the difference between the load corresponding to the abnormal information and the preset load, the number of processing requests the GPU needs to reduce within one processing cycle when the load corresponding to the abnormal information is reduced to the preset load is determined. This determines the second processing frequency for the GPU to process processing requests. Simultaneously, the second processing frequency is used as the adjustment range for the state parameters to be adjusted. This reduces the processing frequency of requests requiring reduced processing frequency to the second processing frequency, ensuring the normal operation of the GPU while timely adjusting its power consumption to avoid performance degradation due to increased GPU power consumption.

[0112] In some possible implementations, a processing frequency list can be set up, in which multiple processing frequencies are sequentially set. These multiple processing frequencies can be pre-determined by calculation and used to adjust for load anomaly information in different segments, or they can be a series of processing frequencies set according to empirical values.

[0113] In some possible implementations, the second processing frequency can be set in the order of the processing frequency list. When the currently set second processing frequency cannot meet the requirement of adjusting the load corresponding to the abnormal information to below the preset load, the next processing frequency in the processing frequency list is sequentially used as the new second processing frequency.

[0114] In some possible implementations, for a list of processing frequencies determined by calculation, the processing frequency corresponding to the segment where the abnormal information is located can be directly selected as the second processing frequency.

[0115] In some possible implementations, the processing frequency in the processing frequency list can be selected based on the difference between the load corresponding to the abnormal information and the preset load. Segments are set for the difference between the load corresponding to the abnormal information and the preset load, and each segment corresponds to a different processing frequency in the processing frequency list.

[0116] In some possible implementations, when the current state parameters to be adjusted are adjusted to the minimum processing frequency that ensures the normal operation of the graphics processor, but the load on the graphics processor still cannot be lowered below the preset load (i.e., load anomaly information still exists), the processing frequency of higher-priority processing requests is further adjusted to reduce the processing frequency of these requests until the load on the graphics processor is lower than the preset load, i.e., the load anomaly information no longer exists, thus completing the power consumption adjustment of the graphics processor. Correspondingly, a preset number of priority segments can be set, each priority segment corresponding to a priority level; alternatively, priority segments can be obtained by sorting according to priority and dividing a preset number of priority intervals according to actual needs. The processing frequency of processing requests corresponding to lower priority segments is adjusted first, and the processing frequency of processing requests corresponding to higher priority segments is adjusted later.

[0117] In some possible implementations, the processing requests corresponding to the highest priority segment can be set as non-adjustable. When the processing frequency of the processing requests corresponding to this priority segment is adjusted, it will cause the graphics processor to malfunction. If all the processing requests corresponding to the previous priority segments have been adjusted but the load on the graphics processor still cannot be reduced below a preset load, a load adjustment failure message is sent to inform the user to adjust the supply load of the graphics processor in a timely manner, reduce the processing requests sent to the graphics processor, and avoid the graphics processor malfunctioning.

[0118] Step S304: Adjust the state parameter to be adjusted to the adjustment range. For details, please refer to [link to relevant documentation]. Figure 1 Step S104 of the illustrated embodiment will not be described again here.

[0119] The power consumption adjustment method for a graphics processor provided in this embodiment adjusts the power consumption of the graphics processor in a timely manner without affecting its normal operation when the graphics processor is overloaded or when the graphics processor is abnormally overloaded. By setting the priority of processing requests, the processing frequency of lower priority processing requests is reduced first.

[0120] This embodiment provides a method for adjusting the power consumption of a graphics processor, which can be used in the aforementioned mobile terminals, such as mobile phones, tablets, and computers. Figure 4 This is a flowchart of another power consumption adjustment method for a graphics processor according to an embodiment of the present invention, such as... Figure 4 As shown, the process includes the following steps:

[0121] Step S401: Obtain the status information of the graphics processor. For details, please refer to [link to relevant documentation]. Figure 1 Step S101 of the illustrated embodiment will not be described again here.

[0122] Step S402: When the value of the status information is not within the preset range, the status information is determined to be abnormal. For details, please refer to [link to relevant documentation]. Figure 1 Step S102 of the illustrated embodiment will not be described again here.

[0123] Step S403: Based on the type of abnormal information, determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted corresponding to the abnormal information.

[0124] Specifically, step S403 includes:

[0125] Step S4031: When the type of abnormal information is temperature abnormality, the fan speed is determined as the state parameter to be adjusted.

[0126] In this embodiment of the invention, when the abnormal information is temperature abnormality information, that is, when the type of abnormal information is temperature abnormality, it usually means that the temperature exceeds a preset temperature range, resulting in increased power consumption of the graphics processor due to overheating. In this case, power consumption can be adjusted by changing the speed of the fan used to cool the graphics processor.

[0127] Step S4032: Based on the abnormal information and the preset temperature, determine the target fan speed and set the target fan speed as the adjustment range of the state parameter to be adjusted.

[0128] In this embodiment of the invention, the preset temperature is a predetermined temperature value that allows the graphics processor (GPU) to operate normally and consume power at normal levels. The preset temperature should be less than or equal to the GPU's rated temperature. Since the temperature corresponding to the abnormal information is higher than the preset temperature, the GPU is overheating, and power consumption is increasing. Based on the difference between the temperature corresponding to the abnormal information and the preset temperature, the fan speed required to reduce the temperature corresponding to the abnormal information to a preset load is determined, thus determining the target fan speed. The target fan speed is used as the adjustment range for the state parameter to be adjusted, thereby accelerating the heat dissipation of the GPU, reducing the GPU's temperature, and thus adjusting the GPU's power consumption in a timely manner, avoiding performance degradation due to increased GPU power consumption.

[0129] In some possible implementations, a fan speed list can be set up, in which multiple fan speeds are sequentially set. These multiple fan speeds can be pre-determined by calculation and used to adjust for temperature anomalies in different sections, or they can be a series of fan speeds set based on empirical values.

[0130] In some possible implementations, the target fan speed can be set in the order of the fan speed list. When the currently set target fan speed cannot meet the requirement of adjusting the temperature corresponding to the abnormal information to below the preset temperature, the next fan speed in the fan speed list that is currently set as the new target fan speed is selected.

[0131] In some possible implementations, for a list of fan speeds determined by calculation, the fan speed of the segment corresponding to the abnormal information can be directly selected as the target fan speed.

[0132] In some possible implementations, the fan speed in the fan speed list can be selected based on the difference between the temperature corresponding to the abnormal information and the preset temperature. A range can be set for the difference between the temperature corresponding to the abnormal information and the preset temperature, and each range corresponds to a different fan speed in the fan speed list.

[0133] In some possible implementations, to prevent the fan from overloading, a preset fan speed is set to limit the target fan speed. When the target fan speed exceeds the preset fan speed, the preset fan speed is used as the target fan speed. In other words, the preset fan speed is determined as the adjustment range of the state parameter to be adjusted, thereby limiting the target fan speed below the preset fan speed. The preset fan speed is a speed less than or equal to the fan's maximum speed or rated speed.

[0134] In some possible implementations, to ensure that the GPU temperature is reduced to a preset range even when the fan cannot further lower the GPU temperature (i.e., when the target fan speed is greater than the preset fan speed and the fan is already operating at the preset fan speed), the GPU power consumption is adjusted. In this case, the GPU voltage and / or processing frequency are determined as the state parameters to be adjusted. Based on the anomaly information and the preset temperature, a target voltage and / or a third processing frequency are determined, and the target voltage and / or the third processing frequency is defined as the adjustment range for the state parameters to be adjusted. Specifically, when adjusting the GPU voltage, the target voltage is calculated based on the difference between the temperature corresponding to the anomaly information and the preset temperature; alternatively, a target voltage list can be set, and target voltages can be selected sequentially from the list until the GPU temperature is reduced below the preset temperature. When adjusting the GPU's processing frequency for processing requests, the method described in the previous embodiments for adjusting the GPU's processing frequency for processing requests can be used to determine the third processing frequency, which will not be elaborated further here.

[0135] In some possible implementations, when the voltage of the graphics processor is adjusted, the processing frequency of the graphics processor in processing requests can also be adjusted based on the selected target voltage to prevent the target voltage from being insufficient to support the graphics processor in processing requests at the current processing frequency, which would lead to increased power consumption of the graphics processor.

[0136] In some possible implementations, when the graphics processor voltage is adjusted, only the graphics processor voltage can be adjusted. When the target voltage is adjusted to the minimum value of a preset voltage range, the voltage adjustment is stopped. At this time, the processing frequency of the graphics processor in processing requests is adjusted to ensure that the graphics processor can always operate within the normal voltage range.

[0137] The above method allows for the adjustment of the graphics processor's power consumption by adjusting the voltage or the frequency of processing requests when the power consumption cannot be adjusted by relying solely on the fan.

[0138] Step S404: Adjust the state parameter to be adjusted to the adjustment range. For details, please refer to [link to relevant documentation]. Figure 1 Step S104 of the illustrated embodiment will not be described again here.

[0139] The power consumption adjustment method for a graphics processor (GPU) provided in this embodiment adjusts the fan speed. When the fan speed reaches a preset speed, the GPU voltage or the processing frequency of processing requests is adjusted. This allows for timely adjustment of the GPU's power consumption without affecting its normal operation, especially when the GPU temperature becomes abnormal or overheats. Furthermore, when the GPU temperature exceeds the fan's cooling capacity, the GPU voltage or processing frequency is adjusted to cool it down. Therefore, the GPU temperature can be kept within a preset temperature range under any circumstances, enabling timely adjustment of the GPU's power consumption.

[0140] This embodiment also provides a power consumption adjustment device for a graphics processor, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the terms "module" and "unit" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0141] This embodiment provides a power consumption adjustment device for a graphics processor, such as... Figure 5 As shown, it includes:

[0142] The status information acquisition module 501 is used to acquire the status information of the graphics processor.

[0143] The abnormal information determination module 502 is used to determine the status information as abnormal information when the value of the status information is not within the preset range.

[0144] The adjustment range determination module 503 is used to determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted based on the type of the abnormal information.

[0145] The status parameter adjustment module 504 is used to adjust the status parameter to be adjusted to the adjustment range.

[0146] In some possible implementations, the adjustment range determination module 503 is used to determine the processing frequency of the graphics processor processing the processing request as the state parameter to be adjusted when the type of the abnormal information is a data processing abnormality, and to determine the adjustment range of the state parameter to be adjusted based on the abnormal information.

[0147] In some possible implementations, the adjustment range determination module 503 includes:

[0148] The priority acquisition unit is used to acquire the priority and current processing frequency of the graphics processor when the type of abnormal information is voltage abnormality.

[0149] The parameter to be adjusted determination unit is used to determine the processing frequency of processing requests with a priority lower than the first preset priority as the state parameter to be adjusted.

[0150] The adjustment range determination unit is used to determine a first processing frequency based on the abnormal information and the current processing frequency, and to determine the first processing frequency as the adjustment range of the state parameter to be adjusted; the current required voltage is the voltage required by the graphics processor to process the request at the current processing frequency.

[0151] In some possible implementations, the adjustment range determination module 503 includes:

[0152] The priority acquisition unit is also used to acquire the priority of the graphics processor in processing the request when the type of the exception information is load exception.

[0153] The parameter determination unit is also used to determine the processing frequency of processing requests with a priority lower than the second preset priority as the state parameter to be adjusted.

[0154] The adjustment range determination unit is also used to determine a second processing frequency based on abnormal information and a preset load, and to determine the second processing frequency as the adjustment range of the state parameter to be adjusted.

[0155] In some possible implementations, the adjustment range determination module 503 includes:

[0156] The parameter determination unit is also used to determine the fan speed as the state parameter to be adjusted when the type of abnormal information is temperature abnormality.

[0157] The adjustment range determination unit is also used to determine the target fan speed based on abnormal information and preset temperature, and to determine the target fan speed as the adjustment range of the state parameter to be adjusted.

[0158] In some possible implementations, the parameter determination unit is further configured to determine the preset fan speed as the adjustment range of the state parameter to be adjusted when the target fan speed is greater than the preset fan speed.

[0159] In some possible implementations, the parameter determination unit is further configured to determine the voltage and / or processing frequency of the graphics processor as the state parameters to be adjusted when the target fan speed is greater than the preset fan speed.

[0160] The adjustment range determination unit is also used to determine the target voltage and / or the third processing frequency based on the abnormal information and the preset temperature, and to determine the target voltage and / or the third processing frequency as the adjustment range of the state parameter to be adjusted.

[0161] In this embodiment, the power consumption adjustment device of the graphics processor is presented in the form of a functional unit. Here, a unit refers to an ASIC circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above-mentioned functions.

[0162] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0163] This invention also provides a computer device having the above-described features. Figure 5 The power consumption adjustment device for the graphics processor shown is shown.

[0164] Please see Figure 6 , Figure 6 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 6As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 6 Take a processor 10 as an example.

[0165] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0166] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0167] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device as shown by a landing page for an app. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, which can be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0168] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0169] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.

[0170] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0171] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.

Claims

1. A method for adjusting the power consumption of a graphics processor, characterized in that, The graphics processing unit (GPU) circuitry includes a power consumption adjustment module and an exception information processing module. The power consumption adjustment module contains a power consumption adjustment algorithm, and the exception information processing module contains an exception information processing algorithm. When the GPU starts up, the power consumption adjustment module, the exception information processing module, the power consumption adjustment algorithm, and the exception information processing algorithm all start simultaneously. An information exchange channel is established between the power consumption adjustment module and the exception information processing module to respond to exception information from the GPU and adjust the GPU's power consumption. The method includes: Obtain the status information of the graphics processor; When the value of the status information is not within the preset range, the status information is determined to be abnormal information; Based on the type of the abnormal information, determine the state parameter to be adjusted corresponding to the abnormal information and the adjustment range of the state parameter to be adjusted; Adjust the state parameter to be adjusted to the adjustment range; The step of determining the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted based on the type of the abnormal information includes: when the type of the abnormal information is a data processing abnormality, determining the processing frequency of the graphics processor processing the processing request as the state parameter to be adjusted, and determining the adjustment range of the state parameter to be adjusted based on the abnormal information. The data processing anomaly includes a voltage anomaly; determining the processing frequency of the graphics processor processing the processing request as the state parameter to be adjusted, and determining the adjustment range of the state parameter to be adjusted based on the anomaly information, includes: when the type of the anomaly information is a voltage anomaly, obtaining the priority and current processing frequency of the graphics processor processing the processing request; the current processing frequency is the frequency at which the graphics processor processes the processing request when it is working normally or when the anomaly information is obtained; determining the processing frequency of the processing request with a priority lower than a first preset priority as the state parameter to be adjusted; determining a first processing frequency based on the anomaly information and the current processing frequency, and determining the first processing frequency as the adjustment range of the state parameter to be adjusted.

2. The method according to claim 1, characterized in that, The data processing anomaly includes a load anomaly; determining the processing frequency of the graphics processor in processing the request as the state parameter to be adjusted, and determining the adjustment range of the state parameter to be adjusted based on the anomaly information, includes: When the type of the abnormal information is the load abnormality, the priority of the graphics processor processing the processing request is obtained; The processing frequency of processing requests with a priority lower than the second preset priority is determined as the state parameter to be adjusted; Based on the abnormal information and the preset load, a second processing frequency is determined, and the second processing frequency is set as the adjustment range of the state parameter to be adjusted.

3. The method according to claim 1, characterized in that, The step of determining the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted based on the type of the abnormal information includes: When the type of the abnormal information is temperature abnormality, the fan speed is determined as the state parameter to be adjusted; Based on the abnormal information and the preset temperature, the target fan speed is determined, and the target fan speed is set as the adjustment range of the state parameter to be adjusted.

4. The method according to claim 3, characterized in that, The method further includes: When the target fan speed is greater than the preset fan speed, the preset fan speed is determined as the adjustment range of the state parameter to be adjusted.

5. The method according to claim 3, characterized in that, The method further includes: When the target fan speed is greater than the preset fan speed, the voltage and / or processing frequency of the graphics processor are determined as the state parameters to be adjusted. Based on the abnormal information and the preset temperature, a target voltage and / or a third processing frequency are determined, and the target voltage and / or the third processing frequency are determined as the adjustment range of the state parameter to be adjusted.

6. A power consumption adjustment device for a graphics processor, characterized in that, The graphics processing unit (GPU) circuitry includes a power consumption adjustment module and an exception information processing module. The power consumption adjustment module contains a power consumption adjustment algorithm, and the exception information processing module contains an exception information processing algorithm. When the GPU starts up, the power consumption adjustment module, the exception information processing module, the power consumption adjustment algorithm, and the exception information processing algorithm all start simultaneously. An information exchange channel is established between the power consumption adjustment module and the exception information processing module to respond to exception information from the GPU and adjust the GPU's power consumption. The device includes: The status information acquisition module is used to acquire the status information of the graphics processor; An abnormal information determination module is used to determine the status information as abnormal information when the value of the status information is not within a preset range; The adjustment range determination module is used to determine the state parameter to be adjusted and the adjustment range of the state parameter to be adjusted based on the type of the abnormal information. A status parameter adjustment module is used to adjust the status parameter to be adjusted to the adjustment range; The adjustment range determination module is used to determine the processing frequency of the graphics processor processing the processing request as the state parameter to be adjusted when the type of the abnormal information is a data processing abnormality, and to determine the adjustment range of the state parameter to be adjusted based on the abnormal information. The adjustment range determination module includes: a priority acquisition unit, used to acquire the priority and current processing frequency of the graphics processor processing the processing request when the type of the abnormal information is voltage abnormality; the current processing frequency is the frequency at which the graphics processor processes the processing request when it is working normally or when the abnormal information is acquired; a parameter to be adjusted determination unit, used to determine the processing frequency of the processing request with a priority lower than a first preset priority as the state parameter to be adjusted; and an adjustment range determination unit, used to determine a first processing frequency based on the abnormal information and the current processing frequency, and to determine the first processing frequency as the adjustment range of the state parameter to be adjusted.

7. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the computer instructions to perform the power consumption adjustment method of the graphics processor according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the power consumption adjustment method of the graphics processor according to any one of claims 1 to 5.