Redundant array of independent disks (RAID) card and temperature control method and device thereof

By reducing the number and rate of communication link channels and speed between the RAID card and the disk, the temperature control problem of RAID card in high temperature state is solved, the stability and service life are improved, and the integrity and consistency of data transmission are ensured.

CN119225653APending Publication Date: 2024-12-31SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411345249.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

Traditional temperature control methods of RAID cards in high temperature states lead to system failure, affecting stability and service life, and may lead to data loss, affecting user experience and corporate business.

Method used

By obtaining the temperature sensor information of the RAID card, we can determine whether it is in a high temperature state, and reduce the number of communication link channels and communication rate between the RAID card and the disk to reduce the temperature and avoid system failure.

Benefits of technology

It realizes the timely reduction of the RAID card temperature in a high temperature state, improves stability and service life, ensures the integrity and consistency of data transmission, and dynamically adjusts the number of data transmission channels to achieve intelligent temperature control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225653A_ABST
    Figure CN119225653A_ABST
Patent Text Reader

Abstract

The invention discloses a redundant array of independent disks (RAID) card and a temperature control method and device thereof, and relates to the technical field of storage, and the method comprises the following steps: obtaining temperature information collected by a temperature sensor of the RAID card; according to the temperature information and a high-temperature threshold value, whether the redundant array of independent disks is in a high-temperature state or not is judged; if the RAID card is in the high-temperature state, reducing communication link channels between the RAID card and the disk; when the RAID card is in the high-temperature state, part of physical communication links between the RAID card and the disk are stopped, so that the data transmission rate and power consumption can be reduced, the temperature of the RAID card is timely and effectively reduced, system faults caused by overheating are avoided, the stability of the RAID card is improved, the service life of the RAID card is prolonged, and the integrity and consistency of data transmission are guaranteed; and the number of data transmission channels is dynamically adjusted in real time according to the temperature information collected by the temperature sensor, so that intelligent temperature control of the RAID card is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of storage technology, and in particular to an independent disk redundant array card and a temperature control method and device thereof. Background Art

[0002] RAID (Redundant Array of Independent Disks) cards can combine multiple independent physical disks in a specific way to form a logical hard disk to improve storage performance and data redundancy technology, as well as to achieve faster user I / O (input / output) processing; for example, when RAID connects multiple NVMe (Non-Volatile Memory Express) SSD (Solid State Drive) hard disks, the RAID card is equivalent to an NVMe controller.

[0003] RAID cards are not only responsible for the configuration management of disk arrays, but also for the interaction of high-speed data I / O in the entire server system. Excessive temperature during use will significantly reduce the reliability of RAID cards, increase the risk of device failure, and reduce service life; therefore, RAID cards integrate temperature sensors (T-sensors) to monitor the working temperature in real time. When the temperature is too high and exceeds the warning value, the system is cooled down according to the actual degree of overheating to prevent the chip from being damaged by overheating. However, the traditional temperature control method of RAID cards mainly adopts increasing the power of cooling fans and forcing the CPU (central processing unit) to shut down or restart the entire RAID card; the main disadvantage of the traditional temperature control method is that the fan power is limited, and the maximum power may not be able to meet the cooling requirements. When the temperature exceeds the maximum threshold, directly shutting down or restarting the entire RAID card will cause host IO interruption, resulting in data loss, affecting user experience, and in severe cases, even affecting the business, productivity and reputation of customer companies, causing serious losses.

[0004] Therefore, how to provide a temperature control method for a RAID card to timely and effectively reduce the temperature of the RAID card under high temperature conditions, avoid system failures caused by overheating, and improve the stability and service life of the RAID card is a problem that needs to be solved urgently. Summary of the invention

[0005] The purpose of the present invention is to provide a temperature control method and device for a redundant array of independent disks card and a redundant array of independent disks card, so as to timely and effectively reduce the temperature of the RAID card under high temperature conditions, avoid system failures caused by overheating, and improve the stability and service life of the RAID card.

[0006] In order to solve the above technical problems, the present invention provides a temperature control method of an independent disk redundant array card, comprising:

[0007] Obtain temperature information collected by a temperature sensor of an independent disk redundant array card;

[0008] According to the temperature information and the high temperature threshold, determining whether the independent disk redundant array card is in a high temperature state;

[0009] If the high temperature state is present, the communication link channel between the independent redundant array of disks card and the disk is reduced; wherein the independent redundant array of disks card is connected to the disk and the host device through a preset number of physical communication links, respectively, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent redundant array of disks card and the disk.

[0010] On the other hand, reducing the communication link channel between the independent disk redundant array card and the disk includes:

