CN110456898A - A kind of computer circuit breaking protection system and method - Google Patents

A kind of computer circuit breaking protection system and method Download PDF

Info

Publication number
CN110456898A
CN110456898A CN201910764036.XA CN201910764036A CN110456898A CN 110456898 A CN110456898 A CN 110456898A CN 201910764036 A CN201910764036 A CN 201910764036A CN 110456898 A CN110456898 A CN 110456898A
Authority
CN
China
Prior art keywords
module
data
computer
power supply
storage capacitor
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
CN201910764036.XA
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.)
Heze University
Original Assignee
Heze University
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 Heze University filed Critical Heze University
Priority to CN201910764036.XA priority Critical patent/CN110456898A/en
Publication of CN110456898A publication Critical patent/CN110456898A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection

Abstract

The invention discloses a kind of computer circuit breakings to protect system, is related to field of computer technology comprising and log generation module I is communicated with data protection control module, when occurring for being recorded in power-off, hard disc module all data informations to be read and write;Log generation module II is communicated with data protection control module, under the supply of the electric energy of storage capacitor, recording the read-write record of all data informations to be read and write;Data protection control module controls the reading writing working of hard disc module until hard disc magnetic head resets, and executes power-down procedure;The beneficial effects of the present invention are: when computer powers off, it continues to keep power supply by storage capacitor, and after computer normal boot-strap, the result of log generation module I and log generation module II are sent to computer processor, so that user knows which reading and writing data is completed after power is turned off, and which data is not written and read or terminates, and understands convenient for user.

Description

