CN112783712B - Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system - Google Patents

Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system Download PDF

Info

Publication number
CN112783712B
CN112783712B CN201911085545.6A CN201911085545A CN112783712B CN 112783712 B CN112783712 B CN 112783712B CN 201911085545 A CN201911085545 A CN 201911085545A CN 112783712 B CN112783712 B CN 112783712B
Authority
CN
China
Prior art keywords
temperature
hard disk
current
environment
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911085545.6A
Other languages
Chinese (zh)
Other versions
CN112783712A (en
Inventor
柳顺兵
韩晓彤
常永良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201911085545.6A priority Critical patent/CN112783712B/en
Publication of CN112783712A publication Critical patent/CN112783712A/en
Application granted granted Critical
Publication of CN112783712B publication Critical patent/CN112783712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The scheme discloses a hard disk temperature monitoring method, a hard disk temperature monitoring device, a readable storage medium and a hard disk monitoring system, and the temperature of a hard disk is monitored by estimating the real-time temperature of the hard disk. The method comprises the following steps: firstly, acquiring the temperature of the environment of the hard disk at a reference time point as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature; then acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks; and finally, obtaining the current environment temperature of the environment where the hard disk is located at the current moment, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature. In the scheme, the real-time temperature of the hard disk is estimated according to the environmental temperature of the reference time point, the temperature of the hard disk and the current environmental temperature, so that the real-time temperature of the hard disk does not need to be frequently read, and the occupation of too much hard disk bandwidth resources can be avoided.

Description

Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system
Technical Field
The application relates to the technical field of hard disk monitoring, in particular to a hard disk temperature monitoring method, a hard disk temperature monitoring device, a readable storage medium and a hard disk monitoring system.
Background
For a hard disk, status data of the hard disk, also referred to as s.m.a.r.t information, is recorded by Self-Monitoring, analyzing and Reporting Technology (abbreviated as s.m.a.r.t). The s.m.a.r.t information of the hard disk includes the real-time temperature of the hard disk and other various data. Therefore, when the operation such as heat dissipation is performed on the hard disk, the temperature parameter of the hard disk can be directly read from the hard disk, and the working state of the heat dissipation fan and the like can be controlled according to the temperature parameter of the hard disk.
In the s.m.a.r.t information, since the temperature data of the hard disk exists as a whole together with other data, it is necessary to read the s.m.a.r.t information from the hard disk when acquiring the temperature data of the hard disk. The S.M.A.R.T information contains a lot of information and has a large data volume, and when the S.M.A.R.T information is read, the S.A.R.T information needs to occupy bandwidth and is frequently read, so that the resource occupancy rate is very high, and the S.M.A.R.T information is not favorable for acquiring the temperature data of the hard disk in real time.
Disclosure of Invention
In order to overcome at least the above disadvantages in the prior art, an object of the present application is to provide a hard disk temperature monitoring method applied to a hard disk monitoring system, the method comprising:
acquiring the temperature of the environment where the hard disks are located at the reference time point as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature;
acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks;
and acquiring the current environment temperature of the environment where the hard disk is located at the current moment, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature.
Optionally, the hard disk monitoring system includes a cooling fan, and the method further includes:
judging whether the current hard disk temperature exceeds a first preset temperature threshold value or not;
if the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotating speed of the cooling fan to improve the cooling rate;
judging whether the current hard disk temperature is lower than a second preset temperature threshold value, wherein the second preset temperature threshold value is smaller than the first preset temperature threshold value;
and if the current hard disk temperature is lower than the second preset temperature threshold, reducing the rotating speed of the heat dissipation fan to reduce the heat dissipation rate.
Optionally, the step of obtaining the second hard disk temperature from the first hard disk temperatures of all the hard disks includes:
and acquiring the highest first hard disk temperature from the first hard disk temperatures of all hard disks as a second hard disk temperature.
Optionally, the step of obtaining the current environment temperature of the environment where the hard disk is located at the current time includes:
acquiring the current lamp panel temperature acquired by a temperature sensor on the lamp panel at the current moment and the current backboard temperature acquired by a temperature sensor on the backboard at the current moment, wherein the lamp panel is of a structure provided with an LED indicating the running state of a system, and the backboard is of a structure for fixing a hard disk;
judging whether the current lamp panel temperature is within a preset temperature range or not;
if the current lamp panel temperature is within a preset temperature range, taking the current lamp panel temperature as the current environment temperature;
and if the current lamp panel temperature is not within the preset temperature range, taking the current backboard temperature as the current environment temperature.
Optionally, the step of obtaining the temperature of the environment where the hard disks are located at the reference time point as the environment reference temperature and the temperature in each hard disk as the first hard disk temperature includes:
according to a first preset time interval, acquiring the temperature of the environment where the hard disks are located as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature;
the step of obtaining the current environment temperature of the environment where the hard disk is located at the current moment and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature comprises the following steps:
in a first preset time interval, starting from the time starting point of the first preset time interval, obtaining the current environment temperature of the environment where the hard disk is located at the current moment according to a second preset time interval, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature, wherein the second preset time interval is smaller than the first preset time interval.
Optionally, the step of estimating the current hard disk temperature according to the current ambient temperature, the second hard disk temperature, and the ambient reference temperature includes:
calculating the difference between the environment reference temperature and the current environment temperature to obtain a temperature change value;
and calculating the sum of the second hard disk temperature and the temperature change value to obtain the current hard disk temperature.
Another object of the present application is to provide a hard disk temperature monitoring device, which is applied to a hard disk monitoring system, the device includes:
the memory is used for acquiring the temperature of the environment where the hard disks are located at the reference time point as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature;
the processor is used for acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks;
and the temperature calculation module is used for acquiring the current environment temperature of the environment where the hard disk is located at the current moment, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature.
Optionally, the hard disk monitoring system includes a cooling fan, the apparatus further includes a control module, and the control module is specifically configured to:
judging whether the current hard disk temperature exceeds a first preset temperature threshold value or not;
when the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotating speed of the cooling fan to improve the cooling rate;
judging whether the current temperature of the hard disk is lower than a second preset temperature threshold value or not, wherein the second preset temperature threshold value is smaller than the first preset temperature threshold value;
and when the current hard disk temperature is lower than the second preset temperature threshold value, reducing the rotating speed of the cooling fan to reduce the cooling rate.
Another object of the present application is to provide a readable storage medium, wherein an executable program is stored in the readable storage medium, and when the executable program is executed by a processor, the method according to any one of the present application is realized.
Another objective of the present application is to provide a hard disk monitoring system, which includes a memory and a processor, wherein the memory is connected to the processor, the memory stores an executable program, and the processor implements the method according to any one of the present application when executing the executable program.
Compared with the prior art, the method has the following beneficial effects:
according to the hard disk temperature monitoring method, the hard disk temperature monitoring device, the readable storage medium and the hard disk monitoring system, the temperature in the environment where the hard disk is located at the reference time point is obtained as the environment reference temperature and the first hard disk temperature in the hard disk, the second hard disk temperature is obtained according to the first hard disk temperature, and finally the temperature of the hard disk at the current moment, namely the current hard disk temperature, is estimated according to the current environment temperature, the environment reference temperature and the second hard disk temperature. In the process of obtaining the current hard disk temperature, the temperature of the hard disk at the reference time point, the temperature of the environment where the hard disk is located and the temperature of the environment where the current hard disk is located are adopted, and the real-time temperature of the hard disk is not required to be obtained from the hard disk frequently by reading the S.M.A.R.T information, so that the real-time monitoring of the hard disk temperature can be realized, and the occupation of bandwidth resources can be avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic block diagram of a structure of a hard disk monitoring system according to an embodiment of the present disclosure;
fig. 2 is a first flowchart illustrating a hard disk temperature monitoring method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a second hard disk temperature monitoring method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of a hard disk temperature monitoring method provided in the embodiment of the present application;
fig. 5 is a schematic view of a structural relationship between a lamp panel, a backplane, and a hard disk provided in the embodiment of the present application;
fig. 6 is a block diagram schematically illustrating a structure of a hard disk temperature monitoring apparatus according to an embodiment of the present application.
Icon: 100-hard disk monitoring system; 110-hard disk temperature monitoring device; 111-a first acquisition module; 112-a second obtaining module; 113-a temperature calculation module; 114-a control module; 120-a memory; 130-a processor.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined or explained in subsequent figures.
In the description of the present application, it is further noted that, unless expressly stated or limited otherwise, the terms "disposed," "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
A hard disk, which is a storage medium for storing a large amount of data, is an important structure in an electronic device having a data storage capability, such as a server or a computer, and the operating temperature thereof directly affects the reliability of the whole electronic device and even other structures connected to the electronic device. Generally, hard disks need to be used within certain specific temperature ranges. If the hard disk is outside the specified temperature range for a long time in the use process, the use risk is caused, and therefore, in the use process of the hard disk, the monitoring of the temperature of the hard disk is very important in the electronic equipment where the hard disk is located.
The hard disk can generate its own state information including the temperature of the hard disk itself, i.e., s.m.a.r.t information, through self-monitoring, analysis and reporting techniques. Therefore, in one embodiment, when the temperature data of the hard disk is monitored, the temperature data of the hard disk can be directly acquired from the hard disk. However, the temperature data in the s.m.a.r.t information is integrated with other data, and when acquiring the temperature data of the hard disk, it is necessary to read the s.m.a.r.t information from the hard disk first and then acquire the temperature data therefrom. Since the s.m.a.r.t information contains a large amount of information and a large amount of data, the manner of obtaining the temperature of the hard disk from the hard disk consumes some bandwidth resources, and if the manner is used to obtain the temperature of the hard disk in real time, the s.m.a.r.t information needs to be repeatedly read from the hard disk, which results in occupying more bandwidth resources.
In one embodiment, the temperature near the hard disk is directly adopted to directly replace the temperature of the hard disk, but the influence of external environment change on the temperature of the hard disk can only be reflected by directly adopting the mode of replacing the temperature of the hard disk by the temperature collected by the temperature sensor near the hard disk, and the influence of the state of the hard disk and the service change on the temperature of the hard disk cannot be effectively monitored.
In order to solve at least one of the above problems, the present embodiment provides a hard disk monitoring system 100, please refer to fig. 1, fig. 1 is a schematic block diagram of a structure of the hard disk monitoring system 100 provided in the embodiments of the present application, where the hard disk monitoring system 100 includes a hard disk temperature monitoring device 110, a memory 120 and a processor 130, and the memory 120 and the processor 130 are electrically connected to each other directly or indirectly for implementing data interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The hdd temperature monitoring apparatus 110 includes at least one software functional module that can be stored in the memory 120 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the hdd monitoring system 100. The processor 130 is used for executing executable modules stored in the memory 120, such as software functional modules and computer programs included in the hard disk temperature monitoring device 110.
Certainly, the hard disk monitoring system 100 in this embodiment may be a hard disk monitoring system on an electronic device such as a server and a host, for example, may be a hard disk monitoring system in an NVR (Network Video Recorder).
The embodiment further provides a hard disk temperature monitoring method applied to the hard disk monitoring system 100. Referring to fig. 2, the hard disk monitoring method includes steps S110 to S130, and the steps S110 to S130 are described in detail below with reference to specific embodiments.
Step S110, an environmental reference temperature and a first hard disk temperature of each hard disk are obtained.
Specifically, the temperature of the environment where the hard disks are located at the reference time point is obtained as the environment reference temperature and the temperature in each hard disk is obtained as the first hard disk temperature.
And step S120, acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks.
Step S130, obtaining a current ambient temperature of an environment where the hard disk is located at the current time.
And step S140, estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature.
In this embodiment, the second hard disk temperature is used as a reference for estimating the real-time temperature of the hard disk. The current hard disk temperature is the estimated real-time temperature of the hard disk.
The present embodiment is configured to obtain a first hard disk temperature of a hard disk at a reference time point and an environmental reference temperature, and determine a second hard disk temperature used as a reference of the temperature of the hard disk. When the current hard disk temperature is estimated, the environment reference temperature and the second hard disk temperature at the reference time point are adopted, so that the current hard disk temperature is estimated, and thus the real-time temperature of the hard disk is obtained without reading S.M.A.R.T information in the hard disk in real time, and the real-time monitoring of the hard disk temperature can be realized while bandwidth resources are prevented from being occupied.
In this embodiment, since the environmental reference temperature and the current environmental temperature are both directly obtained from the environment, the change conditions of the environmental reference temperature and the current environmental temperature can reflect the influence of the environmental temperature change on the hard disk, and the second hard disk temperature is the actual temperature of the hard disk related to the state of the hard disk itself when referring to the time point, therefore, by combining the three, the real-time temperature of the hard disk under the conditions of the environmental influence and the state change of the hard disk itself, that is, the current hard disk temperature, can be monitored, so that the monitored current hard disk temperature is closer to the actual temperature of the hard disk, that is, the obtained current hard disk temperature is more accurate.
Optionally, in this embodiment, the hard disk monitoring system 100 includes a heat dissipation fan, where the heat dissipation fan may be controlled by the processor 130, referring to fig. 3, and the method further includes steps S210 to S240.
Step S210, determining whether the current hard disk temperature exceeds a first preset temperature threshold.
Step S220, if the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotation speed of the cooling fan to increase the cooling rate.
Step S230, determining whether the current temperature of the hard disk is lower than a second preset temperature threshold, where the second preset temperature threshold is smaller than the first preset temperature threshold.
Step S240, if the current hard disk temperature is lower than the second preset temperature threshold, decreasing the rotation speed of the cooling fan to decrease the cooling rate.
For example, for some common hard disks, the first preset temperature threshold may be set to 70 degrees celsius, and the second preset temperature threshold may be set to 0 degrees celsius, so that when the estimated current hard disk temperature exceeds 70 degrees celsius, the rotation speed of the heat dissipation fan may be controlled to increase, thereby increasing the heat dissipation rate. When the estimated current hard disk temperature is lower than 0 ℃, the rotating speed of the cooling fan can be controlled to be reduced, so that the cooling rate is reduced.
The embodiment is used for regulating and controlling the rotating speed of the cooling fan according to the estimated temperature range of the current hard disk temperature, so that the cooling rate is regulated, and the hard disk can be kept to work in a relatively stable temperature range.
Optionally, in this embodiment, the step S120 includes obtaining a highest first hard disk temperature from the first hard disk temperatures of all hard disks as the second hard disk temperature, where the highest first hard disk temperature refers to a maximum value of the first hard disk temperature.
In this embodiment, the highest first hard disk temperature among the first hard disk temperatures of all the hard disks is taken as the second hard disk temperature, that is, the real-time temperature of the hard disk is estimated according to the highest first hard disk temperature among the first hard disk temperatures of all the hard disks. Therefore, the temperature of the actual hard disk can be prevented from being influenced by excessive temperature rise of any hard disk, and all the hard disks in operation can be ensured to be in a specified temperature range.
In addition, in this embodiment, the highest first hard disk temperature among the first hard disk temperatures of all the hard disks is used as the second hard disk temperature, and the real-time temperature of the hard disk can be estimated under the condition that part of the hard disks are in failure, so as to ensure a normal operation monitoring and speed regulation strategy.
Of course, according to different actual requirements, in this embodiment, the second hard disk temperature may also be determined in other manners, for example, the second hard disk temperature may be determined according to an average value of the first hard disk temperatures of all hard disks.
Referring to fig. 4, optionally, in the embodiment, the step of obtaining the current environment temperature of the environment where the hard disk is located includes substeps S131 to step S134.
Step S131, obtaining the current lamp panel temperature and the current backboard temperature.
Specifically, the current lamp plate temperature acquired by a temperature sensor on the lamp plate at the current moment and the current backboard temperature acquired by the temperature sensor on the backboard at the current moment are acquired, wherein the lamp plate is of a structure provided with an LED (light emitting diode) indicating the running state of the system, and the backboard is of a structure for fixing the hard disk.
In this embodiment, referring to fig. 5, the hard disk is disposed on a back plate in a housing of an electronic device such as a server or a host, an air inlet for exchanging air between the inside of the chassis and the outside is disposed on the housing, and the lamp panel is disposed at the air inlet, so that the temperature of the external environment where the temperature hard disk of the lamp panel is located is the closest to the temperature of the external environment. Because on backplate and the lamp plate, all be provided with the temperature sensor who is used for gathering respective temperature, consequently, adopt the temperature of lamp plate or backplate, can directly utilize current structure to realize this scheme, have easy operation, resources are saved's effect.
Referring to fig. 4, after the current lamp panel temperature or the current backplane temperature is obtained, step S132 may be performed.
And S132, judging whether the current lamp panel temperature is within a preset temperature range.
The preset temperature range is the temperature range of the temperature value of the lamp panel in the normal working state.
And S133, if the current lamp panel temperature is within a preset temperature range, taking the current lamp panel temperature as the current environment temperature.
And S134, if the current lamp panel temperature is not within a preset temperature range, taking the current backboard temperature as the current environment temperature.
For example, in an abnormal situation that only the temperature on the lamp panel cannot be obtained, when the temperature of the lamp panel cannot be collected, a specific value may be used to represent the current lamp panel temperature, for example, 255, and the temperature when the lamp panel is in a normal working state may be directly represented by the actually obtained lamp panel temperature. When the current environment temperature is determined, if the current lamp panel temperature is 255, the current backboard temperature is used as the current environment temperature, and if not, the current lamp panel temperature is used as the current environment temperature.
In this embodiment, the temperature of earlier adoption lamp plate estimates the real-time temperature of hard disk, because the lamp plate is located air inlet department, consequently, the temperature of lamp plate can reflect the temperature of environment more accurately to can estimate the temperature of hard disk more accurately. When the normal temperature of the lamp panel cannot be obtained, the real-time temperature of the hard disk is estimated by adopting the temperature of the back plate, so that the normal operation of the hard disk monitoring system 100 can be ensured, the problem that the current temperature of the hard disk cannot be estimated due to abnormal conditions such as temperature loss of the lamp panel is avoided, and the temperature of the hard disk can be monitored.
In addition, in this embodiment, estimate the temperature of hard disk through the temperature of lamp plate, backplate, because lamp plate, backplate self just are provided with temperature sensor, consequently, can make full use of the current structure of equipment to can practice thrift the cost.
Optionally, in this embodiment, the step of obtaining the temperature of the environment where the hard disks are located at the reference time point as the environment reference temperature and the temperature in each hard disk as the first hard disk temperature includes: according to a first preset time interval, the temperature of the environment where the hard disks are located is obtained and used as an environment reference temperature, and the temperature in each hard disk is used as a first hard disk temperature.
That is, at every first preset time interval, the reference time point is updated to be the current time point, and the environmental reference temperature and the first hard disk temperature of each hard disk are updated.
The step of obtaining the current environment temperature of the environment where the hard disk is located at the current moment and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature comprises the steps of obtaining the current environment temperature of the environment where the hard disk is located at the current moment according to a second preset time interval from the time starting point of the first preset time interval in a first preset time interval, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature, wherein the second preset time interval is smaller than the first preset time interval.
For example, in the present embodiment, the environmental reference temperature and the first hard disk temperature may be acquired in units of days. That is, the first preset time interval is 24 hours. At this time, if 0 point of each day is taken as the starting point time of the first preset time interval, at the 0 point time of the first day, the temperature of the environment where the hard disk is located at the 0 point time is obtained as the environmental reference temperature of the first day, and the first hard disk temperature of the hard disk at the 0 point time is obtained from each hard disk. And acquiring the current environment temperature of the environment where the hard disk is positioned according to a second preset time interval between the 0 point of the first day and the 0 point of the second day, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature. When the time of 0 point on the next day is reached, the temperature of the environment where the hard disk is located at the time of 0 point is obtained again to serve as the environment reference temperature of the next day, and the first hard disk temperature of the hard disk at the time of 0 point is obtained from each hard disk.
In this embodiment, the first preset time interval may be an integer multiple of the second preset time interval. Still taking the first predetermined time interval as a day (24 hours) as an example, then the second predetermined time interval may be, but is not limited to, 15 minutes, or 5 minutes, etc., as the actual case may be.
In this embodiment, the temperature of the environment where the hard disks are located at the reference time point is obtained as the environment reference temperature according to the first preset time interval, and the temperature in each hard disk is obtained as the first hard disk temperature, so that the consumption of resources of the hard disks can be greatly reduced.
For example, in this embodiment, the environmental reference temperature and the first environmental temperature of each hard disk may be obtained when the hard disk runs and occupies less resources every day, so that the hard disk usage peak may be staggered, and the impact on the normal service is minimized.
Optionally, in this embodiment, the step of estimating the current temperature of the hard disk according to the current environment temperature, the second temperature of the hard disk, and the environment reference temperature includes calculating a difference between the environment reference temperature and the current environment temperature to obtain a temperature change value; and calculating the sum of the second hard disk temperature and the temperature change value to obtain the current hard disk temperature.
The method and the device are used for estimating the temperature of the hard disk according to the influence of the temperature of the hard disk on the temperature change of the environment where the hard disk is located, so that the current hard disk temperature capable of reflecting the environment temperature change and the state change of the hard disk can be obtained simultaneously.
Referring to fig. 6, another objective of the present application is to provide a hard disk temperature monitoring apparatus 110 applied to a hard disk monitoring system 100, the apparatus includes a first obtaining module 111, a second obtaining module 112, and a temperature calculating module 113. The device 110 for monitoring the temperature of the hard disk includes a software function module which can be stored in the memory 120 in the form of software or firmware or solidified in an Operating System (OS) of the system 100 for monitoring the hard disk.
The first obtaining module 111 is configured to obtain a temperature of an environment where the hard disks are located at the reference time point as an environment reference temperature and a temperature in each hard disk as a first hard disk temperature.
The first obtaining module 111 in this embodiment is configured to execute step S110, and for a detailed description of the first obtaining module 111, reference may be made to the description of step S110.
The second obtaining module 112 is configured to obtain a second hard disk temperature from the first hard disk temperatures of all the hard disks.
The second obtaining module 112 in this embodiment is configured to perform the step S120, and the detailed description about the second obtaining module 112 may refer to the description about the step S120.
And the temperature calculation module 113 is configured to obtain a current environment temperature of an environment where the hard disk is located at the current time, and estimate the current hard disk temperature according to the current environment temperature, the second hard disk temperature, and the environment reference temperature.
The temperature calculation module 113 in this embodiment is configured to perform steps S130 to S140, and specific descriptions about the temperature calculation module 113 may refer to the descriptions about the steps S130 to S140.
Optionally, the hard disk monitoring system 100 includes a cooling fan, the apparatus further includes a control module 114, and the control module 114 is specifically configured to execute steps S210 to S240.
The temperature calculation module 113 in this embodiment is specifically configured to execute steps S210 to S240, and reference may be made to the description of steps S210 to S240 for specific description of the temperature calculation module 113.
Another object of the present application is to provide a readable storage medium, wherein an executable program is stored in the readable storage medium, and when the executable program is executed by the processor 130, the method according to any of the embodiments is implemented.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A hard disk temperature monitoring method is applied to a hard disk monitoring system, and the method comprises the following steps:
acquiring the temperature of the environment of the hard disks at a reference time point as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature;
acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks;
acquiring the current environment temperature of the environment where the hard disk is located at the current moment, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature;
the step of obtaining the current environment temperature of the environment where the hard disk is located at the current moment comprises the following steps:
acquiring the current lamp panel temperature acquired by a temperature sensor on the lamp panel at the current moment and the current backboard temperature acquired by the temperature sensor on the backboard at the current moment;
judging whether the current lamp panel temperature is within a preset temperature range or not;
if the current lamp panel temperature is within the preset temperature range, taking the current lamp panel temperature as the current environment temperature;
if the current lamp panel temperature is not within the preset temperature range, taking the current backboard temperature as the current environment temperature;
the step of estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature comprises the following steps:
calculating the difference between the environment reference temperature and the current environment temperature to obtain a temperature change value;
and calculating the sum of the second hard disk temperature and the temperature change value to obtain the current hard disk temperature.
2. The method of claim 1, wherein the hard disk monitoring system comprises a heat dissipation fan, the method further comprising:
judging whether the current hard disk temperature exceeds a first preset temperature threshold value or not;
if the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotating speed of the cooling fan to improve the cooling rate;
judging whether the current temperature of the hard disk is lower than a second preset temperature threshold value, wherein the second preset temperature threshold value is smaller than the first preset temperature threshold value;
and if the current hard disk temperature is lower than the second preset temperature threshold, reducing the rotating speed of the heat dissipation fan to reduce the heat dissipation rate.
3. The method of claim 2, wherein the step of obtaining the second hard disk temperature from the first hard disk temperatures of all the hard disks comprises:
and acquiring the highest first hard disk temperature from the first hard disk temperatures of all the hard disks as a second hard disk temperature.
4. The method of claim 1, wherein the lamp panel is a structure provided with an LED for indicating an operation state of the system, and the back panel is a structure for fixing a hard disk.
5. The method according to any one of claims 1 to 4, wherein the step of obtaining the temperature of the environment where the hard disks are located at the reference time point as the environment reference temperature and the temperature in each hard disk as the first hard disk temperature comprises:
according to a first preset time interval, acquiring the temperature of the environment where the hard disks are located as the environment reference temperature and the temperature in each hard disk as the first hard disk temperature;
the step of obtaining the current environment temperature of the environment where the hard disk is located at the current moment and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature comprises the following steps:
in a first preset time interval, starting from the time starting point of the first preset time interval, obtaining the current environment temperature of the environment where the hard disk is located at the current moment according to a second preset time interval, and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature, wherein the second preset time interval is smaller than the first preset time interval.
6. The utility model provides a hard disk temperature monitoring device which characterized in that is applied to hard disk monitored control system, the device includes:
the memory is used for acquiring the temperature of the environment where the hard disks are located at the reference time point as an environment reference temperature and the temperature in each hard disk as a first hard disk temperature;
the processor is used for acquiring a second hard disk temperature from the first hard disk temperatures of all the hard disks;
the temperature calculation module is used for acquiring the current environment temperature of the environment where the hard disk is located at the current moment and estimating the current hard disk temperature according to the current environment temperature, the second hard disk temperature and the environment reference temperature;
the temperature calculation module is specifically configured to:
acquiring the current lamp panel temperature acquired by a temperature sensor on the lamp panel at the current moment and the current backboard temperature acquired by the temperature sensor on the backboard at the current moment;
judging whether the current lamp panel temperature is within a preset temperature range or not;
if the current lamp panel temperature is within the preset temperature range, taking the current lamp panel temperature as the current environment temperature;
if the current lamp panel temperature is not within the preset temperature range, taking the current backboard temperature as the current environment temperature;
calculating the difference between the environment reference temperature and the current environment temperature to obtain a temperature change value;
and calculating the sum of the second hard disk temperature and the temperature change value to obtain the current hard disk temperature.
7. The apparatus of claim 6, wherein the hard disk monitoring system comprises a cooling fan, the apparatus further comprising a control module, the control module specifically configured to:
judging whether the current hard disk temperature exceeds a first preset temperature threshold value or not;
when the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotating speed of the cooling fan to improve the cooling rate;
judging whether the current temperature of the hard disk is lower than a second preset temperature threshold value or not, wherein the second preset temperature threshold value is smaller than the first preset temperature threshold value;
and when the current hard disk temperature is lower than the second preset temperature threshold value, reducing the rotating speed of the cooling fan to reduce the cooling rate.
8. A readable storage medium, wherein an executable program is stored in the readable storage medium, and when the executable program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
9. A hard disk monitoring system, comprising a memory and a processor, wherein the memory is connected to the processor, the memory stores an executable program, and the processor implements the method according to any one of claims 1 to 5 when executing the executable program.
CN201911085545.6A 2019-11-08 2019-11-08 Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system Active CN112783712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911085545.6A CN112783712B (en) 2019-11-08 2019-11-08 Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911085545.6A CN112783712B (en) 2019-11-08 2019-11-08 Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system

Publications (2)

Publication Number Publication Date
CN112783712A CN112783712A (en) 2021-05-11
CN112783712B true CN112783712B (en) 2023-03-14

Family

ID=75748264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911085545.6A Active CN112783712B (en) 2019-11-08 2019-11-08 Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system

Country Status (1)

Country Link
CN (1) CN112783712B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461039A (en) * 2021-12-28 2022-05-10 浪潮(山东)计算机科技有限公司 Heat dissipation regulation and control method, device and system, BMC and readable storage medium
CN117555761B (en) * 2024-01-11 2024-04-02 深圳市蓝智电子有限公司 Mobile hard disk operation monitoring system based on Internet of things

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5646655A (en) * 1993-08-31 1997-07-08 Canon Kabushiki Kaisha Recording apparatus and temperature detecting method therefor
JPH10283767A (en) * 1997-04-03 1998-10-23 Xing:Kk Temperature information reporting device for storage device, storage device array, and storage device array system
CN103729279A (en) * 2012-10-11 2014-04-16 鸿富锦精密工业(深圳)有限公司 Hard disk temperature detecting system
CN105526183B (en) * 2014-09-30 2017-07-25 联想(北京)有限公司 A kind of method and device of control rotation speed of the fan
CN108804293A (en) * 2018-06-27 2018-11-13 郑州云海信息技术有限公司 A kind of server and its contactless storage device temperature monitoring device
CN109710443B (en) * 2018-12-24 2023-06-16 平安科技(深圳)有限公司 Data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112783712A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US7836314B2 (en) Computer system performance estimator and layout configurator
US10519960B2 (en) Fan failure detection and reporting
CN112783712B (en) Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system
US8024609B2 (en) Failure analysis based on time-varying failure rates
US20080313492A1 (en) Adjusting a Cooling Device and a Server in Response to a Thermal Event
US8244943B2 (en) Administering the polling of a number of devices for device status
US20110239054A1 (en) Information processing apparatus and sign of failure determination method
US8751635B2 (en) Monitoring sensors for systems management
US9338928B2 (en) Optimizing free cooling of data centers through weather-based intelligent control
US20100083049A1 (en) Computer system, method of detecting symptom of failure in computer system, and program
CN111858230A (en) Method and system for monitoring health of server infrastructure
US9990467B2 (en) Electronic system with health monitoring mechanism and method of operation thereof
US9436517B2 (en) Reliability-aware application scheduling
CN108268361A (en) A kind of method, system, device and the storage medium of BMC monitoring GPU
US20110093132A1 (en) Platform-independent thermal management of components in electronic devices
US9261929B2 (en) Cooling device control
CN108899059B (en) Detection method and equipment for solid state disk
US20100011100A1 (en) Health Check System, Server Apparatus, Health Check Method, and Storage Medium
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
US11113364B2 (en) Time series data analysis control method and analysis control device
US11086370B2 (en) Activity-light-based parameter reporting system
US20140361978A1 (en) Portable computer monitoring
US11537501B2 (en) Method and device for monitoring server based on recordings of data from sensors, and non-transitory storage medium
US11237893B2 (en) Use of error correction-based metric for identifying poorly performing data storage devices
US8042995B2 (en) Method for monitoring temperature of computer components to determine ambient chassis temperature

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant