CN111968694A - Data protection device, storage equipment and storage system - Google Patents

Data protection device, storage equipment and storage system Download PDF

Info

Publication number
CN111968694A
CN111968694A CN202010928935.1A CN202010928935A CN111968694A CN 111968694 A CN111968694 A CN 111968694A CN 202010928935 A CN202010928935 A CN 202010928935A CN 111968694 A CN111968694 A CN 111968694A
Authority
CN
China
Prior art keywords
module
storage device
power
power supply
host
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.)
Pending
Application number
CN202010928935.1A
Other languages
Chinese (zh)
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.)
Hunan Goke Microelectronics Co Ltd
Original Assignee
Hunan Goke Microelectronics 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 Hunan Goke Microelectronics Co Ltd filed Critical Hunan Goke Microelectronics Co Ltd
Priority to CN202010928935.1A priority Critical patent/CN111968694A/en
Publication of CN111968694A publication Critical patent/CN111968694A/en
Priority to PCT/CN2021/099335 priority patent/WO2022048227A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/22Safety or protection circuits preventing unauthorised or accidental access to memory cells
    • G11C16/225Preventing erasure, programming or reading when power supply voltages are outside the required ranges

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a data protection device, which realizes the monitoring of an external power supply through a power supply monitoring module in a host, and when the external power supply is judged to be abnormally powered down, a standby power module supplies power to a storage device so that the storage device can brush the data cached in the storage device to the storage module. Therefore, whether the external power supply is powered off or not is monitored by arranging the power supply monitoring module in the host, the influence of a large number of energy storage elements such as capacitors and inductors in the storage device is avoided, the time delay for monitoring the power failure of the external power supply is very small, the storage device is rapidly informed to execute a data protection task, and the data loss is avoided; in addition, the power backup module is arranged at the front end of the storage device, so that the design complexity of the storage device and the size of the storage device are reduced, and the cost of the storage device is reduced. The invention also discloses a storage device and a storage system, which have the same beneficial effects as the data protection device.

Description

