CN102043735B - External storage equipment and power fail safeguard method thereof - Google Patents

External storage equipment and power fail safeguard method thereof Download PDF

Info

Publication number
CN102043735B
CN102043735B CN200910110661.9A CN200910110661A CN102043735B CN 102043735 B CN102043735 B CN 102043735B CN 200910110661 A CN200910110661 A CN 200910110661A CN 102043735 B CN102043735 B CN 102043735B
Authority
CN
China
Prior art keywords
main equipment
power supply
positive
external storage
described main
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.)
Expired - Fee Related
Application number
CN200910110661.9A
Other languages
Chinese (zh)
Other versions
CN102043735A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN200910110661.9A priority Critical patent/CN102043735B/en
Publication of CN102043735A publication Critical patent/CN102043735A/en
Application granted granted Critical
Publication of CN102043735B publication Critical patent/CN102043735B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention is suitable for the technical field of storage equipment and provides external storage equipment and a power fail safeguard method thereof. The external storage equipment comprises a main equipment power supply monitoring unit, a control unit and a data processing unit, wherein the main equipment power monitoring unit is used for monitoring the output of a main equipment power supply, and sending a control signal to the control unit when monitoring that the output of the main equipment power supply is abnormal; the control unit is used for judging the abnormal output of the main equipment power supply according to the received control signal and sending a control command to control the data processing unit to stop data read and write operations; and the data processing unit is used for stopping the data read and write operations according to the control of the control unit. The technical scheme provided by the invention can realize data protection of the external storage equipment, avoid damaging data due to power fail, and prolong the service life of the external storage equipment.

Description

