CN111274098B - Storage device alarm method and device based on internet of things (IoT) - Google Patents

Storage device alarm method and device based on internet of things (IoT) Download PDF

Info

Publication number
CN111274098B
CN111274098B CN201811478814.0A CN201811478814A CN111274098B CN 111274098 B CN111274098 B CN 111274098B CN 201811478814 A CN201811478814 A CN 201811478814A CN 111274098 B CN111274098 B CN 111274098B
Authority
CN
China
Prior art keywords
storage device
parameter
hard disk
temperature
machine room
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
CN201811478814.0A
Other languages
Chinese (zh)
Other versions
CN111274098A (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.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology 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 Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811478814.0A priority Critical patent/CN111274098B/en
Publication of CN111274098A publication Critical patent/CN111274098A/en
Application granted granted Critical
Publication of CN111274098B publication Critical patent/CN111274098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • 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
    • 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)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention provides a storage device alarming method and device based on an internet of things (IoT), which are applied to storage devices and relate to the technical field of electronics. The method comprises the following steps: acquiring state parameters of the hard disk and environment parameters of the hard disk, and outputting alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions. By adopting the invention, the alarm accuracy of the storage equipment can be improved.

Description

Storage device alarm method and device based on internet of things (IoT)
Technical Field
The invention relates to the technical field of electronics, in particular to a storage device alarming method and device based on an internet of things (IoT).
Background
The hard disk is one of storage media commonly used in a storage device, wherein the storage device may be a computer, a server, or the like. Because the hard disk stores user data, if the hard disk is damaged, the data in the hard disk is lost, and immeasurable loss is caused for the user. Therefore, the working environment of the hard disk needs to be monitored, and when the situation that the hard disk is possibly damaged occurs, alarm information is output to prompt a user to perform corresponding processing so as to protect the hard disk.
In the prior art, the storage device may acquire a state parameter of the hard disk itself, such as a temperature value of the hard disk itself, and output alarm information when the temperature value of the hard disk itself is not in a preset temperature interval.
However, the hard disk is damaged in many cases, and the storage device only alarms according to the state parameters of the hard disk, so that the alarm accuracy is low.
Disclosure of Invention
An embodiment of the invention aims to provide a storage device alarming method and device based on an internet traffic (IoT) so as to improve the accuracy of storage device alarming. The specific technical scheme is as follows:
in a first aspect, there is provided an IoT-based storage device alert method applied to a storage device including a hard disk, the method comprising:
detecting state parameters of the hard disk and environment parameters of the hard disk;
and outputting alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions.
Optionally, the state parameter of the hard disk itself includes one or more combinations of vibration parameter of the hard disk itself and temperature parameter of the hard disk itself.
Optionally, the environmental parameters of the hard disk include one or more of the following:
The vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located, the power supply parameter of the storage device, the power supply parameter of the machine room where the storage device is located and the altitude parameter of the storage device.
Optionally, the state parameter of the hard disk includes a vibration parameter of the hard disk, the environment parameter of the hard disk includes a vibration parameter of the storage device and a vibration parameter of a machine room where the storage device is located, and the method further includes:
when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold, the frequency of reading/writing the hard disk is reduced and/or the rotation speed of a magnetic head of the hard disk is reduced.
Optionally, the state parameter of the hard disk includes a temperature parameter of the hard disk, and the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room where the storage device is located, and the method further includes:
when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage device is not in a preset second temperature interval or the temperature parameter in the machine room where the storage device is located is not in a preset third temperature interval, the rotating speed of a fan in the storage device is regulated and/or a temperature regulation instruction is sent to a temperature regulation system of the machine room where the storage device is located, so that the temperature regulation system regulates the temperature of the machine room where the storage device is located according to a preset temperature regulation strategy.
Optionally, the environmental parameters of the hard disk include a noise parameter in the storage device and a noise parameter in a machine room where the storage device is located, and the method further includes:
when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval and the temperature parameter in the machine room where the storage device is located is in a third temperature interval, if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the rotating speed of a fan in the storage device is reduced.
Optionally, the method further comprises:
when the state parameter of the hard disk or the environment parameter of the hard disk meets a preset early warning condition, acquiring the operation parameter of the hard disk, wherein the operation parameter of the hard disk comprises one or more of the combination of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and outputting the residual life information of the hard disk.
In a second aspect, there is provided an IoT-based storage device alert apparatus applied to a storage device, the storage device comprising a hard disk, the apparatus comprising:
the detection module is used for detecting the state parameters of the hard disk and the environment parameters of the hard disk;
the first output module is used for outputting alarm information when the state parameter of the hard disk or the environment parameter of the hard disk meets the preset alarm condition.
Optionally, the state parameter of the hard disk itself includes one or more combinations of vibration parameter of the hard disk itself and temperature parameter of the hard disk itself.
Optionally, the environmental parameters of the hard disk include one or more of the following:
the vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located, the power supply parameter of the storage device, the power supply parameter of the machine room where the storage device is located and the altitude parameter of the storage device.
Optionally, the state parameters of the hard disk include vibration parameters of the hard disk, the environment parameters of the hard disk include vibration parameters of the storage device and vibration parameters of a machine room where the storage device is located, and the device further includes a first control module;
The first control module is configured to reduce the number of times of reading/writing the hard disk and/or reduce the rotational speed of the magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold.
Optionally, the state parameter of the hard disk includes a temperature parameter of the hard disk, the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room where the storage device is located, and the apparatus further includes a second control module;
the second control module is configured to adjust a rotational speed of a fan in the storage device and/or send a temperature adjustment instruction to a temperature adjustment system of the computer room where the storage device is located when the temperature parameter of the hard disk is not located in a preset first temperature interval or the temperature parameter in the storage device is not located in a preset second temperature interval or the temperature parameter in the computer room where the storage device is located is not located in a preset third temperature interval, so that the temperature adjustment system adjusts the temperature of the computer room where the storage device is located according to a preset temperature adjustment strategy.
Optionally, the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room where the storage device is located, and the apparatus further includes a third control module;
the third control module is configured to reduce a rotation speed of a fan in the storage device if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval, and the temperature parameter in the machine room where the storage device is located is in a third temperature interval.
Optionally, the apparatus further includes:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the operation parameters of the hard disk when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, wherein the operation parameters of the hard disk comprise one or more combinations of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
the determining module is used for determining the residual life information of the hard disk according to the operation parameters of the hard disk;
And the second output module is used for outputting the residual life information of the hard disk.
In a third aspect, a storage device is provided comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: the method steps of the first aspect are realized.
In a fourth aspect, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the method steps according to the first aspect.
According to the storage equipment alarming method and device based on the IoT, the state parameters of the hard disk and the environment parameters of the hard disk can be obtained, and alarming information is output when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarming conditions. Compared with the prior art, the application not only adopts the mode of alarming according to the state parameters of the hard disk, but also adopts the mode of alarming according to the environment parameters of the hard disk, thereby improving the accuracy of alarming.
Of course, it is not necessary for any one product or method of practicing the application to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a memory device according to an embodiment of the present application;
fig. 2 is a flowchart of an IoT-based storage device alerting method provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an IoT-based storage device alarm apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a storage device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
IoT (Internet of Things ) is a network that enables information exchange and communication from item to item through intelligent awareness, recognition technology, pervasive computing, and other communication awareness technologies. The embodiment of the application provides an IoT-based storage device alarm method, which is applied to storage devices, wherein the storage devices can be computers, servers and other electronic devices. The storage device may detect a state parameter of the hard disk itself, and based on the IoT technology, may set a sensor in an environment where the hard disk is located, detect an environment parameter of the hard disk, and when the state parameter of the hard disk itself or the environment parameter of the hard disk meets a preset alarm condition, the storage device may output alarm information. Compared with the prior art, the application not only adopts the mode of alarming according to the state parameters of the hard disk, but also adopts the mode of alarming according to the environment parameters of the hard disk, thereby improving the accuracy of alarming.
As shown in fig. 1, the storage device may include a hard disk, a processor, a memory, a hard disk expansion module, a sensor interface module, and various sensors, where the sensors may be a temperature sensor, a humidity sensor, a vibration sensor, and the like, the sensors are used to detect environmental parameters of the hard disk, the processor may be connected with the memory in a communication manner, the processor may be connected with the hard disk in a communication manner through the hard disk expansion module, and the processor may be connected with the sensors in a communication manner through the sensor interface module.
As shown in fig. 2, the IoT-based storage device alerting method described above may include the steps of:
step 201, detecting a state parameter of the hard disk itself and an environment parameter of the hard disk.
The state parameters of the hard disk can comprise one or more of vibration parameters of the hard disk and temperature parameters of the hard disk; the environmental parameters of the hard disk include a combination of one or more of the following: vibration parameters of storage equipment, vibration parameters of a machine room where the storage equipment is located, temperature parameters in the storage equipment, temperature parameters of the machine room where the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room where the storage equipment is located, corrosive gas concentration parameters in the storage equipment, corrosive gas concentration parameters in the machine room where the storage equipment is located, dust concentration parameters in the storage equipment, dust concentration parameters in the machine room where the storage equipment is located, humidity parameters in the storage equipment, humidity parameters in the machine room where the storage equipment is located, noise parameters in the machine room where the storage equipment is located, power parameters of the storage equipment, power parameters of the machine room where the storage equipment is located and altitude parameters of the storage equipment.
In implementation, a first temperature sensor can be arranged inside the hard disk, the first temperature sensor can periodically detect the temperature parameter of the hard disk, and the storage device can acquire the temperature parameter of the hard disk detected by the first temperature sensor. The inside of the hard disk can be provided with a first vibration sensor, the first vibration sensor can periodically detect the vibration parameters of the hard disk, and the storage device can acquire the vibration parameters of the hard disk detected by the first vibration sensor.
The storage device may periodically detect an environmental parameter of the hard disk, where the environmental parameter of the hard disk may include an environmental parameter in the storage device and an environmental parameter in a machine room in which the storage device is located. The storage device may be provided with a second vibration sensor on the storage device, the second vibration sensor is configured to detect a vibration parameter of the storage device, the second vibration sensor may send the detected vibration parameter of the storage device to the storage device, and the storage device may periodically detect the vibration parameter of the storage device through the second vibration sensor. The storage device can be provided with a third vibration sensor in the machine room where the storage device is located, the third vibration sensor is used for detecting vibration parameters of the machine room where the storage device is located, the third vibration sensor can send the detected vibration parameters of the machine room where the storage device is located to the storage device, and the storage device can periodically detect the vibration parameters of the machine room where the storage device is located through the third vibration sensor.
The second temperature sensor can be arranged in the storage device and used for detecting the temperature parameter in the storage device, the second temperature sensor can send the detected temperature parameter in the storage device to the storage device, and the storage device can periodically detect the temperature parameter in the storage device through the second temperature sensor. The storage device can be provided with a third temperature sensor in the machine room where the storage device is located, the third temperature sensor is used for detecting the temperature parameter in the machine room where the storage device is located, the third temperature sensor can send the detected temperature parameter in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the temperature parameter in the machine room where the storage device is located through the third temperature sensor.
The storage device can be internally provided with a first air pressure sensor, the first air pressure sensor is used for detecting air pressure parameters in the storage device, the first air pressure sensor can send the detected air pressure parameters in the storage device to the storage device, and the storage device can periodically detect the air pressure parameters in the storage device through the first air pressure sensor. The storage device can be provided with a second air pressure sensor in the machine room where the storage device is located, the second air pressure sensor is used for detecting air pressure parameters in the machine room where the storage device is located, the second air pressure sensor can send the detected air pressure parameters in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the air pressure parameters in the machine room where the storage device is located through the second air pressure sensor.
The storage device can be internally provided with a first corrosive gas concentration sensor, the first corrosive gas concentration sensor is used for detecting corrosive gas concentration parameters in the storage device, the first corrosive gas concentration sensor can send the detected corrosive gas concentration parameters in the storage device to the storage device, and the storage device can periodically detect the corrosive gas concentration parameters in the storage device through the first corrosive gas concentration sensor. The storage device can be provided with a second corrosive gas concentration sensor in the machine room where the storage device is located, the second corrosive gas concentration sensor is used for detecting the corrosive gas concentration parameter in the machine room where the storage device is located, the second corrosive gas concentration sensor can send the detected corrosive gas concentration parameter in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the corrosive gas concentration parameter in the machine room where the storage device is located through the second corrosive gas concentration sensor.
The storage device can be internally provided with a first dust concentration sensor, the first dust concentration sensor is used for detecting dust concentration parameters in the storage device, the first dust concentration sensor can send the detected dust concentration parameters in the storage device to the storage device, and the storage device can periodically detect the dust concentration parameters in the storage device through the first dust concentration sensor. The storage device can be provided with a second dust concentration sensor in the machine room where the storage device is located, the second dust concentration sensor is used for detecting dust concentration parameters in the machine room where the storage device is located, the second dust concentration sensor can send the detected dust concentration parameters in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the dust concentration parameters in the machine room where the storage device is located through the second dust concentration sensor.
The first humidity sensor can be arranged in the storage device and is used for detecting humidity parameters in the storage device, the first humidity sensor can send the detected humidity parameters in the storage device to the storage device, and the storage device can periodically detect the humidity parameters in the storage device through the first humidity sensor. The storage device can be provided with a second humidity sensor in the machine room where the storage device is located, the second humidity sensor is used for detecting humidity parameters in the machine room where the storage device is located, the second humidity sensor can send the detected humidity parameters in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the humidity parameters in the machine room where the storage device is located through the second humidity sensor.
The storage device may be provided with a first noise sensor therein, the first noise sensor being configured to detect a noise parameter in the storage device, the first noise sensor being configured to send the detected noise parameter in the storage device to the storage device, and the storage device being configured to periodically detect the noise parameter in the storage device via the first noise sensor. The storage device can be provided with a second noise sensor in the machine room where the storage device is located, the second noise sensor is used for detecting noise parameters in the machine room where the storage device is located, the second noise sensor can send the detected noise parameters in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the noise parameters in the machine room where the storage device is located through the second noise sensor.
The storage device can be internally provided with a first power supply monitoring device, the first power supply monitoring device is used for detecting power supply parameters in the storage device, the first power supply monitoring device can send the detected power supply parameters of the storage device to the storage device, and the storage device can periodically detect the power supply parameters of the storage device through the first power supply monitoring device. The storage device can be provided with a second power supply monitoring device in the machine room where the storage device is located, the second power supply monitoring device is used for detecting the power supply parameter of the machine room where the storage device is located, the second power supply monitoring device can send the detected power supply parameter of the machine room where the storage device is located to the storage device, and the storage device can periodically detect the power supply parameter of the machine room where the storage device is located through the second power supply monitoring device.
The storage device may be provided with an altitude sensor inside/outside the storage device, the altitude sensor is used for detecting an altitude parameter of the storage device, the altitude sensor may send the detected altitude parameter of the storage device to the storage device, and the storage device may periodically detect the altitude parameter of the storage device through the altitude sensor.
Step 202, outputting alarm information when the state parameter of the hard disk or the environment parameter of the hard disk meets the preset alarm condition.
In an implementation, when the state parameter of the hard disk itself or the environmental parameter of the hard disk meets a preset alarm condition, the storage device may output alarm information. For example, when the state parameter of the hard disk itself includes the temperature parameter of the hard disk itself, the storage device may output alarm information including information that the temperature parameter of the hard disk itself is not in the preset first temperature interval when the temperature parameter of the hard disk itself is not in the preset first temperature interval. When the environmental parameter of the hard disk includes a temperature parameter in the storage device, the storage device may output alarm information including information that the temperature parameter in the storage device is not in a preset second temperature interval when the temperature parameter in the storage device is not in the preset second temperature interval. Under the condition that the environment parameters of the hard disk comprise the temperature parameters in the machine room where the storage device is located, when the temperature parameters in the machine room where the storage device is located are not in a preset third temperature interval, the storage device can output alarm information containing information that the temperature parameters in the machine room where the storage device is located are not in the preset third temperature interval.
When the state parameter of the hard disk comprises the vibration parameter of the hard disk, and when the vibration parameter of the hard disk exceeds a preset first vibration threshold value, the storage device can output alarm information containing information that the vibration parameter of the hard disk exceeds the first vibration threshold value. When the environment parameters of the hard disk include the vibration parameters of the storage device, the storage device can output alarm information containing information that the vibration parameters of the storage device exceed the second vibration threshold value when the vibration parameters of the storage device exceed the second preset vibration threshold value. Under the condition that the environment parameters of the hard disk comprise vibration parameters of a machine room where the storage device is located, when the vibration parameters of the machine room where the storage device is located exceed a preset third vibration threshold value, the storage device can output alarm information containing information that the vibration parameters of the machine room where the storage device is located exceed the third vibration threshold value.
When the environmental parameter of the hard disk includes the air pressure parameter in the storage device, the storage device may output alarm information including information that the air pressure parameter in the storage device is not in the first air pressure interval when the air pressure parameter in the storage device is not in the preset first air pressure interval. Under the condition that the environment parameters of the hard disk comprise the air pressure parameters of the machine room where the storage device is located, when the air pressure parameters in the machine room where the storage device is located are not in a preset second air pressure interval, the storage device can output alarm information containing information that the air pressure parameters in the machine room where the storage device is located are not in the second air pressure interval.
When the environmental parameter of the hard disk includes a corrosive gas concentration parameter in the storage device, the storage device may output alarm information including information that the corrosive gas concentration parameter in the storage device exceeds a first corrosive gas concentration threshold when the corrosive gas concentration parameter in the storage device exceeds a preset first corrosive gas concentration threshold. Under the condition that the environment parameters of the hard disk comprise corrosive gas concentration parameters in a machine room where the storage equipment is located, when the corrosive gas concentration parameters in the machine room where the storage equipment is located exceed a preset second corrosive gas concentration threshold value, the storage equipment can output information alarm information containing that the corrosive gas concentration parameters in the machine room where the storage equipment is located exceed the second corrosive gas concentration threshold value.
When the environmental parameter of the hard disk includes a dust concentration parameter in the storage device, the storage device may output alarm information including that the dust concentration parameter in the storage device exceeds the first dust concentration threshold information when the dust concentration parameter in the storage device exceeds the preset first dust concentration threshold. Under the condition that the environment parameters of the hard disk comprise dust concentration parameters in a machine room where the storage device is located, when the dust concentration parameters in the machine room where the storage device is located exceed a preset second dust concentration threshold value, the storage device can output alarm information containing information that the dust concentration parameters in the machine room where the storage device is located exceed the second dust concentration threshold value.
When the environmental parameter of the hard disk includes a humidity parameter in the storage device, the storage device may output alarm information including information that the humidity parameter in the storage device exceeds a preset first humidity threshold when the humidity parameter in the storage device exceeds the preset first humidity threshold. Under the condition that the environment parameters of the hard disk comprise humidity parameters in the machine room where the storage device is located, when the humidity parameters in the machine room where the storage device is located are not located beyond a preset second humidity threshold value, the storage device can output alarm information containing information that the humidity parameters in the machine room where the storage device is located exceed the preset second humidity threshold value.
In the case where the environmental parameter of the hard disk includes a noise parameter in the storage device, when the noise parameter in the storage device exceeds a preset first noise threshold value, the storage device may output alarm information including information that the noise parameter in the storage device exceeds the first noise threshold value. Under the condition that the environment parameters of the hard disk comprise noise parameters in a machine room where the storage device is located, when the noise parameters in the machine room where the storage device is located exceed a preset second noise threshold value, the storage device can output alarm information containing information that the noise parameters in the machine room where the storage device is located exceed the second noise threshold value.
In the case where the environmental parameter of the hard disk includes an altitude parameter of the storage device, the storage device may output alarm information containing information that the altitude parameter of the storage device exceeds a first altitude parameter threshold when the altitude parameter of the storage device exceeds a preset first altitude parameter threshold.
When the environment parameters of the hard disk include the power supply parameters of the storage device, the storage device can output alarm information including that the power supply parameters of the storage device are not in the preset first power supply parameter interval when the power supply parameters of the storage device are not in the preset first power supply parameter interval, and correspondingly, the storage device can cut off the power supply of the storage device. Under the condition that the environment parameters of the hard disk comprise the power supply parameters of the machine room where the storage device is located, when the power supply parameters of the machine room where the storage device is located are not located in a preset second power supply parameter interval, the storage device can output alarm information containing that the power supply parameters of the machine room where the storage device is located are not located in the preset second power supply parameter interval, and correspondingly, the storage device can send a power-off instruction to a power supply system of the machine room so that the power supply system of the machine room cuts off the power supply of the machine room.
Therefore, not only is an alarm mode carried out according to the state parameters of the hard disk, but also the alarm mode is carried out according to the environment parameters of the hard disk, and the alarm accuracy is improved.
Optionally, the storage device may record a state parameter of the hard disk and an environmental parameter of the hard disk, and when a problem occurs in the device or the hard disk, a technician may analyze a cause of the problem occurring in the device or the hard disk according to the parameter recorded by the storage device, so as to quickly find out a corresponding processing method.
Optionally, when the state parameter of the hard disk includes a vibration parameter of the hard disk, and the environment parameter of the hard disk includes a vibration parameter of the storage device and a vibration parameter of a machine room where the storage device is located, the IoT-based storage device alarm method further includes: when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold, the frequency of reading/writing the hard disk is reduced and/or the rotation speed of a magnetic head of the hard disk is reduced.
In implementation, when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold, the storage device can reduce the frequency of reading/writing the hard disk and/or reduce the rotation speed of a magnetic head of the hard disk, the frequency of reading/writing the hard disk can be reduced to avoid disc damage of the hard disk caused by frequent reading/writing operation on the hard disk under the condition of strong vibration, and the rotation speed of the magnetic head of the hard disk can be reduced to avoid disc damage of the hard disk caused by overhigh rotation speed of the magnetic head of the hard disk under the condition of strong vibration.
Optionally, when the state parameter of the hard disk includes a temperature parameter of the hard disk, and the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room where the storage device is located, the IoT-based storage device alarm method further includes: when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage device is not in a preset second temperature interval or the temperature parameter in the machine room where the storage device is located is not in a preset third temperature interval, the rotating speed of a fan in the storage device is increased and/or a temperature regulation instruction is sent to a temperature regulation system of the machine room where the storage device is located, so that the temperature regulation system regulates the temperature of the machine room where the storage device is located according to a preset temperature regulation strategy.
In implementation, when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage device is not in a preset second temperature interval or the temperature parameter in the machine room where the storage device is located is not in a preset third temperature interval, the storage device can adjust the rotating speed of the fan in the storage device and/or send a temperature adjusting instruction to a temperature adjusting system of the machine room where the storage device is located, so that the temperature adjusting system adjusts the temperature of the machine room where the storage device is located according to a preset temperature adjusting strategy.
Specific embodiments of adjusting the rotational speed of a fan within a storage device may be: when the temperature parameter of the hard disk exceeds the upper limit of the first temperature interval or the temperature parameter in the storage device exceeds the upper limit of the second temperature interval or the temperature parameter in a machine room where the storage device is positioned exceeds the upper limit of the third temperature interval, the storage device increases the rotating speed of a fan in the storage device; when the temperature parameter of the hard disk is smaller than the lower limit of the first temperature interval or the temperature parameter in the storage device is smaller than the lower limit of the second temperature interval or the temperature parameter in the machine room where the storage device is located is smaller than the lower limit of the third temperature interval, the storage device reduces the rotating speed of the fan in the storage device.
The specific implementation mode of sending the temperature adjustment instruction to the temperature adjustment system of the machine room where the storage device is located so that the temperature adjustment system adjusts the temperature of the machine room where the storage device is located according to a preset temperature adjustment strategy can be as follows: when the temperature parameter of the hard disk exceeds the upper limit of the first temperature interval or the temperature parameter in the storage device exceeds the upper limit of the second temperature interval or the temperature parameter in the machine room where the storage device is located exceeds the upper limit of the third temperature interval, the storage device sends a temperature regulation instruction for reducing the temperature to a temperature regulation system, and the temperature regulation system reduces the temperature in the machine room by a preset first temperature value; when the temperature parameter of the hard disk is smaller than the lower limit of the first temperature interval or the temperature parameter in the storage device is smaller than the lower limit of the second temperature interval or the temperature parameter in the machine room where the storage device is located is smaller than the lower limit of the third temperature interval, the storage device sends a temperature adjusting instruction for increasing the temperature to the temperature adjusting system, and the temperature adjusting system increases the temperature in the machine room by a preset second temperature value.
In this way, it is possible to avoid influencing the electronics of the hard disk and the storage device due to too high or too low temperatures.
Optionally, when the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room where the storage device is located, the IoT-based storage device alarm method further includes: when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval and the temperature parameter in the machine room where the storage device is located is in a third temperature interval, if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the rotating speed of the fan in the storage device is reduced.
In implementation, when the temperature parameter of the hard disk is in the first temperature interval, the temperature parameter in the storage device is in the second temperature interval, and the temperature parameter in the machine room where the storage device is located is in the third temperature interval, if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the storage device can reduce the rotation speed of the fan in the storage device so as to reduce noise and avoid damaging the hard disk and electronic devices in the storage device.
Optionally, the IoT-based storage device alerting method further comprises: when the state parameter of the hard disk or the environment parameter of the hard disk meets the preset early warning condition, the operation parameter of the hard disk is obtained, wherein the operation parameter of the hard disk comprises one or more combinations of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk. And then determining the residual life information of the hard disk according to the operation parameters of the hard disk, and outputting the residual life information of the hard disk.
The early warning condition is a condition more strict than the alarm condition, which means that the state parameter of the hard disk itself or the environmental parameter of the hard disk is not good, but the alarm condition is not reached, that is, the state parameter of the hard disk itself or the environmental parameter of the hard disk satisfies the early warning condition, but the state parameter of the hard disk itself or the environmental parameter of the hard disk satisfies the alarm condition. For example, when the vibration parameter of the hard disk exceeds the fourth vibration threshold, the early warning condition is met, the fourth vibration threshold is smaller than the first vibration threshold, the vibration parameter of the hard disk exceeds the fourth vibration threshold and does not necessarily exceed the first vibration threshold, and the vibration parameter of the hard disk exceeds the first vibration threshold, so that it is determined that the vibration parameter of the hard disk exceeds the fourth vibration threshold, that is, when the vibration parameter of the hard disk meets the early warning condition, the alarm condition is not met, and when the vibration parameter of the hard disk meets the alarm condition, the early warning condition is also met.
In an implementation, when the state parameter of the hard disk or the environmental parameter of the hard disk meets a preset early warning condition, the storage device may acquire the operation parameter of the hard disk, where the operation parameter of the hard disk includes one or more combinations of the number of resets of the hard disk, the power on time of the hard disk, the number of loads of the magnetic head of the hard disk, and the number of bad sectors of the hard disk. For each acquired operation parameter, the storage device may determine a first remaining lifetime corresponding to the operation parameter according to the operation parameter. Then, the storage device can take the first remaining life with the smallest remaining life value as the remaining life of the hard disk in the first remaining life corresponding to each operation parameter, and output the remaining life information of the hard disk, so that the user can know the remaining life of the hard disk.
For each acquired operation parameter, the processing procedure of determining, by the storage device, the first remaining life corresponding to the operation parameter according to the operation parameter may be: in the case that the operation parameter is the number of resets of the hard disk, the storage device may be configured according to the formula t 1 =(R-r 1 )*T/r 1 Determining a first residual life corresponding to the reset times of the hard disk, wherein R is the upper limit of the reset times, T is the historical use time of the hard disk, and R 1 T is the reset times of the hard disk 1 The first residual life corresponding to the reset times of the hard disk is the first residual life; in the case where the operating parameter is the power on time of the hard disk, the storage device may be configured according to formula t 2 =(C-c 1 )*T/c 1 Determining a first residual life corresponding to the reset times of the hard disk, wherein C is the upper limit of the power-on time of the hard disk, T is the historical use time of the hard disk, and C 1 For the power-on time of the hard disk, t 2 The first residual life corresponding to the reset times of the hard disk is the first residual life; in the case where the operating parameter is the number of loads of the head of the hard disk, the storage device may be configured according to formula t 3 =(L-l 1 )*T/l 1 Determining a first residual life corresponding to the reset times of the hard disk, wherein L is the upper limit of the loading times of the magnetic head, T is the historical use time of the hard disk, and L is the upper limit of the loading times of the magnetic head 1 For the number of loading times of the magnetic head, t 3 The first residual life corresponding to the reset times of the hard disk is the first residual life; in the case that the operation parameter is the number of bad sectors of the hard disk, the storage device may be configured according to the formula t 4 =(N-n 1 )*T/n 1 Determining a first residual life corresponding to the reset times of the hard disk, wherein N is the total number of sectors of the hard disk, T is the historical use time of the hard disk, and N 1 T is the number of bad sectors of the hard disk 4 And the first residual life corresponding to the reset times of the hard disk.
Thus, when the state parameter of the hard disk itself or the environment parameter of the hard disk is not good (i.e. when the early warning condition is reached), the storage device can timely feed back the residual life information of the hard disk to the user.
Based on the same technical concept, as shown in fig. 3, the present application further provides an IoT-based storage device alarm apparatus applied to a storage device, the storage device including a hard disk, the apparatus comprising:
the detection module 301 is configured to detect a state parameter of the hard disk and an environmental parameter of the hard disk;
the first output module 302 is configured to output alarm information when a state parameter of the hard disk itself or an environmental parameter of the hard disk meets a preset alarm condition.
Optionally, the state parameter of the hard disk itself includes one or more combinations of vibration parameter of the hard disk itself and temperature parameter of the hard disk itself.
Optionally, the environmental parameters of the hard disk include one or more of the following:
the vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located, the power supply parameter of the storage device, the power supply parameter of the machine room where the storage device is located and the altitude parameter of the storage device.
Optionally, the state parameters of the hard disk include vibration parameters of the hard disk, the environment parameters of the hard disk include vibration parameters of the storage device and vibration parameters of a machine room where the storage device is located, and the device further includes a first control module;
the first control module is configured to reduce the number of times of reading/writing the hard disk and/or reduce the rotational speed of the magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold.
Optionally, the state parameter of the hard disk includes a temperature parameter of the hard disk, the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room where the storage device is located, and the apparatus further includes a second control module;
the second control module is configured to adjust a rotational speed of a fan in the storage device and/or send a temperature adjustment instruction to a temperature adjustment system of the computer room where the storage device is located when the temperature parameter of the hard disk is not located in a preset first temperature interval or the temperature parameter in the storage device is not located in a preset second temperature interval or the temperature parameter in the computer room where the storage device is located is not located in a preset third temperature interval, so that the temperature adjustment system adjusts the temperature of the computer room where the storage device is located according to a preset temperature adjustment strategy.
Optionally, the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room where the storage device is located, and the apparatus further includes a third control module;
the third control module is configured to reduce a rotation speed of a fan in the storage device if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval, and the temperature parameter in the machine room where the storage device is located is in a third temperature interval.
Optionally, the apparatus further includes:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the operation parameters of the hard disk when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, wherein the operation parameters of the hard disk comprise one or more combinations of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
the determining module is used for determining the residual life information of the hard disk according to the operation parameters of the hard disk;
And the second output module is used for outputting the residual life information of the hard disk.
The embodiment of the invention also provides an electronic device, as shown in fig. 4, which comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
detecting state parameters of the hard disk and environment parameters of the hard disk;
and outputting alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions.
Optionally, the state parameter of the hard disk itself includes one or more combinations of vibration parameter of the hard disk itself and temperature parameter of the hard disk itself.
Optionally, the environmental parameters of the hard disk include one or more of the following:
the vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located and the altitude parameter of the storage device.
Optionally, the state parameter of the hard disk includes a vibration parameter of the hard disk, the environment parameter of the hard disk includes a vibration parameter of the storage device and a vibration parameter of a machine room where the storage device is located, and the above steps further include:
when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold, the frequency of reading/writing the hard disk is reduced and/or the rotation speed of a magnetic head of the hard disk is reduced.
Optionally, the state parameter of the hard disk includes a temperature parameter of the hard disk, the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room where the storage device is located, and the steps further include:
when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage device is not in a preset second temperature interval or the temperature parameter in the machine room where the storage device is located is not in a preset third temperature interval, the rotating speed of a fan in the storage device is regulated and/or a temperature regulation instruction is sent to a temperature regulation system of the machine room where the storage device is located, so that the temperature regulation system regulates the temperature of the machine room where the storage device is located according to a preset temperature regulation strategy.
Optionally, the environmental parameters of the hard disk include a noise parameter in the storage device and a noise parameter in a machine room where the storage device is located, and the steps further include:
when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval and the temperature parameter in the machine room where the storage device is located is in a third temperature interval, if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the rotating speed of a fan in the storage device is reduced.
Optionally, the steps further include:
when the state parameter of the hard disk or the environment parameter of the hard disk meets a preset early warning condition, acquiring the operation parameter of the hard disk, wherein the operation parameter of the hard disk comprises one or more of the combination of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
And outputting the residual life information of the hard disk.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program that, when executed by a processor, implements the steps of any of the IoT-based storage device alerting methods described above.
In yet another embodiment provided by the present invention, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps of any of the IoT based storage device alarm methods of the embodiments described above.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (14)

