Radiator detection method, device and computer readable storage medium

By adjusting the processor load in the server and obtaining temperature data, detecting and determining abnormal radiator status, and generating notification messages for timely repairs, the problem in the existing technology that it is difficult to handle radiator abnormalities in a timely manner is solved, and detection efficiency and server performance are improved. protection.

CN112328442BActive Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202011363083.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-27
Publication Date
2024-09-10
Estimated Expiration
2040-11-27

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively detect and promptly handle abnormal conditions of server radiators, resulting in server performance degradation or damage.

Method used

By responding to the load adjustment instructions of the test program in the server, the processor load is adjusted to the target load, the processor temperature data is obtained, the processor with abnormal radiator status is determined, and a notification message is generated for timely repair or replacement.

Benefits of technology

It improves the efficiency, accuracy and intelligence of radiator anomaly detection, ensuring processor security and stable server performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112328442B
    Figure CN112328442B
Patent Text Reader

Abstract

The embodiment of the present application discloses a radiator detection method, device and computer-readable storage medium, wherein the method includes: in response to the load adjustment instruction of the test program, adjusting the load state of one or more processors of the server to be detected to the target load, each of the one or more processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a radiator; obtaining the temperature data of the one or more processors under the target load; according to the temperature data of the one or more processors, determining the target processor with abnormal radiator state from the one or more processors. The use of this application can effectively improve the efficiency, accuracy and intelligence of radiator abnormality detection, thereby ensuring the security of the processor and the performance of the server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a radiator detection method, device and computer-readable storage medium. Background Art

[0002] With the development of computer technology, servers are becoming more and more popular, and their performance directly affects their data processing capabilities. The processor heat sink is a very important component on the server. Whether the heat sink can work properly directly affects the heat dissipation and performance of the processor. However, since the heat sink cannot actively report the operating status, it cannot be replaced in time when there is a problem with the heat sink, and it may even damage the server due to excessive temperature.

[0003] Currently, the correct installation of the radiator is mainly ensured by preparing standard assembly instructions in advance and making auxiliary production tools during the production and assembly process in the factory. However, it still cannot completely avoid the situation where the radiator cannot work properly due to defects in the radiator itself or improper installation operations. Even worse, it causes the server to not work properly or even be damaged. Summary of the invention

[0004] The embodiments of the present application provide a radiator detection method, device, and computer-readable storage medium, which can effectively improve the efficiency, accuracy, and intelligence of radiator abnormality detection, thereby ensuring the security of the processor and the performance of the server.

[0005] In one aspect, a radiator detection method is provided, the method comprising:

[0006] In response to a load adjustment instruction of the test program, the load state of one or more processors of the server to be tested is adjusted to a target load, each of the one or more processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink;

[0007] Acquiring temperature data of the one or more processors under the target load;

[0008] According to the temperature data of the one or more processors, a target processor with a correspondingly configured radiator in an abnormal state is determined from the one or more processors.

[0009] In one aspect, a radiator detection device is provided, the device comprising:

[0010] A processing unit, configured to adjust the load state of one or more processors of the server to be tested to a target load in response to a load adjustment instruction of the test program, wherein each of the one or more processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink;

[0011] an acquisition unit, configured to acquire temperature data of the one or more processors under the target load;

[0012] The determining unit is used to determine, from the one or more processors, a target processor with a correspondingly configured radiator state abnormality according to the temperature data of the one or more processors.

[0013] On the one hand, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the method.

[0014] Accordingly, an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions for use by a terminal device, which includes a program for executing the steps in the above method.

[0015] Accordingly, the embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium, and when the computer instructions are executed by a processor of a computer device, the methods in the above embodiments are executed. The computer program product may be a software installation package.

[0016] It can be seen that in the embodiment of the present application, the server adjusts the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program, and obtains the temperature data of one or more processors under the target load by acquiring the target. Furthermore, according to the temperature data of one or more processors, the target processor with abnormal radiator state corresponding to the configuration is determined from one or more processors. With the help of the test program, the efficiency, accuracy and intelligence of determining the target processor with abnormal radiator state can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 is a structural schematic diagram of a radiator detection system provided in an embodiment of the present application;

[0019] Figure 2 It is a flow chart of a radiator detection method provided in an embodiment of the present application;

[0020] Figure 3 is a flow chart of another radiator detection method provided in an embodiment of the present application;

[0021] Figure 4 is a flow chart of another radiator detection method provided in an embodiment of the present application;

[0022] Figure 5 It is a schematic diagram of functional units of a radiator detection device provided in an embodiment of the present application;

[0023] Figure 6 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0025] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0026] Cloud computing is a computing model that distributes computing tasks on a resource pool composed of a large number of computers, allowing various application systems to obtain computing power, storage space and information services as needed. The network that provides resources is called a "cloud". From the user's perspective, the resources in the "cloud" are infinitely scalable and can be obtained at any time, used on demand, expanded at any time, and paid for by use.

[0027] As a provider of basic cloud computing capabilities, a cloud computing resource pool (referred to as a cloud platform, generally referred to as an IaaS (Infrastructure as a Service) platform) will be established, and various types of virtual resources will be deployed in the resource pool for external customers to choose to use. The cloud computing resource pool mainly includes: computing devices (virtualized machines, including operating systems), storage devices, and network devices.