External storage equipment and power-off protection method thereof
Technical field
The invention belongs to memory device technical field, relate in particular to a kind of external storage equipment and power-off protection method thereof.
Background technology
Popularizing of the external storage equipments (being referred to as below external storage equipment) such as USB flash disk, SD card, portable hard drive is more and more wider, and user is more and more frequent to the use operation of the said equipment.External storage equipment is powered to external storage equipment by main equipment after being connected with the reading and writing data such as computer or televisor equipment (hereinafter to be referred as main equipment), but happening suddenly may appear in main equipment, the situation of power down, causes its power supply output abnormality.If when main equipment burst power down, external storage equipment is carrying out the operations such as reading and writing data, the destroyed possibility of data of storing in external storage equipment so will increase greatly, and the serious external storage equipment that even causes damages.
Therefore; need a kind of technical scheme; while making the power supply output burst power down of the main equipment being connected with external storage equipment; external storage equipment can be affected by power down at moment to the external storage equipment of the power supply burst power down of main equipment between the out-of-work moment, automatically to stop data read-write operation; be not destroyed with the data in protection external storage equipment, increase the life-span of external storage equipment.
Summary of the invention
The object of the present invention is to provide a kind of external storage equipment and power-off protection method thereof, while being intended to solve the main equipment burst power down being connected with external storage equipment, the data protection problem of external storage equipment.
The present invention is achieved in that a kind of external storage equipment, and described external storage equipment comprises main equipment power supply monitoring unit, control module and data processing unit; Wherein:
Described main equipment power supply monitoring unit is used for monitoring the output of main equipment power supply, in the time monitoring described main equipment power supply output abnormality, sends control signals to described control module;
Described control module is used for judging described main equipment power supply output abnormality according to received control signal, and data processing unit stops data read-write operation described in sending controling instruction control;
Described data processing unit is used for stopping data read-write operation according to the control of described control module; Control module control data processing unit stops the needed time of data read-write operation and is less than main equipment power supply burst power down to time that external storage equipment operational failure experiences;
Described main equipment power supply monitoring unit comprises diode VD1, diode VD2, resistance (R), positive-negative-positive triode (Q1) and electric capacity (C1); Wherein, the negative pole of the positive pole of described diode VD1, diode VD2 is connected with one end of resistance (R), and its tie point is connected with the power supply output of described main equipment; The other end of described resistance (R), the B utmost point of positive-negative-positive triode (Q1) are connected with the positive pole of described diode VD2; The E utmost point of the negative pole of described diode VD1, the positive pole of electric capacity (C1) and positive-negative-positive triode (Q1) links; The C utmost point of positive-negative-positive triode (Q1) connects described control module;
When the electric power output voltage of described main equipment is in the time that described main equipment power supply monitoring unit starts to control between voltage and the normal output voltage of main equipment, described positive-negative-positive triode (Q1) by, described main equipment power supply monitoring unit is used for to described control module output LOW voltage control signal; In the time that the electric power output voltage of described main equipment reduces and is less than described main equipment power supply monitoring unit and starts to control voltage V1, described positive-negative-positive triode (Q1) conducting, described main equipment power supply monitoring unit is used for to described control module output HIGH voltage control signal.
More specifically, described main equipment is the reading and writing data equipment being connected with described external storage equipment.
More specifically, described main equipment power supply monitoring unit is used for monitoring the output of main equipment power supply, when described main equipment electric power output voltage be reduced to described main equipment power supply monitoring unit start to control under voltage time, described main equipment power supply monitoring unit sends control signals to described control module.
The present invention also provides a kind of external storage equipment power-off protection method, and described method comprises:
The main equipment power supply output that a, monitoring are connected with external storage equipment;
B, in the time of described and main equipment power supply output abnormality, control described external storage equipment and stop data read-write operation; Control module control data processing unit stops the needed time of data read-write operation and is less than main equipment power supply burst power down to time that external storage equipment operational failure experiences;
Wherein step a specifically comprises:
A1, monitor by main equipment power supply monitoring unit the main equipment power supply that is connected with described external storage equipment and export;
Described main equipment power supply monitoring unit comprises diode VD1, diode VD2, resistance (R), positive-negative-positive triode (Q1) and electric capacity (C1); Wherein, the negative pole of the positive pole of described diode VD1, diode VD2 is connected with one end of resistance (R), and its tie point is connected with the power supply output of described main equipment; The other end of described resistance (R), the B utmost point of positive-negative-positive triode (Q1) are connected with the positive pole of described diode VD2; The E utmost point of the negative pole of described diode VD1, the positive pole of electric capacity (C1) and positive-negative-positive triode (Q1) links; The C utmost point of positive-negative-positive triode (Q1) connects described control module;
Wherein step a1 specifically comprises:
When the electric power output voltage of described main equipment is in the time that described main equipment power supply monitoring unit starts to control between voltage and the normal output voltage of main equipment, described positive-negative-positive triode (Q1) by, described main equipment power supply monitoring unit is used for to described control module output LOW voltage control signal; In the time that the electric power output voltage of described main equipment reduces and is less than described main equipment power supply monitoring unit and starts to control voltage V1, described positive-negative-positive triode (Q1) conducting, described main equipment power supply monitoring unit is used for to described control module output HIGH voltage control signal.
Wherein step b specifically comprises:
B1, when described main equipment electric power output voltage lower than described main equipment power supply monitoring unit start to control voltage time, described main equipment power supply monitoring unit sends control signals to described control module;
B2, described control module judge described main equipment burst power down according to described control signal, send the steering order that stops data read-write operation to data processing unit, and described data processing unit is according to described steering order pavilion data read-write operation.
The present invention overcomes the deficiencies in the prior art, to main equipment power supply, output is monitored, in the time monitoring main equipment burst power down, moment to external storage equipment in the power supply burst power down of main equipment is affected between the passive out-of-work moment by power down, controls external storage equipment and stops data read-write operation.When main equipment burst power down that technical scheme provided by the invention can make to be connected with external storage equipment; external storage equipment can be subject to before power down affects the passive moment that quits work; automatically stop data read-write operation; thereby realize the data protection to external storage equipment; avoid its data because power down wrecks, extend the serviceable life of external storage equipment.
Brief description of the drawings
Fig. 1 is the system chart of the external storage equipment of the embodiment of the present invention;
Fig. 2 is the circuit diagram of the main equipment power supply monitoring unit of the external storage equipment of the embodiment of the present invention;
Fig. 3 is embodiment of the present invention external storage equipment working timing figure;
Fig. 4 is embodiment of the present invention process flow diagram.
Embodiment
Technical scheme provided by the invention is: to main equipment power supply, output is monitored, in the time monitoring main equipment burst power down, moment to external storage equipment in the power supply burst power down of main equipment is affected between the passive out-of-work moment by power down, controls external storage equipment and stops data read-write operation.
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The system chart of the external storage equipment of the embodiment of the present invention as shown in Figure 1, comprises main equipment power supply monitoring unit, control module and data processing unit.Wherein:
The input end of main equipment power supply monitoring unit connects the power supply output of main equipment, and output terminal connection control unit is used for monitoring main equipment power supply output situation, in the time monitoring main equipment power supply output abnormality (burst power down), sends control signals to control module;
Control module is connected with data processing unit, in the time receiving the control signal of main equipment power supply monitoring unit transmission, judges main equipment power supply output abnormality according to this control signal, and main equipment burst power down, controls data processing unit and stop data read-write operation;
Data processing unit is used for stopping data read-write operation according to the control of control module.
The circuit diagram of main equipment power supply monitoring unit as shown in Figure 2, comprises diode VD1, diode VD2, resistance R, positive-negative-positive triode Q1 and capacitor C 1.Wherein, the negative pole of the positive pole of diode VD1, diode VD2 and resistance R one end link, and node is connected with the power supply output A of main equipment; The positive pole of the other end of resistance R, the B utmost point of triode Q1 and diode VD2 links; The negative pole of diode VD1, the capacitor C 1 E utmost point anodal and triode Q1 link, and node represents with B, the C utmost point (C point) connection control unit of triode Q1.The principle of work of main equipment power supply monitoring unit is: as the electric power output voltage V of main equipment abe A point voltage (wherein V1=V0-Vvd1-Veb in the time that main equipment power supply monitoring unit starts to control between voltage V1 and normal output voltage V 0, Vvd1 represents the forward conduction voltage of diode VD1, Veb represents the E-B forward conduction voltage of triode Q1), now B point voltage VB=VA-Vvd1, the B utmost point of triode Q1 by resistance R pincers in VA, not conducting of triode Q1, C point voltage is low-voltage.When accident power-off causes the electric power output voltage V of main equipment abe A point voltage when reducing and being less than main equipment power supply monitoring unit and starting to control voltage V1, diode VD1 oppositely ends, now V b-V a> Veb, triode Q1 conducting, C point voltage is high voltage.
The output (C level point) of main equipment power supply monitoring unit is transferred to control module, when control module receives the high level of main equipment power supply monitoring unit output, control module is judged main equipment power supply burst power down, sends the steering order that stops data manipulation immediately to data processing unit.Data processing unit is received and is stopped after data manipulation steering order, and data processing unit internal operation program is out of service immediately.
When specific implementation technical scheme provided by the invention, main equipment power supply monitoring unit monitors main equipment power supply output abnormality, send control signals to control module, control module control data processing unit stops the needed time of data read-write operation and is less than main equipment power supply burst power down to time that external storage equipment operational failure experiences, that is to say, power supply burst power down to the external storage equipment of main equipment is subject within power down affects the passive out-of-work time period, need to complete down Monitor Unit and stop a series of work such as data read-write operation.Embodiment of the present invention external storage equipment work schedule as shown in Figure 3, wherein:
V0 is the main equipment power supply output voltage of normally working;
V1 is that main equipment power supply monitoring unit starts to control voltage;
V2 is the minimum voltage that external storage equipment can normally be worked;
T1 is that main equipment power supply output is reduced to and starts to control the voltage V1 moment;
T2 is the moment that data processing unit stops data read-write operation;
T3 is the moment that external storage equipment operating voltage lost efficacy.
Therefore, the setting of the inner member setting of main equipment power supply monitoring unit and external storage equipment power supply mu balanced circuit will meet above-mentioned sequential requirement.
Embodiment of the present invention process flow diagram as shown in Figure 4, comprises the steps:
1, main equipment power supply monitoring unit monitoring main equipment power supply output;
2, main equipment burst power down, does its power supply output drop to main equipment power supply monitoring unit and starts to control under voltage V1? if so, go to step 3, otherwise go to step 1
3, main equipment power supply monitoring unit sends control signals to control module;
4, control module judges main equipment power down according to this control signal, sends the steering order that stops data read-write operation to data processing unit;
5, data processing unit stops data read-write operation.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (5)