[0011] The communication link channel between the independent disk redundant array card and the disk is reduced from the current channel number level to the next lower channel number level; wherein the current channel number level is any preset channel number level, and the next lower channel number level is a preset channel number level whose channel number adjacent to the current channel number level is less than the channel number corresponding to the current channel number level.

[0012] On the other hand, before reducing the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next channel number level, the method further includes:

[0013] Determine whether the current channel number level is the preset channel number level with the minimum channel number;

[0014] If not, then executing the step of reducing the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next channel number level;

[0015] If so, the host device is controlled to reduce the communication rate between the host device and the disk through the independent disk redundant array card.

[0016] On the other hand, controlling the host device to reduce the communication rate between the host device and the disk through the independent disk redundant array card includes:

[0017] Control the host device to reduce the communication rate between the host device and the disk from the current rate level to the next low rate level; wherein the current rate level is any preset communication rate level, and the next low rate level is a preset communication rate level whose communication rate adjacent to the current rate level is less than the communication rate corresponding to the current rate level.

[0018] On the other hand, the number of the temperature sensors is greater than or equal to 2; and the reducing the communication link channel between the independent disk redundant array card and the disk comprises:

[0019] The communication link channels in the target area between the independent disk redundant array card and the disk are reduced; wherein the target area is the area corresponding to the temperature sensor whose collected temperature information is greater than the high temperature threshold.

[0020] On the other hand, reducing the communication link channel between the independent disk redundant array card and the disk includes:

[0021] The independent disk redundant array card reduces the communication link channel between the independent disk and the disk through the driver;

[0022] Alternatively, the independent redundant array of disks card controls the host device to reduce the communication link channels between the independent redundant array of disks card and the disk.

[0023] On the other hand, the physical communication link is a high-speed serial computer expansion bus standard link, and the disk is a solid-state hard disk.

[0024] On the other hand, after judging whether the redundant array of independent disks card is in a high temperature state according to the temperature information and the high temperature threshold, the method further comprises:

[0025] If it is not in the high temperature state, judging whether the independent disk redundant array card is in the low temperature state according to the temperature information and the low temperature threshold;

[0026] If it is in the low temperature state, detecting whether the host device issues an input / output task;

[0027] If the input / output task is not issued, controlling the host device to set the communication link channel between the host device and the disk to a low power consumption state;

[0028] If the input / output task has been issued, then when the current rate level between the host device and the disk is not a preset communication rate level with the maximum communication rate, the host device is controlled to increase the communication rate between the host device and the disk from the current rate level to the next high rate level; wherein the current rate level is any preset communication rate level, and the next high rate level is a preset communication rate level whose communication rate adjacent to the current rate level is greater than the communication rate corresponding to the current rate level;

[0029] When the current rate level between the host device and the disk is the preset communication rate level with the maximum communication rate, if the current number of channels between the independent disk redundant array card and the disk is not the preset channel number level with the maximum channel number, the communication link channel between the independent disk redundant array card and the disk is increased from the current channel number level to the next higher channel number level; wherein the current channel number level is any preset channel number level, and the next higher channel number level is a preset channel number level in which the number of channels adjacent to the current channel number level is greater than the number of channels corresponding to the current channel number level.

[0030] The present invention also provides a temperature control device for an independent disk redundant array card, comprising:

[0031] A temperature acquisition module is used to acquire temperature information collected by a temperature sensor of an independent disk redundant array card;

[0032] A high temperature judgment module, used for judging whether the independent disk redundant array card is in a high temperature state according to the temperature information and the high temperature threshold;

[0033] A high temperature control module is used to reduce the communication link channel between the independent disk redundant array card and the disk if in the high temperature state; wherein the independent disk redundant array card is connected to the disk and the host device through a preset number of physical communication links, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent disk redundant array card and the disk.

[0034] In addition, the present invention also provides an independent disk redundant array card, comprising:

[0035] Memory for storing computer programs;

[0036] The processor is used to implement the steps of the temperature control method of the redundant array of independent disks card as described above when executing the computer program.

[0037] A temperature control method for an independent disk redundant array card provided by the present invention comprises: obtaining temperature information collected by a temperature sensor of the independent disk redundant array card; judging whether the independent disk redundant array card is in a high temperature state according to the temperature information and a high temperature threshold; if it is in a high temperature state, reducing a communication link channel between the independent disk redundant array card and a disk; wherein the independent disk redundant array card is connected to the disk and a host device through a preset number of physical communication links respectively, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent disk redundant array card and the disk;