1. An IoT-based storage device alert method applied to a storage device comprising a hard disk, the method comprising:
detecting state parameters of the hard disk and environment parameters of the hard disk, wherein the environment parameters of the hard disk comprise noise parameters in the storage equipment and noise parameters in a machine room where the storage equipment is located;
outputting alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions;
when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval and the temperature parameter in the machine room where the storage device is located is in a third temperature interval, if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the rotating speed of a fan in the storage device is reduced.
2. The method of claim 1, wherein the state parameter of the hard disk itself comprises one or more combinations of a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
3. The method of claim 1, wherein the environmental parameters of the hard disk include a combination of one or more of the following:
the vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located, the power supply parameter of the storage device, the power supply parameter of the machine room where the storage device is located and the altitude parameter of the storage device.
4. The method of claim 1, wherein the state parameter of the hard disk includes a vibration parameter of the hard disk, and the environmental parameter of the hard disk includes a vibration parameter of the storage device and a vibration parameter of a machine room in which the storage device is located, the method further comprising:
when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold, the frequency of reading/writing the hard disk is reduced and/or the rotation speed of a magnetic head of the hard disk is reduced.
5. The method of claim 1, wherein the state parameter of the hard disk itself includes a temperature parameter of the hard disk itself, and the environment parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room in which the storage device is located, the method further comprising:
when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage device is not in a preset second temperature interval or the temperature parameter in the machine room where the storage device is located is not in a preset third temperature interval, the rotating speed of a fan in the storage device is regulated and/or a temperature regulation instruction is sent to a temperature regulation system of the machine room where the storage device is located, so that the temperature regulation system regulates the temperature of the machine room where the storage device is located according to a preset temperature regulation strategy.
6. The method according to claim 1, wherein the method further comprises:
when the state parameter of the hard disk or the environment parameter of the hard disk meets a preset early warning condition, acquiring the operation parameter of the hard disk, wherein the operation parameter of the hard disk comprises one or more of the combination of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and outputting the residual life information of the hard disk.
7. An IoT-based storage device alert apparatus applied to a storage device comprising a hard disk, the apparatus comprising:
the detection module is used for detecting the state parameters of the hard disk and the environment parameters of the hard disk, wherein the environment parameters of the hard disk comprise noise parameters in the storage equipment and noise parameters in a machine room where the storage equipment is located;
the first output module is used for outputting alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions;
And the third control module is used for reducing the rotating speed of the fan in the storage device if the noise parameter in the storage device exceeds a preset first noise threshold or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold when the temperature parameter of the hard disk is in a first temperature interval, the temperature parameter in the storage device is in a second temperature interval and the temperature parameter in the machine room where the storage device is located is in a third temperature interval.
8. The apparatus of claim 7, wherein the state parameter of the hard disk itself comprises one or more combinations of a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
9. The apparatus of claim 7, wherein the environmental parameters of the hard disk include a combination of one or more of the following:
the vibration parameter of the storage device, the vibration parameter of the machine room where the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room where the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room where the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room where the storage device is located the dust concentration parameter in the storage device, the dust concentration parameter in the machine room where the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room where the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room where the storage device is located, the power supply parameter of the storage device, the power supply parameter of the machine room where the storage device is located and the altitude parameter of the storage device.
10. The apparatus of claim 7, wherein the state parameter of the hard disk includes a vibration parameter of the hard disk, the environmental parameter of the hard disk includes a vibration parameter of the storage device and a vibration parameter of a machine room in which the storage device is located, and the apparatus further includes a first control module;
the first control module is configured to reduce the number of times of reading/writing the hard disk and/or reduce the rotational speed of the magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold.
11. The apparatus of claim 7, wherein the state parameter of the hard disk includes a temperature parameter of the hard disk, the environmental parameter of the hard disk includes a temperature parameter in the storage device and a temperature parameter in a machine room in which the storage device is located, and the apparatus further includes a second control module;
the second control module is configured to adjust a rotational speed of a fan in the storage device and/or send a temperature adjustment instruction to a temperature adjustment system of the computer room where the storage device is located when the temperature parameter of the hard disk is not located in a preset first temperature interval or the temperature parameter in the storage device is not located in a preset second temperature interval or the temperature parameter in the computer room where the storage device is located is not located in a preset third temperature interval, so that the temperature adjustment system adjusts the temperature of the computer room where the storage device is located according to a preset temperature adjustment strategy.
12. The apparatus of claim 7, wherein the apparatus further comprises:
the system comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the operation parameters of the hard disk when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, wherein the operation parameters of the hard disk comprise one or more combinations of the reset times of the hard disk, the power-on time of the hard disk, the loading times of a magnetic head of the hard disk and the number of bad sectors of the hard disk;
the determining module is used for determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and the second output module is used for outputting the residual life information of the hard disk.
13. A storage device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps of any of claims 1-6 are achieved.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-6.
CN201811478814.0A 2018-12-05 2018-12-05 Storage device alarm method and device based on internet of things (IoT) Active CN111274098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811478814.0A CN111274098B (en) 2018-12-05 2018-12-05 Storage device alarm method and device based on internet of things (IoT)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811478814.0A CN111274098B (en) 2018-12-05 2018-12-05 Storage device alarm method and device based on internet of things (IoT)