A kind of computer circuit breaking protection system and method
Technical field
The present invention relates to field of computer technology, specifically a kind of computer circuit breaking protects system and method.
Background technique
The emergence and development of computer be 20th century it is most important science and technology achievement one of, computer has penetrated into its people The every field of economy and society greatly changes people's lives mode and working method, and becomes and push social development Huge production power also occur as laptop, the Novel electrics such as integrated computer while with the development of modern technologies Brain.But desktop computer is mostly using household electrical source as main power supply mode now, this there is a problem: when burst stops Desktop computer will stop working when electric, and there are some capsule information in hard disk often therefore to lose for we;Simultaneously Power-off can make the read-write head of hard disk fiercely rub with disc suddenly, cause hard disk corruptions, cause immeasurable loss.
Based on this, present applicant proposes a kind of computer circuit breakings to protect system and method.
Summary of the invention
The purpose of the present invention is to provide a kind of computer circuit breakings to protect system and method, to solve in above-mentioned background technique The problem of proposition.
To achieve the above object, the invention provides the following technical scheme:
A kind of computer circuit breaking protection system, comprising:
Log generation module I is communicated with data protection control module, and when occurring for being recorded in power-off, hard disc module waits reading and writing All data informations;
Log generation module II is communicated with data protection control module, under the supply of the electric energy of storage capacitor, record to continue The read-write for all data informations write records;
Data protection control module controls the reading writing working of hard disc module up to hard disc magnetic head reset, and executes power-down procedure, In After computer normal boot-strap, the result of log generation module I and log generation module II are sent to computer processor;
Storage capacitor, for being powered for above-mentioned module in computer circuit breaking.
As further scheme of the invention: further including the power supply switch circuit controlled by energy supply control module, data Control module is protected to be electrically connected by power supply switch circuit and storage capacitor and ATX power supply.
As further scheme of the invention: the energy supply control module is also communicated with detection module, in outside Power cut-off and signal is sent to energy supply control module when restoring electricity, so that energy supply control module passes through power supply according to the signal Switching circuit selection is powered using storage capacitor or ATX power supply.
As further scheme of the invention: the storage capacitor is connect by capacitor charging circuit with ATX power supply.
As the present invention further scheme: the hard disc module includes general data hard disk and permissions data hard disk, After power-off, preferentially the reading writing working of permissions data data in hard disk is saved.
A kind of computer circuit breaking guard method, comprising the following steps:
S1, after external power supply power-off, detection module, which detects, issues information to energy supply control module after voltage change signal, Storage capacitor is powered by power supply switch circuit;
S2 controls the reading writing working of hard disc module until hard disc magnetic head resets, and executes disconnected under the continued power of storage capacitor Electric journey;Meanwhile log generation module I by power off occur when hard disc module all data informations to be read and write write as log, day Will generation module II writes the read-write record of all data informations to be read and write after power-off at log;
S3, after computer booting, control hard disc module is by the result of log generation module I and log generation module II to calculating Machine processor is sent.
As further scheme of the invention: when computer is powered by ATX power supply, storage capacitor is without supplying Electric operation, and be storage capacitor power supply by ATX power supply and capacitor charging circuit.
Compared with prior art, the beneficial effects of the present invention are: when computer powers off, by storage capacitor after Power supply is held in continuation of insurance, and after computer normal boot-strap, by the result of log generation module I and log generation module II to computer Processor is sent so that user knows which reading and writing data is completed after power is turned off, and which data is not written and read or Person terminates, and understands convenient for user, in addition, the technical program is effectively protected also by the weight of the preservation operation setting to data Significant data has been demonstrate,proved not to be lost.
Detailed description of the invention
Fig. 1 is the control principle drawing that a kind of computer circuit breaking protects system.
Fig. 2 is a kind of work flow diagram of storage capacitor in computer circuit breaking protection system.
Fig. 3 is a kind of flow chart of computer circuit breaking guard method.
In figure: 100- data protection control module, 200- energy supply control module, 300- log generation module I, 400- log Generation module II, 500- hard disc module, 501- general data hard disk, 502- permissions data hard disk, 600- power supply switch circuit, 700- detection module, 800- storage capacitor, 801- capacitor charging circuit, 900-ATX power supply.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects disclosed in the present embodiment are consistent.
Embodiment 1
Please refer to Fig. 1~2, in the embodiment of the present invention, a kind of computer circuit breaking protects system, including data protection control module 100, log generation module I300, log generation module II400, hard disc module 500 and storage capacitor 800;
In the present embodiment, the log generation module I300 is communicated with data protection control module 100, disconnected for being recorded in When electricity occurs, all data informations to be read and write of hard disc module 500;
The log generation module II400 is communicated with data protection control module 100, for the electric energy confession in storage capacitor 800 Should under, record all data informations to be read and write read-write record;
The data protection control module 100 controls the reading writing working of hard disc module 500 until hard disc magnetic head resets, and executes Power-down procedure, after computer normal boot-strap, by the result of log generation module I300 and log generation module II400 to calculating Machine processor is sent, so that user knows which reading and writing data is completed after power is turned off, and which data is not written and read Or terminate, understand convenient for user, is also convenient for the read-write of its later period progress again;
The storage capacitor 800, for being powered for above-mentioned module in computer circuit breaking;
Specifically, the present embodiment further includes the power supply switch circuit 600 controlled by energy supply control module 200, data protection Control module 100 is electrically connected by power supply switch circuit 600 and storage capacitor 800 and ATX power supply 900, when it is by power supply After the instruction of control module 200, the supply that electric energy is carried out by storage capacitor 800 can be switched to, and when commercial power supply restores, The supply that electric energy is carried out by ATX power supply 900 can be switched to again.
For more specifically, the energy supply control module 200 is also communicated with detection module 700, for disconnected in external power supply Electricity and signal is sent to energy supply control module 200 when restoring electricity, energy supply control module 200 is enabled to pass through electricity according to the signal The selection of source switching circuit 600 is powered using storage capacitor 800 or ATX power supply 900.Preferably, in order to guarantee energy storage Capacitor 800 has sufficient electric energy supply, and the storage capacitor 800 is connect by capacitor charging circuit 801 with ATX power supply 900, When storage capacitor 800 is no longer powered, i.e., when mains-supplied is recovered, by capacitor charging circuit 801 by storage capacitor 800 are full of, to guarantee the normal operation of next storage capacitor 800.
And when practical application, 500 data of hard disc module are also to have different importance, and important data should carry out emphasis It saves, is based on this, the hard disc module 500 is carried out subregion by the present embodiment, is divided into general data hard disk 501 and permissions data is hard Disk 502, data are stored in general data hard disk 501 and permissions data hard disk 502 according to importance selection, and after powering off, then Preferentially the reading writing working of data in permissions data hard disk 502 can be saved.
Embodiment 2
Referring to Fig. 3, in the embodiment of the present invention, a kind of computer circuit breaking guard method, comprising the following steps:
S1, after external power supply power-off, detection module, which detects, issues information to energy supply control module after voltage change signal, Storage capacitor is powered by power supply switch circuit;
S2 controls the reading writing working of hard disc module 500 until hard disc magnetic head resets, and holds under the continued power of storage capacitor Row power-off journey, meanwhile, log generation module I300 by power off occur when all data informations to be read and write of hard disc module 500 write At log, the read-write record of all data informations log generation module II400 to be read and write after powering off this part was write into day Will;
S3 controls hard disc module 500 for log generation module I300's and log generation module II400 after computer booting As a result it is sent to computer processor, so that user knows which reading and writing data is completed after power is turned off, and which data It is not written and read or terminates, understand convenient for user, be also convenient for the read-write of its later period progress again.
In addition, storage capacitor 800 passes through without homework of supplying power when computer is powered by ATX power supply 900 ATX power supply 900 and capacitor charging circuit 801 are the power supply of storage capacitor 800, i.e., when mains-supplied is recovered, pass through capacitor Storage capacitor 800 is full of by charging circuit 801, to guarantee the normal operation of next storage capacitor 800.
It should be strongly noted that in the technical program, when computer powers off, by storage capacitor 800 after Power supply is held in continuation of insurance, and after computer normal boot-strap, by the result of log generation module I and log generation module II to computer Processor is sent so that user knows which reading and writing data is completed after power is turned off, and which data is not written and read or Person terminates, and understands convenient for user, in addition, the technical program is effectively protected also by the weight of the preservation operation setting to data Significant data has been demonstrate,proved not to be lost.
Those skilled in the art will readily occur to other realities of the disclosure after considering the disclosure at specification and embodiment Apply scheme.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or suitable The variation of answering property follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or used Use technological means.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are referred to by claim Out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (7)