[0038] It can be seen that the present invention can reduce the data transmission rate and power consumption by disabling part of the physical communication link between the RAID card and the disk when the RAID card is in a high temperature state, thereby timely and effectively reducing the temperature of the RAID card, avoiding system failures caused by overheating, improving the stability and service life of the RAID card, and ensuring the integrity and consistency of data transmission; and dynamically adjusting the number of channels for data transmission in real time according to the temperature information collected by the temperature sensor, thereby realizing intelligent temperature control of the RAID card. In addition, the present invention also provides a temperature control device for an independent disk redundant array card and an independent disk redundant array card, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the embodiments of the present invention 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0040] Figure 1 A flow chart of a temperature control method for a redundant array of independent disks card provided by an embodiment of the present invention;

[0041] Figure 2 A schematic flow chart of another temperature control method of a redundant array of independent disks card provided by an embodiment of the present invention;

[0042] Figure 3 A schematic diagram of the architecture of a server provided by an embodiment of the present invention;

[0043] Figure 4 A control result display diagram of another temperature control method for a redundant array of independent disks card provided by an embodiment of the present invention;

[0044] Figure 5 A structural block diagram of a temperature control device for an independent disk redundant array card provided by an embodiment of the present invention;

[0045] Figure 6 The present invention provides a schematic diagram of the structure of a redundant array of independent disks card. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are 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.

[0047] Please refer to Figure 1 , Figure 1 A flow chart of a temperature control method for a redundant array of independent disks card provided by an embodiment of the present invention. The method may include:

[0048] Step 101: Acquire temperature information collected by a temperature sensor of a redundant array of independent disks card.

[0049] The temperature control method of the RAID card provided in this embodiment can be applied to the RAID card, that is, the processor (or controller) in the RAID card can execute the steps of the method provided in this embodiment to achieve temperature control of the RAID card.

[0050] Correspondingly, the temperature sensor (T--sensor) in this embodiment can be a sensor set in the RAID card for detecting the temperature of the corresponding area. The specific number of temperature sensors in the RAID card in this embodiment can be set by the designer according to practical scenarios and user needs. For example, the number of temperature sensors in the RAID card can be 1 or a positive integer greater than or equal to 2, and this embodiment does not impose any restrictions on this.

[0051] It can be understood that in this embodiment, the RAID card can use the temperature information obtained by the temperature sensor to determine the power consumption of the RAID card, and thus adjust the power consumption of the RAID card by adjusting the number of channels of the communication link channel, thereby adjusting the temperature of the RAID card, solving the problem of insufficient temperature control of the RAID card during data transmission and the inability to ensure the integrity of data transmission.

[0052] Correspondingly, the specific method for the RAID card to obtain the temperature information collected by the temperature sensor of the independent disk redundant array card in this step can be set by the designer according to the practical scenario and user needs. For example, the RAID card can obtain the current temperature information (such as temperature value) collected by the temperature sensor of the RAID card at a preset time interval; Figure 2As shown, after the RAID card is started, the power consumption management module of the RAID card obtains the temperature information of the RAID card from the T-sensor (temperature sensor) in real time at a fixed period, and configures the threshold (such as high temperature threshold and low temperature threshold). The RAID card can also obtain the current temperature information collected by the temperature sensor of the RAID card at a first preset time interval when the RAID card is not in a high temperature state; when the RAID card is in a high temperature state, the current temperature information collected by the temperature sensor of the RAID card is obtained at a second preset time interval; the first preset time interval can be greater than the second preset time interval, so as to increase the collection frequency of the temperature sensor and improve the cooling efficiency when the RAID card is in a high temperature state. This embodiment does not impose any restrictions on this.

[0053] Step 102: judging whether the redundant array of independent disks card is in a high temperature state according to the temperature information and the high temperature threshold; if so, proceeding to step 103.

[0054] It is understandable that in this step, the RAID card can determine whether the RAID card is currently in a high temperature state based on the temperature information currently collected by the temperature sensor and the preset high temperature threshold, so as to enter step 103 to reduce the temperature of the RAID card when the RAID card is in a high temperature state.

[0055] Correspondingly, the specific method for the RAID card in this step to determine whether the independent disk redundant array card is in a high temperature state based on the temperature information and the high temperature threshold can be set by the designer according to the practical scenario and user needs. For example, when the number of temperature sensors of the RAID card is 1, the RAID card can determine that the RAID card is in a high temperature state when the temperature information (i.e., the temperature value) is greater than the high temperature threshold; when the temperature information is not greater than the high temperature threshold, it is determined that the RAID card is not in a high temperature state. When the number of temperature sensors of the RAID card is greater than or equal to 2, the RAID card can determine that the RAID card is in a high temperature state when the average value of each temperature information is greater than the high temperature threshold; otherwise, it is determined that the RAID card is not in a high temperature state; or, the RAID card can also determine that the RAID card is not in a high temperature state when each temperature information is not greater than the high temperature threshold; when there is temperature information greater than the high temperature threshold, it is determined that the RAID card is in a high temperature state. This embodiment does not impose any restrictions on this.