1. an external storage equipment, is characterized in that, described external storage equipment comprises main equipment power supply monitoring unit, control module and data processing unit; Wherein:
Described main equipment power supply monitoring unit is used for monitoring the output of main equipment power supply, in the time monitoring described main equipment power supply output abnormality, sends control signals to described control module;
Described control module is used for judging described main equipment power supply output abnormality according to received control signal, and data processing unit stops data read-write operation described in sending controling instruction control;
Described data processing unit is used for stopping data read-write operation according to the control of described control module; Control module control data processing unit stops the needed time of data read-write operation and is less than main equipment power supply burst power down to time that external storage equipment operational failure experiences;
Described main equipment power supply monitoring unit comprises diode VD1, diode VD2, resistance (R), positive-negative-positive triode (Q1) and electric capacity (C1); Wherein, the negative pole of the positive pole of described diode VD1, diode VD2 is connected with one end of resistance (R), and its tie point is connected with the power supply output of described main equipment; The other end of described resistance (R), the B utmost point of positive-negative-positive triode (Q1) are connected with the positive pole of described diode VD2; The E utmost point of the negative pole of described diode VD1, the positive pole of electric capacity (C1) and positive-negative-positive triode (Q1) links; The C utmost point of positive-negative-positive triode (Q1) connects described control module;
When the electric power output voltage of described main equipment is in the time that described main equipment power supply monitoring unit starts to control between voltage and the normal output voltage of main equipment, described positive-negative-positive triode (Q1) by, described main equipment power supply monitoring unit is used for to described control module output LOW voltage control signal; In the time that the electric power output voltage of described main equipment reduces and is less than described main equipment power supply monitoring unit and starts to control voltage V1, described positive-negative-positive triode (Q1) conducting, described main equipment power supply monitoring unit is used for to described control module output HIGH voltage control signal.
2. external storage equipment according to claim 1, is characterized in that, described main equipment is the reading and writing data equipment being connected with described external storage equipment.
3. external storage equipment according to claim 1, it is characterized in that, described main equipment power supply monitoring unit is used for monitoring the output of main equipment power supply, when described main equipment electric power output voltage be reduced to described main equipment power supply monitoring unit start to control under voltage time, described main equipment power supply monitoring unit sends control signals to described control module.
4. an external storage equipment power-off protection method, described method comprises:
The main equipment power supply output that a, monitoring are connected with external storage equipment;
B, in the time of described main equipment power supply output abnormality, control described external storage equipment and stop data read-write operation; Control module control data processing unit stops the needed time of data read-write operation and is less than main equipment power supply burst power down to time that external storage equipment operational failure experiences;
Wherein step a specifically comprises:
A1, monitor by main equipment power supply monitoring unit the main equipment power supply that is connected with described external storage equipment and export;
Described main equipment power supply monitoring unit comprises diode VD1, diode VD2, resistance (R), positive-negative-positive triode (Q1) and electric capacity (C1); Wherein, the negative pole of the positive pole of described diode VD1, diode VD2 is connected with one end of resistance (R), and its tie point is connected with the power supply output of described main equipment; The other end of described resistance (R), the B utmost point of positive-negative-positive triode (Q1) are connected with the positive pole of described diode VD2; The E utmost point of the negative pole of described diode VD1, the positive pole of electric capacity (C1) and positive-negative-positive triode (Q1) links; The C utmost point of positive-negative-positive triode (Q1) connects described control module;
Wherein step a1 specifically comprises:
When the electric power output voltage of described main equipment is in the time that described main equipment power supply monitoring unit starts to control between voltage and the normal output voltage of main equipment, described positive-negative-positive triode (Q1) by, described main equipment power supply monitoring unit is used for to described control module output LOW voltage control signal; In the time that the electric power output voltage of described main equipment reduces and is less than described main equipment power supply monitoring unit and starts to control voltage V1, described positive-negative-positive triode (Q1) conducting, described main equipment power supply monitoring unit is used for to described control module output HIGH voltage control signal.
5. method according to claim 4, is characterized in that, wherein step b specifically comprises:
B1, when described main equipment electric power output voltage lower than described main equipment power supply monitoring unit start to control voltage time, described main equipment power supply monitoring unit sends control signals to described control module;
B2, described control module judge described main equipment burst power down according to described control signal, send the steering order that stops data read-write operation to data processing unit, and described data processing unit stops data read-write operation according to described steering order.
CN200910110661.9A 2009-10-16 2009-10-16 External storage equipment and power fail safeguard method thereof Expired - Fee Related CN102043735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910110661.9A CN102043735B (en) 2009-10-16 2009-10-16 External storage equipment and power fail safeguard method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910110661.9A CN102043735B (en) 2009-10-16 2009-10-16 External storage equipment and power fail safeguard method thereof

