CN111274098A - IoT-based storage device alarm method and device - Google Patents

IoT-based storage device alarm method and device Download PDF

Info

Publication number
CN111274098A
CN111274098A CN201811478814.0A CN201811478814A CN111274098A CN 111274098 A CN111274098 A CN 111274098A CN 201811478814 A CN201811478814 A CN 201811478814A CN 111274098 A CN111274098 A CN 111274098A
Authority
CN
China
Prior art keywords
hard disk
storage device
parameter
parameters
temperature
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
CN201811478814.0A
Other languages
Chinese (zh)
Other versions
CN111274098B (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

Images

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 an IoT-based storage device alarm method and device, which are applied to storage devices and relate to the technical field of electronics. The method comprises the following steps: acquiring the state parameters of the hard disk and the 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

IoT-based storage device alarm method and device
Technical Field
The invention relates to the technical field of electronics, in particular to an IoT-based storage device alarm method and device.
Background
The hard disk is one of storage media commonly used in storage devices, wherein the storage device may be a computer, a server, and the like. Since the hard disk stores the data of the user, if the hard disk is damaged, the data in the hard disk is lost, which will cause immeasurable loss for the user. Therefore, the working environment of the hard disk needs to be monitored, and when the hard disk is possibly damaged, alarm information is output to prompt a user to perform corresponding processing, so that the hard disk is protected.
In the prior art, the storage device may obtain 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 within a preset temperature range.
However, there are many cases of hard disk damage, and the storage device only alarms according to the state parameters of the hard disk itself, and the alarm accuracy is low.
Disclosure of Invention
The embodiment of the invention aims to provide an IoT-based storage device alarming method and device so as to improve the accuracy of storage device alarming. The specific technical scheme is as follows:
in a first aspect, an IoT-based storage device alarming method is provided, which is applied to a storage device including a hard disk, and includes:
detecting the state parameters of the hard disk and the environment parameters of the hard disk;
and when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions, outputting alarm information.
Optionally, the state parameter of the hard disk itself includes one or more combinations of a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
Optionally, the environment parameter of the hard disk includes one or more of the following parameters:
vibration parameters of the storage equipment, vibration parameters of a machine room in which the storage equipment is located, temperature parameters in the storage equipment, temperature parameters in the machine room in which the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room in which the storage equipment is located, corrosive gas concentration parameters in the storage equipment, and corrosive gas concentration parameters in the machine room in which the storage equipment 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 parameter of the storage device, the power 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 itself includes a vibration parameter of the hard disk itself, and the environment 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, where the method further includes:
and when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage equipment exceeds a preset second vibration parameter threshold value, or the vibration parameter of the machine room where the storage equipment is located exceeds a preset third vibration parameter threshold value, reducing the number of times of reading/writing the hard disk and/or reducing the rotation speed of a magnetic head of the hard disk.
Optionally, 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 where the storage device is located, where 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, adjusting the rotating speed of a fan in the storage device and/or sending 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.
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 method further includes:
when the temperature parameter of the hard disk is in a first temperature range, the temperature parameter in the storage device is in a second temperature range, and the temperature parameter in the machine room where the storage device is located is in a third temperature range, if the noise parameter in the storage device exceeds a preset first noise threshold value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value, the rotating speed of the fan in the storage device is reduced.
Optionally, the method further includes:
when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, acquiring the operation parameters of the hard disk, 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;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and outputting the residual service life information of the hard disk.
In a second aspect, an IoT-based storage device alarm apparatus is provided, which is applied to a storage device, where the storage device includes a hard disk, and the apparatus includes:
the detection module is used for detecting the state parameters of the hard disk and the environment parameters of the hard disk;
and 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.
Optionally, the state parameter of the hard disk itself includes one or more combinations of a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
Optionally, the environment parameter of the hard disk includes one or more of the following parameters:
vibration parameters of the storage equipment, vibration parameters of a machine room in which the storage equipment is located, temperature parameters in the storage equipment, temperature parameters in the machine room in which the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room in which the storage equipment is located, corrosive gas concentration parameters in the storage equipment, and corrosive gas concentration parameters in the machine room in which the storage equipment 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 parameter of the storage device, the power 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 in which the storage device is located, and the apparatus further includes a first control module;
the first control module is used for reducing the times of reading/writing the hard disk and/or reducing the rotating speed of a magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold value, or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold value.
Optionally, the state parameter of the hard disk itself includes a temperature parameter of the hard disk itself, 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;
and the second control module is used for adjusting the rotating speed of a fan in the storage equipment and/or sending a temperature adjusting instruction to a temperature adjusting system of the machine room where the storage equipment is located when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage equipment is not in a preset second temperature interval or the temperature parameter in the machine room where the storage equipment is located is not in a preset third temperature interval, so that the temperature adjusting system adjusts the temperature of the machine room where the storage equipment is located according to a preset temperature adjusting strategy.
Optionally, the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room in which the storage device is located, and the apparatus further includes a third control module;
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 value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value 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 comprises:
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 operating parameters of the hard disk;
and the second output module is used for outputting the residual service life information of the hard disk.
In a third aspect, there is provided 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: the method steps of the first aspect are implemented.
In a fourth aspect, a computer-readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the method steps of the first aspect.
The IoT-based storage device alarm method and device provided by the embodiment of the invention can acquire the state parameters of the hard disk and the environment parameters of the hard disk, and output alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions. Compared with the prior art, the method and the device have the advantages that the mode of alarming according to the state parameters of the hard disk is adopted, the mode of alarming according to the environment parameters of the hard disk is also adopted, and the alarming accuracy is improved.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a storage device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an IoT-based storage device alarming method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an IoT-based storage device alarm apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a storage device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 invention.
The IoT (Internet of Things) is a network that realizes information exchange and communication between articles through communication sensing technologies such as intelligent sensing, identification technology and pervasive computing. 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 electronic devices such as computers and servers. The storage device can detect the state parameters of the hard disk, can set a sensor in the environment where the hard disk is located based on an IoT technology, detects the environment parameters of the hard disk, and can output alarm information when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions. Compared with the prior art, the method and the device have the advantages that the mode of alarming according to the state parameters of the hard disk is adopted, the mode of alarming according to the environment parameters of the hard disk is also adopted, and the alarming accuracy is improved.
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 in communication connection with the memory, the processor may be in communication connection with the hard disk through the hard disk expansion module, and the processor may be in communication connection with the sensors through the sensor interface module.
As shown in fig. 2, the IoT-based storage device alarming method may include the following steps:
step 201, detecting the state parameter of the hard disk and the environment parameter of the hard disk.
The state parameters of the hard disk can comprise one or more combinations of vibration parameters of the hard disk and temperature parameters of the hard disk; the environment parameters of the hard disk comprise one or more of the following parameters: the vibration parameter of the storage device, the vibration parameter of the machine room in which the storage device is located, the temperature parameter in the storage device, the temperature parameter in the machine room in which the storage device is located, the air pressure parameter in the storage device, the air pressure parameter in the machine room in which the storage device is located, the corrosive gas concentration parameter in the storage device, the corrosive gas concentration parameter in the machine room in which the storage device is located, the dust concentration parameter in the storage device, the dust concentration parameter in the machine room in which the storage device is located, the humidity parameter in the storage device, the humidity parameter in the machine room in which the storage device is located, the noise parameter in the storage device, the noise parameter in the machine room in which the storage device is located, the power parameter of the storage device, the power parameter of the machine room in which the storage device is.
In implementation, a first temperature sensor may be disposed inside the hard disk, the first temperature sensor may periodically detect a temperature parameter of the hard disk, and the storage device may acquire the temperature parameter of the hard disk detected by the first temperature sensor. The hard disk can be internally provided with a first vibration sensor which 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 where 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 may set a third vibration sensor in the machine room where the storage device is located, the third vibration sensor is configured to detect a vibration parameter of the machine room where the storage device is located, the third vibration sensor may send the detected vibration parameter of the machine room where the storage device is located to the storage device, and the storage device may periodically detect the vibration parameter of the machine room where the storage device is located through the third vibration sensor.
The storage device may be provided with a second temperature sensor, the second temperature sensor is configured to detect a temperature parameter in the storage device, the second temperature sensor may send the detected temperature parameter in the storage device to the storage device, and the storage device may 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 temperature parameters in the machine room where the storage device is located, the third temperature sensor can send the detected temperature parameters in the machine room where the storage device is located to the storage device, and the storage device can periodically detect the temperature parameters 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 may be provided with a first corrosive gas concentration sensor, the first corrosive gas concentration sensor is configured to detect a corrosive gas concentration parameter in the storage device, the first corrosive gas concentration sensor may send the detected corrosive gas concentration parameter in the storage device to the storage device, and the storage device may periodically detect the corrosive gas concentration parameter 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.
Can be provided with first dust concentration sensor in the storage device, first dust concentration sensor is used for detecting the dust concentration parameter in the storage device, and first dust concentration sensor can send the dust concentration parameter in the storage device who detects for storage device, and storage device can be through the dust concentration parameter in the periodic detection storage device of first dust concentration sensor. The storage device can set up second dust concentration sensor in storage device place computer lab, and second dust concentration sensor is used for detecting the dust concentration parameter in the computer lab of storage device place, and second dust concentration sensor can send the dust concentration parameter in the computer lab of storage device place that detects for storage device, and storage device can be through the dust concentration parameter in the periodic detection storage device place computer lab of second dust concentration sensor.
The storage device can be internally provided with a first humidity sensor, the first humidity sensor 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 set up the second humidity transducer in storage device place computer lab, and the second humidity transducer is used for detecting the humidity parameter in the computer lab of storage device place, and the second humidity transducer can send the humidity parameter in the computer lab of storage device place that detects for storage device, and storage device can be through the humidity parameter in the periodic detection storage device place computer lab of second humidity transducer.
The storage device may be provided with a first noise sensor, the first noise sensor is configured to detect a noise parameter in the storage device, the first noise sensor may send the detected noise parameter in the storage device to the storage device, and the storage device may periodically detect the noise parameter in the storage device through 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 power supply parameters of the machine room where the storage device is located, the second power supply monitoring device can send the detected power supply parameters of the machine room where the storage device is located to the storage device, and the storage device can periodically detect the power supply parameters of the machine room where the storage device is located through the second power supply monitoring device.
An altitude sensor can be arranged in/outside the storage device and used for detecting an altitude parameter of the storage device, the altitude sensor can send the detected altitude parameter of the storage device to the storage device, and the storage device can periodically detect the altitude parameter of the storage device through the altitude sensor.
Step 202, when the state parameter of the hard disk or the environment parameter of the hard disk meets a preset alarm condition, outputting alarm information.
In implementation, when the state parameter of the hard disk or the environment parameter of the hard disk meets a preset alarm condition, the storage device can output alarm information. For example, when the state parameter of the hard disk itself includes a temperature parameter of the hard disk itself, and when the temperature parameter of the hard disk itself is not in the preset first temperature interval, 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. Under the condition that the environmental parameter of the hard disk comprises the temperature parameter in the storage device, when the temperature parameter in the storage device is not in the preset second temperature interval, the storage device can output alarm information containing information that the temperature parameter in the storage device is not in the preset second temperature interval. Under the condition that the environmental parameters of the hard disk include 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 the 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.
Under the condition that the state parameters of the hard disk comprise the vibration parameters of the hard disk, when the vibration parameters of the hard disk exceed a preset first vibration threshold value, the storage device can output alarm information containing information that the vibration parameters of the hard disk exceed the first vibration threshold value. When the environmental parameter of the hard disk includes a vibration parameter of the storage device, when the vibration parameter of the storage device exceeds a preset second vibration threshold, the storage device may output alarm information containing information that the vibration parameter of the storage device exceeds the second vibration threshold. Under the condition that the environmental parameters of the hard disk include vibration parameters of the 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, 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.
Under the condition that the environmental parameters of the hard disk include the air pressure parameters in the storage device, when the air pressure parameters in the storage device are not in a preset first air pressure interval, the storage device can output alarm information containing information that the air pressure parameters in the storage device are not in the first air pressure interval. Under the condition that the environmental parameters of the hard disk include 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 the 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.
In the case where the environmental parameter of the hard disk includes a corrosive gas concentration parameter in the storage device, when the corrosive gas concentration parameter in the storage device exceeds a preset first corrosive gas concentration threshold, the storage device may output alarm information containing information that the corrosive gas concentration parameter in the storage device exceeds the first corrosive gas concentration threshold. Under the condition that the environmental parameters of the hard disk include the concentration parameter of the corrosive gas in the machine room where the storage device is located, when the concentration parameter of the corrosive gas in the machine room where the storage device is located exceeds a preset second concentration threshold value of the corrosive gas, the storage device can output information that the concentration parameter of the corrosive gas in the machine room where the storage device is located exceeds the second concentration threshold value of the corrosive gas.
Under the condition that the environmental parameters of the hard disk comprise dust concentration parameters in the storage device, when the dust concentration parameters in the storage device exceed a preset first dust concentration threshold value, the storage device can output alarm information containing information that the dust concentration parameters in the storage device exceed the first dust concentration threshold value. Under the condition that the environmental parameters of the hard disk include the dust concentration parameters in the machine room where the storage device is located, when the dust concentration parameters in the machine room where the storage device is located exceed the 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.
Under the condition that the environmental parameters of the hard disk include the humidity parameters in the storage device, when the humidity parameters in the storage device exceed a preset first humidity threshold value, the storage device can output alarm information containing information that the humidity parameters in the storage device exceed the preset first humidity threshold value. Under the condition that the environmental parameters of the hard disk include the 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 do not exceed the preset second humidity threshold, 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.
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, the storage device may output alarm information containing information that the noise parameter in the storage device exceeds the first noise threshold. Under the condition that the environmental parameters of the hard disk include noise parameters in the machine room where the storage device is located, when the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold, the storage device can output alarm information containing information that the noise parameter in the machine room where the storage device is located exceeds the second noise threshold.
In a case where the environmental parameter of the hard disk includes an altitude parameter of the storage device, when the altitude parameter of the storage device exceeds a preset first altitude parameter threshold, the storage device may output alarm information containing information that the altitude parameter of the storage device exceeds the first altitude parameter threshold.
Under the condition that the environmental parameters of the hard disk include power parameters of the storage device, when the power parameters of the storage device are not in the preset first power parameter interval, the storage device can output alarm information containing that the power parameters of the storage device are not in the preset first power parameter interval, and correspondingly, the storage device can cut off the power of the storage device. Under the condition that the environmental parameters of the hard disk include the power parameters of the machine room where the storage device is located, when the power parameters of the machine room where the storage device is located are not in the preset second power parameter interval, the storage device can output alarm information containing the power parameters of the machine room where the storage device is located and not in the preset second power 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, the mode of alarming according to the state parameters of the hard disk and the mode of alarming according to the environment parameters of the hard disk are adopted, and the accuracy of alarming is improved.
Optionally, the storage device may record a state parameter of the hard disk itself 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 in the storage device to quickly find out a corresponding processing method.
Optionally, when the state parameter of the hard disk itself includes a vibration parameter of the hard disk itself, and the environment 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 IoT-based storage device alarm method further includes: and when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage equipment exceeds a preset second vibration parameter threshold value, or the vibration parameter of the machine room where the storage equipment is located exceeds a preset third vibration parameter threshold value, reducing the times of reading/writing the hard disk and/or reducing the rotating speed of a magnetic head of the hard disk.
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 the machine room in which the storage device is located exceeds a preset third vibration parameter threshold, the storage device can reduce the number of times of reading/writing the hard disk and/or reduce the rotation speed of the magnetic head of the hard disk, the reduction of the number of times of reading/writing the hard disk can avoid the disk damage of the hard disk caused by frequent reading/writing operations on the hard disk under the condition of strong vibration, and the reduction of the rotation speed of the magnetic head of the hard disk can avoid the disk 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 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 the 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, increasing the rotating speed of a fan in the storage device and/or sending 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.
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 in which the storage device is located is not in a preset third temperature interval, the storage device may adjust the rotation speed of the fan in the storage device and/or send a temperature adjustment instruction to the temperature adjustment system of the machine room in which the storage device is located, so that the temperature adjustment system adjusts the temperature of the machine room in which the storage device is located according to a preset temperature adjustment strategy.
The specific implementation of adjusting the rotation speed of the fan in the storage device may be: when the temperature parameter of the hard disk exceeds the upper limit of a first temperature interval, or the temperature parameter in the storage equipment exceeds the upper limit of a second temperature interval, or the temperature parameter in the machine room where the storage equipment is located exceeds the upper limit of a third temperature interval, the storage equipment increases the rotating speed of a fan in the storage equipment; and 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 equipment is smaller than the lower limit of the second temperature interval, or the temperature parameter in the machine room where the storage equipment is located is smaller than the lower limit of the third temperature interval, the storage equipment reduces the rotating speed of the fan in the storage equipment.
The specific implementation mode that the temperature regulation system sends the temperature regulation instruction to the 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 the preset temperature regulation strategy can be as follows: when the temperature parameter of the hard disk exceeds the upper limit of a first temperature interval or the temperature parameter in the storage equipment exceeds the upper limit of a second temperature interval or the temperature parameter in the machine room where the storage equipment is located exceeds the upper limit of a third temperature interval, the storage equipment sends a temperature adjusting instruction for reducing the temperature to a temperature adjusting system, and the temperature adjusting system enables the temperature in the machine room to be reduced 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 a temperature adjusting system, and the temperature adjusting system enables the temperature in the machine room to increase by a preset second temperature value.
Thus, the electronic devices of the hard disk and the storage device can be prevented from being influenced by overhigh or overlow temperature.
Optionally, when the environmental parameter of the hard disk includes a noise parameter in the storage device and a noise parameter in a machine room where the storage device is located, the IoT-based storage device alarming 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 value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value, the rotating speed of a fan in the storage device is reduced.
In implementation, 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 storage device can reduce the rotating speed of a fan in the storage device, so as to reduce noise and avoid the noise from damaging the hard disk and electronic devices in the storage device.
Optionally, the IoT-based storage device alarming method further includes: and when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, acquiring the operation parameters of the hard disk, 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. 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 more strict condition than the above alarm condition, and indicates that the state parameter of the hard disk or the environment parameter of the hard disk is not good, but does not reach the alarm condition, that is, the state parameter of the hard disk or the environment parameter of the hard disk can not meet the alarm condition when meeting the early warning condition, and the state parameter of the hard disk or the environment parameter of the hard disk also meets the early warning condition when meeting 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, 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 warning condition may not be met, and when the vibration parameter of the hard disk meets the warning condition, the early warning condition is also met.
In 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 obtain an operation parameter of the hard disk, where the operation parameter of the hard disk includes one or more combinations of the number of times of resetting the hard disk, the power-on time of the hard disk, the number of times of loading a magnetic head of the hard disk, and the number of bad sectors of the hard disk. For each acquired operating parameter, the storage device may determine, according to the operating parameter, a first remaining life corresponding to the operating parameter. Then, the storage device may use the first remaining life with the smallest remaining life value among the first remaining lives corresponding to the operation parameters as the remaining life of the hard disk, 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 operating parameter, the processing procedure of the storage device determining the first remaining life corresponding to the operating parameter according to the operating parameter may be: in case the operation parameter is the number of resets of the hard disk, the storage device may be according to the formula t1=(R-r1)*T/r1Determining a first remaining life corresponding to the reset times of the hard disk, wherein R is the upper limit of the reset times, T is the historical service time of the hard disk, and R is1Is the number of resets of the hard disk, t1A first remaining life corresponding to the number of times of resetting the hard disk; in case the operational parameter is the power on time of the hard disk, the storage device may be according to the formula t2=(C-c1)*T/c1Determining a first remaining life corresponding to the number of times of resetting the hard disk, wherein C is the hard diskUpper limit of power-on time of (c), T is historical usage time of the hard disk, c1Power-on time, t, of the hard disk2A first remaining life corresponding to the number of times of resetting the hard disk; in case the operational parameter is the number of loads of the head of the hard disk, the storage device may be according to the formula t3=(L-l1)*T/l1Determining a first remaining 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 service time of the hard disk, and L1Is the number of times the head is loaded, t3A first remaining life corresponding to the number of times of resetting the hard disk; in the case that the operation parameter is the number of bad sectors of the hard disk, the storage device may be according to the formula t4=(N-n1)*T/n1Determining a first remaining 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 service time of the hard disk, and N is the historical service time of the hard disk1Is the number of bad sectors of the hard disk, t4The first remaining life corresponding to the number of times of resetting the hard disk.
Therefore, when the state parameters of the hard disk or the environment parameters of the hard disk are not good (namely, when the early warning condition is reached), the storage device can timely feed back the residual service 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, which is applied to a storage device, where the storage device includes a hard disk, and the apparatus includes:
a detection module 301, configured to detect a state parameter of the hard disk and an environment parameter of the hard disk;
the first output module 302 is configured to output alarm information when the state parameter of the hard disk itself or the environment 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 a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
Optionally, the environment parameter of the hard disk includes one or more of the following parameters:
vibration parameters of the storage equipment, vibration parameters of a machine room in which the storage equipment is located, temperature parameters in the storage equipment, temperature parameters in the machine room in which the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room in which the storage equipment is located, corrosive gas concentration parameters in the storage equipment, and corrosive gas concentration parameters in the machine room in which the storage equipment 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 parameter of the storage device, the power 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 in which the storage device is located, and the apparatus further includes a first control module;
the first control module is used for reducing the times of reading/writing the hard disk and/or reducing the rotating speed of a magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold value, or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold value.
Optionally, the state parameter of the hard disk itself includes a temperature parameter of the hard disk itself, 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;
and the second control module is used for adjusting the rotating speed of a fan in the storage equipment and/or sending a temperature adjusting instruction to a temperature adjusting system of the machine room where the storage equipment is located when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage equipment is not in a preset second temperature interval or the temperature parameter in the machine room where the storage equipment is located is not in a preset third temperature interval, so that the temperature adjusting system adjusts the temperature of the machine room where the storage equipment is located according to a preset temperature adjusting strategy.
Optionally, the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room in which the storage device is located, and the apparatus further includes a third control module;
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 value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value 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 comprises:
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 operating parameters of the hard disk;
and the second output module is used for outputting the residual service life information of the hard disk.
An embodiment of the present invention further provides an electronic device, as shown in fig. 4, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication 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 the state parameters of the hard disk and the environment parameters of the hard disk;
and when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions, outputting alarm information.
Optionally, the state parameter of the hard disk itself includes one or more combinations of a vibration parameter of the hard disk itself and a temperature parameter of the hard disk itself.
Optionally, the environment parameter of the hard disk includes one or more of the following parameters:
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 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 itself includes a vibration parameter of the hard disk itself, 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:
and when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage equipment exceeds a preset second vibration parameter threshold value, or the vibration parameter of the machine room where the storage equipment is located exceeds a preset third vibration parameter threshold value, reducing the number of times of reading/writing the hard disk and/or reducing the rotation speed of a magnetic head of the hard disk.
Optionally, the state parameter of the hard disk itself includes a temperature parameter of the hard disk itself, 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, adjusting the rotating speed of a fan in the storage device and/or sending 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.
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 method further includes:
when the temperature parameter of the hard disk is in a first temperature range, the temperature parameter in the storage device is in a second temperature range, and the temperature parameter in the machine room where the storage device is located is in a third temperature range, if the noise parameter in the storage device exceeds a preset first noise threshold value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value, the rotating speed of the fan in the storage device is reduced.
Optionally, the above steps further include:
when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, acquiring the operation parameters of the hard disk, 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;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and outputting the residual service life information of the hard disk.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a 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 processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In yet another embodiment provided by the present invention, a computer-readable storage medium having a computer program stored therein, the computer program when executed by a processor implementing the steps of any of the IoT-based storage device alerting methods described above is also provided.
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 alerting methods in the above-described embodiments.
In the above embodiments, the implementation may be wholly or partially realized 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, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the 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)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. An IoT-based storage device alarming method applied to a storage device, the storage device comprising a hard disk, the method comprising:
detecting the state parameters of the hard disk and the environment parameters of the hard disk;
and when the state parameters of the hard disk or the environment parameters of the hard disk meet preset alarm conditions, outputting alarm information.
2. The method according to claim 1, wherein the state parameter of the hard disk itself comprises one or more combinations of vibration parameter of the hard disk itself and temperature parameter of the hard disk itself.
3. The method of claim 1, wherein the environmental parameters of the hard disk include one or more of the following:
vibration parameters of the storage equipment, vibration parameters of a machine room in which the storage equipment is located, temperature parameters in the storage equipment, temperature parameters in the machine room in which the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room in which the storage equipment is located, corrosive gas concentration parameters in the storage equipment, and corrosive gas concentration parameters in the machine room in which the storage equipment 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 parameter of the storage device, the power parameter of the machine room where the storage device is located, and the altitude parameter of the storage device.
4. The method according to claim 1, wherein the state parameters of the hard disk comprise vibration parameters of the hard disk, the environment parameters of the hard disk comprise vibration parameters of the storage device and vibration parameters of a machine room in which the storage device is located, and the method further comprises:
and when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage equipment exceeds a preset second vibration parameter threshold value, or the vibration parameter of the machine room where the storage equipment is located exceeds a preset third vibration parameter threshold value, reducing the number of times of reading/writing the hard disk and/or reducing the rotation speed of a magnetic head of the hard disk.
5. The method according to claim 1, wherein the state parameters of the hard disk include temperature parameters of the hard disk itself, the environment parameters of the hard disk include temperature parameters in the storage device and temperature parameters in a machine room in which 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, adjusting the rotating speed of a fan in the storage device and/or sending 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.
6. The method of claim 1, wherein the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room in which the storage device is located, the method further comprising:
when the temperature parameter of the hard disk is in a first temperature range, the temperature parameter in the storage device is in a second temperature range, and the temperature parameter in the machine room where the storage device is located is in a third temperature range, if the noise parameter in the storage device exceeds a preset first noise threshold value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value, the rotating speed of the fan in the storage device is reduced.
7. The method of claim 1, further comprising:
when the state parameters of the hard disk or the environment parameters of the hard disk meet preset early warning conditions, acquiring the operation parameters of the hard disk, 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;
determining the residual life information of the hard disk according to the operation parameters of the hard disk;
and outputting the residual service life information of the hard disk.
8. An IoT-based storage device alarm 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;
and 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.
9. The apparatus of claim 8, 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.
10. The apparatus of claim 8, wherein the environmental parameters of the hard disk comprise one or more of the following:
vibration parameters of the storage equipment, vibration parameters of a machine room in which the storage equipment is located, temperature parameters in the storage equipment, temperature parameters in the machine room in which the storage equipment is located, air pressure parameters in the storage equipment, air pressure parameters in the machine room in which the storage equipment is located, corrosive gas concentration parameters in the storage equipment, and corrosive gas concentration parameters in the machine room in which the storage equipment 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 parameter of the storage device, the power parameter of the machine room where the storage device is located, and the altitude parameter of the storage device.
11. The apparatus according to claim 8, wherein the state parameters of the hard disk itself comprise vibration parameters of the hard disk itself, the environment parameters of the hard disk comprise vibration parameters of the storage device and vibration parameters of a machine room in which the storage device is located, and the apparatus further comprises a first control module;
the first control module is used for reducing the times of reading/writing the hard disk and/or reducing the rotating speed of a magnetic head of the hard disk when the vibration parameter of the hard disk exceeds a preset first vibration parameter threshold value, or the vibration parameter of the storage device exceeds a preset second vibration parameter threshold value, or the vibration parameter of a machine room where the storage device is located exceeds a preset third vibration parameter threshold value.
12. The apparatus according to claim 8, wherein the state parameter of the hard disk itself comprises a temperature parameter of the hard disk itself, the environment parameter of the hard disk comprises 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 comprises a second control module;
and the second control module is used for adjusting the rotating speed of a fan in the storage equipment and/or sending a temperature adjusting instruction to a temperature adjusting system of the machine room where the storage equipment is located when the temperature parameter of the hard disk is not in a preset first temperature interval or the temperature parameter in the storage equipment is not in a preset second temperature interval or the temperature parameter in the machine room where the storage equipment is located is not in a preset third temperature interval, so that the temperature adjusting system adjusts the temperature of the machine room where the storage equipment is located according to a preset temperature adjusting strategy.
13. The apparatus of claim 8, wherein the environmental parameters of the hard disk include noise parameters in the storage device and noise parameters in a machine room in which the storage device is located, and the apparatus further comprises a third control module;
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 value or the noise parameter in the machine room where the storage device is located exceeds a preset second noise threshold value 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.
14. The apparatus of claim 8, further comprising:
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 operating parameters of the hard disk;
and the second output module is used for outputting the residual service life information of the hard disk.
15. 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: carrying out the method steps of any one of claims 1 to 7.
16. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 7.
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 true CN111274098A (en) 2020-06-12
CN111274098B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835593A (en) * 2020-07-14 2020-10-27 杭州海康威视数字技术股份有限公司 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 (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020105748A1 (en) * 2001-02-06 2002-08-08 Bernd Lamberts Process of dynamically adjusting the operating parameters of a computer storage device according to environmental conditions
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
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
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
US20130258521A1 (en) * 2012-03-27 2013-10-03 Wistron Corporation Management Module, Storage System, and Method of Temperature and Vibration Management Thereof
WO2015007092A1 (en) * 2013-07-17 2015-01-22 小米科技有限责任公司 Method, apparatus and device for controlling antenna of mobile device
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
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 avoiding server hard disk fault caused by abnormal ambient 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 浪潮电子信息产业股份有限公司 Server hard disk damage detection prompting method
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
US20180275870A1 (en) * 2017-03-21 2018-09-27 International Business Machines Corporation Efficient intra-disk data placement
CN208044782U (en) * 2018-03-27 2018-11-02 精武(天津)安全防范技术有限责任公司 A kind of Moveable alarming device

Patent Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020105748A1 (en) * 2001-02-06 2002-08-08 Bernd Lamberts Process of dynamically adjusting the operating parameters of a computer storage device according to environmental conditions
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
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
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
US20130258521A1 (en) * 2012-03-27 2013-10-03 Wistron Corporation Management Module, Storage System, and Method of Temperature and Vibration Management Thereof
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
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
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 avoiding server hard disk fault caused by abnormal ambient 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 浪潮电子信息产业股份有限公司 Server hard disk damage detection prompting method
CN106815119A (en) * 2016-12-20 2017-06-09 曙光信息产业(北京)有限公司 The hardware monitoring device of server
US20180275870A1 (en) * 2017-03-21 2018-09-27 International Business Machines Corporation Efficient intra-disk data placement
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835593A (en) * 2020-07-14 2020-10-27 杭州海康威视数字技术股份有限公司 Detection method based on nonvolatile storage medium, storage medium and electronic equipment
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

Also Published As

Publication number Publication date
CN111274098B (en) 2023-10-10

Similar Documents

Publication Publication Date Title
US20170126704A1 (en) Method And Devices For Non-Intrusive Malware Detection For The Internet Of Things (IOT)
CN107230329B (en) Fire detector calibration method, device and equipment
US20170277232A1 (en) Information processing apparatus, method for detecting air intake fault, and storage medium
JP2016149131A (en) Method, apparatus and tangible computer readable storage medium for security event detection through virtual machine introspection
JP6219865B2 (en) Control device failure prediction system
US20100306598A1 (en) Operating Computer Memory
US20170038425A1 (en) Apparatus and methods to detect semiconductor device degradation due to radiation exposure
US20120265471A1 (en) Method for reliably operating a sensor
CN111274098B (en) Storage device alarm method and device based on internet of things (IoT)
CN114320970B (en) Fan abnormality early warning method, device, equipment and medium
CN113626293A (en) Intelligent reminding method and system for cleaning dust of fan of computer host
US11144421B2 (en) Apparatus with temperature mitigation mechanism and methods for operating the same
JP6223380B2 (en) Relay device and program
US20120154158A1 (en) Computing device and alarm method of the computing device
US8607133B2 (en) Data processing device and method for checking parameter values of the data processing device
US11914703B2 (en) Method and data processing system for detecting a malicious component on an integrated circuit
KR102384742B1 (en) System and method for detecting anomality using sensor data
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
CN110083470B (en) Disk analysis method, apparatus and computer readable storage medium
JP2005267761A (en) Method for monitoring degradation of flash memory
US8711417B2 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
CN115080360A (en) Method, device and equipment for detecting liquid cooling server and readable medium
CN113625957A (en) Hard disk fault detection method, device and equipment
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