[0056] Step 103: Reduce the communication link channels between the independent disk redundant array card and the disk.

[0057] The independent disk redundant array card is connected to the disk and the host device respectively through a preset number of physical communication links, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent disk redundant array card and the disk.

[0058] It can be understood that in this embodiment, when the RAID card is in a high temperature state, the communication link channel between the RAID card and the disk (such as an NVMe SSD hard disk) can be reduced to reduce the power consumption of the RAID card, thereby reducing the temperature of the RAID card.

[0059] Correspondingly, the RAID card in this embodiment can be connected to the disk and the host device (such as a server host) through a preset number of physical communication links; Figure 3 As shown in the server architecture, the storage device of the server may include multiple NVMe SSD hard disks; the RAID card in the server may be connected to the host device and each NVMe SSD hard disk through a PCIe (a high-speed serial computer expansion bus standard link) PHY (physical) link, that is, the physical communication link between the RAID card and the host device and the disk may be a high-speed serial computer expansion bus standard link (PICe link); the RAID card in the server may be responsible for the host I / O data to interact with the NVMe SSD hard disk. In this embodiment, the communication link channel between the RAID card and the disk may be a physical communication link for starting data transmission in the physical communication link between the RAID card and the disk. For example, when the RAID card and the disk are connected using a x16 PCIe link, the communication link channel between the RAID card and the disk may be a physical channel of all or part of the PCIe link in the x16 PCIe link, such as a physical channel of an x8 PCIe link.

[0060] Accordingly, the specific method for the RAID card in this embodiment to reduce the communication link channel between the independent disk redundant array card and the disk can be set by the designer according to the practical scenario and user needs. For example, in order to facilitate the control of the RAID card, the RAID card can reduce the communication link channel between the disk through the driver, that is, the communication link channel between the RAID card and the host device remains unchanged, and the RAID card automatically reduces the communication link channel between the disk to avoid the participation of the host device. The RAID card can also control the host device to reduce the communication link channel between the independent disk redundant array card and the disk, that is, the RAID card can control the host device to reduce the communication link channel between the independent disk redundant array card and the disk by sending a corresponding notification message to the host device, that is, the communication link between the RAID card and the host device and the communication link channel between the RAID card and the disk are reduced at the same time; for example, the host device can reduce the number of PCIe link channels for communication with the disk from x16 to x8 through the host driver according to the notification message of the RAID card, so as to achieve the purpose of reducing link power consumption, thereby reducing the temperature of the RAID card.