Publications (2)

Publication Number Publication Date
CN102043735A CN102043735A (en) 2011-05-04
CN102043735B true CN102043735B (en) 2014-07-09

Family

ID=43909886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910110661.9A Expired - Fee Related CN102043735B (en) 2009-10-16 2009-10-16 External storage equipment and power fail safeguard method thereof

Country Status (1)

Country Link
CN (1) CN102043735B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103745171A (en) * 2013-12-25 2014-04-23 惠州华阳通用电子有限公司 Method and system for realizing in-vehicle information entertainment system data security
CN104298938B (en) * 2014-10-10 2018-01-23 深圳雷柏科技股份有限公司 A kind of read-write protection method of data storage
US10379979B2 (en) 2017-05-31 2019-08-13 Western Digital Technologies, Inc. Power fail handling using stop commands

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
CN101446927A (en) * 2008-12-26 2009-06-03 祥硕科技股份有限公司 Flash memory system and control method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2251186Y (en) * 1996-05-16 1997-04-02 成修治 Power-down protection storage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
CN101446927A (en) * 2008-12-26 2009-06-03 祥硕科技股份有限公司 Flash memory system and control method thereof

Also Published As

Publication number Publication date
CN102043735A (en) 2011-05-04

Similar Documents

Publication Publication Date Title
CN102496907B (en) Set top box, power fail safeguard device and power fail data protection method
JP4450609B2 (en) Storage device
CN105807885B (en) Power failure protection method and device
JP6818603B2 (en) Memory system and memory system control method
CN101345076B (en) Electronic hard disk and electronic equipment
CN106444553B (en) Scattered acquisition driving system based on two-by-two-out-of-two architecture
CN108839565B (en) High-voltage control method and device for hybrid electric vehicle and electronic equipment
CN101651335B (en) Electronic equipment protection device and electronic equipment
CN101770404B (en) Watchdog circuit capable of keeping status and method for keeping restart status thereof
CN104412480A (en) In-car power supply apparatus
US20080191042A1 (en) Arrangement Provided with a Recording Device
CN203084546U (en) Fault diagnosis support system of motor control system of electric automobile
CN102043735B (en) External storage equipment and power fail safeguard method thereof
CN110781029A (en) Power-off protection method and system
CN101661435A (en) Data processing apparatus
US20160003915A1 (en) Battery monitor system
CN104331341A (en) FPGA (field programmable gate array)-based failure recovery method
KR102358340B1 (en) Charging method, terminal and computer storage medium
US8826056B2 (en) Circuit protection system and method
CN104461405B (en) Data emergency protection method and electronic equipment
CN204360322U (en) A kind of self-inspection computer system
CN107910034B (en) Power-down protection circuit of Flash memory
CN109450079B (en) Power supply method and device using super capacitor as backup power supply
CN116235063A (en) System parameter low-power consumption monitoring method
CN106412472A (en) Vehicle-mounted video recorder hard disk protection method and 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140709