Search

CN-121979367-A - Temperature control method and device of storage device and electronic equipment

CN121979367ACN 121979367 ACN121979367 ACN 121979367ACN-121979367-A

Abstract

The embodiment of the application provides a temperature control method and device of a storage device and electronic equipment, and relates to the technical field of computers; and under the condition that the working temperature is lower than a preset temperature threshold, determining first self-heating intensity of the storage device according to the working temperature and the preset temperature threshold, and controlling a CPU (Central processing Unit) of the storage device to execute heating operation matched with the first self-heating intensity. The application realizes the effect of automatically controlling the working temperature of the storage device on the basis of not depending on external devices, effectively prevents the problem that the reliability of equipment is affected when the temperature of the storage device is too low, and ensures the performance and stability of the storage device.

Inventors

  • YUAN YONGFEN
  • YANG YING
  • CHEN XIANG
  • YANG YAFEI

Assignees

  • 深圳大普微电子股份有限公司

Dates

Publication Date
20260505
Application Date
20251204

Claims (10)

  1. 1. A temperature control method of a storage device, comprising: Detecting the working temperature of the storage device; Determining a first self-heating intensity of the storage device according to the working temperature and a preset temperature threshold under the condition that the working temperature is lower than the preset temperature threshold; a central controller CPU controlling the storage device performs a heating operation matched to the first self-heating intensity.
  2. 2. The method of claim 1, wherein the controlling the central controller CPU of the storage device to perform a heating operation that matches the first self-heating intensity comprises: Determining a first calculation load type matched with the first self-heating intensity according to the matching relation between the self-heating intensity and the calculation load type; And controlling the CPU to calculate according to the first calculation load type.
  3. 3. The method of claim 2, wherein said controlling the CPU to perform calculations according to the first calculation load type comprises: determining a first CPU core number matched with the first self-heating intensity according to a matching relation between the self-heating intensity and the CPU core number; determining a target CPU core matched with the first CPU core number in the CPU; And distributing the computing load task corresponding to the first computing load type to the target CPU core so as to enable the target CPU core to execute the computing load task.
  4. 4. The method of claim 1, wherein determining the first self-heating intensity of the storage device based on the operating temperature and the preset temperature threshold comprises: Calculating error parameters between the working temperature and the preset temperature threshold, wherein the error parameters comprise at least one of a difference value, an accumulated error and an error change rate; And determining the first self-heating intensity according to the error parameter, wherein the first self-heating intensity is positively correlated with the error parameter.
  5. 5. The method of claim 2, wherein the controlling the central controller CPU of the storage device to perform a heating operation that matches the first self-heating intensity comprises: Determining a second self-heating intensity of the storage device according to the real-time temperature of the storage device and the preset temperature threshold value in the process of controlling the CPU to execute the heating operation, and determining a second calculation load type matched with the second self-heating intensity; And adjusting the calculation load type of the CPU from the first calculation load type to the second calculation load type so that the CPU calculates according to the second calculation load type.
  6. 6. The method of claim 5, wherein the controlling the central controller CPU of the storage device to perform a heating operation that matches the first self-heating intensity further comprises: And controlling the CPU to stop the heating operation under the condition that the real-time temperature of the storage device is detected to be higher than or equal to the preset temperature threshold value.
  7. 7. The method of claim 1, wherein the controlling the central controller CPU of the storage device to perform a heating operation that matches the first self-heating intensity comprises: Determining a first CPU operation parameter matched with the first self-heating intensity according to a matching relation between the self-heating intensity and the CPU operation parameter, wherein the CPU operation parameter comprises a CPU voltage and/or a CPU operation frequency; and adjusting the current operation parameters of the CPU to the first CPU operation parameters.
  8. 8. The method of claim 1, wherein detecting the operating temperature of the storage device comprises: acquiring a component temperature of at least one designated component in the storage device; The operating temperature is calculated based on the component temperatures of the at least one designated component, the operating temperature being the lowest component temperature of the at least one component temperature, or the operating temperature being the average temperature of the at least one component temperature.
  9. 9. A temperature control device of a storage device, comprising: The detection module is used for detecting the working temperature of the storage device; the determining module is used for determining the first self-heating intensity of the storage device according to the working temperature and the preset temperature threshold value under the condition that the working temperature is lower than the preset temperature threshold value; and the control module is used for controlling a central controller CPU of the storage device to execute heating operation matched with the first self-heating intensity.
  10. 10. An electronic device comprising a memory, a processor and a computer program stored on the memory, the processor implementing the method of any one of claims 1 to 8 when the computer program is executed.

Description

Temperature control method and device of storage device and electronic equipment Technical Field The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling temperature of a storage device, and an electronic device. Background Storage devices such as solid state disks are widely used in personal computers, enterprise servers and other devices due to their high-speed reading and writing and shock resistance. However, the storage device may have a certain stability problem in a low-temperature environment, and particularly, the performance of the NAND flash memory chip at a low temperature is greatly reduced, for example, the problems of writing failure, data loss, slow response and the like may occur, so that the writing and reading stability of data is affected, and even the data loss or hard disk damage may be caused. To solve this problem, in the related art, an attempt is made to improve the performance of a storage device at low temperatures by adding a heating element or an external heating device. However, such heating methods often require external power and are bulky and cannot be directly integrated inside the hard disk. Therefore, not only hardware cost is high, but also temperature of the storage device cannot be accurately controlled, so that temperature control effect is poor. Therefore, a solution for controlling the temperature of the storage device with high convenience and high accuracy is needed. Disclosure of Invention The embodiment of the application provides a temperature control method and device of a storage device and electronic equipment, which are used for alleviating or solving one or more technical problems in the prior art. In a first aspect, an embodiment of the present application provides a method for controlling a temperature of a storage device, including: Detecting the working temperature of the storage device; Determining a first self-heating intensity of the storage device according to the working temperature and a preset temperature threshold under the condition that the working temperature is lower than the preset temperature threshold; a CPU (Central Processing Unit, central controller) controlling the storage device performs a heating operation matched to the first self-heating intensity. In a second aspect, an embodiment of the present application provides a temperature control apparatus of a storage apparatus, including: The detection module is used for detecting the working temperature of the storage device; the determining module is used for determining the first self-heating intensity of the storage device according to the working temperature and the preset temperature threshold value under the condition that the working temperature is lower than the preset temperature threshold value; and the control module is used for controlling a central controller CPU of the storage device to execute heating operation matched with the first self-heating intensity. In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory, where the processor implements the method of any one of the embodiments of the present application when the computer program is executed. In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing a method according to any of the embodiments of the present application. In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method according to any of the embodiments of the present application. According to the technical scheme of the embodiment of the application, the first self-heating intensity of the storage device is determined according to the working temperature and the preset temperature threshold under the condition that the working temperature of the storage device is lower than the preset temperature threshold by detecting the working temperature of the storage device, so that the Central Processing Unit (CPU) of the storage device is controlled to execute the heating operation matched with the first self-heating intensity. Therefore, under the condition that no external hardware equipment is connected, whether the storage device is in a low-temperature environment or not can be automatically detected, and the CPU can be automatically controlled to execute heating operation matched with the current self-heating intensity when the storage device is in the low-temperature environment, so that the effect of automatically controlling the working temperature of the storage device on the basis of being independent of an external device is achieved, the problem that the reliability of equipment is affected wh