[0061] In this embodiment, multiple channel number levels (i.e., preset channel number levels) can be preset, such as single channel, 2 channels (such as Figure 4 PHY x2), 4 channels (such as Figure 4 PHY x4), 8 channels (such as Figure 4 PHY x8) and 16 lanes (such as Figure 4 The preset channel number level such as PHY x16 in the RAID card can be used to enable the RAID card to gradually reduce the channel number of the communication link channel between the RAID card and the disk to achieve a balance between the cooling effect and the communication efficiency. For example, in this step, the RAID card can reduce the communication link channel between the RAID card and the disk from the current channel number level to the next low channel number level; wherein the current channel number level is any preset channel number level, and the next low channel number level is a preset channel number level in which the number of channels adjacent to the current channel number level is less than the number of channels corresponding to the current channel number level. In other words, each time the RAID card determines that it is in a high temperature state, it can reduce the communication link channel between the RAID card and the disk from the current channel number level to the next low channel number level with a lower channel number, and return to step 101 to wait for the next detection, until the communication link channel between the RAID card and the disk is reduced to the preset channel number level with the minimum number of channels (such as a single channel).

[0062] Furthermore, when the number of temperature sensors in the RAID card is greater than or equal to 2, in order to further improve the cooling effect of the RAID card, in the process of reducing the communication link channel between the RAID card and the disk in this embodiment, the RAID card can reduce the communication link channel in the target area between the RAID card and the disk; wherein the target area is the area corresponding to the temperature sensor whose collected temperature information is greater than the high temperature threshold. In other words, the RAID card can give priority to reducing the communication link channel between the RAID card and the disk passing through the target area, so as to reduce the temperature collected by the temperature sensor corresponding to the target area as soon as possible. For example, in the process of the RAID card reducing the communication link channels between the RAID card and the disk from the current channel number level to the next lower channel number level, if the communication link channels of the current channel number level include the communication link channels in the target area, then when the channel number of the communication link channels in the target area is greater than or equal to the difference between the channel number of the current channel number level and the channel number of the next lower channel number level, the communication link channels in the target area are reduced by the communication link channels of the difference in the channel number; when the channel number of the communication link channels in the target area is less than the difference between the channel number of the current channel number level and the channel number of the next lower channel number level, all the communication link channels in the target area are closed and the communication link channels in other areas are reduced by the remaining channel number; the remaining channel number can be the difference between the channel number of the current channel number level and the channel number of the next lower channel number level and the channel number of the communication link channels in the target area.

[0063] Furthermore, in this embodiment, when the RAID card is in a high temperature state, the temperature of the RAID card can be reduced not only by reducing the communication link channel between the RAID card and the disk, but also by reducing the communication rate of the communication link channel to reduce the power consumption of the RAID card, thereby reducing the temperature of the RAID card. For example, the RAID card can control the host device to reduce the communication rate between the host device and the disk through the RAID card. In other words, when the RAID card is in a high temperature state, the power consumption of the RAID card can be reduced by reducing the communication rate and reducing the number of communication link channels in sequence or simultaneously, thereby reducing the temperature of the RAID card.

[0064] For example, in this embodiment, when the RAID card is in a high temperature state, the temperature of the RAID card can be reduced by first reducing the communication link channel and then reducing the communication rate. For example, before step 103, when determining that the RAID card is in a high temperature state, the RAID card can determine whether the current channel number level is the preset channel number level with the smallest channel number; if not, then enter step 103, and reduce the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next channel number level; if so, then control the host device to reduce the communication rate between the host device through the independent disk redundant array card and the disk. In other words, when the channel number level (i.e., the current channel number level) of the communication link channel between the RAID card and the disk is the preset channel number level with the smallest channel number, if the RAID card is still detected to be in a high temperature state, the RAID card can control the host device to reduce the communication rate between the host device through the RAID card and the disk by sending a corresponding notification message to the host device, that is, reduce the communication rate between the RAID card and the host device and between the RAID card and the disk.

[0065] In some implementations, multiple communication rate levels (i.e., preset communication rate levels) may be preset, such as Figure 4In the embodiment of the present invention, the RAID card can control the host device to reduce the communication rate step by step to achieve a balance between the cooling effect and the communication efficiency. For example, the process of controlling the host device to reduce the communication rate between the host device and the disk through the independent disk redundant array card can include controlling the host device to reduce the communication rate between the host device and the disk from the current rate level to the next low rate level; wherein the current rate level is any preset communication rate level, and the next low rate level is a preset communication rate level whose communication rate adjacent to the current rate level is less than the communication rate corresponding to the current rate level. In other words, the RAID card can control the host device to reduce the communication rate from the current rate level to the next low rate level with a lower communication rate each time it is determined that the communication link channel between the RAID card and the disk is in a preset channel number level with the minimum number of channels (such as a single channel), and return to step 101 to wait for the next detection until the communication rate is reduced to the preset communication rate level with the minimum communication rate.

[0066] It should be noted that, for the case where the RAID card in this embodiment is not in a high temperature state, the designer can set it according to the practical scenario and user needs. For example, the RAID card can continue to work according to the previously adjusted communication link channel and / or communication rate between the RAID card and the disk when it is not in a high temperature state; in order to restore the communication efficiency, the RAID card can also determine whether the independent disk redundant array card is in a low temperature state according to the temperature information and the low temperature threshold; if it is in a low temperature state, increase the communication link channel between the independent disk redundant array card and the disk, and / or control the host device to increase the communication rate between the host device and the disk; for example, when the RAID card is in a low temperature state, when the current rate level between the host device and the disk is not the preset communication rate level with the maximum communication rate, the host device can be controlled to increase the communication rate between the host device and the disk from the current rate level to the next high rate level; When the current rate level between the host device and the disk is the preset communication rate level with the maximum communication rate, if the current number of channels between the independent disk redundant array card and the disk is not the preset channel number level with the maximum channel number, the communication link channel between the independent disk redundant array card and the disk is increased from the current channel number level to the next higher channel number level; wherein the current rate level is any preset communication rate level, and the next higher rate level is a preset communication rate level whose communication rate adjacent to the current rate level is greater than the communication rate corresponding to the current rate level; and the current channel number level is any preset channel number level, and the next higher channel number level is a preset channel number level whose channel number adjacent to the current channel number level is greater than the channel number corresponding to the current channel number level.

[0067] Further, such as Figure 2As shown, when the RAID card is in a low-temperature state, it detects whether the host device sends an input / output task; if no input / output task is sent, the host device is controlled to set the communication link channel between the host device and the disk to a low-power state to reduce power consumption; if no input / output task is sent, the above steps of increasing the communication link channel between the independent disk redundant array card and the disk and / or controlling the host device to increase the communication rate between the host device and the disk are performed. In other words, when the RAID card is in a low-temperature state and has no I / O tasks, the RAID card can notify the host to put the PCIe link into a low-power state; when it is in a low-temperature state and has an I / O task, the communication link channel and / or the communication rate are restored, such as Figure 2 As shown, the firmware of the RAID card can notify the host device to gradually restore the PCIe link rate until it reaches full speed; if the PCIe link has been restored to full rate, but the RAID card is still below the low temperature state, the RAID card can restore the working link (i.e., the communication link channel) with the NVMe SSD.

[0068] For example, if Figure 2 As shown, after the RAID card is started, the RAID card can use the power consumption management module to obtain the temperature of the RAID card from the T-sensor in real time at a fixed period, and configure the low temperature threshold and high temperature threshold; when the obtained temperature is higher than the high temperature threshold, the RAID card can gradually reduce the number of downstream channels with the NVMe SSD hard disk (that is, the number of channels of the communication link channel); after reducing the number of downstream channels to the preset channel number level with the minimum number of channels, if the temperature is detected again to be higher than the high temperature threshold, the host is notified to reduce the PCIe link rate, and the speed is reduced step by step until it is the lowest. When the obtained temperature is lower than the low temperature threshold and the host device has no I / O tasks, the RAID card notifies the host device to put the PCIe link into a low power consumption state; when the obtained temperature is lower than the low temperature threshold and the host device has an I / O task, the firmware of the RAID card can notify the host to restore the PCIe link rate to full speed step by step, as shown in the figure. Figure 4 As shown in FIG. 1 , when the temperatures T1-T4 lower than the low temperature threshold are detected successively, the communication rate of the PCIe link is adjusted from Gen1 to Gen2-Gen5 step by step; if the PCIe link has been restored to the full rate, but the RAID card temperature still detects that the temperature is lower than the low temperature threshold, the RAID card can restore the number of downstream channels with the NVMe SSD, as shown in FIG. Figure 4 As shown, when temperatures T5-T7 lower than the low temperature threshold are continuously detected in sequence, the number of downstream channels is adjusted step by step from PHY x1 to PHY x2-PHY x16.

[0069] In this embodiment, the embodiment of the present invention can reduce the data transmission rate and power consumption by disabling part of the physical communication link between the RAID card and the disk when the RAID card is in a high temperature state, thereby timely and effectively reducing the temperature of the RAID card, avoiding system failures caused by overheating, improving the stability and service life of the RAID card, and ensuring the integrity and consistency of data transmission; and dynamically adjusting the number of data transmission channels in real time according to the temperature information collected by the temperature sensor, thereby realizing intelligent temperature control of the RAID card.

[0070] Corresponding to the above method embodiment, the embodiment of the present invention further provides a temperature control device for an independent redundant array of disks card. The temperature control device for an independent redundant array of disks card described below and the temperature control method for an independent redundant array of disks card described above can be referred to each other.

[0071] Please refer to Figure 5 , Figure 5 This is a structural block diagram of a temperature control device for an independent disk redundant array card provided by an embodiment of the present invention. The device may include:

[0072] A temperature acquisition module 10 is used to acquire temperature information collected by a temperature sensor of an independent disk redundant array card;

[0073] A high temperature determination module 20 is used to determine whether the independent disk redundant array card is in a high temperature state according to the temperature information and the high temperature threshold;

[0074] The high temperature control module 30 is used to reduce the communication link channel between the independent disk redundant array card and the disk if it is in a high temperature state; wherein the independent disk redundant array card is connected to the disk and the host device through a preset number of physical communication links, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent disk redundant array card and the disk.

[0075] In some embodiments, the high temperature control module 30 can be specifically used to reduce the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next lower channel number level; wherein the current channel number level is any preset channel number level, and the next lower channel number level is a preset channel number level whose channel number adjacent to the current channel number level is less than the channel number corresponding to the current channel number level.

[0076] In some embodiments, the high temperature control module 30 may include:

[0077] The channel number judgment submodule is used to judge whether the current channel number level is the preset channel number level with the minimum channel number;

[0078] The channel adjustment submodule is used to reduce the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next channel number level if the current channel number level is not the preset channel number level with the minimum channel number;

[0079] The rate adjustment submodule is used to control the host device to reduce the communication rate between the host device and the disk through the independent disk redundant array card if the current channel number level is the preset channel number level with the minimum channel number.

[0080] In some embodiments, the channel adjustment submodule can be specifically used to control the host device to reduce the communication rate between the host device and the disk from a current rate level to a next low rate level; wherein the current rate level is any preset communication rate level, and the next low rate level is a preset communication rate level whose communication rate adjacent to the current rate level is less than the communication rate corresponding to the current rate level.

[0081] In some embodiments, the number of temperature sensors is greater than or equal to 2; the high temperature control module 30 can be specifically used to reduce the communication link channels within the target area between the independent disk redundant array card and the disk; wherein the target area is the area corresponding to the temperature sensor whose collected temperature information is greater than the high temperature threshold.

[0082] In some embodiments, the high temperature control module 30 can be specifically used to reduce the communication link channels between the disk and the host device through the driver; or control the host device to reduce the communication link channels between the independent disk redundant array card and the disk.

[0083] In some embodiments, the physical communication link is a high-speed serial computer expansion bus standard link, and the disk is a solid-state drive.

[0084] In some embodiments, the apparatus may further include:

[0085] A low temperature judgment module is used to judge whether the independent disk redundant array card is in a low temperature state according to the temperature information and the low temperature threshold value if it is not in a high temperature state;

[0086] A task detection module is used to detect whether the host device sends an input / output task if it is in a low temperature state;

[0087] A low power consumption control module, used for controlling the host device to set the communication link channel between the host device and the disk to a low power consumption state if no input / output task is issued;

[0088] A recovery module is used for, if an input / output task has been issued, then when the current rate level between the host device and the disk is not the preset communication rate level with the maximum communication rate, controlling the host device to increase the communication rate between the host device and the disk from the current rate level to the next high rate level; wherein the current rate level is any preset communication rate level, and the next high rate level is a preset communication rate level with a communication rate adjacent to the current rate level greater than the communication rate corresponding to the current rate level; when the current rate level between the host device and the disk is the preset communication rate level with the maximum communication rate, if the current number of channels between the independent disk redundant array card and the disk is not the preset channel number level with the maximum channel number, then increasing the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next high channel number level; wherein the current channel number level is any preset channel number level, and the next high channel number level is a preset channel number level with a channel number adjacent to the current channel number level greater than the channel number corresponding to the current channel number level.

[0089] In this embodiment, the embodiment of the present invention disables part of the physical communication link between the RAID card and the disk when the RAID card is in a high temperature state through the high temperature control module 30, thereby reducing the data transmission rate and power consumption, thereby timely and effectively reducing the temperature of the RAID card, avoiding system failures caused by overheating, improving the stability and service life of the RAID card, and ensuring the integrity and consistency of data transmission; and dynamically adjusting the number of data transmission channels in real time according to the temperature information collected by the temperature sensor, thereby realizing intelligent temperature control of the RAID card.

[0090] Corresponding to the above method embodiment, the embodiment of the present invention further provides an independent disk redundant array card. The independent disk redundant array card described below and the temperature control method of an independent disk redundant array card described above can be referred to each other.

[0091] Please refer to Figure 6 , Figure 6 A schematic diagram of the structure of a redundant array of independent disks card provided by an embodiment of the present invention. The redundant array of independent disks card may include:

[0092] A memory D1, for storing computer programs;

[0093] The processor D2 is used to implement the temperature control method steps of the redundant array of independent disks card provided by the above method embodiment when executing the computer program.

[0094] like Figure 3 The RAID card provided in this embodiment may also include a temperature sensor and a cache.

[0095] The steps in the temperature control method of the redundant array of independent disks card described above can be implemented by the structure of the redundant array of independent disks card.

[0096] Corresponding to the above method embodiment, the embodiment of the present invention further provides a server. The server described below and the temperature control method of the independent disk redundant array card described above can be referred to each other.

[0097] A server comprises: an independent disk redundant array card, a host device and a disk as provided in the above embodiment.

[0098] Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer program product. The computer program product described below and the temperature control method of the redundant array of independent disks card described above can be referred to each other.

[0099] A computer program product includes a computer program / instruction. When the computer program / instruction is executed by a processor, the steps of the temperature control method of the independent disk redundant array card provided by the above method embodiment are implemented.

[0100] Corresponding to the above method embodiment, the embodiment of the present invention further provides a computer-readable storage medium. The computer-readable storage medium described below and the temperature control method of the independent disk redundant array card described above can be referred to each other.

[0101] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the temperature control method of a redundant array of independent disks card of the above method embodiment.

[0102] The computer-readable storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc., which can store program codes.

[0103] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device, independent disk redundant array card, server, computer program product and computer readable storage medium disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0104] The above is a detailed introduction to an independent disk redundant array card and its temperature control method and device provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and core ideas of the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, the present invention can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the present invention.