[0028] According to the logical function division, the PaaS (Platform as a Service) layer can be deployed on the IaaS (Infrastructure as a Service) layer, and the SaaS (Software as a Service) layer can be deployed on the PaaS layer. SaaS can also be deployed directly on IaaS. PaaS is a platform for software operation, such as databases, web containers, etc. SaaS is a variety of business software, such as web portals, SMS mass senders, etc. Generally speaking, SaaS and PaaS are upper layers relative to IaaS.

[0029] The server or terminal device in the embodiment of the present application can adopt cloud computing to obtain resources in the "cloud", improve the efficiency of radiator detection, and improve the accuracy of detection results.

[0030] Currently, the correct installation of the radiator is mainly ensured by preparing standard assembly instructions in advance and making auxiliary production tools during the production and assembly process in the factory. However, it still cannot completely avoid the situation where the radiator cannot work properly due to defects in the radiator itself or improper installation operations. Even worse, it causes the server to not work properly or even be damaged.

[0031] In view of the above problems, an embodiment of the present application provides a radiator detection method, which is described in detail below with reference to the accompanying drawings.

[0032] First, see Figure 1 The structural schematic diagram of a radiator detection system 100 shown includes a terminal device 110 and a server 120.

[0033] The terminal device 110 includes, but is not limited to, devices with communication functions, smart phones, tablet computers, laptop computers, desktop computers, portable digital players, smart bracelets, and smart watches. The server 120 may include, for example, a distributed storage server, a traditional server, a large storage system, a desktop computer, a laptop computer, etc. The server 120 includes one or more processors, each of which is equipped with a heat dissipation device. The heat dissipation device includes a radiator and a fan.

[0034] When testing the radiator, the server 120 can automatically perform the corresponding detection action after it is turned on, or the terminal device 110 can send a startup instruction to the server 120 after detecting that the server 120 is turned on and connected to the network. The startup instruction is used to instruct the server to perform the corresponding detection action, for example, the fan speed, the temperature of the processor and other index data can be collected, and the fan and radiator of each processor in the server can be judged based on these index data whether there are abnormal conditions, such as abnormal fan speed and abnormal heat dissipation performance of the radiator. After completing the detection, the server 120 can report the detection result to the terminal device 110, and the terminal device 110 can notify the operator of the detection result, so that the operator on the terminal device side can obtain the detection result immediately, and timely repair or replace the fan and radiator with abnormal status according to the detection result, so as to ensure the normal operation of each processor in the server and the performance of the server. Of course, in other embodiments, the server can also send the collected fan speed, processor temperature and other index data to the terminal device, and the terminal device determines the processor with abnormal fan and radiator status.

[0035] The technical solution of the embodiment of the present application can be based on Figure 1 The heat sink detection system or its deformation architecture of the architecture shown in the example is specifically implemented.

[0036] See also Figure 2 , Figure 2 : is a flow chart of a radiator detection method provided in an embodiment of the present application. This method may include but is not limited to the following steps:

[0037] 201. In response to a load adjustment instruction of a test program, adjust a load state of one or more processors of a server to be tested to a target load, each of the one or more processors being correspondingly configured with a heat dissipation device, wherein the heat dissipation device includes a heat sink.

[0038] Specifically, it can be understood that the test program can be installed on the server as a test proxy client, or an agent, including a series of instructions, including load adjustment instructions. After the server is turned on or starts running or receives a test trigger instruction from a terminal device, it starts to respond to the load adjustment instruction and adjusts the load state of one or more processors of the server to be tested to the target load. The target load can preferably be 100%, or it can be other loads such as 80%-99%. The server includes one or more processors, and the corresponding server can be a single-core server or a multi-core server. Among them, the multi-core server can be a dual-core, quad-core, hexa-core, octa-core, and other types of servers. The processor can be a central processing unit (CPU), a graphics processing unit (GPU), and other processors with data processing capabilities. Each processor is correspondingly configured with a heat sink, and the heat sink includes a radiator.

[0039] The server adjusts the load of multiple processors to the target load. This can be done by adding pressure to the server through the server's built-in devices or external tools to quickly increase the load of the server's processors. The main purpose is to increase the power consumption of the processors to reach the target load.

[0040] 202. Obtain temperature data of the one or more processors under the target load.

[0041] Specifically, the temperature data of one or more processors under the target load is obtained, such as the temperature data of one or more processors when the processing load is 100%. The temperature data can be obtained through the baseboard management controller (Baseboard Manager Controller, BMC) of the server. The temperature data may include the identification information and temperature of the processor, such as processor 1, the temperature is 80 degrees Celsius (℃), processor 2, the temperature is 83 degrees Celsius, etc.

[0042] 203. Determine, from the one or more processors, a target processor whose corresponding configured heat sink is in an abnormal state according to the temperature data of the one or more processors.

[0043] Specifically, after obtaining the temperature data of one or more processors under the target load, the server can also determine the target processor with abnormal radiator status of the corresponding configuration from one or more processors based on the temperature data of one or more processors. For example, the target processor with abnormal radiator status can be determined based on the comparison between temperature data, or the target processor with abnormal radiator status can be determined based on the comparison between each temperature data and the target reference temperature data (the processor temperature data under the same environmental conditions when the radiator is normal). Abnormal radiator status includes not only status abnormalities caused by improper installation, but also includes abnormalities caused by defects in the radiator itself that meet the installation specifications, which are directly manifested as abnormal working status.

