A control method, system, device and storage medium for a computer graphics card

By analyzing the temperature trend and workload data of the graphics card and adjusting the fan speed, the problem of low heat dissipation efficiency of the graphics card is solved, precise control of the graphics card temperature is achieved, and the stability and hardware life of the system are improved.

CN118885063BActive Publication Date: 2025-02-07PILOT ELECTRONIC TECH SHENZHEN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411383271.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-02-07
Estimated Expiration
2044-09-30

AI Technical Summary

Technical Problem

In the prior art, the heat dissipation efficiency of the graphics card is low, resulting in excessive temperature of the graphics card, affecting its stability and life, and thus reducing the overall image processing quality.

Method used

By obtaining the working data, temperature data and load data of the graphics card, temperature trend analysis and energy coefficient calculations are carried out, and the regulation mode is matched to adjust the fan speed to achieve accurate control of the graphics card temperature.

Benefits of technology

It improves the heat dissipation efficiency of the graphics card, ensures that the graphics card is maintained within a safe temperature range under various working conditions, extends the service life of the hardware and improves the stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118885063B_ABST
    Figure CN118885063B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of computer graphics cards, and discloses a control method, system, device and storage medium for a computer graphics card, wherein the method comprises obtaining the working data, temperature data and graphics card load data of the computer graphics card; performing temperature trend analysis according to the temperature data to obtain temperature analysis data; performing analysis and comparison with a preset temperature trend threshold according to the temperature analysis data to obtain a trend coefficient; performing data processing based on the working data to obtain an energy coefficient; matching the trend coefficient and the energy coefficient to obtain a corresponding control mode, so as to adjust the fan speed according to the control mode, and realize temperature control of the computer graphics card. The present invention provides an efficient and reliable computer graphics card management method for users by providing an intelligent and automated temperature control strategy, which significantly improves the stability of the system and the user's operating experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer graphics cards, and in particular to a control method, system, device and storage medium for a computer graphics card. Background Art

[0002] At present, as an important part of the computer hardware system, the main function of the graphics card is to convert the processed data generated by the computer processor into image signals for output, convert and display graphics, images and video information, and cooperate with the screen to output the corresponding display images, so that the terminal equipment (such as personal computers) has image processing and display capabilities. At the same time, since most of the output tasks of images, graphics, videos, etc. are undertaken by the graphics card, a large amount of heat energy may be generated, causing the graphics card components to heat up, affecting the operation effect. Especially when performing high-intensity graphics processing, 3D rendering, video editing and large-scale games, the role of the graphics card is crucial. In order to solve this problem, a radiator is usually installed on the graphics card to dissipate the heat of the graphics card, or the fan speed is adjusted to improve the heat dissipation efficiency.

[0003] However, with the continuous advancement of computer graphics processing technology, the tasks undertaken by graphics cards are becoming more and more complex. For example, when processing output tasks such as images, graphics, and videos, a large amount of heat energy will be generated, causing the graphics card components to heat up and affecting their operating performance. In order to solve the heat dissipation problem, a radiator is usually installed on the graphics card to improve the heat dissipation efficiency by adjusting the fan speed. In existing technologies, such as Chinese Patent Publication No.: CN103944382B, a graphics card heat dissipation control method and system with dynamic voltage frequency adjustment is proposed. This technology dynamically adjusts the clock frequency and voltage frequency in the graphics card circuit by identifying the application program to achieve the technical effect of saving electricity. However, only adjusting according to the clock frequency and voltage frequency cannot ensure stable and efficient performance of the graphics card. When the graphics card temperature is too high and the heat dissipation efficiency is insufficient, it may affect the stability and life of the graphics card, resulting in a decrease in the overall image processing quality.

[0004] The existing technology adopts a single frequency adjustment method, which cannot achieve the purpose of adjusting the fan speed according to the actual operating conditions, resulting in low heat dissipation efficiency of the computer graphics card. Summary of the invention

[0005] The present invention provides a control method, system, device and storage medium for a computer graphics card, so as to solve the problem of low heat dissipation efficiency of a computer graphics card caused by delayed adjustment of fan speed, thereby improving the overall performance of the graphics card.

[0006] In a first aspect, in order to solve the above technical problem, the present invention provides a method for controlling a computer graphics card, comprising:

[0007] Obtain the working data, temperature data and graphics card load data of the computer graphics card;

[0008] Performing temperature trend analysis according to the temperature data to obtain temperature analysis data;

[0009] Analyze and compare the temperature analysis data with a preset temperature trend threshold to obtain a trend coefficient;

[0010] Based on the working data, data processing is performed to obtain an energy coefficient;

[0011] According to the trend coefficient and the energy coefficient, a corresponding control mode is matched to adjust the fan speed according to the control mode to achieve temperature control of the computer graphics card.

[0012] In an optional implementation, performing temperature trend analysis according to the temperature data to obtain temperature analysis data includes:

[0013] Based on the set sliding time window and sliding step size, sliding on the temperature data to obtain multiple temperature data segments;

[0014] Performing slope calculation on the temperature data segment to obtain a first temperature slope sequence, wherein the first temperature slope sequence is the temperature slope of each temperature data segment;