Claims

1. A temperature control method for a redundant array of independent disks card, characterized in that: include: Obtain temperature information collected by a temperature sensor of an independent disk redundant array card; According to the temperature information and the high temperature threshold, determining whether the independent disk redundant array card is in a high temperature state; If the high temperature state is present, the communication link channel between the independent redundant array of disks card and the disk is reduced; wherein the independent redundant array of disks card is connected to the disk and the host device through a preset number of physical communication links, respectively, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent redundant array of disks card and the disk.

2. The temperature control method of the independent disk redundant array card according to claim 1, characterized in that: The reducing the communication link channel between the independent disk redundant array card and the disk comprises: The communication link channel between the independent disk redundant array card and the disk is reduced from the current channel number level to the next lower channel number level; wherein the current channel number level is any preset channel number level, and the next lower channel number level is a preset channel number level whose channel number adjacent to the current channel number level is less than the channel number corresponding to the current channel number level.

3. The temperature control method of the independent disk redundant array card according to claim 2, characterized in that: Before the communication link channel between the independent disk redundant array card and the disk is reduced from the current channel number level to the next channel number level, the method further includes: Determine whether the current channel number level is the preset channel number level with the minimum channel number; If not, then executing the step of reducing the communication link channel between the independent disk redundant array card and the disk from the current channel number level to the next channel number level; If so, the host device is controlled to reduce the communication rate between the host device and the disk through the independent disk redundant array card.