[0044] It can be seen that in the embodiment of the present application, the server adjusts the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program, and obtains the temperature data of one or more processors under the target load by acquiring the target. Furthermore, according to the temperature data of one or more processors, the target processor with abnormal radiator state corresponding to the configuration is determined from one or more processors. With the help of the test program, the efficiency, accuracy and intelligence of determining the target processor with abnormal radiator state can be effectively improved.

[0045] With the above Figure 2 The embodiment shown is consistent with that shown in FIG. Figure 3 , Figure 3 This is a flow chart of another radiator detection method provided by an embodiment of the present application. This method may include but is not limited to the following steps:

[0046] 301. In response to a load adjustment instruction of a test program, adjust the load state of one or more processors of a server to be tested to a target load, each of the one or more processors being correspondingly configured with a heat dissipation device, wherein the heat dissipation device includes a heat sink.

[0047] 302. Obtain temperature data of the one or more processors under the target load.

[0048] 303. Determine, from the one or more processors, a target processor whose corresponding configured heat sink is in an abnormal state according to the temperature data of the one or more processors.

[0049] Steps 301-303 may refer to the above steps 201-203, which will not be described in detail here.

[0050] 304. Generate a first notification message, where the first notification message includes identification information of the target processor and identification information of the server to be detected, and the first notification message is used to indicate that a radiator corresponding to the target processor on the server to be detected is in an abnormal state.

[0051] Specifically, after the server determines that the target processor has an abnormal radiator status, it will also generate a first notification message. The first notification message includes the identification information of the target processor and the identification information of the server to be detected. The first notification information is used to indicate that the radiator status corresponding to the target processor on the server to be detected is abnormal. For example, the radiator status corresponding to the configuration of processor 1 (target processor) on the first server is abnormal, or the radiator status corresponding to the configuration of processor 3 (target processor) on the second server is abnormal, etc.

[0052] 305. Send the first notification message to the terminal device.

[0053] Specifically, after generating the first notification message, the server may also send the first notification message to the terminal device, so that the detection personnel on the terminal device side can promptly determine, based on the first notification message, which server or servers and which processor has an abnormal radiator corresponding to the radiator, and can promptly repair or replace the radiator with the abnormal status, further avoiding damage to the processor and reduction in server performance due to abnormal radiator status.

[0054] It can be seen that the test program can effectively improve the efficiency, accuracy and intelligence of determining the target processor with abnormal radiator status. After determining the target processor with abnormal radiator status of the corresponding configuration, a first notification message is generated and sent to the terminal device, which can effectively improve the timeliness of radiator maintenance and replacement, and ensure the safety of the processor and the excellent performance of the server.

[0055] In one possible example, determining a target processor with a correspondingly configured abnormal radiator state from the one or more processors based on the temperature data of the one or more processors includes: obtaining temperature difference data between the temperature data of any two processors among the one or more processors; if the temperature difference data is greater than or equal to the reference temperature difference data, determining the processor with the larger temperature data among the any two processors as the target processor with a correspondingly configured abnormal radiator state.

[0056] Specifically, when determining the target processor with abnormal radiator status of the corresponding configuration from one or more processors based on the temperature data of one or more processors, the temperature difference data between the temperature data of any two processors in the one or more processors can be obtained. For example, if the temperature of processor 1 is 80 degrees Celsius (℃), and the temperature of processor 2 is 91℃, then the temperature difference data between processor 1 and processor 2 is 11℃. If the reference temperature difference data is 10℃, 9℃, or 8℃, etc., then if the temperature difference data is greater than or equal to the reference temperature difference data, processor 2 is determined as the target processor with abnormal radiator status of the corresponding configuration.

[0057] When the radiator is working normally, the temperature of all processors can be controlled within the target range. After the normal radiator is installed, the temperature difference between processors with normal radiators is within △T1 (for example, 3℃, 2℃ or 4℃, etc.); however, there will be differences in the heat dissipation capacity between normal radiators and abnormal radiators. According to the analysis and feedback of a large amount of test data, normal radiators and abnormal radiators will cause the temperature difference of different processors to be above △T2 (for example, 10℃, 9℃ or 12℃, etc.). △T1 and △T2 will change with the change of environmental conditions. They are relative values, not fixed absolute values. The radiator corresponding to the processor with excessively high temperature difference is determined to be in an abnormal state.

[0058] It can be seen that the reference temperature difference data is determined in advance, and the reference temperature difference data is used to compare with the temperature difference data of the two processors. Since the two processors are located in the same server, with the same load, and the environmental conditions of one or more processors are the same. When the radiator of the processor is normal, the temperature difference data should be smaller than the reference temperature difference data. Therefore, when the temperature difference data is greater than or equal to the reference temperature difference data, the processor with the larger temperature data is determined as the target processor with abnormal radiator status. Using the reference temperature difference data and the temperature difference data, the target processor with abnormal radiator status can be quickly and effectively intercepted.

