CN111737050A - Power-down hard disk protection device and method and server - Google Patents
Power-down hard disk protection device and method and server Download PDFInfo
- Publication number
- CN111737050A CN111737050A CN202010508798.6A CN202010508798A CN111737050A CN 111737050 A CN111737050 A CN 111737050A CN 202010508798 A CN202010508798 A CN 202010508798A CN 111737050 A CN111737050 A CN 111737050A
- Authority
- CN
- China
- Prior art keywords
- hard disk
- power supply
- starting switch
- starting
- input power
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 11
- 238000001514 detection method Methods 0.000 claims abstract description 4
- 238000004146 energy storage Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 2
- 230000002045 lasting effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1441—Resetting or repowering
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a power failure hard disk protection device, a method and a server, comprising a starting switch, a power detector and a starting controller; the hard disk input power supply is connected with the hard disk through the starting switch; the detection end of the power supply detector is connected with the hard disk input power supply to detect whether the hard disk input power supply is powered down or not; the output end of the power supply detector is connected with the input end of the starting controller, and the output end of the starting controller is connected with the starting switch; when the input power supply of the hard disk is normal, the starting switch is closed, and the input power supply of the hard disk supplies power to the hard disk normally; when the input power of the hard disk is powered down, the starting switch is disconnected, meanwhile, the starting controller receives a power-down signal detected by the power detector, the starting controller controls the starting switch to be kept disconnected for a preset time, the control on the starting switch is released after the preset time, and the control of the input power of the hard disk on the starting switch is recovered. The invention solves the problem that the hard disk cannot be started when being powered on after power failure in a short time, and improves the reliability of the system.
Description
Technical Field
The invention relates to the field of hard disk protection, in particular to a hard disk protection device and method during power failure of a power supply and a server.
Background
Under the condition that the power supply environment of the equipment is severe, the condition that the power supply falls for a short time exists. The situation that the hard disk cannot be started due to power failure and electrification in a short time can occur when the power supply is dropped for a short time, and the hard disk can be started after power failure exceeds a certain time and power supply is recovered. At present, the technical scheme that the hard disk cannot be started when the power is turned on after the short-time power failure is not solved.
Disclosure of Invention
In order to solve the problems, the invention provides a power supply power failure hard disk protection device, a power supply power failure hard disk protection method and a power supply power failure hard disk protection server.
The technical scheme of the invention is as follows: a power supply power failure hard disk protection device comprises a starting switch, a power supply detector and a starting controller;
the hard disk input power supply is connected with the hard disk through the starting switch; the detection end of the power supply detector is connected with the hard disk input power supply to detect whether the hard disk input power supply is powered down or not; the output end of the power supply detector is connected with the input end of the starting controller, and the output end of the starting controller is connected with the starting switch; when the input power supply of the hard disk is normal, the starting switch is closed, and the input power supply of the hard disk supplies power to the hard disk normally; when the input power of the hard disk is powered down, the starting switch is disconnected, meanwhile, the starting controller receives a power-down signal detected by the power detector, the starting controller controls the starting switch to be kept disconnected for a preset time, the control on the starting switch is released after the preset time, and the control of the input power of the hard disk on the starting switch is recovered.
Further, the device also comprises a clock chip; the input end of the clock chip is connected with the output end of the starting controller, and the output end of the clock chip is connected with the starting switch.
Further, the starting switch is an MOS tube; the grid of MOS pipe is connected with start controller output, clock chip output respectively, and the drain electrode of MOS pipe is connected hard disk input power, and the source electrode of MOS pipe is connected the hard disk.
Further, the grid electrode of the MOS tube is connected with the output end of the starting controller through a second resistor.
Furthermore, the input end of the clock chip is connected with the output end of the starting controller through a first resistor.
Furthermore, the device also comprises an energy storage element, wherein the energy storage element is connected with the clock chip; the clock chip is also connected with the hard disk input power supply.
Further, the energy storage element is a battery.
The technical scheme of the invention also comprises a power failure hard disk protection method based on the device, which comprises the following steps:
when the input power supply of the hard disk is normal, the starting switch is closed, and the input power supply of the hard disk supplies power to the hard disk normally;
when the hard disk input power supply is powered down, the starting switch is switched off, meanwhile, the starting controller receives a power-down signal detected by the power supply detector, the starting controller controls the starting switch to be kept disconnected for a preset time length through the clock chip, the control on the starting switch is released after the preset time length, and the control of the hard disk input power supply on the starting switch is recovered.
Further, the preset time period is not less than 500 ms.
The technical scheme of the invention also comprises a server which comprises the power supply power failure hard disk protection device.
The invention provides a power failure hard disk protection device, a method and a server.A starting switch is additionally arranged on a hard disk input power circuit, a starting controller can control the starting switch, and when a hard disk input power is normal, the starting switch is closed and the hard disk supplies power normally; when the hard disk input power supply is powered off, the starting switch is switched off, the starting controller controls the starting switch to be kept switched off for a preset time period, the hard disk input power supply cannot control the starting switch in the time period, after the preset time period, the starting controller releases the control on the starting switch, the hard disk input power supply restores the control on the starting switch, at the moment or later, if the hard disk input power supply is restored to be electrified, the starting switch can be controlled to be switched off, and when the hard disk input power supply controls the starting switch to be switched off again, the hard disk can be restarted. The invention solves the problem that the hard disk cannot be started when being powered on after power failure in a short time, and improves the reliability of the system.
Drawings
FIG. 1 is a schematic block diagram of a schematic structure of an embodiment of the present invention;
FIG. 2 is a schematic diagram of a clock chip control start switch circuit according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second method according to an embodiment of the present invention.
In the figure, 1-power detector, 2-start controller, 3-clock chip, 4-start switch, 5-hard disk, 6-hard disk input power, 7-energy storage element, R1-first resistor, R2-second resistor.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings by way of specific examples, which are illustrative of the present invention and are not limited to the following embodiments.
Example one
This embodiment provides a power failure hard disk protection device, adds starting switch 4 on the power supply circuit of hard disk 5, keeps apart hard disk 5 and power supply. When the hard disk input power supply 6 is powered off, the starting switch 4 is switched off, the hard disk 5 is powered off, meanwhile, the starting controller 2 controls the starting switch 4 to keep a disconnected state for a certain time, in the time period, the hard disk input power supply 6 cannot control the starting switch 4, the starting controller 2 releases control over the starting switch 4 after a certain time, the hard disk input power supply 6 can continuously control the starting switch 4, and therefore the purpose that the hard disk 5 cannot be restarted in a short time is achieved. Specifically, the start controller 2 controls the start switch 4 to keep the off state for a preset time period through the clock chip 3.
As shown in FIG. 1, the device comprises a starting switch 4, a power supply detector 1 and a starting controller 2.
The hard disk input power supply 6 is connected with the hard disk 5 through the starting switch 4; the detection end of the power supply detector 1 is connected with the hard disk input power supply 6 to detect whether the hard disk input power supply 6 is powered down or not; the output end of the power supply detector 1 is connected with the input end of the starting controller 2, and the output end of the starting controller 2 is connected with the starting switch 4.
When the hard disk input power supply 6 is normal, the starting switch 4 is closed, and the hard disk input power supply 6 supplies power to the hard disk 5 normally; when the hard disk input power supply 6 is powered off, the starting switch 4 is switched off, meanwhile, the starting controller 2 receives a power-off signal detected by the power detector 1, the starting controller 2 controls the starting switch 4 to be kept disconnected for a preset time, the control on the starting switch 4 is released after the preset time, and the control of the hard disk input power supply 6 on the starting switch 4 is recovered.
In order to realize the control of the preset time length, the device is provided with a clock chip 3, the output end of a starting controller 2 is connected with the input end of the clock chip 3, and the output end of the clock chip 3 is connected with a starting switch 4. When the start controller 2 receives the power-down signal detected by the power detector 1, the clock chip 3 starts timing, and simultaneously gives a control signal to the start switch 4 to keep the start switch disconnected without being controlled by the hard disk input power supply 6. After the preset time length, the clock chip 3 releases the control signal to the starting switch 4, so that the starting switch 4 can be controlled by the hard disk input power supply 6 again. It should be noted that the start-up controller 2 may be a system motherboard.
As shown in fig. 2, specifically, the start switch 4 of this embodiment is an MOS transistor, and the hard disk 5 is powered on and off by turning on and off the MOS transistor. The grid of MOS pipe is connected with start controller 2 output, clock chip 3 output respectively, and the drain electrode of MOS pipe is connected hard disk input power 6, and the source electrode of MOS pipe is connected hard disk 5. Preferably, the gate of the MOS transistor is connected to the output terminal of the start controller 2 through a second resistor R2, and the input terminal of the clock chip 3 is connected to the output terminal of the start controller 2 through a first resistor R1.
The circuit principle is as follows: when the hard disk input power supply 6 is normally powered on, ENABLE _ R is effective, Q1 is conducted, and the hard disk input power supply 6 (VCC) is used for supplying power to the hard disk 5 (HDD). When the hard disk INPUT power supply 6 is powered off, the AC _ FAIL falls off, the clock chip 3 detects INPUT triggering, pulls down ENABLE and starts timing, releases ENABLE after lasting preset time, and cuts off Q1 in the preset time period to keep the hard disk 5 without power supply in the preset time period. The hard disk input power supply 6 recovers within the preset time length, and the clock chip 3 pulls down the ENABLE, so that power cannot be supplied to the hard disk 5, if the clock chip 3 recovers after the preset time length, the ENABLE is released by the clock chip 3, and the hard disk 5 can be normally supplied with power.
In this embodiment, the preset duration is not less than 500 ms.
The clock chip 3 is also connected with the hard disk input power supply 6, and when the hard disk input power supply 6 is normal, the hard disk input power supply 6 is used as the clock chip 3 for public disclosure. The clock chip 3 is also connected with an energy storage element 7, and when the hard disk input power supply 6 is powered off, the energy storage element 7 supplies power to the clock chip 3. The energy storage element 7 may be a battery.
Example two
As shown in fig. 3, the present embodiment provides a method for protecting a hard disk in case of power failure, which can be implemented by the apparatus in the first embodiment, and includes the following steps:
s1, when the hard disk input power supply 6 is normal, the starting switch 4 is closed, and the hard disk input power supply 6 supplies power to the hard disk 5 normally;
s2, when the hard disk input power supply 6 is powered down, the starting switch 4 is switched off, meanwhile, the starting controller 2 receives a power down signal detected by the power detector 1, the starting controller 2 controls the starting switch 4 to be kept disconnected for a preset time length through the clock chip 3, the control on the starting switch 4 is released after the preset time length is kept, and the control of the hard disk input power supply 6 on the starting switch 4 is recovered.
Wherein the preset time is not less than 500 ms.
EXAMPLE III
The embodiment provides a server, which comprises the power failure hard disk protection device in the first embodiment, and when a power supply falls down for a short time, the hard disk 5 can be normally restarted after being electrified, so that the stability of the server is improved.
The above disclosure is only for the preferred embodiments of the present invention, but the present invention is not limited thereto, and any non-inventive changes that can be made by those skilled in the art and several modifications and amendments made without departing from the principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A power supply power failure hard disk protection device is characterized by comprising a starting switch, a power supply detector and a starting controller;
the hard disk input power supply is connected with the hard disk through the starting switch; the detection end of the power supply detector is connected with the hard disk input power supply to detect whether the hard disk input power supply is powered down or not; the output end of the power supply detector is connected with the input end of the starting controller, and the output end of the starting controller is connected with the starting switch; when the input power supply of the hard disk is normal, the starting switch is closed, and the input power supply of the hard disk supplies power to the hard disk normally; when the input power of the hard disk is powered down, the starting switch is disconnected, meanwhile, the starting controller receives a power-down signal detected by the power detector, the starting controller controls the starting switch to be kept disconnected for a preset time, the control on the starting switch is released after the preset time, and the control of the input power of the hard disk on the starting switch is recovered.
2. The power-fail hard disk protection device of claim 1, further comprising a clock chip; the input end of the clock chip is connected with the output end of the starting controller, and the output end of the clock chip is connected with the starting switch.
3. The power failure hard disk protection device of claim 2, wherein the start switch is an MOS transistor; the grid of MOS pipe is connected with start controller output, clock chip output respectively, and the drain electrode of MOS pipe is connected hard disk input power, and the source electrode of MOS pipe is connected the hard disk.
4. The power fail hard disk protection device of claim 3, wherein the gate of the MOS transistor is connected to the output terminal of the start controller through a second resistor.
5. The device for protecting a hard disk from power failure according to claim 3, wherein the input terminal of the clock chip is connected to the output terminal of the start controller through a first resistor.
6. The power failure hard disk protection device of any one of claims 2 to 5, further comprising an energy storage element, wherein the energy storage element is connected with the clock chip; the clock chip is also connected with the hard disk input power supply.
7. The device for protecting a hard disk from power failure of claim 6, wherein the energy storage element is a battery.
8. A power failure hard disk protection method based on the device of any one of claims 2-7, characterized by comprising the following steps:
when the input power supply of the hard disk is normal, the starting switch is closed, and the input power supply of the hard disk supplies power to the hard disk normally;
when the hard disk input power supply is powered down, the starting switch is switched off, meanwhile, the starting controller receives a power-down signal detected by the power supply detector, the starting controller controls the starting switch to be kept disconnected for a preset time length through the clock chip, the control on the starting switch is released after the preset time length, and the control of the hard disk input power supply on the starting switch is recovered.
9. The method for protecting a hard disk during power failure according to claim 8, wherein the preset time is not less than 500 ms.
10. A server, characterized by comprising the power-down hard disk protection device of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010508798.6A CN111737050A (en) | 2020-06-06 | 2020-06-06 | Power-down hard disk protection device and method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010508798.6A CN111737050A (en) | 2020-06-06 | 2020-06-06 | Power-down hard disk protection device and method and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111737050A true CN111737050A (en) | 2020-10-02 |
Family
ID=72648367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010508798.6A Withdrawn CN111737050A (en) | 2020-06-06 | 2020-06-06 | Power-down hard disk protection device and method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111737050A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203632342U (en) * | 2013-11-21 | 2014-06-04 | 深圳市景阳科技股份有限公司 | Power-off protection circuit and power-off protection device |
CN104461947A (en) * | 2014-11-21 | 2015-03-25 | 上海宝存信息科技有限公司 | Power failure protection method and solid-state disk |
CN210575116U (en) * | 2019-10-11 | 2020-05-19 | 深圳佰维存储科技股份有限公司 | Solid state disk and reset circuit thereof |
-
2020
- 2020-06-06 CN CN202010508798.6A patent/CN111737050A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203632342U (en) * | 2013-11-21 | 2014-06-04 | 深圳市景阳科技股份有限公司 | Power-off protection circuit and power-off protection device |
CN104461947A (en) * | 2014-11-21 | 2015-03-25 | 上海宝存信息科技有限公司 | Power failure protection method and solid-state disk |
CN210575116U (en) * | 2019-10-11 | 2020-05-19 | 深圳佰维存储科技股份有限公司 | Solid state disk and reset circuit thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109962450B (en) | Short-circuit protection device | |
US6691248B1 (en) | Method and apparatus for controlling supply of power, and storage medium | |
CN106356097B (en) | Protection method and device for preventing data loss | |
CN101667748A (en) | Circuit power fail safeguard device and protection method thereof | |
CN102455772A (en) | Information processing apparatus, information processing method, and program | |
CN1578057A (en) | Uninterruptible power supply device | |
CN109980722B (en) | Power supply control device | |
CN106328179B (en) | Power supply circuit and power supply method | |
CN213601084U (en) | Switch control circuit and endoscope system | |
CN111817696B (en) | Delay shutdown circuit and delay shutdown control method | |
CN111737050A (en) | Power-down hard disk protection device and method and server | |
JP2008079497A (en) | Method of supplying voltage to battery-driven device | |
JP2007121163A (en) | Testing system, program, and recording medium | |
US20040178681A1 (en) | System for providing backup power to an electronic device | |
CN113691116B (en) | Power supply controller start control system | |
CN202394174U (en) | System and abnormal power failure protection device thereof | |
TWI240204B (en) | Network apparatus and method capable of wake on LAN after abnormal shutdown | |
JP2000040037A (en) | Data protective device, data protective method and storage medium | |
JPS60216728A (en) | No-break power source | |
CN110928389B (en) | Circuit for automatically starting up loongson mainboard after power-on | |
US9063714B1 (en) | Detecting startup fault of SDRAM voltage regulator | |
JP3396417B2 (en) | Backup device | |
JP2009247153A (en) | Power supply relay controller and power supply relay control method | |
US20040027752A1 (en) | Method and apparatus for controlling a startup signal during a brownout | |
CN220775388U (en) | Control circuit and equipment with power-off protection function |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201002 |