1. a kind of computer circuit breaking protects system characterized by comprising
Log generation module I(300), it is communicated with data protection control module (100), when occurring for being recorded in power-off, hard disk Module (500) all data informations to be read and write;
Log generation module II(400), it is communicated with data protection control module (100), for the electric energy in storage capacitor (800) Under supply, the read-write record of all data informations to be read and write is recorded;
Data protection control module (100) controls the reading writing working of hard disc module (500) until hard disc magnetic head resets, and executes Power-down procedure, after computer normal boot-strap, by the result of log generation module I(300) and log generation module II(400) to Computer processor is sent;
Storage capacitor (800), for being powered for above-mentioned module in computer circuit breaking.
2. a kind of computer circuit breaking according to claim 1 protects system, which is characterized in that further include being controlled mould by power supply The power supply switch circuit (600) of block (200) control, data protection control module (100) pass through power supply switch circuit (600) and storage It can capacitor (800) and ATX power supply (900) electric connection.
3. a kind of computer circuit breaking according to claim 2 protects system, which is characterized in that the energy supply control module (200) also communicated with detection module (700), for external power cut-off and when restoring electricity to energy supply control module (200) Signal is sent, so that energy supply control module (200) uses storage capacitor by power supply switch circuit (600) selection according to the signal (800) or ATX power supply (900) is powered.
4. a kind of computer circuit breaking according to claim 3 protects system, which is characterized in that the storage capacitor (800) It is connect by capacitor charging circuit (801) with ATX power supply (900).
5. a kind of computer circuit breaking according to claim 1 or 2 or 3 or 4 protects system, which is characterized in that the hard disk Module (500) includes general data hard disk (501) and permissions data hard disk (502), after power-off, preferentially to permissions data hard disk (502) reading writing working of data is saved in.
6. a kind of computer circuit breaking guard method, which comprises the following steps:
S1, after external power supply power-off, detection module, which detects, issues information to energy supply control module after voltage change signal, Storage capacitor is powered by power supply switch circuit;
S2 controls the reading writing working of hard disc module until hard disc magnetic head resets, and executes disconnected under the continued power of storage capacitor Electric journey;Meanwhile log generation module I by power off occur when hard disc module all data informations to be read and write write as log, day Will generation module II writes the read-write record of all data informations to be read and write after power-off at log;
S3, after computer booting, control hard disc module is by the result of log generation module I and log generation module II to calculating Machine processor is sent.
7. a kind of computer circuit breaking guard method according to claim 6, which is characterized in that when computer is by ATX power supply When being powered, storage capacitor is storage capacitor power supply without homework of supplying power, and by ATX power supply and capacitor charging circuit.
CN201910764036.XA 2019-08-19 2019-08-19 A kind of computer circuit breaking protection system and method Pending CN110456898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910764036.XA CN110456898A (en) 2019-08-19 2019-08-19 A kind of computer circuit breaking protection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910764036.XA CN110456898A (en) 2019-08-19 2019-08-19 A kind of computer circuit breaking protection system and method

