CN1368683A - Fault-tolerant method by means of synchronous directory - Google Patents
Fault-tolerant method by means of synchronous directory Download PDFInfo
- Publication number
- CN1368683A CN1368683A CN 01103382 CN01103382A CN1368683A CN 1368683 A CN1368683 A CN 1368683A CN 01103382 CN01103382 CN 01103382 CN 01103382 A CN01103382 A CN 01103382A CN 1368683 A CN1368683 A CN 1368683A
- Authority
- CN
- China
- Prior art keywords
- fault
- utilizing
- document
- tolerant method
- synchronous
- 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
Links
Images
Abstract
The invention relates to a fault-tolerant method by use of synchronization directory that is built on a computer system for backup data to be stored. In the meantime, an intercepting module is resident on the memory of computer system in order to monitor all file operations carrier out by a user. Synchronous operating module backs up the said all file operations to be synchronization directory. Thus, if fault of hardware or software of computer system happens, the original file data can easily be recovered by using the back-up copy in the synchronization directory so as to prevent user from the problem of unable to recover file caused by undoing regular backing up files.
Description
The present invention relates to a kind of fault-tolerant method of computing machine, and particularly a kind of each file operation of monitoring the user, and the fault-tolerant method of backed up in synchronization in another catalogue.
In the present informationalized epoch; computer application has been goed deep among general masses' the life; nearly all company's row number, office of school or the individual common people; all be to utilize computing machine to come deal with data, transmission information, this means that also the storage mode of outstanding data changes present e-file into by paper in the past is written.Though with compared in the past, e-file is not only handled rapid convenience but also is not accounted for assorted spatial volume again, relatively, also is easy to because user's carelessness or careless, and causes the damage or the loss of file.Because each file all may comprise a large amount of and important data content, therefore once the situation that the file damage takes place or lose will be very big loss for the user.
For avoiding above-mentioned situation to take place, therefore present user is in content Hou of editing files that uses a computer, in most cases all need user oneself to carry out regular back-up job, otherwise in case the mistake of software or hardware aspect takes place, for example make program interrupt because of misoperation, perhaps file is destroyed by virus infections, will cause the damage or the loss of file data; If the user has the schedule backup file data, then wait until computer system reparation or stable Hou, the work that can utilize the file of backup to recover.
Though it is a simple working that schedule backup be it seems; but owing to need the own manual handle of user; therefore usually can be because of busy and forget or feel unimportant and ignored the work of backup; thus; when really needing Backup Data by the time; the version that usually can find its backup file is too old, makes the effect of back-up job make a discount greatly.
Supervise in this, purpose of the present invention make for design is a kind of computer system can be initiatively with each file operation of work user, and the method for dynamic backup file data.
According to purpose of the present invention, a kind of fault-tolerant method of synchronous directory of utilizing is provided, at first in computer system, set up a synchronous directory in advance for store backup data by the user, or dynamic foundation also can in implementation, make a resident blocking module in the storer of computer system simultaneously, to monitor the All Files operation that the user carries out at any time, utilize a synchronous operating module again, the file operation that makes file operation in this synchronous directory and user be carried out in system keeps synchronously, thus, in case the fault of hardware or software aspect takes place in computer system suddenly, all can utilize the file data that is backed up in the synchronous directory, and the file content that recovery has damaged or lost.
For realizing described purpose, the invention provides a kind of fault-tolerant method of synchronous directory of utilizing, it is a resident hook procedure in the storer of computer system, in order to monitor and to back up user's file operation at any time, this method comprises: tackle the clasp joint function (IFSMgr-InstallFileSystemHook) in this computer system, and insert an interception function, obtain the resource of this computer system with interruption; And,, in an assigned catalogue, carry out synchronously and the identical backup operation of this document operation according to the content of this document operation this document operation generation Hou.
For above-mentioned and other purposes of the present invention, characteristic and advantage can be become apparent, a preferred embodiment cited below particularly, and conjunction with figs. are described in detail below.
Fig. 1 illustrates functional module calcspar of the present invention;
Fig. 2 illustrates the process flow diagram of blocking module among the present invention;
Fig. 3 illustrates the process flow diagram of synchronous operation module among the present invention; And
Fig. 4 illustrates the process flow diagram that function among the present invention recovers module.
With reference to Fig. 1, be functional module calcspar of the present invention, the disclosed most preferred embodiment according to the present invention wherein includes a blocking module 101, one a synchronous operating module 102 and a function and recovers module 103.Wherein, blocking module 101 need reside in the storer of computing machine, with any file operation in the monitoring computer system at any time, the work that backups with the operation of response this document, simultaneously, the user can set up a synchronous directory earlier in advance in computer system, so that institute's backed up data and Data Dynamic in the data management processes can be left in this synchronous directory, or adopt the method for dynamically setting up in computer system also can.In the process of blocking module 101 monitorings, if intercept user's file operation, then insert a self-defining interception function and notify synchronous operation module 102, the result of backed up in synchronization user's current file operation is among aforesaid synchronous directory, Hou is called and is recovered module 103, self-defining interception function is removed, simultaneously the original state of recovery system function.
Technology contents as for above-mentioned blocking module 101, with reference to Fig. 2, clasp joint function (IFSMgr-InstallFileSystemHook) step 201 of intercepting system at first, inserting a self-defining interception function, step 202, and judge and whether intercept any file operation at present, step 203, if no, then this self-defining interception function is waited for and is called step 204; If intercept, then read the file name that is operated file, step 205, and resolve the content of this document title, step 206 judges whether it is the interior files of blocking module 101 ranges of definition, step 207? if its file name drops on outside the range of definition, then handle with systemic presupposition value (Default), step 208, that is according to the original operation execution of this document; If its file name within the range of definition, is then sent a notification signal to synchronous operation 102 modules, step 209 is carried out back-up processing to inform it.
And the execution content of synchronous operation module 102, with reference to Fig. 3, at first carry out the type analysis of above-mentioned file operation, step 301, and judge in regular turn whether current operation is the operation that writes file, step 302, if, then in the corresponding file of above-mentioned synchronous directory, carry out identical write operation, step 303; If not, judge then whether current operation is the operation of reading file, step 304 is if then carry out a blank operation, step 305 in the corresponding file of above-mentioned synchronous directory; If also be not read operation, judge then whether current operation is the operation of deleted file, step 306 is if then carry out the operation of deletion synchronously, step 307 in the corresponding file of above-mentioned synchronous directory; If not, then continue to judge current operation whether for renaming operation, step 308, if, then in the corresponding file of above-mentioned synchronous directory execution synchronously identical rename operation, step 309; If neither is above arbitrary operation, then judge whether to be other operations, step 310 is if then system handles with the systemic presupposition value current operation, step 311; If still be not other operations, then expression need not done any back-up processing, and the flow process of synchronous operation module 102 finishes so.
Hou is recovered the running content of module 103 about function, as shown in Figure 4, the operating process of this module can reduce two steps: at first, remove self-defined interception function, step 401, right Hou is recovered the clasp joint function of computer system, step 402, and then the flow process of function recovery module 103 just is through with.
The present invention to reach arbitrary file operation of monitoring the user at any time, utilizes a synchronous operating module by blocking module being resided in the storer of computer system again, dynamically this document operation is backed up in a synchronous catalogue; Thus, need the not control oneself work of the backup of execute file in person of user also avoids forgetting that schedule backup causes repairing damages or the problem of loss file simultaneously.
Though the present invention discloses as above with a preferred embodiment; right its is not in order to limit the present invention; any those skilled in the art; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention should be with being as the criterion that the claim scope is defined.
Claims (15)
1, a kind of fault-tolerant method of synchronous directory of utilizing is a resident hook procedure in the storer of computer system, and in order to monitor and to back up user's file operation at any time, this method comprises:
Tackle the clasp joint function in this computer system, and insert an interception function, obtain the resource of this computer system with interruption; And
In this document operation Hou being taken place, according to the content of this document operation, carries out in an assigned catalogue synchronously and the identical backup operation of this document operation.
2, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1, wherein this assigned catalogue is to be based upon in advance in this computer system.
3, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1, wherein this assigned catalogue is dynamically to result from this computer system.
4, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 wherein also includes the following step:
Read the file name of carrying out this document operation; And
Parsing and definite this document name are called the file of this hook procedure range of definition.
5, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 4 wherein if this document title is not the file for this hook procedure range of definition, is then handled with the systemic presupposition value.
6, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 wherein is to utilize a synchronous operation procedure, to carry out the step of carrying out this backup operation in this assigned catalogue.
7, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 6, wherein this hook procedure also sends a call signal and gives this synchronous operation program, carries out this backup operation in order to inform this synchronous operation program.
8, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1, wherein this document is operating as a write operation, a read operation, and a deletion action, renames operation or other operations.
9, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 8 when wherein this document is operating as this write operation, is then carried out this write operation in this assigned catalogue.
10, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 8 when wherein this document is operating as this read operation, is then carried out a blank operation in this assigned catalogue.
11, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 8 when wherein this document is operating as this deletion action, is then carried out this deletion action in this assigned catalogue.
12, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 8 when wherein this document is operating as this rename operation, is then carried out this and is renamed operation in this assigned catalogue.
13, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 8, wherein this document is operating as this other when operation, then handles with the systemic presupposition value in this assigned catalogue.
14, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 wherein if this document operation does not take place, then allows this interception function wait for and calls.
15, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 wherein also increases by one and removes this interception function and revert to the step of this clasp joint function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01103382 CN1197013C (en) | 2001-02-02 | 2001-02-02 | Fault-tolerant method by means of synchronous directory |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 01103382 CN1197013C (en) | 2001-02-02 | 2001-02-02 | Fault-tolerant method by means of synchronous directory |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1368683A true CN1368683A (en) | 2002-09-11 |
CN1197013C CN1197013C (en) | 2005-04-13 |
Family
ID=4653230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 01103382 Expired - Fee Related CN1197013C (en) | 2001-02-02 | 2001-02-02 | Fault-tolerant method by means of synchronous directory |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1197013C (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1299204C (en) * | 2004-09-14 | 2007-02-07 | 中国人民解放军上海警备区司令部指挥自动化工作站 | Monitoring operation system for data catastrophic failure-tolerant backup control system |
CN100367224C (en) * | 2004-04-28 | 2008-02-06 | 联想(新加坡)私人有限公司 | System and method for resynchronization of time after minimized backup of system and system failure |
WO2009137977A1 (en) * | 2008-05-13 | 2009-11-19 | 华为技术有限公司 | File synchronization method and device |
CN101681320B (en) * | 2007-06-05 | 2012-06-27 | 三星电子株式会社 | Synchronizing content between content directory service and control point |
CN101208665B (en) * | 2005-04-14 | 2012-12-12 | Emc公司 | Traversing data in a repeatable manner |
CN103810056A (en) * | 2012-11-06 | 2014-05-21 | 南京壹进制信息技术有限公司 | Method for obtaining consistent backup on Linux platform |
CN105653974A (en) * | 2015-12-23 | 2016-06-08 | 北京奇虎科技有限公司 | Document protection method and device |
CN108717509A (en) * | 2018-06-05 | 2018-10-30 | 厦门安胜网络科技有限公司 | A kind of method, apparatus, equipment and the readable medium of the extraction procedure derivative in sandbox |
CN110147334A (en) * | 2019-05-08 | 2019-08-20 | 北京百度网讯科技有限公司 | A kind of storage method and terminal of content of edit |
-
2001
- 2001-02-02 CN CN 01103382 patent/CN1197013C/en not_active Expired - Fee Related
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100367224C (en) * | 2004-04-28 | 2008-02-06 | 联想(新加坡)私人有限公司 | System and method for resynchronization of time after minimized backup of system and system failure |
CN1299204C (en) * | 2004-09-14 | 2007-02-07 | 中国人民解放军上海警备区司令部指挥自动化工作站 | Monitoring operation system for data catastrophic failure-tolerant backup control system |
CN101208665B (en) * | 2005-04-14 | 2012-12-12 | Emc公司 | Traversing data in a repeatable manner |
CN101681320B (en) * | 2007-06-05 | 2012-06-27 | 三星电子株式会社 | Synchronizing content between content directory service and control point |
WO2009137977A1 (en) * | 2008-05-13 | 2009-11-19 | 华为技术有限公司 | File synchronization method and device |
CN103810056A (en) * | 2012-11-06 | 2014-05-21 | 南京壹进制信息技术有限公司 | Method for obtaining consistent backup on Linux platform |
CN105653974A (en) * | 2015-12-23 | 2016-06-08 | 北京奇虎科技有限公司 | Document protection method and device |
CN105653974B (en) * | 2015-12-23 | 2019-07-23 | 北京奇虎科技有限公司 | A kind of document means of defence and device |
CN108717509A (en) * | 2018-06-05 | 2018-10-30 | 厦门安胜网络科技有限公司 | A kind of method, apparatus, equipment and the readable medium of the extraction procedure derivative in sandbox |
CN110147334A (en) * | 2019-05-08 | 2019-08-20 | 北京百度网讯科技有限公司 | A kind of storage method and terminal of content of edit |
CN110147334B (en) * | 2019-05-08 | 2021-10-08 | 北京百度网讯科技有限公司 | Storage method and terminal for edited content |
Also Published As
Publication number | Publication date |
---|---|
CN1197013C (en) | 2005-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5021929B2 (en) | Computer system, storage system, management computer, and backup management method | |
US7523149B1 (en) | System and method for continuous protection of working set data using a local independent staging device | |
CN101253484B (en) | Method for storing data from client and the client | |
JP5008991B2 (en) | Apparatus and method for controlling data recovery | |
US20010056438A1 (en) | Database system with backup and recovery mechanisms | |
US7979649B1 (en) | Method and apparatus for implementing a storage lifecycle policy of a snapshot image | |
US7483926B2 (en) | Production server to data protection server mapping | |
US7571350B2 (en) | Storage system and recovery method thereof | |
CN112099989A (en) | Disaster recovery, migration and recovery method for Kubernetes cloud native application | |
US20030093443A1 (en) | System and method for creating online snapshots | |
CN1197013C (en) | Fault-tolerant method by means of synchronous directory | |
CN110716829A (en) | Block storage backup method, terminal and storage medium based on Ceph technology | |
CN102193813A (en) | Embedded type virtualized quick start method and system | |
CN113886143A (en) | Virtual machine continuous data protection method and device and data recovery method and device | |
CN114328005B (en) | Method and system for incremental backup of container data | |
US7441091B2 (en) | Storage control device and storage control method | |
US7685460B1 (en) | Multiple concurrent restore using same user interface | |
CN113641446A (en) | Memory snapshot creating method, device and equipment and readable storage medium | |
CN103810056A (en) | Method for obtaining consistent backup on Linux platform | |
CN105138429B (en) | A kind of Copy on write Snapshot Method and system | |
CN114168207B (en) | UEFI-based backup and one-key boot startup method | |
JP2001034595A (en) | Method and device for integrating work among a plurality of systems | |
JPH04344954A (en) | File recovery and control system | |
JPH1040123A (en) | System and method for job management | |
JPH0385650A (en) | Disk volume restoration system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050413 Termination date: 20110202 |