4. The temperature control method of the independent disk redundant array card according to claim 3, characterized in that: The controlling the host device to reduce the communication rate between the host device and the disk through the independent disk redundant array card includes: Control the host device to reduce the communication rate between the host device and the disk from the current rate level to the next low rate level; wherein the current rate level is any preset communication rate level, and the next low rate level is a preset communication rate level whose communication rate adjacent to the current rate level is less than the communication rate corresponding to the current rate level.

5. The temperature control method of the independent disk redundant array card according to claim 1, characterized in that: The number of the temperature sensors is greater than or equal to 2; the reducing the communication link channel between the independent disk redundant array card and the disk comprises: The communication link channels in the target area between the independent disk redundant array card and the disk are reduced; wherein the target area is the area corresponding to the temperature sensor whose collected temperature information is greater than the high temperature threshold.

6. The temperature control method of a redundant array of independent disks card according to claim 1, characterized in that: The reducing the communication link channel between the independent disk redundant array card and the disk comprises: The independent disk redundant array card reduces the communication link channel between the independent disk and the disk through the driver; Alternatively, the independent redundant array of disks card controls the host device to reduce the communication link channels between the independent redundant array of disks card and the disk.

7. The temperature control method of a redundant array of independent disks card according to claim 1, characterized in that: The physical communication link is a high-speed serial computer expansion bus standard link, and the disk is a solid state hard disk.