[0015] Based on a preset temperature slope threshold, determining temperature anomaly data from the first temperature slope sequence,

[0016] Excluding the temperature anomaly data from the first temperature slope sequence to obtain a second temperature slope sequence;

[0017] Based on the second temperature slope sequence, mean calculation is performed to obtain temperature analysis data.

[0018] In an optional implementation, analyzing and comparing the temperature analysis data with a preset temperature threshold to obtain a trend coefficient includes:

[0019] When the temperature analysis data is equal to the preset temperature trend threshold, a first trend coefficient is obtained, and the first trend coefficient indicates that the operation state of the graphics card is a stable state;

[0020] When the temperature analysis data is greater than the preset temperature trend threshold, a second trend coefficient is obtained, and the second trend coefficient indicates that the operation state of the graphics card is a temperature rising state;

[0021] When the temperature analysis data is less than the preset temperature trend threshold, a third trend coefficient is obtained, and the third trend coefficient indicates that the graphics card is running in a cooling state.

[0022] In an optional implementation, the performing of data processing based on the working data to obtain the energy coefficient includes:

[0023] Based on the working data, a normalization operation is performed to obtain standardized data;

[0024] The working data includes graphics card processing data and fan speed data. The graphics card processing data includes the number of graphics card GPU cores, graphics card memory frequency, CPU accelerated graphics performance total score, GPU accelerated video performance total score, video memory type, video memory size, and video memory rate.

[0025] Based on the standardized data, calculating the comprehensive performance score of the graphics card;

[0026] Based on the comprehensive performance score and a preset comprehensive performance threshold, a comprehensive analysis is performed to obtain an energy coefficient.

[0027] In an optional implementation, the comprehensive analysis based on the comprehensive performance score and the preset comprehensive performance threshold is performed to obtain the energy coefficient, including:

[0028] When the comprehensive performance score is greater than the preset comprehensive performance threshold, and the graphics card load data does not exceed the first preset load threshold, a first energy coefficient is obtained, and the first energy coefficient indicates that the heat consumption of the graphics card is normal;

[0029] When the comprehensive performance score is greater than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold but is lower than the second preset load threshold, a second energy coefficient is obtained, wherein the second energy coefficient indicates that the heat consumption of the graphics card is high;

[0030] When the comprehensive performance score is less than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold, a third energy coefficient is obtained, and the third energy coefficient indicates that the heat consumption of the graphics card is too high;

[0031] The energy coefficient includes a first energy coefficient, a second energy coefficient or a third energy coefficient.

[0032] In an optional implementation, the calculating the comprehensive performance score of the graphics card based on the standardized data includes:

[0033] A weight is assigned to each performance indicator in the standardized data, and the comprehensive performance score of the graphics card is calculated by the following formula:

[0034] ;

[0035] Where n is the number of indicators, is the weight of the ith indicator, is the standardized value of the ith indicator.

[0036] In an optional implementation, the matching of the trend coefficient and the energy coefficient to obtain a corresponding control mode to adjust the fan speed according to the control mode includes:

[0037] Based on the set standard fan speed, the fan speed mode is divided into large control mode, micro control mode and small control mode;

[0038] When the trend coefficient is the second trend coefficient and the energy coefficient is the second energy coefficient, a first target fan speed is obtained according to the first control progress, and the fan speed is adjusted to the first target fan speed through the large control mode;

[0039] When the trend coefficient is the first trend coefficient and the energy coefficient is the first energy coefficient or the second energy coefficient, a second target fan speed is obtained according to a second control progress, and the fan speed is adjusted to the second target fan speed through the small control mode;

[0040] When the trend coefficient is the third trend coefficient and the energy coefficient is the third energy coefficient, a third target fan speed is obtained according to a third control schedule, and the fan speed is adjusted to the third target fan speed through the fine-control mode.

[0041] In a second aspect, the present invention provides a control system for a computer graphics card, comprising:

[0042] A data acquisition module is used to acquire the working data, temperature data and graphics card load data of the computer graphics card;

[0043] A temperature trend analysis module, used to perform temperature trend analysis based on the temperature data to obtain temperature analysis data;

[0044] A trend coefficient acquisition module is used to analyze and compare the temperature analysis data with a preset temperature trend threshold value to obtain a trend coefficient;

[0045] An energy coefficient acquisition module, used for performing data processing based on the working data to obtain an energy coefficient;

[0046] The fan control module is used to select different control modes to adjust the fan speed according to the trend coefficient and the energy coefficient, so as to control the computer graphics card.

[0047] In a third aspect, the present invention further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements any one of the above-mentioned methods for controlling a computer graphics card when executing the computer program.

[0048] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned computer graphics card control methods.

[0049] Compared with the prior art, the present invention has the following beneficial effects:

[0050] The present invention provides a control method for a computer graphics card, comprising acquiring working data, temperature data and graphics card load data of the computer graphics card; performing temperature trend analysis according to the temperature data to obtain temperature analysis data; performing analysis and comparison with a preset temperature trend threshold according to the temperature analysis data to obtain a trend coefficient; performing data processing based on the working data to obtain an energy coefficient; and matching the trend coefficient and the energy coefficient to obtain a corresponding control mode, so as to adjust the fan speed according to the control mode to achieve temperature control of the computer graphics card.