Publications (2)

Publication Number Publication Date
CN111274098A CN111274098A (en) 2020-06-12
CN111274098B true CN111274098B (en) 2023-10-10

Family

ID=71001429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811478814.0A Active CN111274098B (en) 2018-12-05 2018-12-05 Storage device alarm method and device based on internet of things (IoT)

Country Status (1)

Country Link
CN (1) CN111274098B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835593B (en) * 2020-07-14 2022-06-03 杭州海康威视数字技术股份有限公司 Detection method based on nonvolatile storage medium, storage medium and electronic equipment
CN112650654A (en) * 2020-12-11 2021-04-13 西安诺瓦星云科技股份有限公司 Early warning method and device for display control visualization system, storage medium and processor

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740132A (en) * 2008-11-27 2010-06-16 成都市华为赛门铁克科技有限公司 Early warning method for life service of solid state disc, solid state disc and early warning system
CN102063168A (en) * 2010-12-27 2011-05-18 孙冰 Novel notebook computer heat radiator
CN102411531A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Device for monitoring components in server
CN103218173A (en) * 2013-03-27 2013-07-24 华为技术有限公司 Method and device for storage control
WO2015007092A1 (en) * 2013-07-17 2015-01-22 小米科技有限责任公司 Method, apparatus and device for controlling antenna of mobile device
CN104572399A (en) * 2015-02-03 2015-04-29 联想(北京)有限公司 Temperature control method and electronic equipment
CN105204967A (en) * 2015-09-21 2015-12-30 浪潮电子信息产业股份有限公司 Method and device for detecting hard disc
CN105353713A (en) * 2015-12-15 2016-02-24 国网北京市电力公司 Computer room monitoring system
CN105512004A (en) * 2015-12-11 2016-04-20 浪潮电子信息产业股份有限公司 Method for preventing server hard disk failures caused by abnormal environmental temperature and humidity
CN105526183A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 Method and device for controlling rotating speed of fan
CN105718358A (en) * 2016-01-22 2016-06-29 浪潮电子信息产业股份有限公司 Method for reminding damage detection of server hard disk
CN106815119A (en) * 2016-12-20 2017-06-09 曙光信息产业(北京)有限公司 The hardware monitoring device of server
WO2017125014A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Method and device for monitoring hard disk
CN107678927A (en) * 2017-10-31 2018-02-09 郑州云海信息技术有限公司 Distribute hard disk I O method, device, equipment and computer-readable recording medium
CN107943652A (en) * 2017-11-22 2018-04-20 郑州云海信息技术有限公司 Hard disk control method, device and readable storage medium storing program for executing in a kind of storage system
CN208044782U (en) * 2018-03-27 2018-11-02 精武(天津)安全防范技术有限责任公司 A kind of Moveable alarming device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7126778B2 (en) * 2001-02-06 2006-10-24 International Business Machines Corporation Process of dynamically adjusting the operating parameters of a computer storage device according to environmental conditions
US20110119686A1 (en) * 2009-11-13 2011-05-19 Macpower & Tytech Technology Co., Ltd. External data storage assembly including a hard disk drive and method of monitoring the operational status of the hard disk drive
TWI432973B (en) * 2012-03-27 2014-04-01 Wistron Corp Management module and storage system and temperature and vibration management method using the same
US20150074450A1 (en) * 2013-09-09 2015-03-12 International Business Machines Corporation Hard disk drive (hdd) early failure detection in storage systems based on statistical analysis
US20180275870A1 (en) * 2017-03-21 2018-09-27 International Business Machines Corporation Efficient intra-disk data placement

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740132A (en) * 2008-11-27 2010-06-16 成都市华为赛门铁克科技有限公司 Early warning method for life service of solid state disc, solid state disc and early warning system
CN102063168A (en) * 2010-12-27 2011-05-18 孙冰 Novel notebook computer heat radiator
CN102411531A (en) * 2011-12-31 2012-04-11 曙光信息产业股份有限公司 Device for monitoring components in server
CN103218173A (en) * 2013-03-27 2013-07-24 华为技术有限公司 Method and device for storage control
WO2015007092A1 (en) * 2013-07-17 2015-01-22 小米科技有限责任公司 Method, apparatus and device for controlling antenna of mobile device
CN105526183A (en) * 2014-09-30 2016-04-27 联想(北京)有限公司 Method and device for controlling rotating speed of fan
CN104572399A (en) * 2015-02-03 2015-04-29 联想(北京)有限公司 Temperature control method and electronic equipment
CN105204967A (en) * 2015-09-21 2015-12-30 浪潮电子信息产业股份有限公司 Method and device for detecting hard disc
CN105512004A (en) * 2015-12-11 2016-04-20 浪潮电子信息产业股份有限公司 Method for preventing server hard disk failures caused by abnormal environmental temperature and humidity
CN105353713A (en) * 2015-12-15 2016-02-24 国网北京市电力公司 Computer room monitoring system
WO2017125014A1 (en) * 2016-01-18 2017-07-27 中兴通讯股份有限公司 Method and device for monitoring hard disk
CN105718358A (en) * 2016-01-22 2016-06-29 浪潮电子信息产业股份有限公司 Method for reminding damage detection of server hard disk
CN106815119A (en) * 2016-12-20 2017-06-09 曙光信息产业(北京)有限公司 The hardware monitoring device of server
CN107678927A (en) * 2017-10-31 2018-02-09 郑州云海信息技术有限公司 Distribute hard disk I O method, device, equipment and computer-readable recording medium
CN107943652A (en) * 2017-11-22 2018-04-20 郑州云海信息技术有限公司 Hard disk control method, device and readable storage medium storing program for executing in a kind of storage system
CN208044782U (en) * 2018-03-27 2018-11-02 精武(天津)安全防范技术有限责任公司 A kind of Moveable alarming device