Data protection device, storage equipment and storage system
Technical Field
The present invention relates to the field of data protection technologies, and in particular, to a data protection device, a storage device, and a storage system.
Background
The storage system comprises a host, an external power supply and a storage device, wherein the external power supply supplies power to the host, and meanwhile the external power supply supplies power to the storage device through the host. In order to improve the efficient writing of data, a cache module is added in the storage device when the storage device is designed, and due to the volatility of the cache module, if the external power supply is powered off, the data in the cache module is lost.
In the prior art, a method for protecting data in a cache module is to directly design a standby capacitor and a power supply detection chip on a storage device. When the power detection chip detects that an external power supply has abnormal power failure, an abnormal power failure signal is sent to a controller in the storage device, the controller enables a standby capacitor to supply power to the whole storage device, meanwhile, the controller immediately closes a data transmission interface of the host, then identifies data which are written into the storage device but are not written into a storage medium by the host, and prints the data into the storage medium in the storage device, so that the data in the cache module are protected.
However, the scheme has the following disadvantages: firstly, because a large number of energy storage elements such as capacitors and inductors are arranged in the internal circuit structure of the storage device, the power supply voltage of the interface of the storage device can be slowly reduced, when the power detection chip identifies the abnormal power failure of the external power supply, the power supply voltage of the interface of the storage device is reduced to a certain degree, the time for starting to process the abnormal power failure is later compared for the storage device, the storage device can sense the abnormal power failure of the external power supply and has larger delay, the data transmission interface of the host computer is delayed to be closed, thereby leading the cache module to still receive the data sent by the host, prolonging the data refreshing time, generally shortening the power supply time of the standby capacitor, the monitoring method may cause that the data in the cache module is not completely flushed to the storage medium when the electric quantity of the backup capacitor is consumed, so that the data is lost; secondly, the design needs to arrange a power detection chip and a circuit thereof, and a large-capacity backup capacitor for supporting data lower brush and a circuit thereof on the storage device, so that the design and space requirements of the storage device are high, and the cost of the storage device is increased by adding the devices.
Disclosure of Invention
The invention aims to provide a data protection device, a storage device and a storage system, which can be free from the influence of a large number of energy storage elements such as capacitors, inductors and the like in the storage device, have very small time delay for monitoring the power failure of an external power supply, quickly inform the storage device to execute a data protection task, and avoid the loss of data; in addition, the power backup module is arranged at the front end of the storage device, so that the design complexity of the storage device and the size of the storage device are reduced, and the cost of the storage device is reduced.
In order to solve the above technical problem, the present invention provides a data protection apparatus applied to a storage system, where the storage system includes an external power supply, a host connected to the external power supply, and a storage device connected to the host, and the data protection apparatus includes:
the standby power module is independent of the storage device and used for supplying power to the storage device when the switch module is closed;
the switch module is arranged between the standby power module and an interface of the storage device;
the power monitoring module is connected with the external power supply, the standby power module and the switch module and arranged in the host, and is used for controlling the switch module to be closed and sending an abnormal power failure signal to the controller in the storage device when monitoring that the external power supply is powered down.
Preferably, the host comprises a rectification module for converting the alternating current output by the external power supply into direct current to supply power to the host;
the power monitoring module includes:
the voltage acquisition module is used for acquiring the voltage of the output end of the rectification module;
and the processor is used for controlling the switch module to be closed and sending an abnormal power failure signal to the controller in the storage device when the voltage of the output end of the rectifying module is judged to be smaller than the first voltage threshold value.
Preferably, the host comprises a rectification module for converting the alternating current output by the external power supply into direct current to supply power to the host;
the power monitoring module includes:
the voltage comparison module is used for comparing the voltage of the output end of the rectification module with a first voltage threshold value and outputting a standby power signal when the voltage of the output end of the rectification module is smaller than the first voltage threshold value;
and the processor is used for controlling the switch module to be closed when the standby power signal is received, and sending an abnormal power failure signal to the controller in the storage equipment.
Preferably, the power backup module is a power backup module constituting a power backup module in the main machine.
Preferably, the switch module is a power electronic switch.
Preferably, the power supply monitoring module is further configured to control the switch module to be turned off and send a reset signal to the controller when it is monitored that the external power supply is powered on.
To solve the above problem, the present invention further provides a storage device, including:
the second data transmission interface is connected with the first data transmission interface of the host and used for receiving the data to be cached, which is sent by the host through the first data transmission interface;
the power failure signal PIN interface is respectively connected with the power supply monitoring module in the host and the controller and is used for receiving an abnormal power failure signal sent by the power supply monitoring module and sending the abnormal power failure signal to the controller;
the cache module is connected with the second data transmission interface and used for storing the data to be cached;
the storage module is connected with the cache module and is used for receiving and storing the data to be cached;
and the controller is connected with the cache module and is used for closing the second data transmission interface and controlling the data to be cached in the cache module to be sent to the storage module as a first priority task when the abnormal power failure signal is received.
In order to solve the above problem, the present invention further provides a storage system, which includes an external power supply, a host connected to the external power supply, and a storage device connected to the host, and further includes the data protection apparatus and the storage device.
Preferably, the cache module is a double data rate synchronous dynamic random access memory DDR SDRAM and/or a random access memory RAM disposed inside the controller.
Preferably, the controller is further configured to perform a reset operation when receiving the reset signal.
The application provides a data protection device, this scheme realizes the monitoring to external power supply through the inside power monitoring module of host computer, when judging that external power supply takes place the unusual power failure, at this moment, the module of being prepared for power supply supplies power to storage equipment brushes storage module with its inside data that is caching down, thereby plays the inside effect of protecting the data that is caching of storage equipment. Therefore, whether the external power supply is powered off or not is monitored by arranging the power supply monitoring module in the host, the influence of a large number of energy storage elements such as capacitors and inductors in the storage device is avoided, the time delay for monitoring the power failure of the external power supply is very small, the storage device is rapidly informed to execute a data protection task, and the data loss is avoided; in addition, the power backup module is arranged at the front end of the storage device, so that the design complexity of the storage device and the size of the storage device are reduced, and the cost of the storage device is reduced.
The invention also provides a storage device and a storage system, which have the same beneficial effects as the data protection device.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a data protection device according to the present invention;
fig. 2 is a schematic structural diagram of a storage system according to the present invention.
Detailed Description
The core of the invention is to provide a data protection device, a storage device and a storage system, which can be free from the influence of a large number of energy storage elements such as capacitors, inductors and the like in the storage device, have very small time delay for monitoring the power failure of an external power supply, quickly inform the storage device to execute a data protection task, and avoid the loss of data; in addition, the power backup module is arranged at the front end of the storage device, so that the design complexity of the storage device and the size of the storage device are reduced, and the cost of the storage device is reduced.
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.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic structural diagram of a data protection device according to the present invention, and fig. 2 is a schematic structural diagram of a storage system according to the present invention. In fig. 1, the standby module 21 is disposed inside the main unit 2 as an example.
The data protection apparatus is applied to a storage system including an external power supply 1, a host 2 connected to the external power supply 1, and a storage device 4 connected to the host 2, and includes:
a power backup module 21 independent of the storage device 4 for supplying power to the storage device 4 when the switch module 3 is closed;
the switch module 3 is arranged between the interfaces of the standby power module 21 and the storage device 4;
and the power monitoring module 22 is connected to the external power supply 1, the standby power module 21 and the switch module 3, and is arranged inside the host 2, and configured to control the switch module 3 to be closed when the external power supply 1 is monitored to be powered down, and send an abnormal power down signal to the controller 44 in the storage device 4.
The applicant considers that the power detection chip is designed on the storage device 4, and because a large number of energy storage elements such as capacitors and inductors are arranged in the internal circuit structure of the storage device 4, the power supply voltage of the interface of the storage device 4 can be slowly reduced, and when the power detection chip identifies the abnormal power failure of the external power supply 1, the power supply voltage of the interface of the storage device 4 is already reduced to a certain extent, the storage device 4 can sense the abnormal power failure of the external power supply 1 and have a large delay, so that the data transmission interface of the host 2 is delayed to be closed; meanwhile, it is considered that, since the space of the storage device 4 is limited, the standby capacitor is directly designed on the storage device 4, and there is a certain limit to the size of the standby capacitor, so that when the external power supply 1 is powered down, the data to be cached in the cache module 42 may not be completely flushed to the storage medium when the electric quantity of the standby capacitor is consumed, and the data to be cached is lost.
In this embodiment, the standby power module 21 and the switch module 3 are provided outside the storage device 4, and the power monitoring module 22 is provided inside the host 2, wherein the switch module 3 is provided between the standby power module 21 and the interface of the storage device 4. Specifically, when the power monitoring module 22 monitors that the external power supply 1 is abnormally powered down, the standby power function of the host 2 is enabled, an abnormal power down signal is sent to the controller 44 in the storage device 4, and the switch module 3 is controlled to be closed, so that the standby power module 21 can supply power to the storage device 4.
It should be noted that the standby power capacity of the standby power module 21 is determined according to the device requirement, for example, if the device requirement is that the standby power module 21 is only used for executing the operation of flushing data from the cache module 42 to the storage device 4, a standby power device with a small capacity, low cost and small volume may be set as the standby power module 21, for example, if the operation of flushing data from the cache module 42 to the storage device 4 requires a power supply time of about 20ms, the standby power module 21 capable of supplying power to the storage device 4 is set within a time range of 30ms to 50ms, which may ensure that the process of flushing data from the cache module 42 to the storage device 4 may be completed, and at the same time, the space of the storage system is saved, and the cost of the storage system is reduced. The application is not particularly limited as to which type of power backup module 21 is specifically selected.
It should be further noted that, in the present invention, the power monitoring module 22 is disposed on the host 2, and compared with the power detection chip disposed on the storage device 4, the process of monitoring whether the external power supply 1 is powered down is advanced to the host 2, so as to avoid the influence of a large number of energy storage elements such as capacitors and inductors on the storage device 4 in the process of monitoring whether the external power supply 1 is powered down, and greatly reduce the delay time when the storage device 4 senses the abnormal power down of the external power supply 1.
In addition, compared with the case that the standby capacitor is arranged on the storage device 4, the standby module 21 arranged outside the storage device 4 is not limited by the space of the storage device 4, so that a standby device with low cost, large capacity and high stability can be used as the standby module 21 to perform standby power, and the condition that the standby capacitor arranged on the storage device 4 is invalid due to small capacity or low stability, so that the data to be cached is lost is avoided.
Specifically, in practical applications, the abnormal power failure of the external power supply 1 includes, but is not limited to, insufficient power supply of the external power supply 1, abnormal power failure caused by power supply disconnection, and the like.
The host 2 may be, but is not limited to, a server, a dedicated computer, a Personal Computer (PC), a special computer, and the like, and the present application is not particularly limited thereto and may be determined according to actual circumstances.
In summary, the invention provides a data protection device, which monitors whether the external power supply 1 is powered down or not by arranging the power monitoring module 22 in the host 2, without being affected by a large number of energy storage elements such as capacitors and inductors in the storage device 4, and the delay of monitoring the power down of the external power supply 1 is very small, so that the storage device 4 is quickly notified to execute a data protection task to be cached, and the loss of the data to be cached is avoided; in addition, the power backup module 21 is arranged at the front end of the storage device 4, so that the design complexity of the storage device 4 and the size of the storage device 4 are reduced, and the cost of the storage device 4 is reduced.
On the basis of the above-described embodiment:
as a preferred embodiment, the main unit 2 includes a rectifying module for converting the ac power output by the external power supply 1 into dc power to supply power to the main unit 2;
the power supply monitoring module 22 includes:
the voltage acquisition module is used for acquiring the voltage of the output end of the rectification module;
and the processor is used for controlling the switch module 3 to be closed and sending an abnormal power failure signal to the controller 44 in the storage device 4 when the voltage of the output end of the rectifying module is judged to be smaller than the first voltage threshold.
It is contemplated that the external power source 1 typically provides ac power, whereas both the host 2 and the storage device 4 require dc power to provide power. In this embodiment, the host 2 includes a rectifying module therein, which is used to convert the ac power provided by the external power source 1 into dc power suitable for the operation of the host 2, for example, 220V ac power provided by the external power source 1 is rectified and converted into 48V dc power, so that the host 2 and the storage device 4 can operate normally.
In order to timely determine whether the external power supply 1 has an abnormal power failure, in this embodiment, the voltage of the output end of the rectifier module is collected by the voltage collection module in the power monitoring module 22, when the voltage of the output end of the rectifier module is smaller than the first voltage threshold, the processor determines that the external power supply 1 has the abnormal power failure, and at this time, the processor sends an abnormal power failure signal to the controller 44 in the storage device 4 and controls the switch module 3 to be closed, so that the standby power module 21 can supply power to the storage device 4. In this way, whether the external power supply 1 has an abnormal power failure can be determined by the voltage at the output end of the rectifier module, so that when the external power supply 1 is determined to have an abnormal power failure, the switch module 3 is controlled to be closed, and an abnormal power failure signal is sent to the controller 44 in the storage device 4. Therefore, the processor can timely judge whether the external power supply 1 is abnormally powered down or not through the voltage acquired by the voltage acquisition module.
In addition, the voltage acquisition module herein may be, but is not limited to, a voltage acquisition circuit formed by connecting two voltage dividing resistors in series, and as to which way is specifically adopted to acquire the voltage at the output end of the rectifying module, the present application is not particularly limited herein, and is determined according to the actual situation.
As a preferred embodiment, the main unit 2 includes a rectifying module for converting the ac power output by the external power supply 1 into dc power to supply power to the main unit 2;
the power supply monitoring module 22 includes:
the voltage comparison module is used for comparing the voltage of the output end of the rectification module with a first voltage threshold value and outputting a standby power signal when the voltage of the output end of the rectification module is smaller than the first voltage threshold value;
and the processor is used for controlling the switch module 3 to be closed when the standby power signal is received, and sending an abnormal power failure signal to the controller 44 in the storage device 4.
It is contemplated that the external power source 1 typically provides ac power, whereas both the host 2 and the storage device 4 require dc power to provide power. In this embodiment, the host 2 includes a rectifying module therein, which is used to convert the ac power provided by the external power source 1 into dc power suitable for the operation of the host 2, for example, 220V ac power provided by the external power source 1 is rectified and converted into 48V dc power, so that the host 2 and the storage device 4 can operate normally.
In order to timely determine whether the external power supply 1 has an abnormal power failure, in this embodiment, the voltage comparison module in the power monitoring module 22 compares the voltage at the output end of the rectification module with a first voltage threshold, and when the voltage at the output end of the rectification module is smaller than the first voltage threshold, outputs a corresponding level signal, that is, a standby power signal, and when receiving the standby power signal, the processor controls the switch module 3 to be closed, and sends an abnormal power failure signal to the controller 44 in the storage device 4. Therefore, the processor can timely judge whether the external power supply 1 is abnormally powered down or not through the comparison of the voltage comparison module to the voltage.
In addition, the voltage comparing module herein may be, but is not limited to, a voltage comparator, and the voltage comparing module specifically adopts which way to compare the voltage at the output terminal of the rectifying module, and the present application is not particularly limited herein, and is determined according to the actual situation.
As a preferred embodiment, the backup module 21 is a backup module 21 constituting a backup module in the main unit 2.
In order to reduce the size of the storage system and reduce the cost of the storage system, in practical application, the external power supply supplies power to the host 2, specifically, the external power supply 1 supplies power to a standby power module in the host 2, and when the host 2 runs, the standby power module supplies power to the host. In this embodiment, the standby power module 21 is the standby power module 21 that constitutes the standby power module in the host 2, so that the standby power module in the host 2 is reused, and the size and cost of the storage system are reduced.
As a preferred embodiment, the power backup module 21 is a battery.
In consideration of the large standby capacity and the stable output voltage of the storage battery, in this embodiment, the storage battery is used as the standby power module 21 of the present invention. In addition, the storage battery also has the advantages of simple structure, low price and the like.
Of course, the power backup module 21 is not limited to a storage battery, and the present application is not limited thereto.
As a preferred embodiment, the switch module 3 is a power electronic switch.
In view of the fact that the power electronic switch can be controlled to be turned on or off by an electric signal, in the present embodiment, the power electronic switch is selected as the switch module 3. In addition, the power electronic switch also has the advantages of simple structure, easy operation, low price and the like.
Of course, the switch module 3 is not limited to a power electronic switch, and the application is not limited thereto.
In a preferred embodiment, the power monitoring module 22 is further configured to control the switch module 3 to be turned off and send a reset signal to the controller 44 when the power on of the external power source 1 is detected.
Considering that the false power failure of the external power supply 1 is caused by the frequency jitter of the external power supply 1 or the unstable voltage of the external power supply 1, and the false power failure of the external power supply 1 also generates an abnormal power failure signal, but the false power failure of the external power supply 1 can only last for a short time and then be recovered to be normal, however, the power monitoring module 22 sends the abnormal power failure signal to the controller 44, the controller 44 controls the storage device 4 to perform a series of operations under the condition that the external power supply 1 is abnormally powered down, and when the false power failure of the external power supply 1 disappears, the storage device 4 cannot know that the external power supply 1 is recovered to be normal, and the operation is performed under the condition that the external power supply 1 is kept abnormally powered down all the time, which may cause the situation that the storage device 4 is hung.
In this embodiment, after the storage module 43 completes storing the data to be cached, when the power monitoring module 22 monitors that the abnormal power-down signal of the external power supply 1 disappears, it is determined that the external power supply 1 is powered on, and at this time, the power monitoring module 22 controls the switch module 3 to be turned off and sends a reset signal to the controller 44. The condition that the device is hung up due to false power failure of the external power supply 1 is avoided.
It should be noted that, the mode of monitoring whether the external power supply 1 is powered on by the power supply monitoring module 22 may be that a voltage acquisition module in the power supply monitoring module 22 acquires a voltage at an output end of a rectification module, when the voltage at the output end of the rectification module is greater than a second voltage threshold, the processor determines that the external power supply 1 loses power abnormally, and at this time, the processor sends a reset signal to the controller 44; the power monitoring module 22 may monitor whether the external power supply 1 is powered on, or the power monitoring module 22 may compare the voltage at the output end of the rectifying module with a second voltage threshold through a voltage comparing module in the power monitoring module 22, and output a reset signal to the controller 44 when the voltage at the output end of the rectifying module is greater than the second voltage threshold. Of course, the manner of monitoring whether the external power source 1 is powered on by the power monitoring module 22 is not limited to the above two manners, and the present application is not limited thereto.
In addition, if the power monitoring module 22 monitors that the external power supply 1 is continuously powered down, the power supply is completed after the standby power quantity of the standby power module 21 is completely exhausted.
The present invention also provides a storage device 4 comprising:
the second data transmission interface is connected with the first data transmission interface of the host 2 and is used for receiving data to be cached, which is sent by the host 2 through the first data transmission interface;
the power down signal PIN interface 41 is respectively connected to the power monitoring module 22 of the host 2 and the controller 44, and is configured to receive an abnormal power down signal sent by the power monitoring module 22 and send the abnormal power down signal to the controller 44;
the cache module 42 is connected with the second data transmission interface and is used for storing data to be cached;
the storage module 43 is connected with the cache module 42 and is used for receiving and storing the data to be cached;
and the controller 44 is connected to the buffer module 42 and configured to close the second data transmission interface when receiving the abnormal power down signal, and control the data to be buffered in the buffer module 42 to be sent to the storage module 43 as a first priority task.
In order to realize that the storage device 4 can quickly sense and protect the data to be cached in the storage device 4 when the external power supply 1 abnormally loses power, in this embodiment, when the PIN interface 41 that drops the electrical signal receives the abnormal power-down signal sent by the power monitoring module 22, the abnormal power-down signal is sent to the controller 44 in the storage device 4, the controller 44 controls the second data transmission interface to be closed, so that the host 2 cannot continuously send the data to be cached to the cache module 42 in the storage device 4 through the first data transmission interface, at this time, the controller 44 controls the data to be cached in the cache module 42 to be sent to the storage module 43 as a first priority task, and the storage module 43 receives and stores the data to be cached. By the method, when the external power supply 1 is abnormally powered down, the storage device 4 can quickly sense and protect the data to be cached in the storage device 4.
It should be noted that, when the external power supply 1 is not abnormally powered down and the storage device 4 normally operates, the data to be cached in the cache module 42 is sent to the storage module 43 once when the data to be cached in the cache module 42 is accumulated to a certain value, for example, every time the data to be cached in the cache module 42 is accumulated to 32K, the controller 44 controls the data to be cached in the cache module 42 to be sent to the storage module 43 for storage. In the present invention, the controller 44 controls the data to be cached in the cache module 42 to be sent to the storage module 43 as a first priority task, which means that when the external power supply 1 is abnormally powered down, all the data to be cached in the cache module 42 is immediately sent to the storage module 43 for storage.
Of course, the storage device 4 herein may be, but is not limited to, an SSD (Solid State drive) of a SATA (Serial Advanced Technology Attachment) interface, an SSD of a mSATA (mini-SATA ) interface, an SSD of an m.2 interface and a storage board card, an SSD of a PCIE (peripheral component interconnect express) interface, and the like, and the present application is not limited thereto.
In addition, the memory module 43 herein refers to all nonvolatile memory media, which may be but is not limited to NAND flash memory (NAND flash), and the application is not limited to any specific nonvolatile memory media as the memory module 43 in the application.
In addition, please refer to the above device embodiments for describing a storage device provided by the present invention, which is not described herein again.
The invention also provides a storage system, which comprises an external power supply 1, a host 2 connected with the external power supply 1, a storage device 4 connected with the host 2, the data protection device and the storage device 4.
For the introduction of a storage system provided by the present invention, please refer to the above-mentioned apparatus and storage device embodiments, which are not described herein again.
On the basis of the above-described embodiment:
in a preferred embodiment, the buffer module 42 is a DDR SDRAM (Double Data Rate SDRAM) and/or a RAM (Random Access Memory) disposed inside the controller 44.
In designing the memory device 4, in order to improve efficient writing of data, a cache module 42 may be added inside the memory device 4, in this embodiment, the cache module 42 is a DDR SDRAM and/or a RAM disposed inside the controller 44. Efficient writing of data is enhanced by providing DDR SDRAM in the memory device 4 and/or RAM inside the controller 44.
It should be noted that the cache module 42 is not limited to DDR SDRAM and/or RAM disposed inside the controller 44, and the specific type of the cache module 42 is not specifically limited herein.
As a preferred embodiment, the controller 44 is also configured to perform a reset operation upon receiving a reset signal.
In order to avoid the situation that the external power supply 1 is powered off in a false mode, the storage device 4 cannot know that the external power supply 1 is recovered to be normal, and the operation is carried out under the situation that the external power supply 1 is powered off in an abnormal mode all the time, so that the storage device 4 is hung up. In this embodiment, after receiving the reset signal, the controller 44 controls itself to reset, so that the storage device 4 is restored to the initialization state, and performs a complete power-on operation, so that the storage device 4 is restarted, thereby ensuring that the storage device 4 can operate normally when the situation of the power failure of the external power supply 1 disappears.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. 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.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A data protection device is applied to a storage system, wherein the storage system comprises an external power supply, a host connected with the external power supply and a storage device connected with the host, and the data protection device is characterized by comprising:
the standby power module is independent of the storage device and used for supplying power to the storage device when the switch module is closed;
the switch module is arranged between the standby power module and an interface of the storage device;
the power monitoring module is connected with the external power supply, the standby power module and the switch module and arranged in the host, and is used for controlling the switch module to be closed and sending an abnormal power failure signal to the controller in the storage device when monitoring that the external power supply is powered down.
2. The data protection device of claim 1, wherein the host comprises a rectifier module for converting the ac power output by the external power source into dc power to power the host;
the power monitoring module includes:
the voltage acquisition module is used for acquiring the voltage of the output end of the rectification module;
and the processor is used for controlling the switch module to be closed and sending an abnormal power failure signal to the controller in the storage device when the voltage of the output end of the rectifying module is judged to be smaller than the first voltage threshold value.
3. The data protection device of claim 1, wherein the host comprises a rectifier module for converting the ac power output by the external power source into dc power to power the host;
the power monitoring module includes:
the voltage comparison module is used for comparing the voltage of the output end of the rectification module with a first voltage threshold value and outputting a standby power signal when the voltage of the output end of the rectification module is smaller than the first voltage threshold value;
and the processor is used for controlling the switch module to be closed when the standby power signal is received, and sending an abnormal power failure signal to the controller in the storage equipment.
4. The data protection device of claim 1, wherein the backup module is a backup module that constitutes a backup module in the host.
5. The data protection device of claim 1, wherein the switch module is a power electronic switch.
6. The data protection device of any one of claims 1 to 5, wherein the power monitoring module is further configured to control the switch module to be turned off and send a reset signal to the controller when it is monitored that the external power supply is powered on.
7. A storage device, comprising:
the second data transmission interface is connected with the first data transmission interface of the host and used for receiving the data to be cached, which is sent by the host through the first data transmission interface;
the power failure signal PIN interface is respectively connected with the power supply monitoring module in the host and the controller and is used for receiving an abnormal power failure signal sent by the power supply monitoring module and sending the abnormal power failure signal to the controller;
the cache module is connected with the second data transmission interface and used for storing the data to be cached;
the storage module is connected with the cache module and is used for receiving and storing the data to be cached;
and the controller is connected with the cache module and is used for closing the second data transmission interface and controlling the data to be cached in the cache module to be sent to the storage module as a first priority task when the abnormal power failure signal is received.
8. A storage system comprising an external power supply, a host connected to the external power supply, and a storage device connected to the host, further comprising the data protection apparatus of any one of claims 1 to 6 and the storage device of claim 7.
9. The memory system of claim 8, wherein the cache module is a double data rate synchronous dynamic random access memory (DDR SDRAM) and/or a Random Access Memory (RAM) disposed within the controller.
10. The memory system of claim 8 or 9, wherein the controller is further configured to perform a reset operation upon receiving the reset signal.
CN202010928935.1A 2020-09-07 2020-09-07 Data protection device, storage equipment and storage system Pending CN111968694A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010928935.1A CN111968694A (en) 2020-09-07 2020-09-07 Data protection device, storage equipment and storage system
PCT/CN2021/099335 WO2022048227A1 (en) 2020-09-07 2021-06-10 Data protection apparatus, storage device, and storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010928935.1A CN111968694A (en) 2020-09-07 2020-09-07 Data protection device, storage equipment and storage system