[0059] In one possible example, determining a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors includes: obtaining current environmental conditions, wherein the current environmental conditions include one or more of hardware configuration, load status, and ambient temperature; obtaining target reference temperature data corresponding to the current environmental conditions using a correspondence between environmental conditions and reference temperature data; and determining a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data.

[0060] Specifically, when determining the target processor with abnormal radiator state of the corresponding configuration from the one or more processors according to the temperature data of one or more processors, the determination can also be performed in the following manner. It can be understood that a mapping relationship table is established between the environmental conditions and the reference temperature data during the pre-test to reflect the corresponding relationship between the two, and the environmental conditions include one or more of the hardware configuration, load state and ambient temperature. For example, when the hardware configuration is the first mode (CPU, hard disk, memory, motherboard, graphics card, etc. corresponding configuration), the load state is 90%, and the ambient temperature is 10°C, the reference temperature data is 70°C; when the hardware configuration is the first mode, the load state is 100%, and the ambient temperature is 10°C, the reference temperature data is 80°C; or when the hardware configuration is the first mode (CPU, hard disk, memory, motherboard, graphics card, etc. corresponding configuration), the load state is 90%, and the ambient temperature is 30°C, the reference temperature data is 80°C; or when the hardware configuration is the second mode (CPU, hard disk, memory, motherboard, graphics card, etc. corresponding configuration), the load state is 90%, and the ambient temperature is 10°C, the reference temperature data is 80°C, etc.

[0061] Therefore, by utilizing the correspondence between environmental conditions and reference temperature data (mapping relationship table), the target reference temperature data corresponding to the current environmental conditions can be obtained, and the target processor with abnormal radiator status can be determined based on the matching between the temperature data of each processor and the target reference temperature data.

[0062] It can be seen that the influence of environmental conditions on the processor temperature is considered, and the corresponding relationship between environmental conditions and reference temperature data is established in advance. Then the target reference temperature data is determined according to the current environmental conditions. The influence of environmental conditions on the processor temperature is fully considered, and the interference caused by environmental conditions is reduced when determining the target processor with abnormal radiator status according to the temperature data of each processor, thereby improving the accuracy of the judgment result.

[0063] In one possible example, determining a target processor with a correspondingly configured abnormal radiator state from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data includes: comparing the temperature data of each processor in the one or more processors with the target reference temperature data to determine whether the temperature data of each processor matches the target reference temperature data; and determining a processor with mismatched temperature data as a target processor with a correspondingly configured abnormal radiator state.

[0064] Specifically, it can be understood that the target reference temperature data can be a specific data, such as when the hardware configuration is the first mode, the load state is 100%, and the ambient temperature is 10°C, the reference temperature data is 80°C or 90°C, etc. The target reference temperature data can also be a temperature range, such as when the hardware configuration is the first mode, the load state is 100%, and the ambient temperature is 10°C, the reference temperature data is 80°C-85°C. Taking the reference temperature data of 80°C as an example, the temperature data of each processor can be considered a match if it is lower or higher than the target reference temperature data by less than 3°C. The temperature data of processor 1 is 79°C, and the temperature data of processor 2 is 86°C. Obviously, processor 1 matches the target reference temperature data, and processor 2 does not match the target reference temperature data, then processor 2 is determined as the target processor with abnormal radiator status of the corresponding configuration.

[0065] It can be seen that by determining the target processor with abnormal radiator status according to the matching of the temperature data of each processor and the target reference temperature data, the efficiency and accuracy of radiator detection can be improved.

[0066] In one possible example, the heat dissipation device also includes a fan, and before the load state of one or more processors of the server to be tested is adjusted to a target load in response to a load adjustment instruction of the test program, the method also includes: in response to a speed adjustment instruction of the test program, adjusting the speed of a fan configured corresponding to each of the one or more processors, the speed adjustment instruction is used to adjust the speed of the fan to the target speed; obtaining the speed data of the fan configured corresponding to each processor; comparing the speed data of the fan configured corresponding to each processor with the target speed to determine whether the speed data of the fan configured corresponding to each processor matches the target speed; if they match, executing the step of adjusting the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program.

[0067] Specifically, since the heat dissipation device of the processor includes a fan in addition to a radiator. Not only whether the radiator is abnormal, the load of the server will affect the temperature of the processor, and whether the fan is abnormal will also affect the temperature of the processor. Therefore, it can be understood that before detecting whether the radiator is abnormal, first detect whether the fan is abnormal. In response to the speed adjustment instruction of the above test program, the server forces the speed of the fan configured corresponding to each processor to be increased to the target speed (usually 5000 rpm, and this fixed speed selection is related to the capacity of the fan). Then, the speed data of the fan configured corresponding to each processor can be obtained through the BMC, that is, the actual speed of each fan. The speed data of the fan configured corresponding to each processor is then compared with the target speed to determine whether the speed data of the fan configured corresponding to each processor matches the target speed. A deviation of about 10% can be allowed between the two.

[0068] In short, by setting the fan target speed, check whether the fan operation can match the target speed. If not, replace the fan and test the fan again after replacement. If the fan reaches the target speed, continue to execute the load adjustment instruction in response to the test program, adjust the load state of one or more processors of the server to be tested to the target load, collect the temperature data of the processor, etc.