[0051] In the present invention, firstly, the key data of the graphics card, including working data, temperature data and graphics card load data, are collected in real time through the data acquisition module. These data provide a comprehensive view of the current operating status of the graphics card. Then, based on the set sliding time window and sliding step size, the temperature data is divided into multiple temperature data segments. This segmentation method allows the temperature change of the graphics card in different time periods to be captured. For each temperature data segment, the slope of its temperature change, that is, the rate at which the temperature changes over time, is calculated. This step generates a sequence containing the slopes of each temperature data segment, which becomes the first temperature slope sequence. Subsequently, based on the preset temperature slope threshold, abnormal slope values ​​that may be caused by sensor errors or other abnormal factors are identified and excluded. After excluding the abnormal data, the remaining slope sequence is averaged to obtain a single value representing the overall temperature change trend of the graphics card, that is, the temperature analysis data. The temperature analysis data is compared with the preset temperature trend threshold to determine the temperature change trend of the graphics card. If the temperature analysis data is greater than the threshold, it indicates that the graphics card is in a heating state; if it is less than the threshold, it indicates that the graphics card is in a cooling state; if it is equal to the threshold, the graphics card temperature is stable. At the same time, the graphics card's working data is normalized and a comprehensive performance score is calculated. Combined with the graphics card load data, an energy coefficient is obtained, which reflects the heat consumption status of the graphics card. According to the trend coefficient and energy coefficient, the corresponding control mode is matched. These modes determine the adjustment strategy of the fan speed to achieve precise control of the graphics card temperature. Finally, the fan speed is adjusted according to the selected control mode to ensure that the graphics card can maintain a safe temperature range under various working conditions.

[0052] The present invention provides a control method, system, electronic device and storage medium for a computer graphics card. By adopting data collection, analysis and regulation technology, the present invention solves the problems of low heat dissipation efficiency, poor system stability, short hardware life and the like in the prior art of graphics cards, realizes precise control of the temperature of the computer graphics card, and improves the heat dissipation efficiency of the computer graphics card. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a flowchart of a method for controlling a computer graphics card provided by an embodiment of the present invention;

[0054] Figure 2 The invention is a schematic diagram of the structure of a control system for a computer graphics card provided by an embodiment of the invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0056] Reference Figure 1 The first embodiment of the present invention provides a method for controlling a computer graphics card, comprising the following steps:

[0057] S11, obtaining the working data, temperature data and load data of the computer graphics card;

[0058] S12, performing temperature trend analysis according to the temperature data to obtain temperature analysis data;

[0059] S13, according to the temperature analysis data, and the preset temperature trend threshold value is analyzed and compared to obtain a trend coefficient;

[0060] S14, performing data processing based on the working data to obtain an energy coefficient;

[0061] S15, matching and obtaining a corresponding control mode according to the trend coefficient and the energy coefficient, so as to adjust the fan speed according to the control mode to achieve temperature control of the computer graphics card.

[0062] In step S11, the working data, temperature data and graphics card load data of the computer graphics card are obtained.

[0063] Among them, the working data includes graphics card processing data and fan speed data, and the graphics card processing data includes the number of graphics card GPU cores, graphics card memory frequency, CPU accelerated graphics performance total score, GPU accelerated video performance total score, video memory type, video memory scale, and video memory rate; the temperature data is the temperature observation value of several positions in the graphics card; the graphics card load data reflects the working intensity of the graphics card within a specific time, and evaluates the real-time load of the graphics card by monitoring the working status of the graphics card, such as the running application, game or video editing task. These data are collected by the built-in sensors and monitoring system of the graphics card, and are monitored and recorded in real time by the graphics card driver and system monitoring software. The graphics card driver is not only responsible for communication with the operating system, but also includes a control program, which can calculate and process the collected data, convert these data into instruction sets, and adjust the computer host through communication equipment to ensure that the graphics card runs in the best state, while preventing performance degradation or hardware damage caused by overheating.

[0064] It is worth noting that the number of GPU cores of a graphics card is an important parameter for measuring the processing power of the graphics card. The more GPU cores, the more tasks the graphics card can handle at the same time, thereby improving the efficiency of graphics processing. The graphics card memory frequency directly affects the speed at which the graphics card processes graphics data. The higher the frequency, the faster the data transmission speed, which is particularly important for processing graphics tasks with high resolution and complex scenes. The present invention also collects the total score of CPU accelerated graphics performance and the total score of GPU accelerated video performance. These two indicators can comprehensively reflect the graphics card's capabilities in graphics and video processing. They are usually obtained through a series of benchmark tests and can provide users with an intuitive performance evaluation. The type of video memory determines the efficiency of the graphics card in processing graphics data, while the size of the video memory directly affects the amount of graphics data that the graphics card can process. The video memory rate is related to the data transmission speed between the video memory and the GPU, which is crucial to improving the overall performance of the graphics card.

[0065] In step S12, a temperature trend analysis is performed based on the temperature data to obtain temperature analysis data.