Also Published As

Publication number Publication date
CN111274098A (en) 2020-06-12

Similar Documents

Publication Publication Date Title
EP2740337B1 (en) Method and device for detecting clogging of a filter
US20100306598A1 (en) Operating Computer Memory
CN107230329B (en) Fire detector calibration method, device and equipment
US9927853B2 (en) System and method for predicting and mitigating corrosion in an information handling system
JP6219865B2 (en) Control device failure prediction system
CN111274098B (en) Storage device alarm method and device based on internet of things (IoT)
JP2008250594A (en) Device diagnostic method, device-diagnosing module and device with device-diagnosing module mounted thereon
US20210215545A1 (en) Temperature threshold determining device, temperature abnormality determining system, temperature threshold determining method
WO2017023960A1 (en) Apparatus and methods to detect semiconductor device degradation due to radiation exposure
US20210397531A1 (en) Apparatus with temperature mitigation mechanism and methods for operating the same
CN114003458A (en) Temperature monitoring method based on multiple chips and related product
CN114650018B (en) Self-adaptive heat dissipation method, heat dissipation device and heat dissipation system for power amplifier
CN114443412A (en) Method and apparatus for temperature detection and thermal management based on power measurement
CN110762771B (en) Air conditioner external unit resonance control method and device and air conditioner
CN114326676B (en) Intrusion detection method and device, storage medium and electronic equipment
US8607133B2 (en) Data processing device and method for checking parameter values of the data processing device
US11537501B2 (en) Method and device for monitoring server based on recordings of data from sensors, and non-transitory storage medium
US20130289909A1 (en) Electronic device and method for monitoring parameter values of the electronic device
US8060332B2 (en) Method for testing sensor function and computer program product thereof
US7269536B1 (en) Method and apparatus for quantitatively determining severity of degradation in a signal
US20150046128A1 (en) Filtration method for abnormal sensing data of monitoring chip
US20160077161A1 (en) Method for improved diagnostic in determining and preventing inverter faults
CN111198802B (en) Method and device for detecting heat dissipation abnormity and computer readable storage medium
CN108880916B (en) IIC bus-based fault positioning method and system
JP2012173200A (en) Abnormality state detection method and electronic apparatus

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