[0069] It can be seen that before responding to the load adjustment instructions of the test program and adjusting the load state of one or more processors of the server to be tested to the target load, it is necessary to first detect whether there is any abnormality in the fan in the heat dissipation device, eliminate the abnormal processor temperature caused by fan failure, and improve the accuracy of the radiator detection results.

[0070] In one possible example, the method also includes: if there is no match, determining the processor whose speed data does not match, and generating a second notification message, the second notification message including the identification information of the processor whose speed data does not match and the identification information of the server to be detected, the second notification message being used to indicate that the fan status corresponding to the processor whose speed data does not match is abnormal; sending the second notification message to the terminal device.

[0071] Specifically, after determining that the speed data of the fan configured corresponding to each processor does not match the target speed, the processor whose speed data does not match is determined, and a second notification message is generated. The second notification message may be that the fan status of processor 1 of the first server is abnormal. Of course, after determining that the speed data of the fan configured corresponding to each processor matches the target speed, a third notification message may also be generated. The third notification message includes the identification information of the processor whose speed data matches and the identification information of the server to be detected to determine the processor whose speed data matches, such as the fan status of processor 2 of the first server is normal. Further, a second notification message may be sent to the terminal device.

[0072] It can be seen that after determining the processor whose rotation speed data does not match, the server can generate a second notification message and send the second notification message to the terminal device. This facilitates the terminal to promptly discover fans with abnormal status in each processor and repair or replace them in time. This avoids interference with the detection results of the radiator of the subsequent processor due to fan failure, and ensures the accuracy of the detection results of each step. Furthermore, it can ensure that the heat dissipation device has good performance.

[0073] In one possible example, the method further includes: obtaining first temperature data of the first processor under the target load, the heat dissipation device configured corresponding to the first processor includes a heat dissipation device in a normal state; obtaining second temperature data of the second processor under the target load, the heat dissipation device configured corresponding to the second processor includes a heat dissipation device in an abnormal state; and determining the reference temperature difference data based on the first temperature data and the second temperature data.

[0074] In a specific implementation, the reference temperature difference data is obtained in advance through a large number of tests. That is, the method of controlling variables is adopted to control the environmental conditions of each processor to be the same, and a radiator that can work normally and a radiator that works abnormally are installed respectively. For example, under the target load, the first temperature data of the first processor is obtained, and the heat dissipation device corresponding to the first processor includes a radiator in a normal state, and the second temperature data of the second processor is obtained, and the heat dissipation device corresponding to the second processor includes a radiator in an abnormal state. Of course, in order to improve the accuracy of the test results, the first temperature data and the second temperature data are not single data, but correspond to data sets of multiple tests respectively. When determining the reference temperature difference data based on the first temperature data and the second temperature data, the first average temperature of the first temperature data and the second average temperature of the second temperature data are respectively obtained, and then the reference temperature difference data is determined based on the first average temperature and the second average temperature.

[0075] It can be seen that by controlling the variables, the environmental conditions of multiple processors are controlled to be the same, and then the temperature data of the processors with normal and abnormal radiators are obtained respectively. The impact of environmental conditions on temperature data is reduced, and the degree of preparation of temperature data is improved. In addition, by obtaining the average value multiple times, the accuracy of temperature data can be further improved. In this way, the accuracy of reference temperature difference data is improved.

[0076] Optionally, determining a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors includes: obtaining temperature difference data between the temperature data of any two processors among the one or more processors; if the temperature difference data is less than reference temperature difference data, obtaining current environmental conditions, the current environmental conditions including one or more of hardware configuration, load status and ambient temperature; obtaining target reference temperature data corresponding to the current environmental conditions using a correspondence between environmental conditions and reference temperature data; and determining a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data.

[0077] Specifically, for example, if the temperature of processor 1 is 90°C and the temperature of processor 2 is 92°C, the temperature difference data between processor 1 and processor 2 is 2°C. If the reference temperature difference data is 10°C, 9°C, or 8°C, etc., the temperature difference data is less than the reference temperature difference data, but the temperatures of processor 1 and processor 2 are both very high, which means that the heat sinks of both may be abnormal. To avoid misjudgment in this case, it is not enough to just determine the temperature difference data between the two, but also to determine the target reference temperature data according to the current environmental conditions. Match the temperature data of processor 1 and processor 2 or other processors with the target reference temperature data, and then determine the target processor with abnormal radiator status of the corresponding configuration from the one or more processors. For example, if the target reference temperature data is 80°C, if the temperature data of processor 1 and processor 2 do not match the target reference temperature data, it is determined that processor 1 and processor 2 are both target processors with abnormal radiator status of the corresponding configuration.

[0078] It can be seen that when the temperature difference data of multiple processors match the reference temperature difference data, in order to avoid the situation where the temperature of multiple processors is too high due to the abnormality of the radiator at the same time, the temperature of each processor is further matched with the target reference temperature data to determine the target processor with abnormal radiator status. This can effectively reduce the possibility of misjudgment and improve the detection effect of the target processor with abnormal radiator status.

[0079] In one possible embodiment, see Figure 4 , Figure 4: is a flow chart of another radiator detection method provided in an embodiment of the present application, and the detection process is as follows:

