CN112530475B - Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium - Google Patents

Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112530475B
CN112530475B CN202011460124.XA CN202011460124A CN112530475B CN 112530475 B CN112530475 B CN 112530475B CN 202011460124 A CN202011460124 A CN 202011460124A CN 112530475 B CN112530475 B CN 112530475B
Authority
CN
China
Prior art keywords
hard disk
mechanical hard
vibration
value
acceleration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011460124.XA
Other languages
Chinese (zh)
Other versions
CN112530475A (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 Hopechart Iot Technology Co ltd
Original Assignee
Hangzhou Hopechart Iot 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 Hopechart Iot Technology Co ltd filed Critical Hangzhou Hopechart Iot Technology Co ltd
Priority to CN202011460124.XA priority Critical patent/CN112530475B/en
Publication of CN112530475A publication Critical patent/CN112530475A/en
Application granted granted Critical
Publication of CN112530475B publication Critical patent/CN112530475B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/02Cabinets; Cases; Stands; Disposition of apparatus therein or thereon
    • G11B33/08Insulation or absorption of undesired vibrations or sounds

Abstract

The invention provides a mechanical hard disk shockproof device, a method and a system thereof, an electronic device and a storage medium, wherein the mechanical hard disk shockproof device comprises: a first acceleration sensor, a second acceleration sensor and a control unit; the first acceleration sensor is arranged on the hard disk damping box; the second acceleration sensor is arranged on the equipment mainboard; the control unit is respectively connected with the first acceleration sensor and the second acceleration sensor and used for determining whether to close the mechanical hard disk according to the numerical values acquired by the first acceleration sensor and the second acceleration sensor. Before harmful vibration is conducted to the mechanical hard disk, the mechanical hard disk can be closed, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk fault caused by overlarge vibration is avoided.

Description

Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of security and protection monitoring, in particular to a mechanical hard disk shockproof device, a method and a system, electronic equipment and a storage medium.
Background
The vehicle-mounted hard disk video recorder belongs to the market segment of the traditional embedded hard disk video recorder, and is a new special product developed along with the application of a digital video and audio coding technology on a vehicle. Due to market demands and supervision requirements, commercial operation vehicles must be provided with vehicle-mounted video recorders to record video information inside and outside the vehicle in real time and store the video information in a large-capacity magnetic disk.
Because of the hard requirement for recording duration, hard disks are generally adopted as recording media in the market at present, and are divided into solid state disks and mechanical hard disks. Based on cost consideration, the product price advantage can be obtained by adopting the mechanical hard disk, but the mechanical hard disk has the advantages that the working stability and the service life of the mechanical hard disk are greatly influenced by bumpy working conditions (roads and engines) because the mechanical magnetic head is moved to finish the read-write operation of the magnetic disk, the processing is not good, and the physical damage and the data loss of the hard disk are easily caused.
The prior art has had more consideration in the aspect of the shockproof of on-vehicle video recorder, and current practice is to install mechanical hard disk in a mechanism of taking the function of moving away to avoid possible earthquakes, can effectually filter some vibration that directly conducts for the hard disk through shock absorber, slows down the range of vibration by a wide margin. But still cannot completely eliminate the harsh operating conditions, and in some environments with relatively large vibrations, the hard disk may still be damaged.
Therefore, how to provide a device, a method and a system for preventing vibration of a mechanical hard disk, an electronic device and a storage medium, which can close the mechanical hard disk before harmful vibration is conducted to the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the failure of the mechanical hard disk caused by excessive vibration is avoided, which is a problem to be solved urgently.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a mechanical hard disk shockproof device, a method and a system, electronic equipment and a storage medium.
The invention provides a mechanical hard disk shockproof device, comprising: a first acceleration sensor, a second acceleration sensor and a control unit;
the first acceleration sensor is arranged on the hard disk damping box;
the second acceleration sensor is arranged on the equipment mainboard;
the control unit is respectively connected with the first acceleration sensor and the second acceleration sensor and used for determining whether to close the mechanical hard disk according to the numerical values acquired by the first acceleration sensor and the second acceleration sensor.
The mechanical hard disk shock mounting still includes: a storage unit;
the storage unit is connected with the mechanical hard disk through the control unit;
the control unit is also used for selecting a storage mode of the data information.
The invention also provides a mechanical hard disk shockproof method based on the mechanical hard disk shockproof device, which comprises the following steps:
acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
determining a first vibration difference value according to the first acceleration value and the second acceleration value;
and if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk.
According to the shockproof method of the mechanical hard disk provided by the invention, after the step of closing the mechanical hard disk if the vibration difference is determined to be larger than the preset vibration threshold, the method further comprises the following steps:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value;
and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
According to the method for preventing the mechanical hard disk from being vibrated, if the first vibration difference value is larger than the first preset vibration threshold value, the mechanical hard disk is closed, and the method specifically comprises the following steps:
and if the first vibration difference value is larger than a first preset vibration threshold value, the control unit controls the mechanical hard disk to be closed, and data information is stored in the storage unit.
According to the shockproof method for the mechanical hard disk provided by the invention, if the second vibration difference value is determined to be smaller than the second preset vibration threshold value, the mechanical hard disk is started, and the shockproof method specifically comprises the following steps:
if the second vibration difference value is smaller than a second preset vibration threshold value, the control unit controls the mechanical hard disk to be started;
and transferring the data information stored in the storage unit to the mechanical hard disk.
According to the shockproof method of the mechanical hard disk provided by the invention, the data information comprises the following steps: audio data information and/or video data information.
The invention also provides a mechanical hard disk shockproof system, comprising:
an information acquisition unit for acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
the data calculation unit is used for determining a first vibration difference value according to the first acceleration value and the second acceleration value;
and the storage control unit is used for closing the mechanical hard disk when the first vibration difference value is determined to be larger than a first preset vibration threshold value.
The invention also provides electronic equipment which comprises a memory and a processor, wherein the processor and the memory finish mutual communication through a bus; the memory stores program instructions executable by the processor, and the processor calls the program instructions to perform the steps of the mechanical hard disk anti-shock method.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the mechanical hard disk shock protection method as described above.
The mechanical hard disk shockproof device, the method and the system, the electronic equipment and the storage medium provided by the invention can close the mechanical hard disk before harmful vibration is transmitted to the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk fault caused by overlarge vibration is avoided.
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, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a vehicle-mounted video recorder provided by the present invention;
FIG. 2 is a flow chart of a data storage control method according to the present invention;
FIG. 3 is a flow chart of the shockproof method for mechanical hard disk according to the present invention;
FIG. 4 is a schematic structural diagram of a mechanical hard disk shock mounting system according to the present invention;
fig. 5 is a schematic physical structure diagram of an electronic device provided in the present invention.
Reference numerals:
101: a first acceleration sensor; 102: a second acceleration sensor;
103: a control unit; 104: a hard disk damping box;
105: an equipment main board; 106: mechanical hard disk.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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 invention provides a mechanical hard disk shockproof device, comprising: a first acceleration sensor, a second acceleration sensor and a control unit;
the first acceleration sensor is arranged on the hard disk damping box;
the second acceleration sensor is arranged on the equipment mainboard;
the control unit is respectively connected with the first acceleration sensor and the second acceleration sensor and used for determining whether to close the mechanical hard disk according to the numerical values acquired by the first acceleration sensor and the second acceleration sensor.
Specifically, a vehicle-mounted video recorder using a mechanical hard disk as a memory is taken as an example to explain the mechanical hard disk shock-proof device provided by the present invention, fig. 1 is a schematic structural diagram of the vehicle-mounted video recorder provided by the present invention, as shown in fig. 1, an equipment main board 105 and a hard disk shock-proof box 104 are arranged inside the vehicle-mounted video recorder, and the equipment main board 105 and the hard disk shock-proof box 104 are in communication connection. The hard disk damping box 104 is internally provided with a damping mechanism and a mechanical hard disk 106, and the damping mechanism provides a damping function for the mechanical hard disk 106.
The invention provides a mechanical hard disk shockproof device, comprising: a first acceleration sensor 101, a second acceleration sensor 102 and a control unit 103. The first acceleration sensor 101 is disposed on the hard disk shock-absorbing box 104, and the second acceleration sensor 102 is disposed on the device motherboard 105. The control unit 103 is connected to the first acceleration sensor 101 and the second acceleration sensor 102, respectively.
Since the device main board 105 and the hard disk damper 104 are connected by a signal line, there is no mechanical connection relationship. The first acceleration sensor 101 is disposed on a hard disk bracket of a hard disk damping box, and measures vibration data softened by a damping mechanism. And the second acceleration sensor 102 is arranged on the equipment main board 105, and directly detects the vibration data of the vehicle-mounted video recorder.
Compared with the vibration data acquired by the second acceleration sensor 102, the vibration data acquired by the first acceleration sensor 101 has lower vibration amplitude and frequency, a certain phase difference exists, and the acquired vibration data has a certain delay.
Based on the above characteristics, the control unit 103 determines whether the vibration impact borne by the mechanical hard disk 106 affects the mechanical hard disk according to the vibration data collected by the first acceleration sensor 101 and the second acceleration sensor 102. If it is determined that an impact is generated, the mechanical hard disk 106 is turned off so that no read/write operations are performed in a vibration region (a region where a vibration impact may cause damage to the mechanical hard disk).
Since there is a correlation between the difference in the vibration amplitude of the vibration data collected by the first acceleration sensor 101 and the second acceleration sensor 102 and the difference in the vibration time, the internal structure of the vehicle-mounted video recorder, and the shock absorbing mechanism mounted thereon, it is determined that the data used for closing the mechanical hard disk needs to be set according to the actual situation, which is not limited in this embodiment.
It should be noted that the present invention is described as a specific example of the vehicle-mounted video recorder, and besides, the mechanical hard disk shock-proof device provided by the present invention can also be used in other systems that need to use a mechanical hard disk. Secondly, the specific mechanism used by the damping mechanism in the hard disk damping box can be selected according to actual requirements, which is not limited in this embodiment.
According to the mechanical hard disk anti-vibration device provided by the invention, the time difference and the vibration amplitude difference of vibration are detected by the two acceleration sensors, and the mechanical hard disk can be closed before harmful vibration (the vibration exceeds a safe working condition threshold) is transmitted to the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk is prevented from being broken down due to overlarge vibration.
Optionally, the mechanical hard disk shock-proof device further includes: a storage unit;
the storage unit is connected with the mechanical hard disk through the control unit;
the control unit is also used for selecting a storage mode of the data information.
Specifically, the mechanical hard disk shock mounting still includes: and a memory unit. The storage unit is connected with the mechanical hard disk through the control unit, and the control unit is also used for selecting a storage mode of the data information.
A vehicle-mounted video recorder using a mechanical hard disk as a memory is taken as an example to explain the shock-proof device of the mechanical hard disk provided by the invention, fig. 2 is a schematic flow chart of a data storage control method provided by the invention, and as shown in fig. 2, the vehicle-mounted video recorder is provided with a multi-channel audio and video encoder for processing collected video and audio.
The control unit receives vibration data acquired by the first acceleration sensor and the second acceleration sensor, determines the real-time working condition of the current mechanical hard disk, and judges the storage mode of data information according to the real-time working condition.
When the control unit determines that harmful vibration does not exist, the control unit-cache control logic controls the storage unit to cache the processed video and audio data information, and the control unit-unloading control logic controls the mechanical hard disk to unload the video and audio data information from the storage unit into the mechanical hard disk according to a first-in first-out principle, so that unloading circulation of the data information is realized.
When the control unit determines that harmful vibration exists, the control unit-cache control logic controls the storage unit to cache the processed video and audio data information, and the control unit-unloading control logic controls the mechanical hard disk to stop unloading operation immediately and close the mechanical hard disk, so that a magnetic head of the hard disk is reset, and the recording surface of the magnetic disk is prevented from being damaged due to vibration.
In the mechanical hard disk shock-proof device provided by the invention, the storage unit is not sensitive to shock, and can be a solid state disk or a storage chip such as an SD, TF, MMC, eMMC and the like. The specific type and capacity of the storage unit can be selected according to actual requirements, which is not limited in this embodiment.
Because the price of the mechanical hard disk is generally lower than that of a storage device insensitive to vibration, the mechanical hard disk shockproof device provided by the invention can ensure that the mechanical hard disk obtains the same stored data security as a solid state hard disk on the basis of reducing the storage cost.
The mechanical hard disk shockproof device provided by the invention can cache data information into the storage unit and then transfer the data information into the mechanical hard disk in the data storage process by arranging the storage unit insensitive to the shock, can ensure that the data information is not lost on the premise of avoiding the mechanical hard disk failure caused by overlarge shock when the mechanical hard disk is closed by harmful shock, and can recover the data recording function of the mechanical hard disk when the shock is gentle or static to continuously transfer the data information from the storage unit.
Fig. 3 is a flowchart of a mechanical hard disk anti-vibration method provided by the present invention, and as shown in fig. 3, the present invention further provides a mechanical hard disk anti-vibration method implemented based on the mechanical hard disk anti-vibration device, where the method includes:
step S1, acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
step S2, determining a first vibration difference value according to the first acceleration value and the second acceleration value;
and step S3, if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk.
Specifically, in step S1, a first acceleration value and a second acceleration value are acquired from the first acceleration sensor and the second acceleration sensor, respectively.
In step S2, the first acceleration value and the second acceleration value obtained in step S1 are processed to determine a first vibration difference value, using the characteristics that the vibration amplitude and frequency of the vibration data collected by the first acceleration sensor are lower than those of the vibration data collected by the second acceleration sensor, and the vibrations have a certain phase difference.
It should be noted that, because there is a correlation between the difference in the vibration amplitude of the vibration data acquired by the first acceleration sensor and the second acceleration sensor and the difference in the vibration time, the internal structure of the vehicle-mounted video recorder, and the shock absorbing mechanism mounted on the vehicle-mounted video recorder, the size and the calculation mode for determining the first vibration difference value used for closing the mechanical hard disk need to be set according to the actual situation, which is not limited in this embodiment.
It can be understood that the difference value between the first acceleration value and the second acceleration value at the current time may be simply used as the first vibration difference value, or the difference value between the first acceleration value at the current time and the second acceleration value before a fixed period of time may be used as the first vibration difference value according to the difference characteristic of the phase. The specific calculation method may be selected according to actual conditions, and further, a deep learning neural network may be used to perform modeling analysis on whether harmful vibration exists, which is not limited in this embodiment.
In step S3, if it is determined that the first vibration difference is not greater than the first preset vibration threshold, it indicates that no harmful vibration occurs, and the mechanical hard disk is maintained to perform a normal read/write function. If the first vibration difference value is larger than the first preset vibration threshold value, harmful vibration is generated, and the mechanical hard disk is closed, so that the mechanical hard disk does not perform read-write operation in the vibration area.
According to the mechanical hard disk anti-vibration method provided by the invention, the time difference and the vibration amplitude difference of vibration are detected by the two acceleration sensors, and the mechanical hard disk can be closed before harmful vibration (the vibration exceeds a safe working condition threshold) is transmitted to the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk is prevented from being failed due to overlarge vibration.
Optionally, according to the method for preventing vibration of a mechanical hard disk provided by the present invention, after the step of turning off the mechanical hard disk if it is determined that the vibration difference is greater than the preset vibration threshold, the method further includes:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value;
and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
Specifically, in the vehicle running process, if the current mechanical hard disk is in a closed state, a first acceleration value and a second acceleration value are collected in real time, and a second vibration difference value is determined according to the first acceleration value and the second acceleration value.
If the second vibration difference value is smaller than the second preset vibration threshold value, it is indicated that the vibration does not affect the mechanical hard disk at the moment, and the mechanical hard disk is started to perform normal read-write operation.
It should be noted that, in the method for preventing vibration of a mechanical hard disk provided by the present invention, both the first preset vibration threshold and the second preset vibration threshold need to be set in advance according to an actual situation, and the first preset vibration threshold and the second preset vibration threshold may be the same or different in size, which is not limited in this embodiment.
According to the mechanical hard disk anti-vibration method provided by the invention, the time difference and the vibration amplitude difference of vibration are detected by the two acceleration sensors, and the automatic switching of the state of the mechanical hard disk can be realized by setting the first preset vibration threshold and the second preset vibration threshold. Before harmful vibration (vibration exceeds a safe working condition threshold) is transmitted to the mechanical hard disk, the mechanical hard disk can be closed, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk fault caused by overlarge vibration is avoided.
Optionally, according to the method for preventing vibration of a mechanical hard disk provided by the present invention, if it is determined that the first vibration difference is greater than the first preset vibration threshold, the mechanical hard disk is turned off, which specifically includes:
and if the first vibration difference value is larger than a first preset vibration threshold value, the control unit controls the mechanical hard disk to be closed, and data information is stored in the storage unit.
Specifically, after a first vibration difference value is obtained, if the first vibration difference value is determined to be greater than a first preset vibration threshold value, it is indicated that harmful vibration occurs, the control unit controls the mechanical hard disk to be closed, and data information is stored in the storage unit to achieve caching of data.
Optionally, according to the method for preventing vibration of a mechanical hard disk provided by the present invention, if it is determined that the second vibration difference is smaller than the second preset vibration threshold, the starting of the mechanical hard disk specifically includes:
if the second vibration difference value is smaller than a second preset vibration threshold value, the control unit controls the mechanical hard disk to be started;
and transferring the data information stored in the storage unit to the mechanical hard disk.
Specifically, after a second vibration difference value is obtained, if it is determined that the second vibration difference value is smaller than a second preset vibration threshold value, it is said that the harmful vibration disappears, the control unit controls the mechanical hard disk to be started, and the data information stored in the storage unit is transferred to the mechanical hard disk, so that data transfer is realized.
According to the shockproof method for the mechanical hard disk, the storage unit insensitive to shock is arranged, data information can be firstly cached in the storage unit and then stored in the mechanical hard disk in the data storage process, when the mechanical hard disk is closed due to harmful vibration, the data information is ensured not to be lost on the premise that the mechanical hard disk is prevented from being broken down due to overlarge vibration, the data recording function of the mechanical hard disk is recovered when the vibration is gentle or static, and the data information is continuously stored in the storage unit.
Optionally, according to the shockproof method for a mechanical hard disk provided by the present invention, the data information includes: audio data information and/or video data information.
Specifically, taking a vehicle-mounted video recorder using a mechanical hard disk as a memory as an example, the vehicle-mounted video recorder is provided with a multi-channel audio/video encoder for processing the acquired video and audio. The input audio and video data are processed by the encoder in real time to generate a compressed media stream, and then subsequent caching and unloading are carried out.
Besides, only a recording device or a video recording device can be arranged to process audio and video independently. And performing subsequent caching and unloading on the acquired audio data information and/or video data information. The specific storage information may be selected according to actual situations, which is not limited in this embodiment.
According to the mechanical hard disk shockproof method provided by the invention, the storage unit insensitive to shock is arranged to be matched with the mechanical hard disk, so that when the mechanical hard disk is closed due to harmful shock, audio data information and/or video data information are not lost on the premise of avoiding mechanical hard disk failure caused by excessive shock, the data recording function of the mechanical hard disk is recovered when the shock is gentle or static, and the data information is continuously transferred from the storage unit.
Fig. 4 is a schematic structural diagram of a mechanical hard disk anti-vibration device system provided by the present invention, and as shown in fig. 4, the present invention further provides a mechanical hard disk anti-vibration system, which includes:
an information acquisition unit 410 for acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
a data calculation unit 420, configured to determine a first vibration difference value according to the first acceleration value and the second acceleration value;
and the storage control unit 430 is configured to turn off the mechanical hard disk when it is determined that the first vibration difference is greater than a first preset vibration threshold.
Specifically, the information acquiring unit 410 is configured to acquire a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor.
The data calculating unit 420 is configured to process the first acceleration value and the second acceleration value acquired by the information acquiring unit 410 by using a characteristic that the vibration amplitude and the frequency of the vibration data acquired by the first acceleration sensor are lower than those of the vibration data acquired by the second acceleration sensor, and the vibration has a certain phase difference, so as to determine a first vibration difference.
It should be noted that, because there is a correlation between the difference in the vibration amplitude of the vibration data acquired by the first acceleration sensor and the second acceleration sensor and the difference in the vibration time, the internal structure of the vehicle-mounted video recorder, and the shock absorbing mechanism mounted on the vehicle-mounted video recorder, the size and the calculation mode for determining the first vibration difference value used for closing the mechanical hard disk need to be set according to the actual situation, which is not limited in this embodiment.
It can be understood that the difference value between the first acceleration value and the second acceleration value at the current time may be simply used as the first vibration difference value, or the difference value between the first acceleration value at the current time and the second acceleration value before a fixed period of time may be used as the first vibration difference value according to the difference characteristic of the phase. The specific calculation method may be selected according to actual conditions, and further, a deep learning neural network may be used to perform modeling analysis on whether harmful vibration exists, which is not limited in this embodiment.
A first preset threshold is set in advance for judging whether harmful vibration occurs, if it is determined that the first vibration difference is not greater than the first preset vibration threshold, it indicates that harmful vibration does not occur, and the storage control unit 430 is configured to maintain the normal read-write function of the mechanical hard disk. If the first vibration difference value is greater than the first preset vibration threshold value, it indicates that harmful vibration occurs, and the storage control unit 430 is configured to close the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in the vibration area.
According to the mechanical hard disk anti-vibration system provided by the invention, the time difference and the vibration amplitude difference of vibration are detected by the two acceleration sensors, and the mechanical hard disk can be closed before harmful vibration (the vibration exceeds a safe working condition threshold) is transmitted to the mechanical hard disk, so that the mechanical hard disk does not perform read-write operation in a vibration area, and the mechanical hard disk is prevented from being in fault due to overlarge vibration.
It should be noted that, the mechanical hard disk anti-vibration system provided in the embodiment of the present invention is used for executing the above-mentioned mechanical hard disk anti-vibration method, and a specific implementation manner thereof is consistent with the method implementation manner, and is not described herein again.
Fig. 5 is a schematic physical structure diagram of an electronic device provided in the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a communication interface (communication interface)520, a memory (memory)530 and a communication bus (bus) 540, wherein the processor 510, the communication interface 520 and the memory 530 are communicated with each other via the communication bus 540. The processor 510 may call logic instructions in the memory 530 to execute the above-mentioned mechanical hard disk shock protection method, including: acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor; determining a first vibration difference value according to the first acceleration value and the second acceleration value; and if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
In another aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer is capable of executing the mechanical hard disk anti-shock method provided by the above-mentioned method embodiments, where the method includes: acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor; determining a first vibration difference value according to the first acceleration value and the second acceleration value; and if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method for performing mechanical hard disk shock protection provided in the foregoing embodiments, and the method includes: acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor; determining a first vibration difference value according to the first acceleration value and the second acceleration value; and if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A mechanical hard disk shock mounting, comprising: a first acceleration sensor, a second acceleration sensor and a control unit;
the first acceleration sensor is arranged on the hard disk damping box and used for acquiring a first acceleration value;
the second acceleration sensor is arranged on the equipment mainboard and used for acquiring a second acceleration value;
the control unit is respectively connected with the first acceleration sensor and the second acceleration sensor, and is used for determining whether to close the mechanical hard disk according to the values acquired by the first acceleration sensor and the second acceleration sensor, specifically:
determining a first vibration difference value according to the first acceleration value and the second acceleration value;
if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk;
after the step of determining that the first vibration difference value is greater than a first preset vibration threshold value and turning off the mechanical hard disk, the method further comprises the following steps:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value;
and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
2. The mechanical hard disk shock mount of claim 1, further comprising: a storage unit;
the storage unit is connected with the mechanical hard disk through the control unit;
the control unit is also used for selecting a storage mode of the data information.
3. A method for preventing vibration of a mechanical hard disk, which is implemented based on the device of claim 1 or 2, comprising:
acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
determining a first vibration difference value according to the first acceleration value and the second acceleration value;
if the first vibration difference value is larger than a first preset vibration threshold value, closing the mechanical hard disk;
after the step of determining that the first vibration difference value is greater than a first preset vibration threshold value and turning off the mechanical hard disk, the method further comprises the following steps:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value; and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
4. The method of claim 3, wherein the shock absorbing material is selected from the group consisting of a rubber material,
after the step of turning off the mechanical hard disk if it is determined that the vibration difference is greater than the preset vibration threshold, the method further comprises:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value;
and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
5. The method of claim 3, wherein the shock absorbing material is selected from the group consisting of a rubber material,
if it is determined that the first vibration difference value is greater than a first preset vibration threshold value, closing the mechanical hard disk, specifically including:
and if the first vibration difference value is larger than a first preset vibration threshold value, the control unit controls the mechanical hard disk to be closed, and data information is stored in the storage unit.
6. The method of claim 4, wherein the shock absorbing material is selected from the group consisting of a rubber material,
if it is determined that the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk, specifically including:
if the second vibration difference value is smaller than a second preset vibration threshold value, the control unit controls the mechanical hard disk to be started;
and transferring the data information stored in the storage unit to the mechanical hard disk.
7. The method of claim 5 or 6, wherein the shock absorbing material is selected from the group consisting of a rubber material,
the data information includes: audio data information and/or video data information.
8. A mechanical hard disk anti-shock system, comprising:
an information acquisition unit for acquiring a first acceleration value and a second acceleration value; the first acceleration value is obtained by a first acceleration sensor; the second acceleration value is obtained by a second acceleration sensor;
the data calculation unit is used for determining a first vibration difference value according to the first acceleration value and the second acceleration value;
the storage control unit is used for closing the mechanical hard disk when the first vibration difference value is determined to be larger than a first preset vibration threshold value;
after the step of determining that the first vibration difference value is greater than a first preset vibration threshold value and turning off the mechanical hard disk, the method further comprises the following steps:
acquiring a first acceleration value and the second acceleration value in real time, and determining a second vibration difference value;
and if the second vibration difference value is smaller than a second preset vibration threshold value, starting the mechanical hard disk.
9. An electronic device, comprising a memory and a processor, wherein the processor and the memory communicate with each other via a bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the mechanical hard disk shock protection method of any one of claims 3 to 7.
10. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the mechanical hard disk anti-shock method according to any of claims 3 to 7.
CN202011460124.XA 2020-12-11 2020-12-11 Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium Active CN112530475B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011460124.XA CN112530475B (en) 2020-12-11 2020-12-11 Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011460124.XA CN112530475B (en) 2020-12-11 2020-12-11 Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112530475A CN112530475A (en) 2021-03-19
CN112530475B true CN112530475B (en) 2022-04-15

Family

ID=74999168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011460124.XA Active CN112530475B (en) 2020-12-11 2020-12-11 Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112530475B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113127298B (en) * 2021-03-30 2023-01-06 山东英信计算机技术有限公司 Method, system, equipment and medium for protecting mechanical hard disk
CN113591165A (en) * 2021-08-11 2021-11-02 平安普惠企业管理有限公司 Hard disk read-write protection method and device, computer equipment and storage medium
CN114694696B (en) * 2022-03-17 2024-01-23 深圳市宏电技术股份有限公司 Mechanical hard disk shockproof method and device, computer equipment and storage medium
CN114893535A (en) * 2022-04-26 2022-08-12 杭州鸿泉物联网技术股份有限公司 Hard disk vibration isolation box of vehicle-mounted equipment

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0762315A3 (en) * 1995-09-06 2000-03-29 Canon Kabushiki Kaisha Coordinates input apparatus and its method
DE10103661C1 (en) * 2001-01-27 2002-08-08 Bosch Gmbh Robert Side impact sensing method in a vehicle
US7143002B2 (en) * 2005-04-15 2006-11-28 Hitachi Global Storage Technologies B.V. Method for detecting external acceleration to a hard disk drive by a spindle motor
CN100533581C (en) * 2006-01-12 2009-08-26 金宝电子工业股份有限公司 Electronic device with electronic anti-vibration protected hard disc
JP4471389B2 (en) * 2007-01-22 2010-06-02 トレックス・セミコンダクター株式会社 Dual acceleration sensor system
CN101364423A (en) * 2007-08-10 2009-02-11 深圳市锐明视讯技术有限公司 Electronic isolating apparatus and method for hard disc
CN101249820B (en) * 2008-04-11 2010-06-16 重庆大学 Automobile collision buffering device based on magnetic converting technique and buffering energy-absorbing method
CN102358131A (en) * 2011-08-19 2012-02-22 中国农业大学 Semi-active suspension frame for tractor
JP5705692B2 (en) * 2011-09-27 2015-04-22 公益財団法人鉄道総合技術研究所 Simple magnitude estimation method using time to maximum earthquake amplitude
CN103863235B (en) * 2012-12-12 2017-07-11 上海移为通信技术有限公司 Vehicular impact detection method and Vehicular impact detection means
CN103902478A (en) * 2012-12-26 2014-07-02 联想(北京)有限公司 Hard disc protection method and electronic device
CN203606832U (en) * 2013-12-14 2014-05-21 江西科技学院 Laptop falling-off protecting device
CN103927870B (en) * 2014-04-21 2016-08-24 哈尔滨工业大学 A kind of vehicle detection apparatus based on multiple vibration detection sensors
CN104021601B (en) * 2014-05-30 2015-04-29 爱培科科技开发(深圳)有限公司 Car collision detection method and device based on three-shaft acceleration sensor
CN104732728B (en) * 2014-08-29 2017-03-15 中国航空工业集团公司北京长城计量测试技术研究所 A kind of intelligent terminal's Pre-Alarm Earthquakes system
CN206133401U (en) * 2016-08-29 2017-04-26 重庆明宇科技有限公司 Hard disk of computer shock attenuation installation protection device
CN109955933B (en) * 2017-12-25 2021-02-05 猎熊座安全技术(上海)有限公司 Anti-theft system and method for electric vehicle battery and anti-theft label
KR102640331B1 (en) * 2018-10-19 2024-02-26 삼성전자주식회사 Apparatus and method for estimating bio-information, and apparatus for supporting bio-information estimation
CN109597714A (en) * 2018-12-03 2019-04-09 郑州云海信息技术有限公司 Data guard method, device and equipment when a kind of generation physical vibration
CN111857791A (en) * 2020-07-06 2020-10-30 浙江鸿泉电子科技有限公司 Embedded product maintenance method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112530475A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
CN112530475B (en) Mechanical hard disk shockproof device, method and system, electronic equipment and storage medium
KR100621446B1 (en) Autonomic power loss recovery for a multi-cluster storage sub-system
CN104811645B (en) A kind of embedded Video data storage method
EP2382544B1 (en) Determining modified data in cache for use during a recovery operation
KR20060090166A (en) Detection and recovery of dropped writes in storage devices
CN101582046B (en) High-available system state monitoring, forcasting and intelligent management method
JP4438010B2 (en) Relay device, relay method, and relay control program
CN109992448B (en) File change incremental backup method, device, equipment and medium
CN105872428A (en) Video data protection method and apparatus
US20080077758A1 (en) Virtual tape device and data management method for virtual tape device
US20160124667A1 (en) Method and apparatus for storing image
CN110457149B (en) SRAM type FPGA reliable loading and error-proofing design method based on PowerPC control
US20140365817A1 (en) Data preservation processing device, raid controller, data preservation processing system, data preservation processing method and recording medium therefor
EP1158511A2 (en) Portable device damage prediction and data backup
CN108279989B (en) Vehicle-mounted key data safe storage method and system thereof
CN104657088B (en) A kind of acquisition methods and device of hard disk bad block message
US9348704B2 (en) Electronic storage system utilizing a predetermined flag for subsequent processing of each predetermined portion of data requested to be stored in the storage system
CN103544975A (en) Vehicular hard disk drive protection method
CN106843752A (en) A kind of anti-vibration protected method and device of disk based on abnormality detection
CN115982789A (en) Hard disk shockproof method, device, equipment and computer readable storage medium
WO2022155948A1 (en) Video storage method for vehicle-mounted device, and vehicle-mounted device
CN113849123B (en) Method, system, equipment and medium for processing data of slow disk
CN106062876B (en) Date storage method and device
CN1945719B (en) Information recording apparatus, imaging device, information-recording controlling method
WO2021170048A1 (en) Data storage method and apparatus, and storage medium

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