[0066] It is worth noting that the temperature of the graphics card is monitored in real time by temperature sensors. These sensors are distributed on the key thermal nodes of the graphics card and can provide accurate temperature readings. The system will record the temperature values ​​of the graphics card at different time points, and these data will serve as the basis for subsequent analysis. According to the time range to be analyzed, set the sliding time window and sliding step length, slide on the temperature data, and obtain multiple temperature data segments. Here, a 5-minute sliding time window is set, that is, the data analyzed each time covers the temperature sampling values ​​within the past 5 minutes. Such a time window length can provide enough data points to observe obvious changes in the graphics card temperature, while quickly responding to sudden changes in temperature. The sliding step length is set to 1 minute, that is, each time the window slides, a new time point data is added, and the oldest time point data is removed. The above setting of the time window length and sliding step length ensures that the latest temperature information can always be obtained, and the temperature changes of the graphics card can be continuously monitored, allowing the change trend of the graphics card temperature to be captured in a short period of time. After obtaining multiple temperature data segments, the temperature data of each temperature data segment is slope calculated to obtain the first temperature slope sequence. The slope calculation formula is as follows:

[0067] ;

[0068] Among them, i refers to the i-th temperature data segment, is the final temperature of each temperature data segment, is the starting temperature of each temperature data segment, is the final time of each temperature data segment, is the start time of each temperature data segment.

[0069] Based on a preset temperature slope threshold, outlier detection is performed on the first temperature slope sequence, and temperature anomaly data is determined from the first temperature slope sequence. Any slope value exceeding the preset slope threshold will be regarded as abnormal.

[0070] It is worth noting that the temperature slope threshold needs to be set based on the normal operating temperature range and historical data of the graphics card. The temperature slope threshold is used to identify abnormal temperature changes caused by sensor errors, data recording errors or other abnormal factors. Here, the temperature slope threshold is set to 3°C per minute.

[0071] The temperature anomaly data is excluded from the first temperature slope sequence to obtain a second temperature slope sequence; based on the second temperature slope sequence, mean calculation is performed to obtain temperature analysis data, and the mean calculation formula is as follows:

[0072] ;

[0073] Where n is the total number of temperature data segments, is the slope of each temperature data segment.

[0074] The temperature analysis data provides an overall temperature change trend, which will be used for subsequent trend coefficient determination and fan speed regulation.

[0075] In step S13, the temperature analysis data is analyzed and compared with a preset temperature trend threshold to obtain a trend coefficient.

[0076] It should be noted that the temperature trend threshold is set to 0 here. The setting of this threshold is based on the understanding of the normal operating temperature range of the graphics card. In most cases, the operating temperature of the graphics card will fluctuate within a relatively stable range, and this fluctuation range usually does not deviate too much from the reference temperature. Therefore, choosing 0 as the threshold means that any increase or decrease in temperature will be regarded as a signal that deviates from the normal state. The trend coefficient represents the current operating state of the graphics card, including the heating state and the cooling state. When the temperature analysis data is equal to the preset temperature trend threshold, that is, = 0, a first trend coefficient is obtained, which indicates that the operation state of the graphics card is stable, and the cooling fan speed does not need to be adjusted at this time; when the temperature analysis data is greater than the preset temperature trend threshold, that is, >0, a second trend coefficient is obtained, and the second trend coefficient indicates that the running state of the graphics card is a heating state. When the temperature analysis data is less than the preset temperature trend threshold, that is, <0, a third trend coefficient is obtained, and the third trend coefficient indicates that the graphics card is running in a cooling state.

[0077] In step S14, data processing is performed based on the working data to obtain an energy coefficient.

[0078] Based on the working data, a normalization operation is performed to obtain standardized data;

[0079] Based on the standardized data, calculating the comprehensive performance score of the graphics card;

[0080] Based on the comprehensive performance score and a preset comprehensive performance threshold, a comprehensive analysis is performed to obtain an energy coefficient.

[0081] It is worth noting that the evaluation of the graphics card performance in the present invention is not limited to temperature data, but also includes an in-depth analysis of the graphics card working data. Exemplarily, taking one of the characteristic memory rates in the working data as an example, a normalization operation is used to process the data to ensure that it is compared and analyzed within a reasonable range. Specifically, the normalization operation is the memory rate minus the mean of the memory rate sequence, divided by the standard deviation of the memory rate sequence, and finally the memory rate range is mapped to between (0,1), providing a standardized reference value for subsequent performance evaluation.

[0082] Furthermore, weights were assigned to multiple performance indicators in the graphics card working data, specifically (graphics card GPU core number: 25%, graphics card memory frequency: 15%, CPU accelerated graphics performance total score: 15%, GPU accelerated video performance total score: 10%, video memory type: 10%, video memory size: 10%, video memory rate: 5%, fan speed: 10%). The comprehensive performance score of the graphics card was calculated using the following formula:

[0083] ;

[0084] Where n is the number of indicators, is the weight of the ith indicator, is the standardized value of the ith indicator.

