CN101625665A - Method, device and system for power-off protection of solid state disk - Google Patents

Method, device and system for power-off protection of solid state disk Download PDF

Info

Publication number
CN101625665A
CN101625665A CN200910091174A CN200910091174A CN101625665A CN 101625665 A CN101625665 A CN 101625665A CN 200910091174 A CN200910091174 A CN 200910091174A CN 200910091174 A CN200910091174 A CN 200910091174A CN 101625665 A CN101625665 A CN 101625665A
Authority
CN
China
Prior art keywords
super
discharge
capacitor module
self
solid state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910091174A
Other languages
Chinese (zh)
Other versions
CN101625665B (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN2009100911742A priority Critical patent/CN101625665B/en
Publication of CN101625665A publication Critical patent/CN101625665A/en
Application granted granted Critical
Publication of CN101625665B publication Critical patent/CN101625665B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a method, a device and a system for the power-off protection of a solid state disk (SSD), wherein the method comprises the following steps: acquiring the self-discharge time of a first ultracapacitor module; sending the discharge information of a second ultracapacitor module to a charging and discharging circuit to switch on a discharging loop of the second ultracapacitor module when the self-discharge time is less than a preset value, and supplying electricity to the solid state disk by the second ultracapacitor module. The provided technical scheme aims at a technical problem that ultracapacitor failures are not detected in the device and the method for the power-off protection of the solid state disk in the prior art, so that the data can be lost in case an abnormal power-off phenomenon occurs in the system of SSD and the data in Cache are not effectively stored, thereby realizing a purpose of improving the data security of the system of the SSD when the abnormal power-off phenomenon occurs in the system of the SSD.

Description

Power-off protection of solid state disk method, Apparatus and system
Technical field
The present invention relates to computer memory technical, particularly a kind of power-off protection of solid state disk method, Apparatus and system.
Background technology
Along with the continuous development of electronic circuit technology, computer memory technical is also maked rapid progress, and solid state hard disc (Solid State Disk is hereinafter to be referred as SSD) occurs thereupon.Though the interface specification of SSD is identical with common hard disk with definition, function and using method, also consistent on product design and size with common hard disk, but because SSD does not have the rotating media of common hard disk, have therefore that shock resistance is splendid, data rate memory is fast, the characteristics of low in energy consumption, zero shellfish noise; Moreover because the operating temperature range of SSD is very wide, can be between-40~85 degrees centigrade, so SSD is widely used in fields such as military affairs, vehicle-mounted, industry control, video monitoring, network monitoring, the network terminal, electric power, medical treatment, aviation, navigator.
At present, based on enhancement mode Peripheral Component Interconnect standard (Peripheral ComponentInterconnect PCI-Express, PCIE) bandwidth of the SSD of interface can reach 1GB, and the high-speed transfer that then often adopts large-capacity data buffer memory (Cache) to carry out disc data among the SSD is supported this bandwidth.Because Cache wherein generally adopts synchronous DRAM (Synchronous Dynamic Random Access Memory; SDRAM); and such storer is a power down volatibility device; when system power loss event in SSD place takes place when; Chang Yin does not have the power down protection power supply and causes the data among the Cache can't in time be kept among the Flash before losing; like this after subsystem powers on down; will find that disc has loss of data, this can produce bigger influence for the sophisticated technology field that often relates to mass data.
In the prior art; problem at SSD power down obliterated data; SSD production firm often adopts super capacitor power down protection pattern to solve; because super capacitor (Super Capacitor; SC) be emerging in recent years a kind of electric capacity; it has capacity than traditional capacitance big a lot (farad levels); it is simple to discharge and recharge circuit; need not the charging circuit of similar rechargeable battery; the safety coefficient height; so the non-maintaining characteristics of long-term use are at present with the power down protection power supply extremely solid state hard disc producer high praise of SC as solid state hard disc.Fig. 1 is a prior art power-off protection of solid state disk apparatus structure synoptic diagram; as shown in Figure 1; after SSD place system powers on; the SSD working power makes the SSD operate as normal for SSD provides power supply; at this moment; the power-off protection of solid state disk device is also started working; be specially; whether the electric weight that super capacitor detection module 101 detects super capacitor in real time is sufficient; if; when detection of power loss module 103 detects the power down of SSD place system, connect the discharge loop that discharges and recharges control module 102, be the power supply of SSD working power by super capacitor.
By adopting above-mentioned prior art power-off protection of solid state disk device and method, even the power down of SSD place system, the phenomenon that the SSD disc data is lost takes place.But along with people discover for a long time, super capacitor as the power down protection power supply when ensureing data security, under rugged surroundings such as high temperature or high frequency discharge and recharge, can lose efficacy rapidly (capacity that shows as reduces or open circuit).In the above-mentioned prior art scheme, super capacitor is that its reliability is relatively low as the major defect of power down protection power supply, is unsuitable for protected data safety under rugged surroundings.
Because when SSD works under rugged surroundings, even super capacitor lost efficacy, SSD place system can not discover, still by moving under the super capacitor normal condition, even moreover SSD place system perceive the super capacitor inefficacy, can not make relative measures.In case thereby causing SSD place system generation powered-off fault phenomenon, the data among the Cache just can not get effective preservation, still can cause the phenomenon of loss of data.
Summary of the invention
The purpose of the embodiment of the invention provides a kind of power-off protection of solid state disk method, Apparatus and system; at super capacitor as the relatively low shortcoming of its reliability of power down protection power supply; the design of the power down protection power supply that the embodiment of the invention is formed with first super-capacitor module and second super-capacitor module with redundancy properties; and detect by the state to first super-capacitor module, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
For achieving the above object, the embodiment of the invention provides a kind of power-off protection of solid state disk method, comprising:
Obtain the self-discharge time of first super-capacitor module;
When described self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the solid state hard disc power supply by second super-capacitor module.
Further, the embodiment of the invention provides a kind of power-off protection of solid state disk device, comprising:
Acquisition module, the self-discharge time that is used to obtain first super-capacitor module;
Handover module was used for when described self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the solid state hard disc power supply by second super-capacitor module.
Again further, the embodiment of the invention provides a kind of power-off protection of solid state disk system, comprising:
The power down protection power supply comprises two super-capacitor module, is used for storage and discharges electric energy, and send starting potential information, charging voltage information or self-discharge information of voltage;
Voltage comparator is used for according to described starting potential information output starting potential status information; According to described charging voltage information output charging voltage status information; According to described self-discharge information of voltage output self-discharge voltage status information;
Controller is used for obtaining the self-discharge time of a super-capacitor module in described two super-capacitor module according to described starting potential status information, charging voltage status information and self-discharge voltage status information; When described self-discharge time during less than preset value, send another super-capacitor module discharge information to charge-discharge circuit to connect another super-capacitor module discharge loop, be the solid state hard disc power supply by another super-capacitor module;
Charge-discharge circuit is used to receive the discharge information of described super-capacitor module, to connect described super-capacitor module discharge loop.
The embodiment of the invention is in self-discharge time during less than preset value; discerning first super-capacitor module lost efficacy; and send the second super-capacitor module discharge information to connect the second super-capacitor module discharge loop; by second super-capacitor module is the technical scheme of solid state hard disc power supply; utilization detects the state of first super-capacitor module; and adopt the design of the power down protection power supply that first super-capacitor module and second super-capacitor module form with redundancy properties, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, to do to introduce simply to the accompanying drawing of required use among the embodiment below, apparently, accompanying drawing in describing below only is some embodiment of the embodiment of the invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is a prior art power-off protection of solid state disk apparatus structure synoptic diagram;
Fig. 2 is the process flow diagram of embodiment of the invention power-off protection of solid state disk method embodiment one;
Fig. 3 is the process flow diagram of embodiment of the invention power-off protection of solid state disk method embodiment two;
Fig. 4 is the structural representation of embodiment of the invention power-off protection of solid state disk device;
Fig. 5 is the structural representation of acquisition module in the embodiment of the invention power-off protection of solid state disk device;
Fig. 6 is the structural representation of embodiment of the invention power-off protection of solid state disk system;
Fig. 7 is the embodiment of the invention first super-capacitor module structural representation;
Fig. 8 is the embodiment of the invention second super-capacitor module structural representation;
Fig. 9 is an embodiment of the invention voltage comparator structural representation;
Figure 10 is an embodiment of the invention charge-discharge circuit structural representation.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is embodiment of the invention part embodiment, rather than whole embodiment.Based on the embodiment in the embodiment of the invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of embodiment of the invention protection.
Fig. 2 is the process flow diagram of embodiment of the invention power-off protection of solid state disk method embodiment one.As shown in Figure 2, the power-off protection of solid state disk method of this enforcement comprises:
Step 201, the self-discharge time of obtaining first super-capacitor module;
There are first super-capacitor module and two standby power supplies of second super-capacitor module in SSD place system.First super-capacitor module is as the standby power supply of acquiescence, after SSD place system powers on, whether the self-discharge time of obtaining first super-capacitor module is working properly to detect first super-capacitor module, to prevent the generation power down of SSD place system, and when powering by first super-capacitor module because first super-capacitor module lost efficacy can not normal power supply and cause loss of data.
Step 202, when self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the SSD power supply by second super-capacitor module.
Because normal super capacitor self-discharge needs a period of time, if the self-discharge time is too short, then super capacitor may be in invalid state, and therefore the inefficacy of first super-capacitor module can be weighed by the self-discharge time of first super-capacitor module.Particularly, when the generation power down of SSD place system, and the self-discharge time of judging first super-capacitor module is less than preset value, illustrate that first super-capacitor module is in invalid state and can't SSD be powered as standby power supply, in order to guarantee not lost of data, send this moment the second super-capacitor module discharge information to charge-discharge circuit connecting the second super-capacitor module discharge loop, be the SSD power supply by the second standby super-capacitor module.
A kind of power-off protection of solid state disk method that present embodiment provided; at super capacitor as the relatively low shortcoming of its reliability of power down protection power supply; the design of the power down protection power supply that the embodiment of the invention is formed with first super-capacitor module and second super-capacitor module with redundancy properties; and detect by the state to first super-capacitor module, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
Fig. 3 is the process flow diagram of embodiment of the invention power-off protection of solid state disk method embodiment two.As shown in Figure 3, the power-off protection of solid state disk method of this enforcement comprises:
Step 301, the record initial moment of self-discharge;
In the present embodiment, the initial moment of self-discharge is the initial moment of the first super-capacitor module self-discharge, and first super-capacitor module began to discharge from the initial moment of self-discharge.Self-discharge can for the super capacitor in first super-capacitor module by with the slow process of discharge of its parallel resistor.Further, the self-discharge time of first super-capacitor module can be first super-capacitor module time used from overvoltage condition self-discharge to under-voltage condition.Particularly, the initial moment of self-discharge is that first super-capacitor module is in overvoltage condition, and in the initial moment that the first super-capacitor module charge circuit and the first super-capacitor module discharge loop all disconnect, the record initial moment of self-discharge specifically can realize by following steps:
Step 3011, obtain the starting potential status information of first super-capacitor module that sends from voltage comparator;
Step 3012, according to the starting potential status information, judge whether first super-capacitor module is in overvoltage condition, if not, then send the first super-capacitor module charge information to connect the first super-capacitor module charge circuit, target is for the charging of first super-capacitor module, until making first super-capacitor module be in overvoltage condition
Step 3013, in the process of first super-capacitor module charging, obtain the charging voltage status information of first super-capacitor module that sends from voltage comparator in real time;
Step 3014, according to the charging voltage status information, detect first super-capacitor module in real time and whether be in overvoltage condition, if, then send first super-capacitor module charging disconnection information to charge-discharge circuit to disconnect the first super-capacitor module charge circuit;
Step 3015 and to write down the moment that the first super-capacitor module charge circuit disconnects be the initial moment of self-discharge;
Further, according to the starting potential status information, if judge first super-capacitor module is to be in overvoltage condition, and if connecting the first super-capacitor module charge circuit this moment is the charging of first super-capacitor module, then need send first super-capacitor module charging disconnection information, disconnecting the first super-capacitor module charge circuit, and the moment that record disconnects the first super-capacitor module charge circuit be the initial moment of self-discharge.
Step 302, record self-discharge stop constantly;
In the present embodiment, self-discharge stops the termination moment that the moment is the first super-capacitor module self-discharge.Particularly, self-discharge stops constantly can be the moment of the first super-capacitor module self-discharge to under-voltage condition, and the moment of under-voltage condition can be the first super capacitor mould and begins self-discharge just to moment of under-voltage condition from the initial moment of self-discharge.Wherein, the record initial moment of self-discharge specifically can realize by following steps:
Step 3021, in the process of the first super-capacitor module self-discharge of above-mentioned steps 301, obtain first super-capacitor module that sends from voltage comparator begins self-discharge from the initial moment of self-discharge self-discharge voltage status information in real time;
Step 3022 and according to self-discharge voltage status information detects first super-capacitor module in real time and whether is in under-voltage condition, if then writing down the moment that first super-capacitor module just arrives under-voltage condition is that self-discharge stops constantly.
Step 303, further, carry out the difference computing according to the initial moment of self-discharge that self-discharge that step 301 write down stops constantly and step 302 is write down, just can obtain the self-discharge time of first super-capacitor module from overvoltage condition self-discharge to under-voltage condition.
Step 304, because normal super capacitor self-discharge needs a period of time, if the self-discharge time is too short, then super capacitor may be in invalid state, and therefore the inefficacy of first super-capacitor module can be weighed by the self-discharge time of first super-capacitor module.Particularly, when the generation power down of SSD place system, and the self-discharge time of judging first super-capacitor module is less than preset value, illustrate that first super-capacitor module is in invalid state and can't SSD be powered as standby power supply, in order to guarantee not lost of data, send this moment the second super-capacitor module discharge information to charge-discharge circuit connecting the second super-capacitor module discharge loop, be the SSD power supply by the second standby super-capacitor module.
Further, when the generation power down of SSD place system, be not less than preset value if judge the self-discharge time, then first super-capacitor module did not lose efficacy, and acquiescence sends the first super-capacitor module discharge information, to connect the first super-capacitor module discharge loop, be the SSD power supply by first super-capacitor module.
The power-off protection of solid state disk method that present embodiment provided; at in the prior art power-off protection of solid state disk device and method only with one group of super-capacitor module as SSD power down standby power supply; and super-capacitor module was not lost efficacy and detected; in case and cause SSD place system generation powered-off fault phenomenon; data still can not get effective preservation among its Cache; cause the technical matters of loss of data; when the technical scheme of present embodiment passes through to judge that the self-discharge time is less than preset value; discerning first super-capacitor module lost efficacy; and send the second super-capacitor module discharge information; to connect the second super-capacitor module discharge loop; by second super-capacitor module is the technical scheme of solid state hard disc power supply; utilization detects the state of first super-capacitor module; and adopt the design of the power down protection power supply that first super-capacitor module and second super-capacitor module form with redundancy properties, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
Fig. 4 is the structural representation of embodiment of the invention power-off protection of solid state disk device.As shown in Figure 4, the power-off protection of solid state disk device of present embodiment comprises acquisition module 401 and handover module 402.Wherein, acquisition module 401 obtains the self-discharge time of first super-capacitor module; Handover module 402 was used for when self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the solid state hard disc power supply by second super-capacitor module.
Further, Fig. 5 is the structural representation of acquisition module in the embodiment of the invention power-off protection of solid state disk device, as shown in Figure 5, acquisition module 401 among Fig. 4 also comprises first record cell 501, second record cell 502 and acquiring unit 503, wherein, the 501 record initial moment of self-discharge of first record cell, the initial moment of self-discharge is that first super-capacitor module is in overvoltage condition, and initial moment of all disconnecting of the first super-capacitor module charge circuit and the first super-capacitor module discharge loop; The 502 record self-discharges of second record cell stop constantly, and it is the moment of the first super-capacitor module self-discharge to under-voltage condition that self-discharge stops constantly; Acquiring unit 503 is connected to first record cell 501 and second record cell 502, stop constantly and the difference in the initial moment of self-discharge according to self-discharge, obtain the self-discharge time of first super-capacitor module from overvoltage condition self-discharge to under-voltage condition.Again further, first record cell 501 comprises that first obtains subelement 5011, judgment sub-unit 5012, first and handle subelement 5013, second and obtain the subelement 5014 and the first detection record subelement 5015, wherein first obtains the starting potential status information that subelement 5011 obtains first super-capacitor module; Judgment sub-unit 5012 judges according to the starting potential status information whether first super-capacitor module is in overvoltage condition; First handles subelement 5013 is used for when first judgment sub-unit is judged first super-capacitor module and is not in overvoltage condition, and sending the first super-capacitor module charge information to charge-discharge circuit is that first super-capacitor module is charged to connect the first super-capacitor module charge circuit; Second obtains the charging voltage status information that subelement 5014 obtains first super-capacitor module; The first detection record subelement 5015 is according to the charging voltage status information, detect first super-capacitor module in real time and whether be in overvoltage condition, if, then send first super-capacitor module charging disconnection information to charge-discharge circuit disconnecting the first super-capacitor module charge circuit, and to write down the moment that the first super-capacitor module charge circuit disconnects be the initial moment of self-discharge.Again further, first record cell 502 comprises that the 3rd obtains the subelement 5021 and the second detection record subelement 5022, wherein, the 3rd obtain subelement 5021 and obtain first super-capacitor module begins self-discharge from the initial moment of self-discharge self-discharge voltage status information; The second detection record subelement 5022 detects first super-capacitor module in real time and whether is in under-voltage condition according to self-discharge voltage status information, if then be recorded as self-discharge and stop constantly.
Here it should be noted that the power-off protection of solid state disk device in this enforcement, does not repeat them here as described in specifically describing among the above-mentioned power-off protection of solid state disk method embodiment the concrete grammar of power-off protection of solid state disk.
The power-off protection of solid state disk method that present embodiment provided; at in the prior art power-off protection of solid state disk device and method only with one group of super-capacitor module as SSD power down standby power supply; and super-capacitor module was not lost efficacy and detected; in case and cause SSD place system generation powered-off fault phenomenon; data still can not get effective preservation among its Cache; cause the technical matters of loss of data; the technical scheme of present embodiment is judged when self-discharge time during less than preset value by utilizing handover module; send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop; by second super-capacitor module is the technical scheme of solid state hard disc power supply; utilization detects the state of first super-capacitor module; and adopt the design of the power down protection power supply that first super-capacitor module and second super-capacitor module form with redundancy properties, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
Fig. 6 is the structural representation of embodiment of the invention power-off protection of solid state disk system.As shown in Figure 6, the power-off protection of solid state disk system that present embodiment provided comprises power down protection power supply 601, voltage comparator 602, charge-discharge circuit 603 and controller 604.
Power down protection power supply 601 can comprise two super-capacitor module, particularly, power down protection power supply 601 comprises first super-capacitor module 6011 and second super-capacitor module 6012, first super-capacitor module 6011 is connected in voltage comparator 602, as Fig. 7 is shown in the embodiment of the invention first super-capacitor module structural representation, and be shown in the embodiment of the invention second super-capacitor module structural representation as Fig. 8, first super-capacitor module comprises 6011 by super capacitor C1 and resistance R 1, and resistance R 1 is parallel to super capacitor C1, second super-capacitor module 6012 comprises super capacitor C2 and resistance R 2, and resistance R 2 is parallel to super capacitor C2, storage and release electric energy, and send starting potential information, charging voltage information or self-discharge information of voltage;
Voltage comparator 602 is connected in first super-capacitor module 6011, as Fig. 9 is shown in the embodiment of the invention voltage comparator structural representation, comprise voltage comparison unit 1 and voltage comparison unit 2, wherein "+" end of "+" of voltage comparison unit 1 end and voltage comparison unit 2 links to each other as the voltage comparator input end, "-" end of voltage comparison unit 1 connects overvoltage threshold, "-" end of voltage comparison unit 2 connects under-voltage threshold value, voltage comparison unit 1 is as voltage comparator output terminal output overvoltage state, and voltage comparison unit 2 is as voltage comparator output terminal output under-voltage condition; Particularly, starting potential information is inserted the voltage comparator input end, and export the starting potential status information to controller 604 in the back with overvoltage threshold and under-voltage threshold ratio, controller 604 judges whether first super-capacitor module 6011 is in overvoltage condition; Charging voltage information is inserted the voltage comparator input end, and with overvoltage press threshold value and under-voltage threshold ratio back output charging voltage status information to controller 604, controller 604 judges whether first super-capacitor module 6011 is in overvoltage condition or the self-discharge information of voltage is inserted the voltage comparator input end, and back output charging voltage status information is to controller 604 to press threshold value and under-voltage threshold ratio with overvoltage, and controller 604 judges whether first super-capacitor module 6011 is in under-voltage condition;
Charge-discharge circuit 603, be connected in first super-capacitor module 6011 and second super-capacitor module 6012, as Figure 10 is shown in the embodiment of the invention charge-discharge circuit structural representation, comprise the first super-capacitor module charge circuit and the first super-capacitor module discharge loop, the second super-capacitor module charge circuit and the second super-capacitor module discharge loop, and first K switch 1, second switch K2, the 3rd K switch 3 and the 4th K switch 4, the first super-capacitor module charge circuit and the second super-capacitor module charge circuit, one end are connected in charge power supply, and the first super-capacitor module discharge loop and the second super-capacitor module discharge loop, one end are connected in discharge power supply; The other end of the first super-capacitor module charge circuit is connected in first super-capacitor module 6011 by first K switch 1, is used to 6011 chargings of first super-capacitor module; The other end of the first super-capacitor module discharge loop is connected in first super-capacitor module 6011 by second switch K2, is used to 6011 discharges of first super-capacitor module; The other end of the second super-capacitor module charge circuit is connected in second super-capacitor module 6012 by the 3rd K switch 3, is used to 6012 chargings of second super-capacitor module; The other end of the second super-capacitor module discharge loop is connected in second super-capacitor module 6012 by the 4th K switch 4, is used to 6012 discharges of second super-capacitor module;
Controller 604 is connected in first K switch 1, second switch K2, the 3rd K switch 3 and the 4th K switch 4 of voltage comparator 602 and charge-discharge circuit 603, and is connected in first super-capacitor module 6011 by voltage comparator 602; When voltage comparator 602 according to the starting potential status information, when judging first super-capacitor module and not being in overvoltage condition, send the first super-capacitor module charge information, closed first K switch 1 is to connect the first super-capacitor module charge circuit; When voltage comparator 602 according to the charging voltage status information, when judging first super-capacitor module and being in overvoltage condition, send first super-capacitor module charging disconnection information, open first K switch 1, disconnecting the first super-capacitor module charge circuit, and record is the initial moment of self-discharge this moment; When voltage comparator 602 according to self-discharge voltage status information, when judging first super-capacitor module 6011 and being in under-voltage condition, record self-discharge stops constantly; Stop constantly and the difference in the initial moment of self-discharge according to the self-discharge of being write down, obtain the self-discharge time of first super-capacitor module 6011 from overvoltage condition self-discharge to under-voltage condition; When self-discharge time during whether less than preset value, then discern first super-capacitor module 6011 and lost efficacy, and closed the 4th K switch 4, to connect the second super-capacitor module discharge loop, power for solid state hard disc by second super-capacitor module 6012.
Here it should be noted that; power-off protection of solid state disk system in this enforcement can comprise each module, unit and the subelement in the above-mentioned power-off protection of solid state disk device; and to the concrete grammar of power-off protection of solid state disk as described in specifically describing among the above-mentioned power-off protection of solid state disk method embodiment, do not repeat them here.
The power-off protection of solid state disk system that present embodiment provided; at in the prior art power-off protection of solid state disk device and method only with one group of super-capacitor module as SSD power down standby power supply; and super-capacitor module was not lost efficacy and detected; in case and cause SSD place system generation powered-off fault phenomenon; data still can not get effective preservation among its Cache; cause the technical matters of loss of data; when the technical scheme of the embodiment of the invention judges that by controller the self-discharge time is less than preset value; discerning first super-capacitor module lost efficacy; and send the second super-capacitor module discharge information; to connect the second super-capacitor module discharge loop; by second super-capacitor module is the technical scheme of solid state hard disc power supply; utilize controller that the state of first super-capacitor module is detected; and adopt the design of the power down protection power supply that first super-capacitor module and second super-capacitor module are formed in the power down protection power supply with redundancy properties, realized when SSD place system generation powered-off fault phenomenon, improving the purpose of SSD place system data security.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM (read-only memory) (ROM), random access device (RAM), magnetic disc or CD.
It should be noted that at last: above embodiment only in order to the explanation embodiment of the invention technical scheme but not limit it, although the embodiment of the invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement the technical scheme of the embodiment of the invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of embodiment of the invention technical scheme.

Claims (9)

1, a kind of power-off protection of solid state disk method is characterized in that, comprising:
Obtain the self-discharge time of first super-capacitor module;
When described self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the solid state hard disc power supply by second super-capacitor module.
2, power-off protection of solid state disk method according to claim 1 is characterized in that, the described self-discharge time of obtaining first super-capacitor module comprises:
In the record initial moment of self-discharge, the initial moment of described self-discharge is that described first super-capacitor module is in overvoltage condition, and initial moment of all disconnecting of the first super-capacitor module charge circuit and the first super-capacitor module discharge loop;
Record self-discharge stops constantly, and it is the moment of the described first super-capacitor module self-discharge to under-voltage condition that described self-discharge stops constantly;
Stop constantly and the difference in the described initial moment of self-discharge according to described self-discharge, obtain the self-discharge time of described first super-capacitor module from overvoltage condition self-discharge to under-voltage condition.
3, power-off protection of solid state disk method according to claim 2 is characterized in that, the described initial moment of record self-discharge comprises:
Obtain the starting potential status information of described first super-capacitor module;
Be not in overvoltage condition when judging described first super-capacitor module according to described starting potential status information, then sending the first super-capacitor module charge information to charge-discharge circuit is described first super-capacitor module charging to connect the first super-capacitor module charge circuit;
Obtain the charging voltage status information of described first super-capacitor module;
Detect described first super-capacitor module in real time according to described charging voltage status information, when described first super-capacitor module is in overvoltage condition, then send first super-capacitor module charging disconnection information to charge-discharge circuit to disconnect the described first super-capacitor module charge circuit;
The moment of writing down described first super-capacitor module charge circuit disconnection is the initial moment of self-discharge.
4, power-off protection of solid state disk method according to claim 2 is characterized in that, described record self-discharge stops constantly comprising:
Obtain described first super-capacitor module begins self-discharge from the initial moment of described self-discharge self-discharge voltage status information;
According to described self-discharge voltage status information, detect described first super-capacitor module in real time and whether be in under-voltage condition, if then be recorded as self-discharge and stop constantly.
5, a kind of power-off protection of solid state disk device is characterized in that, comprising:
Acquisition module, the self-discharge time that is used to obtain first super-capacitor module;
Handover module was used for when described self-discharge time during less than preset value, send the second super-capacitor module discharge information to charge-discharge circuit to connect the second super-capacitor module discharge loop, be the solid state hard disc power supply by second super-capacitor module.
6, power-off protection of solid state disk device according to claim 5 is characterized in that, described acquisition module comprises:
First record cell, be used to write down the initial moment of self-discharge, the initial moment of described self-discharge is that described first super-capacitor module is in overvoltage condition, and initial moment of all disconnecting of the first super-capacitor module charge circuit and the first super-capacitor module discharge loop;
Second record cell is used to write down self-discharge and stops constantly, and it is the moment of the described first super-capacitor module self-discharge to under-voltage condition that described self-discharge stops constantly;
Acquiring unit is used for stopping constantly and the difference in the described initial moment of self-discharge according to described self-discharge, obtains the self-discharge time of described first super-capacitor module from overvoltage condition self-discharge to under-voltage condition.
7, power-off protection of solid state disk device according to claim 6 is characterized in that, described first record cell comprises:
First obtains subelement, is used to obtain the starting potential status information of described first super-capacitor module;
Judgment sub-unit is used for according to described starting potential status information, judges whether described first super-capacitor module is in overvoltage condition;
First handles subelement, be used for when described first judgment sub-unit is judged described first super-capacitor module and is not in overvoltage condition, sending the first super-capacitor module charge information to charge-discharge circuit is described first super-capacitor module charging to connect the first super-capacitor module charge circuit;
Second obtains subelement, is used to obtain the charging voltage status information of described first super-capacitor module;
The first detection record subelement, be used for detecting described first super-capacitor module in real time according to described charging voltage status information, when described first super-capacitor module is in overvoltage condition, then send first super-capacitor module charging disconnection information to charge-discharge circuit disconnecting the described first super-capacitor module charge circuit, and to write down the moment that the described first super-capacitor module charge circuit disconnects be the initial moment of self-discharge.
8, power-off protection of solid state disk device according to claim 6 is characterized in that, described second record cell comprises:
The 3rd obtains subelement, is used to obtain described first super-capacitor module begins self-discharge from the initial moment of described self-discharge self-discharge voltage status information;
The second detection record subelement is used for detecting described first super-capacitor module in real time and whether being in under-voltage condition according to described self-discharge voltage status information, if then be recorded as self-discharge and stop constantly.
9, a kind of power-off protection of solid state disk system is characterized in that, comprising:
The power down protection power supply comprises two super-capacitor module, is used for storage and discharges electric energy, and send starting potential information, charging voltage information or self-discharge information of voltage;
Voltage comparator is used for according to described starting potential information output starting potential status information; According to described charging voltage information output charging voltage status information; According to described self-discharge information of voltage output self-discharge voltage status information;
Controller is used for obtaining the self-discharge time of a super-capacitor module in described two super-capacitor module according to described starting potential status information, charging voltage status information and self-discharge voltage status information; When described self-discharge time during less than preset value, send another super-capacitor module discharge information to charge-discharge circuit to connect another super-capacitor module discharge loop, be the solid state hard disc power supply by another super-capacitor module;
Charge-discharge circuit is used to receive the discharge information of described super-capacitor module, to connect described super-capacitor module discharge loop.
CN2009100911742A 2009-08-11 2009-08-11 Method, device and system for power-off protection of solid state disk Active CN101625665B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100911742A CN101625665B (en) 2009-08-11 2009-08-11 Method, device and system for power-off protection of solid state disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100911742A CN101625665B (en) 2009-08-11 2009-08-11 Method, device and system for power-off protection of solid state disk

Publications (2)

Publication Number Publication Date
CN101625665A true CN101625665A (en) 2010-01-13
CN101625665B CN101625665B (en) 2011-01-05

Family

ID=41521516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100911742A Active CN101625665B (en) 2009-08-11 2009-08-11 Method, device and system for power-off protection of solid state disk

Country Status (1)

Country Link
CN (1) CN101625665B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866962A (en) * 2012-08-23 2013-01-09 记忆科技(深圳)有限公司 Method for preventing data loss and solid state disk
CN103019363A (en) * 2012-12-24 2013-04-03 华为技术有限公司 Power supply device, storage system and power supply method
CN103050142A (en) * 2011-10-13 2013-04-17 鸿富锦精密工业(深圳)有限公司 Solid state hard disc power supply system
CN103077735A (en) * 2011-10-25 2013-05-01 鸿富锦精密工业(深圳)有限公司 Power supply protection circuit for hard disk
CN105279109A (en) * 2014-11-25 2016-01-27 天津市英贝特航天科技有限公司 Solid state disk power down protection circuit and power down protection method
CN105608026A (en) * 2015-12-18 2016-05-25 山东海量信息技术研究院 Design method of improved PCIE (Peripheral Component Interface Express) switch management module data storage
CN107731260A (en) * 2017-11-08 2018-02-23 郑州云海信息技术有限公司 A kind of SSD method of supplying power to, system and SSD
CN107797946A (en) * 2016-09-06 2018-03-13 中车株洲电力机车研究所有限公司 A kind of onboard storage
CN108226590A (en) * 2017-12-27 2018-06-29 深圳市科陆电子科技股份有限公司 A kind of method and system for settling accounts electric energy meter power failure data
CN108389596A (en) * 2018-05-22 2018-08-10 北京紫光得瑞科技有限公司 A kind of power-down protection circuit, method and the solid state disk of NAND Flash chips
CN108710583A (en) * 2018-05-28 2018-10-26 深圳忆联信息系统有限公司 Management method, device, computer equipment and the medium in SSD write buffers area
CN109739677A (en) * 2019-01-07 2019-05-10 东莞记忆存储科技有限公司 A kind of system based on NVME protocol test power-off protection
CN110795263A (en) * 2019-10-12 2020-02-14 苏州浪潮智能科技有限公司 Hard disk link protection method and related device
CN113991827A (en) * 2021-10-14 2022-01-28 苏州浪潮智能科技有限公司 SSD power-down protection method, device and system and electronic equipment

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103050142A (en) * 2011-10-13 2013-04-17 鸿富锦精密工业(深圳)有限公司 Solid state hard disc power supply system
CN103050142B (en) * 2011-10-13 2016-04-27 赛恩倍吉科技顾问(深圳)有限公司 Solid state hard disc electric power system
CN103077735A (en) * 2011-10-25 2013-05-01 鸿富锦精密工业(深圳)有限公司 Power supply protection circuit for hard disk
CN102866962B (en) * 2012-08-23 2016-04-27 记忆科技(深圳)有限公司 Prevent method and the solid state hard disc thereof of loss of data
CN102866962A (en) * 2012-08-23 2013-01-09 记忆科技(深圳)有限公司 Method for preventing data loss and solid state disk
CN103019363A (en) * 2012-12-24 2013-04-03 华为技术有限公司 Power supply device, storage system and power supply method
CN105279109A (en) * 2014-11-25 2016-01-27 天津市英贝特航天科技有限公司 Solid state disk power down protection circuit and power down protection method
CN105608026A (en) * 2015-12-18 2016-05-25 山东海量信息技术研究院 Design method of improved PCIE (Peripheral Component Interface Express) switch management module data storage
CN107797946A (en) * 2016-09-06 2018-03-13 中车株洲电力机车研究所有限公司 A kind of onboard storage
CN107731260B (en) * 2017-11-08 2020-11-20 苏州浪潮智能科技有限公司 SSD power supply method and system and SSD
CN107731260A (en) * 2017-11-08 2018-02-23 郑州云海信息技术有限公司 A kind of SSD method of supplying power to, system and SSD
CN108226590A (en) * 2017-12-27 2018-06-29 深圳市科陆电子科技股份有限公司 A kind of method and system for settling accounts electric energy meter power failure data
CN108226590B (en) * 2017-12-27 2021-06-01 深圳市科陆电子科技股份有限公司 Method and system for settling power-down data of electric energy meter
CN108389596A (en) * 2018-05-22 2018-08-10 北京紫光得瑞科技有限公司 A kind of power-down protection circuit, method and the solid state disk of NAND Flash chips
CN108389596B (en) * 2018-05-22 2023-12-22 北京得瑞领新科技有限公司 Power-down protection circuit and method of NAND Flash chip and solid state disk
CN108710583A (en) * 2018-05-28 2018-10-26 深圳忆联信息系统有限公司 Management method, device, computer equipment and the medium in SSD write buffers area
CN109739677A (en) * 2019-01-07 2019-05-10 东莞记忆存储科技有限公司 A kind of system based on NVME protocol test power-off protection
CN109739677B (en) * 2019-01-07 2023-02-10 东莞记忆存储科技有限公司 System for testing power-off protection based on NVME protocol
CN110795263A (en) * 2019-10-12 2020-02-14 苏州浪潮智能科技有限公司 Hard disk link protection method and related device
CN110795263B (en) * 2019-10-12 2023-11-03 苏州浪潮智能科技有限公司 Hard disk link protection method and related device
CN113991827A (en) * 2021-10-14 2022-01-28 苏州浪潮智能科技有限公司 SSD power-down protection method, device and system and electronic equipment
CN113991827B (en) * 2021-10-14 2023-08-08 苏州浪潮智能科技有限公司 SSD power-down protection method, device, system and electronic equipment

Also Published As

Publication number Publication date
CN101625665B (en) 2011-01-05

Similar Documents

Publication Publication Date Title
CN101625665B (en) Method, device and system for power-off protection of solid state disk
CN101630293B (en) Data protection method, power-fail protection device and storage device
CN102156679B (en) PCIE interface-based solid state disk power-down protection method and device
CN102004707A (en) Power-fail protection method and device for solid state disk
CN101826060A (en) Method and device for protecting power failure data of solid state disk
CN202013570U (en) Power down protecting device for solid state disk based on PCIE (Peripheral Component Interface Express) interface
CN102315492A (en) Power battery pack maintenance device and working method thereof
CN103403643B (en) Management of charging and discharging device and mobile terminal
CN201036001Y (en) Magnetic disk array device
CN101853970A (en) Method and device for charging through universal serial bus (USB) interface
CN202142913U (en) Energy storage patrolling control system of super capacitor sets
CN207623964U (en) A kind of end-to-end data protection system of massive store based on power down protection
CN103457321B (en) Vehicle equipment power-off time delay protection device based on super capacitor
CN106328179A (en) Power supply circuit and power supply method
CN206178785U (en) Power -down protection device
CN205388998U (en) Nickel -hydrogen battery management system
CN106200848A (en) Switching Module, Related Server Device And Power Switching Method
EP3719951B1 (en) Charging method, terminal and computer storage medium
CN109888871A (en) A kind of how battery balanced power supply unit, method of supplying power to, electric locking and vehicle
CN103872397B (en) The method and electronic equipment of a kind of charging
CN103050142B (en) Solid state hard disc electric power system
CN202333936U (en) Environmental power adapter using super capacitor
CN109378891A (en) Charging/discharging thereof, mobile power source and computer storage medium
CN109032319A (en) A kind of backup power supply system and storage system storing equipment
CN101504865B (en) Data processing method for storage system and storage apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20220907

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

TR01 Transfer of patent right