Publications (1)

Publication Number Publication Date
CN111968694A true CN111968694A (en) 2020-11-20

Family

ID=73392432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010928935.1A Pending CN111968694A (en) 2020-09-07 2020-09-07 Data protection device, storage equipment and storage system

Country Status (2)

Country Link
CN (1) CN111968694A (en)
WO (1) WO2022048227A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022048227A1 (en) * 2020-09-07 2022-03-10 湖南国科微电子股份有限公司 Data protection apparatus, storage device, and storage system
CN117573420A (en) * 2024-01-16 2024-02-20 武汉麓谷科技有限公司 ZNS solid state disk power-down data storage method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116230057B (en) * 2023-03-20 2023-11-14 哈尔滨工程大学 Missile-borne storage testing system capable of working in power failure and use method
CN117032186A (en) * 2023-08-31 2023-11-10 北京东土科技股份有限公司 Controller system with power supply abnormality early warning protection function

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033826A (en) * 2010-12-03 2011-04-27 创新科存储技术有限公司 Power failure data protection device and method for internal memory
CN102929805A (en) * 2012-10-19 2013-02-13 浪潮电子信息产业股份有限公司 Power-down protection method for cache data in memory system
CN103678178A (en) * 2013-10-10 2014-03-26 华为技术有限公司 Power failure processing method and system of storage system
CN103942160A (en) * 2014-04-03 2014-07-23 华为技术有限公司 Storage system, storage device and data storage method
CN104391559A (en) * 2014-11-11 2015-03-04 广东省电子信息产业集团有限公司 Control method and control system of standby power supply
CN105224477A (en) * 2015-09-25 2016-01-06 浪潮电子信息产业股份有限公司 Data protection method for storage system after abnormal power failure
CN109065086A (en) * 2018-09-07 2018-12-21 郑州云海信息技术有限公司 A kind of test macro storing power failure protection of equipment circuit
CN109065085A (en) * 2018-08-23 2018-12-21 郑州云海信息技术有限公司 A kind of power supply circuit and method storing equipment
CN111176563A (en) * 2019-12-24 2020-05-19 湖南国科微电子股份有限公司 Method for bypass access to storage data, storage device and bypass access storage system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385897B (en) * 2011-11-02 2014-11-19 华为数字技术(成都)有限公司 Storage device and power supply method for storage device
CN107038131A (en) * 2016-02-04 2017-08-11 广明光电股份有限公司 Solid state hard disc power-off protection apparatus and method
TWI602115B (en) * 2016-06-23 2017-10-11 慧榮科技股份有限公司 Data storage method of data storage device
TWI670601B (en) * 2018-07-30 2019-09-01 慧榮科技股份有限公司 Method and system for power loss protection
CN110059506A (en) * 2019-04-24 2019-07-26 苏州浪潮智能科技有限公司 A kind of solid state hard disk pinboard and corresponding control methods
CN111968694A (en) * 2020-09-07 2020-11-20 湖南国科微电子股份有限公司 Data protection device, storage equipment and storage system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033826A (en) * 2010-12-03 2011-04-27 创新科存储技术有限公司 Power failure data protection device and method for internal memory
CN102929805A (en) * 2012-10-19 2013-02-13 浪潮电子信息产业股份有限公司 Power-down protection method for cache data in memory system
CN103678178A (en) * 2013-10-10 2014-03-26 华为技术有限公司 Power failure processing method and system of storage system
CN103942160A (en) * 2014-04-03 2014-07-23 华为技术有限公司 Storage system, storage device and data storage method
CN104391559A (en) * 2014-11-11 2015-03-04 广东省电子信息产业集团有限公司 Control method and control system of standby power supply
CN105224477A (en) * 2015-09-25 2016-01-06 浪潮电子信息产业股份有限公司 Data protection method for storage system after abnormal power failure
CN109065085A (en) * 2018-08-23 2018-12-21 郑州云海信息技术有限公司 A kind of power supply circuit and method storing equipment
CN109065086A (en) * 2018-09-07 2018-12-21 郑州云海信息技术有限公司 A kind of test macro storing power failure protection of equipment circuit
CN111176563A (en) * 2019-12-24 2020-05-19 湖南国科微电子股份有限公司 Method for bypass access to storage data, storage device and bypass access storage system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022048227A1 (en) * 2020-09-07 2022-03-10 湖南国科微电子股份有限公司 Data protection apparatus, storage device, and storage system
CN117573420A (en) * 2024-01-16 2024-02-20 武汉麓谷科技有限公司 ZNS solid state disk power-down data storage method
CN117573420B (en) * 2024-01-16 2024-06-04 武汉麓谷科技有限公司 ZNS solid state disk power-down data storage method