[0085] Further, the graphics card load data is obtained, and the graphics card load data and the comprehensive performance score are comprehensively analyzed to obtain an energy coefficient. The energy coefficient is an important parameter reflecting the heat consumption state of the graphics card. It is divided into three levels according to different combinations of the comprehensive performance score and the graphics card load data: the first energy coefficient, the second energy coefficient and the third energy coefficient. The three energy coefficients provide an intuitive understanding of the heat consumption of the graphics card under different working conditions, so that according to the actual heat consumption state of the graphics card, a suitable control mode can be selected to adjust the fan speed to achieve precise control of the graphics card temperature. Specifically, it includes: when the comprehensive performance score is greater than the preset comprehensive performance threshold, and the graphics card load data does not exceed the first preset load threshold, the first energy coefficient is obtained, and the first energy coefficient indicates that the heat consumption of the graphics card is normal; when the comprehensive performance score is greater than the preset comprehensive performance threshold, the graphics card load exceeds the first preset load threshold but is lower than the second preset load threshold, the second energy coefficient is obtained, and the second energy coefficient indicates that the heat consumption of the graphics card is high; when the comprehensive performance score is less than the preset comprehensive performance threshold, and the graphics card load exceeds the first preset load threshold, the third energy coefficient is obtained, and the third energy coefficient indicates that the heat consumption of the graphics card is too high.

[0086] Among them, the comprehensive performance threshold is set to 70, the first preset load threshold is set to 105W, the second preset load threshold is set to 140W, and the energy coefficient includes the first energy coefficient, the second energy coefficient or the third energy coefficient.

[0087] In step S15, a corresponding control mode is matched according to the trend coefficient and the energy coefficient, so that the fan speed is adjusted according to the control mode to achieve temperature control of the computer graphics card.

[0088] It is worth mentioning that based on the set standard fan speed, the fan speed mode is divided into large control mode, micro control mode and small control mode. These three modes correspond to different temperature changes and workload conditions to achieve precise control of the fan speed.

[0089] The standard fan speed refers to the fan speed of the graphics card under normal working conditions without any special adjustment. Here, the default setting of the graphics card is used as the standard fan speed, which is 1600RPM. The large control mode is a more aggressive control strategy, which is suitable for situations where the graphics card temperature rises rapidly or the workload increases significantly. In this mode, the fan speed will be adjusted according to the first control progress (increasing the standard fan speed by 20%). For example, if the standard fan speed is 1600 RPM, the target fan speed in the large control mode will be adjusted to 1920 RPM. This rapid response mechanism can ensure that additional heat dissipation capacity can be provided immediately when the graphics card temperature rises sharply to prevent the graphics card from overheating. The fine control mode is a relatively mild control strategy, which is suitable for situations where the graphics card temperature changes slightly or the workload is relatively stable. In this mode, the fan speed will be adjusted according to the third control progress (reducing the standard fan speed by 10%). For example, if the standard fan speed is 1600 RPM, the target fan speed in the fine control mode will be adjusted to 1440 RPM. This fine-grained control method helps reduce unnecessary fan speeds while keeping the graphics card temperature stable, thereby reducing system noise. The small control mode is a medium-intensity control strategy that is suitable for situations where the graphics card temperature is moderate or the workload changes slightly. In this mode, the fan speed will be adjusted according to the second control schedule (which is to increase the standard fan speed by 10%). For example, if the standard fan speed is 1600 RPM, the target fan speed in the small control mode will be adjusted to 1760 RPM. This moderate adjustment can provide the graphics card with an appropriate amount of additional cooling without affecting the system noise.

[0090] Further, when the trend coefficient is the second trend coefficient and the energy coefficient is the second energy coefficient, the first target fan speed is obtained according to the first control progress, and the fan speed is adjusted to the first target fan speed through the large control mode; when the trend coefficient is the first trend coefficient and the energy coefficient is the first energy coefficient or the second energy coefficient, the second target fan speed is obtained according to the second control progress, and the fan speed is adjusted to the second target fan speed through the small control mode; when the trend coefficient is the third trend coefficient and the energy coefficient is the third energy coefficient, the third target fan speed is obtained according to the third control progress, and the fan speed is adjusted to the third target fan speed through the micro control mode.

[0091] Through these control modes, the fan speed can be intelligently adjusted according to the actual working status and temperature change trend of the graphics card to achieve precise control of the graphics card temperature, thereby optimizing the performance and life of the graphics card.

[0092] In order to better illustrate the beneficial effects of the embodiments of the present invention, the working process of the present invention is described below with a practical example.

[0093] Assume that a high-performance graphics card, model RTX 3080, is used in a high-end gaming computer equipped with the latest processor and high-speed memory. The user often uses this computer for intensive gaming and video editing, which puts the graphics card under high load for a long time. During a day of gaming and video editing sessions, the following data was obtained through the graphics card's built-in sensors and monitoring software: 8704 graphics card GPU cores, 19Gbps ​​graphics card memory frequency, 4500 points for CPU accelerated graphics performance, 3800 points for GPU accelerated video performance, GDDR6X graphics memory type, 10GB graphics memory size, 19Gbps ​​graphics memory rate, 1600RPM fan speed, and the graphics card load fluctuated between 70% and 95% during gaming and video editing.