[0080] After the server is powered on, it can automatically perform corresponding detection actions, such as checking the health of the fan and determining whether the fan is operating normally. Specifically, the server can send a test command to the CPU to force the fan speed to increase to a fixed speed (usually 5000 rpm, and the fixed speed selection is related to the fan's capacity). Then, the actual fan speed is collected through the BMC to determine whether it is the same as the fixed speed. There is usually a 10% deviation here. If not, replace the fan and return to the initial detection step when the server is powered on; if so, it indicates that the fan is operating normally, then add the same load to one or more processors, such as adjusting the processor load to 100%, to increase the CPU temperature. Figure 4 The processor is schematically taken as a CPU as an example, of course, the processor may also be other processors such as a GPU.

[0081] Then, the actual temperature of one or more CPUs can be collected through the BMC, and the temperature of different CPUs, that is, the temperature difference of multiple CPUs, can be compared to determine whether it meets expectations. If it meets expectations, it means that the radiator is installed correctly; if it is "no", you need to recheck whether the radiator is abnormal.

[0082] Among them, adding the same load to all CPUs (which can cover various processor configurations of single, dual, and multiple servers) can increase the pressure on the server through tools to quickly improve the CPU utilization of the server. The main purpose is to increase the CPU power consumption to reach the target load, such as 90% or 100%.

[0083] In addition, when the radiator is working normally, the temperature of all CPUs should be controlled within the target range, and the temperature difference between the two CPUs should be within △T1 (for example, 3℃, 2℃ or 4℃, etc.), that is, the temperature of different CPUs is in line with expectations; but the heat dissipation capacity of normal radiators and abnormal radiators will be different. According to the feedback from a large amount of test data analysis, the temperature difference between normal radiators and abnormal radiators will be above △T2 (for example, 10℃, 9℃ or 12℃, etc.), that is, the temperature of different CPUs is not in line with expectations. By using the fact that the temperature difference between the processors corresponding to the normal radiator is within △T1, and the temperature difference between the processors corresponding to the normal radiator and the processors corresponding to the abnormal radiator is above △T2, the radiator with abnormal working status can be effectively identified, and the detection efficiency, the intelligence of the detection process and the accuracy of the detection results can be improved.

[0084] See also Figure 5, is a schematic diagram of functional units of a radiator detection device 500 according to an embodiment of the present invention. The radiator detection device 500 according to the embodiment of the present application may be a built-in device of an electronic device or may also be an external device of the electronic device.

[0085] In one implementation of the device of the embodiment of the present invention, the device includes:

[0086] The processing unit 510 is used to adjust the load state of one or more processors of the server to be tested to a target load in response to a load adjustment instruction of the test program, each of the one or more processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink;

[0087] An acquiring unit 520, configured to acquire temperature data of the one or more processors under the target load;

[0088] The determining unit 530 is configured to determine, from the one or more processors, a target processor with a correspondingly configured radiator in an abnormal state according to the temperature data of the one or more processors.

[0089] In a possible example, the determination unit 530 is used to determine, from the one or more processors, the target processor with an abnormal radiator status corresponding to the configuration based on the temperature data of the one or more processors, and the determination unit is also used to generate a first notification message, the first notification message including the identification information of the target processor and the identification information of the server to be detected, the first notification information being used to indicate that the radiator status corresponding to the target processor on the server to be detected is abnormal; the communication unit 550 is used to send the first notification message to the terminal device.

[0090] In one possible example, in terms of determining, from the one or more processors, a target processor with a correspondingly configured abnormal radiator state based on the temperature data of the one or more processors, the determination unit 530 is specifically used to obtain temperature difference data between the temperature data of any two processors among the one or more processors; if the temperature difference data is greater than or equal to the reference temperature difference data, then the processor with the larger temperature data among the any two processors is determined as the target processor with a correspondingly configured abnormal radiator state.

[0091] In one possible example, in terms of determining, from the one or more processors according to the temperature data of the one or more processors, a target processor with a correspondingly configured abnormal heat sink status, the determination unit 530 is specifically used to obtain current environmental conditions, where the current environmental conditions include one or more of hardware configuration, load status, and ambient temperature; obtain target reference temperature data corresponding to the current environmental conditions by using the correspondence between environmental conditions and reference temperature data; and determine, from the one or more processors according to the temperature data of the one or more processors and the target reference temperature data, a target processor with a correspondingly configured abnormal heat sink status.

[0092] In one possible example, in terms of determining a target processor with a correspondingly configured abnormal radiator state from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data, the determination unit 530 is specifically used to compare the temperature data of each processor in the one or more processors with the target reference temperature data to determine whether the temperature data of each processor matches the target reference temperature data; and determine a processor with mismatched temperature data as a target processor with a correspondingly configured abnormal radiator state.

[0093] In one possible example, the heat dissipation device also includes a fan, and the processing unit is used to adjust the load state of one or more processors of the server to be tested to a target load in response to the load adjustment instruction of the test program. The determination unit 530 is also used to adjust the speed of the fan configured corresponding to each processor of the one or more processors in response to the speed adjustment instruction of the test program, and the speed adjustment instruction is used to adjust the speed of the fan to the target speed; obtain the speed data of the fan configured corresponding to each processor; compare the speed data of the fan configured corresponding to each processor with the target speed to determine whether the speed data of the fan configured corresponding to each processor matches the target speed; if they match, execute the step of adjusting the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program.

[0094] In one possible example, the processing unit 510 is also used to determine the processor whose speed data does not match if there is a mismatch, and generate a second notification message, wherein the second notification message includes identification information of the processor whose speed data does not match and identification information of the server to be detected, and the second notification message is used to indicate that the fan status corresponding to the processor whose speed data does not match is abnormal; and send the second notification message to the terminal device.

[0095] In one possible example, the processing unit 510 is further used to obtain first temperature data of the first processor under the target load, and the heat dissipation device corresponding to the first processor includes a heat dissipation device in a normal state; obtain second temperature data of the second processor under the target load, and the heat dissipation device corresponding to the second processor includes a heat dissipation device in an abnormal state; and determine the reference temperature difference data based on the first temperature data and the second temperature data.

[0096] In some embodiments, the radiator detection device may further include an input and output interface, a communication interface, a power supply, and a communication bus.

[0097] The embodiment of the present application can divide the functional units of the radiator detection device according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0098] See also Figure 6 , is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention, the electronic device includes a power supply module and other structures, and includes a processor 601, a storage device 602 and a communication interface 603. The processor 601, the storage device 602 and the communication interface 603 can exchange data.