Also Published As

Publication number Publication date
WO2022048227A1 (en) 2022-03-10

Similar Documents

Publication Publication Date Title
CN111968694A (en) Data protection device, storage equipment and storage system
CN102033826B (en) Power failure data protection device and method for internal memory
CN103744803B (en) A kind of power supply module and storage system
US20100329064A1 (en) Systems, methods and devices for monitoring capacitive elements in devices storing sensitive data
WO2024078231A1 (en) Data protection circuit, method and apparatus, and electronic device and storage medium
TWI629687B (en) Flash memory device having abnormal power protection
WO2017114236A1 (en) Charging method and device, and solid state disk
CN107403644B (en) Flash memory device with abnormal power protection
JP2016012353A (en) Micro power outage compensating module for server
CN115993882A (en) Disk array card standby electric control method, device, electronic equipment and storage medium
CN117055822B (en) NVME SSD Raid card board power-carrying system and control method
CN110401260B (en) Server standby power supply and server power supply
US11157060B2 (en) Systems and methods for chassis-level persistent memory sequencing and safety
JP2020144783A (en) Information processor, method and program of power supply thereof
JP4411014B2 (en) Computer and power supply backup method thereof
US20200105312A1 (en) NVDIMM System with UPS power source
JP5814825B2 (en) Storage device and storage method
CN109616150B (en) Data storage and management device of engine and power-down protection method thereof
JP2015170332A (en) NAND flash module control method
CN212341833U (en) Power supply buffer system
CN107910034B (en) Power-down protection circuit of Flash memory
CN221746873U (en) Solid state disk standby power system
JP2020088719A (en) Recorder and termination method
CN210490828U (en) BMC delay power-off circuit
CN216751184U (en) Storage device and power management unit thereof

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