[0094] Here, the temperature data of the graphics card is recorded over a period of 3 hours. The temperature is 60°C at the start of the game and gradually increases during the game and video editing process, reaching a maximum of 86°C. The temperature data is analyzed using a 5-minute sliding time window and a 1-minute sliding step. For example, at the 30th minute after the start of the game, a temperature data segment is recorded that increases from 72°C to 74°C, with a slope of (74-72) / (5-0) = 0.4°C / minute. The same analysis is performed on the entire 3-hour data, and abnormal data caused by sensor errors are excluded. Finally, the mean slope of the remaining data segments is calculated to obtain 0.6°C / minute. The mean slope of 0.6°C / minute is compared with the preset threshold of 0°C / minute. Since the mean slope is greater than 0, we obtain the second trend coefficient, indicating that the graphics card is in a state of heating up. Subsequently, the working data is normalized and the comprehensive performance score is calculated to be 80 points. Since the score is greater than the preset threshold of 70 points, and the graphics card load reaches 95% at the peak of the game, exceeding the second preset load threshold of 140W, we get the second energy coefficient, indicating that the graphics card has high heat consumption. Combined with the second trend coefficient and the second energy coefficient, the large control mode is selected. The standard fan speed is 1600 RPM. According to the first control progress (increasing the standard fan speed by 20%), the first target fan speed is calculated to be 1920 RPM. Then, through the fan control module, the fan speed is adjusted from 1600 RPM to 1920 RPM to enhance the heat dissipation effect and ensure that the graphics card runs within a safe temperature range. After adjustment, the temperature of the graphics card is continuously monitored, and it is found that the temperature is stable at about 82°C and does not continue to rise. This shows that the control method of the computer graphics card of the present invention effectively prevents the graphics card from overheating and ensures the stable operation of the computer system.

[0095] Through this specific application scenario, we can see how the control method of the present invention can effectively manage the temperature of the graphics card, thereby improving its performance and stability. This method is not only applicable to high-end gaming computers, but also to any computer system that requires high-performance graphics processing, such as professional graphics workstations, graphics processing servers in data centers, etc. By accurately controlling the fan speed, it can not only protect the hardware from overheating damage, but also improve the user experience, reduce noise and vibration, and extend the service life of the hardware.

[0096] In summary, the present invention provides a control method for a computer graphics card, comprising obtaining working data, temperature data and graphics card load data of the computer graphics card; performing temperature trend analysis according to the temperature data to obtain temperature analysis data; performing analysis and comparison with a preset temperature trend threshold according to the temperature analysis data to obtain a trend coefficient; performing data processing based on the working data to obtain an energy coefficient; matching the trend coefficient and the energy coefficient to obtain a corresponding control mode, so as to adjust the fan speed according to the control mode to achieve temperature control of the computer graphics card.

[0097] In the present invention, firstly, the key data of the graphics card, including working data, temperature data and graphics card load data, are collected in real time through the data acquisition module. These data provide a comprehensive view of the current operating status of the graphics card. Then, based on the set sliding time window and sliding step size, the temperature data is divided into multiple temperature data segments. This segmentation method allows the temperature change of the graphics card in different time periods to be captured. For each temperature data segment, the slope of its temperature change, that is, the rate at which the temperature changes over time, is calculated. This step generates a sequence containing the slopes of each temperature data segment, which becomes the first temperature slope sequence. Subsequently, based on the preset temperature slope threshold, abnormal slope values ​​that may be caused by sensor errors or other abnormal factors are identified and excluded. After excluding the abnormal data, the remaining slope sequence is averaged to obtain a single value representing the overall temperature change trend of the graphics card, that is, the temperature analysis data. The temperature analysis data is compared with the preset temperature trend threshold to determine the temperature change trend of the graphics card. If the temperature analysis data is greater than the threshold, it indicates that the graphics card is in a heating state; if it is less than the threshold, it indicates that the graphics card is in a cooling state; if it is equal to the threshold, the graphics card temperature is stable. At the same time, the graphics card's working data is normalized and a comprehensive performance score is calculated. Combined with the graphics card load data, an energy coefficient is obtained, which reflects the heat consumption status of the graphics card. According to the trend coefficient and energy coefficient, the corresponding control mode is matched. These modes determine the adjustment strategy of the fan speed to achieve precise control of the graphics card temperature. Finally, the fan speed is adjusted according to the selected control mode to ensure that the graphics card can maintain a safe temperature range under various working conditions.

[0098] The present invention provides a control method, system, electronic device and storage medium for a computer graphics card. By adopting data collection, analysis and regulation technology, the present invention solves the problems of low heat dissipation efficiency, poor system stability, short hardware life and the like in the prior art of graphics cards, realizes precise control of the temperature of the computer graphics card, and improves the heat dissipation efficiency of the computer graphics card.

[0099] Reference Figure 2 A second embodiment of the present invention provides a control system for a computer graphics card, comprising:

[0100] A data acquisition module is used to acquire working data, temperature data and graphics card load data;

[0101] A temperature trend analysis module, used to perform temperature trend analysis based on the temperature data to obtain temperature analysis data;