Publications (1)

Publication Number Publication Date
CN110456898A true CN110456898A (en) 2019-11-15

Family

ID=68487462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910764036.XA Pending CN110456898A (en) 2019-08-19 2019-08-19 A kind of computer circuit breaking protection system and method

Country Status (1)

Country Link
CN (1) CN110456898A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994022084A1 (en) * 1993-03-23 1994-09-29 Siemens Nixdorf Informationssysteme Ag Mains failure back-up
US20040243826A1 (en) * 2003-06-02 2004-12-02 Ding-Liang Wang Computer data protection control device
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
CN101625873A (en) * 2008-07-10 2010-01-13 光宝科技股份有限公司 Hard disk device having power-off protection function
CN106776381A (en) * 2016-12-23 2017-05-31 郑州云海信息技术有限公司 A kind of storage system power-off protection method and system
CN108182154A (en) * 2017-12-22 2018-06-19 深圳大普微电子科技有限公司 A kind of reading/writing method and solid state disk of the journal file based on solid state disk

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994022084A1 (en) * 1993-03-23 1994-09-29 Siemens Nixdorf Informationssysteme Ag Mains failure back-up
US20040243826A1 (en) * 2003-06-02 2004-12-02 Ding-Liang Wang Computer data protection control device
CN101183801A (en) * 2007-12-07 2008-05-21 杭州华三通信技术有限公司 Power-off protection method, system and device
CN101625873A (en) * 2008-07-10 2010-01-13 光宝科技股份有限公司 Hard disk device having power-off protection function
CN106776381A (en) * 2016-12-23 2017-05-31 郑州云海信息技术有限公司 A kind of storage system power-off protection method and system
CN108182154A (en) * 2017-12-22 2018-06-19 深圳大普微电子科技有限公司 A kind of reading/writing method and solid state disk of the journal file based on solid state disk

Similar Documents

Publication Publication Date Title
US8327171B2 (en) Method and apparatus for facilitating device hibernation
CN101183801B (en) Power-off protection method, system and device
JPS63100555A (en) Information recording and reproducing device
US9032235B2 (en) Semiconductor storage device and method for controlling the semiconductor storage device
WO1995028702A1 (en) Handheld record and playback device with flash memory
EP0508441A3 (en)
TW200746061A (en) Information processing apparatus, information processing method, and computer program
CN101751306A (en) Data recovery device and recovery method for defective hard disk
US20060259795A1 (en) Portable computer and data backup method thereof
CN102136274B (en) Mobile hard disk with two storage media
CN103295638A (en) Portable electronic storage medium data wiping device and data wiping method based on same
US20100191944A1 (en) Data storage apparatus
CN105320243A (en) Storage device and data processing method
CN110456898A (en) A kind of computer circuit breaking protection system and method
CN100489798C (en) Portable computer, and data back up method
CN201063240Y (en) Mobile hard disk with read-write protection switch
CN110825497A (en) Virtual machine startup and shutdown method, device, equipment and medium
JPH11249966A (en) Information storage device
CN104809037B (en) Quick start method and device of the eMMC based on special page
CN201402458Y (en) Data recovery equipment of defect hard disk
CN106557385A (en) Data snapshot method and storage device
CN203520387U (en) Computer hardware powering-off data protection module
CN212112530U (en) Wide-temperature-range high-capacity recording card
JP2012104170A (en) Hard disk device
CN107796982A (en) A kind of method of the PSU voltages of monitoring in real time

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191115