8. The temperature control method of a redundant array of independent disks card according to any one of claims 1 to 7, characterized in that: After judging whether the independent disk redundant array card is in a high temperature state according to the temperature information and the high temperature threshold, the method further includes: If it is not in the high temperature state, judging whether the independent disk redundant array card is in the low temperature state according to the temperature information and the low temperature threshold; If it is in the low temperature state, detecting whether the host device issues an input / output task; If the input / output task is not issued, controlling the host device to set the communication link channel between the host device and the disk to a low power consumption state; If the input / output task has been issued, then when the current rate level between the host device and the disk is not a preset communication rate level with the maximum communication rate, the host device is controlled to increase the communication rate between the host device and the disk from the current rate level to the next high rate level; wherein the current rate level is any preset communication rate level, and the next high rate level is a preset communication rate level whose communication rate adjacent to the current rate level is greater than the communication rate corresponding to the current rate level; When the current rate level between the host device and the disk is the preset communication rate level with the maximum communication rate, if the current number of channels between the independent disk redundant array card and the disk is not the preset channel number level with the maximum channel number, the communication link channel between the independent disk redundant array card and the disk is increased from the current channel number level to the next higher channel number level; wherein the current channel number level is any preset channel number level, and the next higher channel number level is a preset channel number level in which the number of channels adjacent to the current channel number level is greater than the number of channels corresponding to the current channel number level.

9. A temperature control device for an independent disk redundant array card, characterized in that: include: A temperature acquisition module is used to acquire temperature information collected by a temperature sensor of an independent disk redundant array card; A high temperature judgment module, used for judging whether the independent disk redundant array card is in a high temperature state according to the temperature information and the high temperature threshold; A high temperature control module is used to reduce the communication link channel between the independent disk redundant array card and the disk if in the high temperature state; wherein the independent disk redundant array card is connected to the disk and the host device through a preset number of physical communication links, the preset number is greater than or equal to 2, and the communication link channel is a physical communication link enabled for data transmission among the preset number of physical communication links between the independent disk redundant array card and the disk.

10. A redundant array of independent disks card, characterized in that: include: Memory for storing computer programs; A processor is used to implement the steps of the temperature control method of the independent disk redundant array card according to any one of claims 1 to 8 when executing the computer program.