[0102] A trend coefficient acquisition module is used to analyze and compare the temperature analysis data with a preset temperature trend threshold value to obtain a trend coefficient;

[0103] An energy coefficient acquisition module, used for performing data processing based on the working data to obtain an energy coefficient;

[0104] The fan control module is used to select different control modes to adjust the fan speed according to the trend coefficient and the energy coefficient, so as to control the computer graphics card.

[0105] Preferably, the temperature trend analysis module comprises:

[0106] A temperature data segment acquisition unit, configured to slide on the temperature data based on a set sliding time window and sliding step size to obtain a plurality of temperature data segments;

[0107] A first temperature slope sequence calculation unit, configured to perform slope calculation on the temperature data segment to obtain a first temperature slope sequence, wherein the first temperature slope sequence is a temperature slope of each temperature data segment;

[0108] a second temperature slope sequence acquisition unit, configured to determine temperature anomaly data from the first temperature slope sequence based on a preset temperature slope threshold, exclude the temperature anomaly data from the first temperature slope sequence, and obtain a second temperature slope sequence;

[0109] The temperature analysis data calculation unit performs mean value calculation based on the second temperature slope sequence to obtain temperature analysis data.

[0110] Preferably, the energy coefficient acquisition module includes:

[0111] A normalization operation unit, used for performing a normalization operation based on the working data to obtain standardized data;

[0112] The comprehensive performance score calculation unit is used to assign weights to each performance indicator in the standardized data and calculate the comprehensive performance score of the graphics card using the following formula:

[0113] ;

[0114] Where n is the number of indicators, is the weight of the ith indicator, is the standardized value of the ith indicator;

[0115] The energy coefficient acquisition unit is used to perform comprehensive analysis based on the comprehensive performance score and a preset comprehensive performance threshold to obtain the energy coefficient.

[0116] Preferably, the fan control module comprises:

[0117] A large control mode unit, configured to obtain a first target fan speed according to a first control schedule, and adjust the fan speed to the first target fan speed through the large control mode;

[0118] a small control regulation mode unit, configured to obtain a second target fan speed according to a second regulation progress, and adjust the fan speed to the second target fan speed through the small control regulation mode;

[0119] The fine-control mode unit is used to obtain a third target fan speed according to a third control schedule, and adjust the fan speed to the third target fan speed through the fine-control mode.

[0120] It should be noted that a control system for a computer graphics card provided in an embodiment of the present invention is used to execute all the process steps of a control method for a computer graphics card in the above embodiment, and the working principles and beneficial effects of the two correspond one to one, so they will not be repeated.

[0121] The embodiment of the present invention further provides an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a control program for a computer graphics card. When the processor executes the computer program, the steps in the above-mentioned computer graphics card control method embodiment are implemented, such as Figure 1 Alternatively, when the processor executes the computer program, the functions of each module / unit in the above-mentioned device embodiments are realized, such as the temperature trend analysis module.

[0122] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory and executed by the processor to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of implementing specific functions, which are used to describe the execution process of the computer program in the electronic device.

[0123] The electronic device may be a computing device such as a desktop computer, a notebook, a PDA, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that the above components are merely examples of electronic devices and do not constitute a limitation on the electronic device. The electronic device may include more or fewer components than the above components, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0124] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.

[0125] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the electronic device by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0126] Wherein, if the module / unit integrated in the electronic device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0127] It should be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the accompanying drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines. A person of ordinary skill in the art may understand and implement it without paying any creative effort.

[0128] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for controlling a computer graphics card, characterized in that: include: Obtain the working data, temperature data and graphics card load data of the computer graphics card; Performing temperature trend analysis according to the temperature data to obtain temperature analysis data; Analyze and compare the temperature analysis data with a preset temperature trend threshold to obtain a trend coefficient; Based on the working data, data processing is performed to obtain an energy coefficient; According to the trend coefficient and the energy coefficient, a corresponding control mode is matched to adjust the fan speed according to the control mode to achieve temperature control of the computer graphics card; The step of performing data processing based on the working data to obtain the energy coefficient includes: Based on the working data, a normalization operation is performed to obtain standardized data; The working data includes graphics card processing data and fan speed data. The graphics card processing data includes the number of graphics card GPU cores, graphics card memory frequency, CPU accelerated graphics performance total score, GPU accelerated video performance total score, video memory type, video memory size, and video memory rate. Based on the standardized data, calculating the comprehensive performance score of the graphics card; Based on the comprehensive performance score and a preset comprehensive performance threshold, a comprehensive analysis is performed to obtain an energy coefficient; The energy coefficient is obtained by performing a comprehensive analysis based on the comprehensive performance score and a preset comprehensive performance threshold, including: When the comprehensive performance score is greater than the preset comprehensive performance threshold, and the graphics card load data does not exceed the first preset load threshold, a first energy coefficient is obtained, and the first energy coefficient indicates that the heat consumption of the graphics card is normal; When the comprehensive performance score is greater than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold but is lower than the second preset load threshold, a second energy coefficient is obtained, wherein the second energy coefficient indicates that the heat consumption of the graphics card is high; When the comprehensive performance score is less than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold, a third energy coefficient is obtained, and the third energy coefficient indicates that the heat consumption of the graphics card is too high; The energy coefficient includes a first energy coefficient, a second energy coefficient or a third energy coefficient.

