[go: up one dir, main page]

CN112783712A - 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
CN112783712A
CN112783712A CN201911085545.6A CN201911085545A CN112783712A CN 112783712 A CN112783712 A CN 112783712A CN 201911085545 A CN201911085545 A CN 201911085545A CN 112783712 A CN112783712 A CN 112783712A
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.)
Granted
Application number
CN201911085545.6A
Other languages
Chinese (zh)
Other versions
CN112783712B (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 OR CALCULATING; 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 OR CALCULATING; 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

本方案公开了一种硬盘温度监控方法、装置、可读存储介质及硬盘监控系统,通过对硬盘实时的温度进行估算,实现对硬盘的温度监控。所述方法包括:首先获取参考时刻点时硬盘所在环境的温度作为环境参考温度以及每个硬盘中的温度作为第一硬盘温度;然后从所有所述硬盘的第一硬盘温度中获取第二硬盘温度;最后获取当前时刻所述硬盘所处环境的当前环境温度,并根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度。本方案中,由于是根据参考时刻点的环境温度、硬盘温度以及当前环境温度来估算硬盘实时的温度,因此,不需要通过频繁读取硬盘实时的温度,从而能够避免占用过多硬盘带宽资源。

Figure 201911085545

This solution discloses a hard disk temperature monitoring method, device, readable storage medium and hard disk monitoring system, which realizes the temperature monitoring of the hard disk by estimating the real-time temperature of the hard disk. The method includes: firstly acquiring the temperature of the environment where the hard disk is located at the reference time point as the ambient reference temperature and the temperature in each hard disk as the first hard disk temperature; then acquiring the second hard disk temperature from the first hard disk temperatures of all the hard disks ; Finally, obtain the current ambient temperature of the environment where the hard disk is located at the current moment, and estimate the current hard disk temperature according to the current ambient temperature, the second hard disk temperature and the ambient reference temperature. In this solution, since the real-time temperature of the hard disk is estimated based on the ambient temperature, hard disk temperature and current ambient temperature at the reference time point, it is not necessary to read the real-time temperature of the hard disk frequently, so as to avoid occupying too many hard disk bandwidth resources.

Figure 201911085545

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 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, the temperature data of the hard disk exists as a whole with other data, and therefore, when acquiring the temperature data of the hard disk, the s.m.a.r.t information needs to be read out from the hard disk together with the temperature data. 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 the hard disks as a second hard disk temperature.
Optionally, the step of obtaining the current ambient temperature of the environment where the hard disk is located at the current time includes:
acquiring 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 a temperature sensor on the backboard at the current moment, wherein the lamp plate is of a structure provided with an LED for 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 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 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.
It is another object of the present application to provide a readable storage medium having stored therein an executable program which, when executed by a processor, implements the method according to any of the present applications.
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 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 third schematic flowchart of a hard disk temperature monitoring method according to an 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 acquisition 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, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within 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 and 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 is a storage medium for storing a large amount of data, and is an important structure in an electronic device having a data storage capability, such as a server or a computer, and the reliability of the whole electronic device, or even other structures connected to the electronic device, is directly affected by the operating temperature of the hard disk. 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 temperature collected by the temperature sensor near the hard disk is directly adopted to replace the temperature of the hard disk, so that the influence of external environment change on the temperature of the hard disk can only be reflected, and the influence of hard disk state and 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 hard disk temperature monitoring device 110 includes at least one software function module which can be stored in the memory 120 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the hard disk 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 not required to be obtained by reading the 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 the occupation of bandwidth resources is avoided.
In this embodiment, because the environment reference temperature and the current environment temperature are directly obtained from the environment, the change conditions of the environment reference temperature and the current environment temperature can reflect the influence of the environment 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, so that the real-time temperature of the hard disk under the environment influence and the state change condition of the hard disk itself, that is, the current hard disk temperature can be monitored, so that the monitored current hard disk temperature can be 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 hard disk temperature 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 degree celsius, so that when the estimated current hard disk temperature exceeds 70 degrees celsius, the rotation speed of the cooling fan may be controlled to increase, thereby increasing the cooling 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 the 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 temperatures.
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 present embodiment, the step of obtaining the current ambient 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. And when the time of 0 point of 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, the second predetermined time interval may be, but is not limited to, 15 minutes, or 5 minutes, etc., as determined by the actual situation.
In this embodiment, the temperature of the environment where the hard disk is 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 hard disk temperature according to the current environment temperature, the second hard disk temperature, 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 which can reflect the environment temperature change and the state change of the hard disk at the same time is obtained.
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 hard disk temperature monitoring device 110 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 hard disk monitoring system 100.
The first obtaining module 111 is configured to obtain a temperature of an environment where the hard disk is 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 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 the detailed description about the temperature calculation module 113 may refer to the description about steps S210 to S240.
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 conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in 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 (10)

1.一种硬盘温度监控方法,其特征在于,应用于硬盘监控系统,所述方法包括:1. a hard disk temperature monitoring method, is characterized in that, is applied to hard disk monitoring system, and described method comprises: 获取参考时刻点时硬盘所在环境的温度作为环境参考温度以及每个硬盘中的温度作为第一硬盘温度;Obtain the temperature of the environment where the hard disk is located at the reference time point as the environmental reference temperature and the temperature in each hard disk as the first hard disk temperature; 从所有所述硬盘的第一硬盘温度中获取第二硬盘温度;Obtaining the temperature of the second hard disk from the temperature of the first hard disk of all the hard disks; 获取当前时刻所述硬盘所处环境的当前环境温度,并根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度。The current ambient temperature of the environment in which the hard disk is located at the current moment is acquired, and the current hard disk temperature is estimated according to the current ambient temperature, the second hard disk temperature, and the environmental reference temperature. 2.根据权利要求1所述的方法,其特征在于,所述硬盘监控系统包括散热风扇,所述方法还包括:2. The method according to claim 1, wherein the hard disk monitoring system comprises a cooling fan, and the method further comprises: 判断所述当前硬盘温度是否超过第一预设温度阈值;determining whether the current hard disk temperature exceeds a first preset temperature threshold; 如果所述当前硬盘温度超过所述第一预设温度阈值,则增大所述散热风扇的转速以提高散热速率;If the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotational speed of the cooling fan to increase the cooling rate; 判断所述当前硬盘温度是否低于第二预设温度阈值,其中,所述第二预设温度阈值小于所述第一预设温度阈值;determining whether the current hard disk temperature is lower than a second preset temperature threshold, wherein the second preset temperature threshold is less than the first preset temperature threshold; 如果所述当前硬盘温度低于所述第二预设温度阈值,则减小所述散热风扇的转速以降低散热速率。If the current hard disk temperature is lower than the second preset temperature threshold, reducing the rotation speed of the cooling fan to reduce the cooling rate. 3.根据权利要求2所述的方法,其特征在于,所述从所有所述硬盘的第一硬盘温度中获取第二硬盘温度的步骤包括:3. The method according to claim 2, wherein the step of obtaining the temperature of the second hard disk from the temperatures of the first hard disks of all the hard disks comprises: 从所有硬盘的第一硬盘温度中,获取最高的第一硬盘温度作为第二硬盘温度。From the first hard disk temperatures of all the hard disks, obtain the highest first hard disk temperature as the second hard disk temperature. 4.根据权利要求1所述的方法,其特征在于,所述获取当前时刻所述硬盘所处环境的当前环境温度的步骤包括:4. The method according to claim 1, wherein the step of obtaining the current ambient temperature of the environment where the hard disk is located at the current moment comprises: 获取当前时刻由灯板上的温度传感器采集的当前灯板温度,以及当前时刻背板上的温度传感器所采集的当前背板温度,其中,所述灯板为设置有指示系统运行状态的LED的结构,所述背板为固定硬盘的结构;Obtain the current lamp panel temperature collected by the temperature sensor on the lamp panel at the current moment, and the current back panel temperature collected by the temperature sensor on the back panel at the current moment, wherein the lamp panel is provided with an LED indicating the operating state of the system. structure, the backplane is a structure for fixing the hard disk; 判断所述当前灯板温度是否在预设温度范围内;Determine whether the current lamp panel temperature is within a preset temperature range; 如果所述当前灯板温度在预设温度范围内,则将所述当前灯板温度作为当前环境温度;If the current lamp panel temperature is within the preset temperature range, the current lamp panel temperature is used as the current ambient temperature; 如果所述当前灯板温度不在预设温度范围内,则将所述当前背板温度作为当前环境温度。If the current lamp panel temperature is not within the preset temperature range, the current back panel temperature is used as the current ambient temperature. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述获取参考时刻点时硬盘所在环境的温度作为环境参考温度以及每个硬盘中的温度作为第一硬盘温度的步骤包括:5. The method according to any one of claims 1-4, wherein the temperature of the environment where the hard disk is located during the acquisition of the reference time point is used as the ambient reference temperature and the temperature in each hard disk is used as the step of the first hard disk temperature include: 按照第一预设时间间隔,获取硬盘所在环境的温度作为环境参考温度以及每个硬盘中的温度作为第一硬盘温度;According to the first preset time interval, the temperature of the environment where the hard disk is located is obtained as the environmental reference temperature and the temperature in each hard disk is used as the first hard disk temperature; 所述获取当前时刻所述硬盘所处环境的当前环境温度,并根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度的步骤包括:The step of obtaining the current ambient 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 ambient temperature, the second hard disk temperature and the environmental reference temperature includes: 在第一预设时间间隔内,从第一预设时间间隔的时间起点开始,按照第二预设时间间隔获取当前时刻所述硬盘所处环境的当前环境温度,并根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度,其中,所述第二预设时间间隔小于所述第一预设时间间隔。During the first preset time interval, starting from the time starting point of the first preset time interval, the current ambient temperature of the environment in which the hard disk is located at the current moment is obtained according to the second preset time interval, and according to the current ambient temperature, The second hard disk temperature and the environmental reference temperature estimate the current hard disk temperature, wherein the second preset time interval is smaller than the first preset time interval. 6.根据权利要求1所述的方法,其特征在于,所述根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度的步骤包括:6. The method according to claim 1, wherein 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 comprises: 计算所述环境参考温度与所述当前环境温度之差,获得温度变化值;Calculate the difference between the ambient reference temperature and the current ambient temperature to obtain a temperature change value; 计算所述第二硬盘温度与所述温度变化值之和,获得当前硬盘温度。Calculate the sum of the temperature of the second hard disk and the temperature change value to obtain the current temperature of the hard disk. 7.一种硬盘温度监控装置,其特征在于,应用于硬盘监控系统,所述装置包括:7. A hard disk temperature monitoring device, characterized in that, applied to a hard disk monitoring system, the device comprising: 存储器,用于获取参考时刻点时硬盘所在环境的温度作为环境参考温度以及每个硬盘中的温度作为第一硬盘温度;The memory is used to obtain the temperature of the environment where the hard disk is located at the reference time point as the environmental reference temperature and the temperature in each hard disk as the first hard disk temperature; 处理器,用于从所有所述硬盘的第一硬盘温度中获取第二硬盘温度;a processor, configured to obtain the temperature of the second hard disk from the temperature of the first hard disk of all the hard disks; 温度计算模块,用于获取当前时刻所述硬盘所处环境的当前环境温度,并根据所述当前环境温度、所述第二硬盘温度以及所述环境参考温度估算当前硬盘温度。The temperature calculation module is configured to obtain the current ambient temperature of the environment where the hard disk is located at the current moment, and estimate the current hard disk temperature according to the current ambient temperature, the second hard disk temperature and the environmental reference temperature. 8.根据权利要求7所述的装置,其特征在于,所述硬盘监控系统包括散热风扇,所述装置还包括控制模块,所述控制模块具体用于:8. The device according to claim 7, wherein the hard disk monitoring system comprises a cooling fan, the device further comprises a control module, and the control module is specifically used for: 判断所述当前硬盘温度是否超过第一预设温度阈值;determining whether the current hard disk temperature exceeds a first preset temperature threshold; 在所述当前硬盘温度超过所述第一预设温度阈值时,增大所述散热风扇的转速以提高散热速率;When the current hard disk temperature exceeds the first preset temperature threshold, increasing the rotational speed of the cooling fan to increase the cooling rate; 以及,判断所述当前硬盘温度是否低于第二预设温度阈值,其中,所述第二预设温度阈值小于所述第一预设温度阈值;and, judging whether the current hard disk temperature is lower than a second preset temperature threshold, wherein the second preset temperature threshold is less than the first preset temperature threshold; 在所述当前硬盘温度低于所述第二预设温度阈值时,减小所述散热风扇的转速以降低散热速率。When the current hard disk temperature is lower than the second preset temperature threshold, the rotation speed of the cooling fan is reduced to reduce the cooling rate. 9.一种可读存储介质,其特征在于,所述可读存储介质中存储有可执行程序,处理器执行所述可执行程序时,实现如权利要求1-6任一项所述的方法。9. A readable storage medium, wherein an executable program is stored in the readable storage medium, and when a processor executes the executable program, the method according to any one of claims 1-6 is implemented . 10.一种硬盘监控系统,其特征在于,所述硬盘监控系统包括存储器、处理器,所述存储器与所述处理器连接,所述存储器中存储有可执行程序,所述处理器在执行所述可执行程序时,实现如权利要求1-6任一项所述的方法。10. A hard disk monitoring system, characterized in that, the hard disk monitoring system comprises a memory and a processor, the memory is connected to the processor, and an executable program is stored in the memory, and the processor executes the program. When the executable program is described, the method according to any one of claims 1-6 is implemented.
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 true CN112783712A (en) 2021-05-11
CN112783712B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461039A (en) * 2021-12-28 2022-05-10 浪潮(山东)计算机科技有限公司 A heat dissipation control method, device, system, BMC and readable storage medium
CN115223601A (en) * 2022-07-22 2022-10-21 山东云海国创云计算装备产业创新中心有限公司 A hard disk active heat dissipation intensity control method, device, equipment and storage medium
CN117555761A (en) * 2024-01-11 2024-02-13 深圳市蓝智电子有限公司 Mobile hard disk operation monitoring system based on Internet of things

Citations (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 Storage device temperature information notification device, storage device array, and storage device array system
CN103729279A (en) * 2012-10-11 2014-04-16 鸿富锦精密工业(深圳)有限公司 Hard disk temperature detecting system
CN105526183A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 Method and device for controlling rotating speed of fan
CN108804293A (en) * 2018-06-27 2018-11-13 郑州云海信息技术有限公司 A kind of server and its contactless storage device temperature monitoring device
CN109710443A (en) * 2018-12-24 2019-05-03 平安科技(深圳)有限公司 A kind of data processing method, device, equipment and storage medium

Patent Citations (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 Storage device temperature information notification device, storage device array, and storage device array system
CN103729279A (en) * 2012-10-11 2014-04-16 鸿富锦精密工业(深圳)有限公司 Hard disk temperature detecting system
CN105526183A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 Method and device for controlling rotating speed of fan
CN108804293A (en) * 2018-06-27 2018-11-13 郑州云海信息技术有限公司 A kind of server and its contactless storage device temperature monitoring device
CN109710443A (en) * 2018-12-24 2019-05-03 平安科技(深圳)有限公司 A kind of data processing method, device, equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114461039A (en) * 2021-12-28 2022-05-10 浪潮(山东)计算机科技有限公司 A heat dissipation control method, device, system, BMC and readable storage medium
CN115223601A (en) * 2022-07-22 2022-10-21 山东云海国创云计算装备产业创新中心有限公司 A hard disk active heat dissipation intensity control method, device, equipment and storage medium
CN117555761A (en) * 2024-01-11 2024-02-13 深圳市蓝智电子有限公司 Mobile hard disk operation monitoring system based on Internet of things
CN117555761B (en) * 2024-01-11 2024-04-02 深圳市蓝智电子有限公司 Mobile hard disk operation monitoring system based on Internet of things

Also Published As

Publication number Publication date
CN112783712B (en) 2023-03-14

Similar Documents

Publication Publication Date Title
US7836314B2 (en) Computer system performance estimator and layout configurator
US10519960B2 (en) Fan failure detection and reporting
CN112783712A (en) Hard disk temperature monitoring method and device, readable storage medium and hard disk monitoring system
US8909384B1 (en) Computing apparatus operable under multiple operational policies
US9081676B2 (en) Operating computer memory
US8380903B2 (en) Administering the polling of a number of devices for device status
US8751635B2 (en) Monitoring sensors for systems management
US9990467B2 (en) Electronic system with health monitoring mechanism and method of operation thereof
US20100083049A1 (en) Computer system, method of detecting symptom of failure in computer system, and program
US9681577B2 (en) System and method for improving fan life in an information handling system
US11537501B2 (en) Method and device for monitoring server based on recordings of data from sensors, and non-transitory storage medium
CN109040277A (en) A kind of long-distance monitoring method and device of server
CN116627770B (en) Network card temperature prediction method, device, computer equipment and storage medium
CN113179665A (en) Identifying underperforming data storage devices using error correction based metrics
US9122736B2 (en) Calculating a thermal value to control the flow of liquid through the liquid cooled heatsink which is in thermal communication with the high powered computing component
US20240023273A1 (en) Acoustically-sensitive filter fouling tests
CN116517851A (en) Fan enhancement to improve server performance and quality
US8903565B2 (en) Operating efficiency of a rear door heat exchanger
CN119882423A (en) Electric control method and device for compact shelving and electronic equipment
US9164822B2 (en) Method and system for key performance indicators elicitation with incremental data decycling for database management system
CN108899059A (en) A kind of detection method and equipment of solid state hard disk
US11086370B2 (en) Activity-light-based parameter reporting system
US12336136B2 (en) Multi-device chassis air filter characterization system
US9690339B2 (en) Systems and methods for providing user-visible thermal performance degradation monitoring in an information handling system
CN115076901A (en) Method and device for judging blockage of filter in air conditioner

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