[0099] The storage device 602 may include a volatile memory, such as a random-access memory (RAM); the storage device 602 may also include a non-volatile memory, such as a flash memory, a solid-state drive (SSD), etc.; the storage device 602 may also include a combination of the above-mentioned types of memory. The communication interface 603 is an interface for data exchange between internal devices of the electronic device, such as: between the storage device 602 and the processor 601.

[0100] The processor 601 may be a central processing unit (CPU) 601. In one embodiment, the processor 601 may also be a graphics processing unit (GPU) 601. The processor 601 may also be a combination of a CPU and a GPU. In one embodiment, the storage device 602 is used to store program instructions. The processor 601 may call the program instructions and execute the following steps:

[0101] In response to a load adjustment instruction of the test program, the load state of one or more processors of the server to be tested is adjusted to a target load, each of the one or more processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink;

[0102] Acquiring temperature data of the one or more processors under the target load;

[0103] According to the temperature data of the one or more processors, a target processor with a correspondingly configured radiator in an abnormal state is determined from the one or more processors.

[0104] In a possible example, the processor 601 is used to determine, from the one or more processors according to the temperature data of the one or more processors, a target processor whose corresponding configured radiator status is abnormal. The processor 601 is also used to generate a first notification message, the first notification message including identification information of the target processor and identification information of the server to be detected, the first notification information being used to indicate that the corresponding configured radiator status of the target processor on the server to be detected is abnormal; and send the first notification message to the terminal device.

[0105] In one possible example, in terms of determining a target processor with a correspondingly configured abnormal radiator state from the one or more processors based on the temperature data of the one or more processors, the processor 601 is specifically used to obtain temperature difference data between the temperature data of any two processors among the one or more processors; if the temperature difference data is greater than or equal to the reference temperature difference data, the processor with the larger temperature data among the any two processors is determined as the target processor with a correspondingly configured abnormal radiator state.

[0106] In one possible example, in terms of determining a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors, the processor 601 is specifically used to obtain current environmental conditions, where the current environmental conditions include one or more of hardware configuration, load status, and ambient temperature; obtain target reference temperature data corresponding to the current environmental conditions by using the correspondence between environmental conditions and reference temperature data; and determine a target processor with a correspondingly configured abnormal radiator status from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data.

[0107] In one possible example, in terms of determining a target processor with a correspondingly configured abnormal radiator state from the one or more processors based on the temperature data of the one or more processors and the target reference temperature data, the processor 601 is specifically used to compare the temperature data of each processor in the one or more processors with the target reference temperature data to determine whether the temperature data of each processor matches the target reference temperature data; and determine a processor with mismatched temperature data as a target processor with a correspondingly configured abnormal radiator state.

[0108] In one possible example, the heat dissipation device also includes a fan, and the processor 601 is used to adjust the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program. The processor 601 is also used to adjust the speed of the fan configured corresponding to each processor of the one or more processors in response to the speed adjustment instruction of the test program, and the speed adjustment instruction is used to adjust the speed of the fan to the target speed; obtain the speed data of the fan configured corresponding to each processor; compare the speed data of the fan configured corresponding to each processor with the target speed to determine whether the speed data of the fan configured corresponding to each processor matches the target speed; if they match, execute the step of adjusting the load state of one or more processors of the server to be tested to the target load in response to the load adjustment instruction of the test program.

[0109] In one possible example, the processor 601 is also used to determine the processor whose speed data does not match if there is a mismatch, and generate a second notification message, the second notification message including the identification information of the processor whose speed data does not match and the identification information of the server to be detected, the second notification message being used to indicate that the fan status corresponding to the processor whose speed data does not match is abnormal; and send the second notification message to the terminal device.

[0110] In one possible example, the processor 601 is further used to obtain first temperature data of the first processor under the target load, and the heat dissipation device corresponding to the first processor includes a heat dissipation device in a normal state; obtain second temperature data of the second processor under the target load, and the heat dissipation device corresponding to the second processor includes a heat dissipation device in an abnormal state; and determine the reference temperature difference data based on the first temperature data and the second temperature data.

[0111] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments.

[0112] The embodiment of the present application also provides a computer program product or a computer program, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs some or all steps of any method recorded in the above method embodiment.

[0113] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0114] The above disclosure is only part of the embodiments of the present invention, which certainly cannot be used to limit the scope of the rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiments and equivalent changes made according to the claims of the present invention are still within the scope of the invention.

Claims

1. A radiator detection method, characterized in that: The method comprises: In response to a load adjustment instruction of the test program, the load state of multiple processors of the server to be tested is adjusted to a target load, each of the multiple processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink; Acquire temperature data of the plurality of processors under the target load; According to the temperature data of the plurality of processors, determining a target processor whose corresponding configured heat sink is in an abnormal state from among the plurality of processors; The step of determining, according to the temperature data of the multiple processors, a target processor with an abnormal radiator state corresponding to the multiple processors includes: The temperature difference data between the temperature data of any two processors among the multiple processors is obtained; if the temperature difference data is greater than or equal to the reference temperature difference data, the processor with the larger temperature data among the any two processors is determined as the target processor with abnormal state of the corresponding configured radiator.

2. The method according to claim 1, characterized in that After determining, according to the temperature data of the multiple processors, a target processor with a correspondingly configured radiator in an abnormal state from the multiple processors, the method further includes: Generate a first notification message, the first notification message including identification information of the target processor and identification information of the server to be detected, the first notification information being used to indicate that a radiator corresponding to the target processor on the server to be detected is in an abnormal state; Send the first notification message to the terminal device.

3. The method according to claim 1 or 2, characterized in that: The step of determining, according to the temperature data of the multiple processors, a target processor with a correspondingly configured radiator in an abnormal state from the multiple processors includes: Acquire current environmental conditions, where the current environmental conditions include one or more of hardware configuration, load status, and ambient temperature; Acquire target reference temperature data corresponding to the current environmental condition by using the corresponding relationship between the environmental condition and the reference temperature data; According to the temperature data of the plurality of processors and the target reference temperature data, a target processor whose corresponding configured heat sink is in an abnormal state is determined from the plurality of processors.

4. The method according to claim 3, characterized in that The step of determining, from the plurality of processors, a target processor with a correspondingly configured radiator having an abnormal state according to the temperature data of the plurality of processors and the target reference temperature data comprises: comparing the temperature data of each processor of the plurality of processors with the target reference temperature data to determine whether the temperature data of each processor matches the target reference temperature data; The processor whose temperature data does not match is determined as a target processor whose corresponding configured heat sink is abnormal.

5. The method according to claim 1, characterized in that The heat dissipation device further includes a fan, and in response to the load adjustment instruction of the test program, the load state of the plurality of processors of the server to be tested is adjusted to before the target load. The method further includes: In response to a speed adjustment instruction of the test program, adjusting the speed of a fan corresponding to each processor of the plurality of processors, wherein the speed adjustment instruction is used to adjust the speed of the fan to a target speed; Obtaining the speed data of the fan configured corresponding to each processor; Comparing the rotation speed data of the fan configured corresponding to each processor with the target rotation speed to determine whether the rotation speed data of the fan configured corresponding to each processor matches the target rotation speed; If there is a match, the step of adjusting the load states of the multiple processors of the server to be tested to the target load in response to the load adjustment instruction of the test program is executed.

6. The method according to claim 5, characterized in that The method further comprises: If there is no match, the processor whose rotation speed data does not match is determined, and a second notification message is generated, the second notification message including the identification information of the processor whose rotation speed data does not match and the identification information of the server to be detected, the second notification message is used to indicate that the fan state corresponding to the processor whose rotation speed data does not match is abnormal; Send the second notification message to the terminal device.

7. The method according to claim 1, characterized in that The method further comprises: Acquire first temperature data of a first processor under the target load, wherein a heat dissipation device configured corresponding to the first processor includes a heat dissipation device in a normal state; Acquiring second temperature data of the second processor under the target load, wherein the heat dissipation device configured corresponding to the second processor includes a heat sink in an abnormal state; The reference temperature difference data is determined according to the first temperature data and the second temperature data.

8. A radiator detection device, characterized in that: The device comprises: A processing unit, configured to adjust the load state of multiple processors of the server to be tested to a target load in response to a load adjustment instruction of the test program, wherein each of the multiple processors is correspondingly configured with a heat dissipation device, and the heat dissipation device includes a heat sink; an acquisition unit, configured to acquire temperature data of the plurality of processors under the target load; A determination unit, configured to determine, from the plurality of processors, a target processor whose corresponding configured radiator is in an abnormal state, according to the temperature data of the plurality of processors; The determination unit is used to obtain temperature difference data between the temperature data of any two processors among the multiple processors; if the temperature difference data is greater than or equal to the reference temperature difference data, the processor with larger temperature data among the any two processors is determined as the target processor with abnormal status of the corresponding configured radiator.

9. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program enables a computer to execute the method according to any one of claims 1 to 7.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method for detecting heat dissipation unit and detecting system of heat dissipation unit

    CN104123203A

  • Server heat dissipation method, device and computer-readable storage medium

    CN109460132A

  • Anti-fault cinema audio processor and using method thereof

    CN110381417A

  • Self -detecting computer system

    CN205354006U

  • Circuit board heat dissipation device

    CN211481778U