2. The control method of a computer graphics card according to claim 1, characterized in that: The step of performing temperature trend analysis based on the temperature data to obtain temperature analysis data includes: Based on the set sliding time window and sliding step size, sliding on the temperature data to obtain multiple temperature data segments; Performing slope calculation on the temperature data segment to obtain a first temperature slope sequence, wherein the first temperature slope sequence is the temperature slope of each temperature data segment; Based on a preset temperature slope threshold, determining temperature anomaly data from the first temperature slope sequence, Excluding the temperature anomaly data from the first temperature slope sequence to obtain a second temperature slope sequence; Based on the second temperature slope sequence, mean calculation is performed to obtain temperature analysis data.

3. The control method of a computer graphics card according to claim 1, characterized in that: The temperature analysis data is analyzed and compared with a preset temperature trend threshold to obtain a trend coefficient, including: When the temperature analysis data is equal to the preset temperature trend threshold, a first trend coefficient is obtained, and the first trend coefficient indicates that the operation state of the graphics card is a stable state; When the temperature analysis data is greater than the preset temperature trend threshold, a second trend coefficient is obtained, and the second trend coefficient indicates that the operation state of the graphics card is a temperature rising state; When the temperature analysis data is less than the preset temperature trend threshold, a third trend coefficient is obtained, and the third trend coefficient indicates that the graphics card is running in a cooling state.

4. The control method of a computer graphics card according to claim 1, characterized in that: The calculating the comprehensive performance score of the graphics card based on the standardized data includes: A weight is assigned to each performance indicator in the standardized data, and the comprehensive performance score of the graphics card is calculated by the following formula: ; Where n is the number of indicators, is the weight of the ith indicator, is the standardized value of the ith indicator.

5. The control method of a computer graphics card according to claim 1, characterized in that: The matching according to the trend coefficient and the energy coefficient to obtain a corresponding control mode to adjust the fan speed according to the control mode includes: Based on the set standard fan speed, the fan speed mode is divided into large control mode, micro control mode and small control mode; When the trend coefficient is the second trend coefficient and the energy coefficient is the second energy coefficient, a first target fan speed is obtained according to the first control progress, and the fan speed is adjusted to the first target fan speed through the large control mode; When the trend coefficient is the first trend coefficient and the energy coefficient is the first energy coefficient or the second energy coefficient, a second target fan speed is obtained according to a second control progress, and the fan speed is adjusted to the second target fan speed through the small control mode; When the trend coefficient is the third trend coefficient and the energy coefficient is the third energy coefficient, a third target fan speed is obtained according to a third control schedule, and the fan speed is adjusted to the third target fan speed through the fine-control mode.

6. A control system for a computer graphics card, characterized in that: include: A data acquisition module is used to acquire the working data, temperature data and graphics card load data of the computer graphics card; A temperature trend analysis module, used to perform temperature trend analysis based on the temperature data to obtain temperature analysis data; A trend coefficient acquisition module is used to analyze and compare the temperature analysis data with a preset temperature trend threshold value to obtain a trend coefficient; An energy coefficient acquisition module, used for performing data processing based on the working data to obtain an energy coefficient; A fan control module, used to select different control modes to adjust the fan speed according to the trend coefficient and the energy coefficient, so as to control the computer graphics card; The step of performing data processing based on the working data to obtain the energy coefficient includes: Based on the working data, a normalization operation is performed to obtain standardized data; The working data includes graphics card processing data and fan speed data. The graphics card processing data includes the number of graphics card GPU cores, graphics card memory frequency, CPU accelerated graphics performance total score, GPU accelerated video performance total score, video memory type, video memory size, and video memory rate. Based on the standardized data, calculating the comprehensive performance score of the graphics card; Based on the comprehensive performance score and a preset comprehensive performance threshold, a comprehensive analysis is performed to obtain an energy coefficient; The energy coefficient is obtained by performing a comprehensive analysis based on the comprehensive performance score and a preset comprehensive performance threshold, including: When the comprehensive performance score is greater than the preset comprehensive performance threshold, and the graphics card load data does not exceed the first preset load threshold, a first energy coefficient is obtained, and the first energy coefficient indicates that the heat consumption of the graphics card is normal; When the comprehensive performance score is greater than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold but is lower than the second preset load threshold, a second energy coefficient is obtained, wherein the second energy coefficient indicates that the heat consumption of the graphics card is high; When the comprehensive performance score is less than the preset comprehensive performance threshold and the graphics card load exceeds the first preset load threshold, a third energy coefficient is obtained, and the third energy coefficient indicates that the heat consumption of the graphics card is too high; The energy coefficient includes a first energy coefficient, a second energy coefficient or a third energy coefficient.

7. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the computer graphics card control method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for controlling a computer graphics card according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Current-mode control method to eliminate current dead zone in Buck converter

    CN103944382B

  • Terminal heat dissipation method and device and computer readable storage medium

    CN110580092A