CN1197013C - Fault-tolerant method by means of synchronous directory - Google Patents
Fault-tolerant method by means of synchronous directory Download PDFInfo
- Publication number
- CN1197013C CN1197013C CN 01103382 CN01103382A CN1197013C CN 1197013 C CN1197013 C CN 1197013C CN 01103382 CN01103382 CN 01103382 CN 01103382 A CN01103382 A CN 01103382A CN 1197013 C CN1197013 C CN 1197013C
- Authority
- CN
- China
- Prior art keywords
- fault
- document
- utilizing
- synchronous
- tolerant method
- 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
Links
Images
Abstract
The present invention relates to a fault-tolerant method by a synchronous directory. In the fault-tolerant method by a synchronous directory, the synchronous directory for storing backup data is established in a computer system, an intercepting module is simultaneously frequently put in a storage of the computer system so as to monitor the operation of all the files of a user at any time, and then the operation of the files is synchronously backed up into the synchronous directory by a synchronous operating module. Therefore, the data of the original files can be easily recovered by the backup data in the synchronous directory when the computer system suddenly has the fault of hardware or software so as to avoid the problem of disability of recovering the contents of the files because of the user not periodically backing up.
Description
Technical field
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.
Background technology
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 storage mode that also means 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 what 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 after the content 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 the computer system reparation or stable after, 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.
Summary of the invention
In view of this, purpose of the present invention make for design is a kind of computer system can be initiatively along with each file operation of 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 one and be used to interrupt installation file system clasp joint function), to obtain the interception function of this resource for computer system; And after this document operation takes place,, in an assigned catalogue, carry out synchronously and the identical backup operation of this document operation according to the content of this document operation.
Description of drawings
For above-mentioned and other purposes of the present invention, feature 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.
Embodiment
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, call again at last and recover 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, to insert a self-defining interception function, step 202, and judge and whether intercept any file operation, step 203 at present, if no, then (step 204) called in this self-defining interception function wait; If intercept, then read the file name that is operated file, step 205, and the content of parsing this document title, step 206, judge 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, is then handled 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.
Recover the running content of module 103 at last 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, recover the clasp joint function of computer system then, step 402, 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 (13)
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 installation file system clasp joint function in this computer system, and insert one and be used to interrupt to obtain the interception function of this resource for computer system;
Read the file name of carrying out this document operation;
Resolve this document name and determine whether this document title is the interior file of this hook procedure range of definition; And if, then
After this document operation takes place, content according to this document operation, in an assigned catalogue, carry out synchronously and the identical backup operation of this document operation, wherein, described file operation is a write operation, a read operation, a deletion action, renames operation or these operations alternative document is in addition operated.
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 if this document title is not to be the file in this hook procedure range of definition, is then handled with the systemic presupposition value.
5, 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.
6, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 5, 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.
7, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 when wherein this document is operating as this write operation, is then carried out this write operation in this assigned catalogue.
8, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 when wherein this document is operating as this read operation, is then carried out a blank operation in this assigned catalogue.
9, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 when wherein this document is operating as this deletion action, is then carried out this deletion action in this assigned catalogue.
10, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 when wherein this document is operating as this rename operation, is then carried out this and is renamed operation in this assigned catalogue.
11, the fault-tolerant method of synchronous directory of utilizing as claimed in claim 1 when wherein this document is operating as this alternative document operation, is then handled with the systemic presupposition value in this assigned catalogue.
12, 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.
13, 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 CN1368683A (en) | 2002-09-11 |
CN1197013C true 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) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7246258B2 (en) * | 2004-04-28 | 2007-07-17 | Lenovo (Singapore) Pte. Ltd. | Minimizing resynchronization time after backup system failures in an appliance-based business continuance architecture |
CN1299204C (en) * | 2004-09-14 | 2007-02-07 | 中国人民解放军上海警备区司令部指挥自动化工作站 | Monitoring operation system for data catastrophic failure-tolerant backup control system |
US7657579B2 (en) * | 2005-04-14 | 2010-02-02 | Emc Corporation | Traversing data in a repeatable manner |
US8037022B2 (en) * | 2007-06-05 | 2011-10-11 | Samsung Electroncis Co., Ltd. | Synchronizing content between content directory service and control point |
CN100592298C (en) * | 2008-05-13 | 2010-02-24 | 华为技术有限公司 | File synchronisation method and device |
CN103810056A (en) * | 2012-11-06 | 2014-05-21 | 南京壹进制信息技术有限公司 | Method for obtaining consistent backup on Linux platform |
CN105653974B (en) * | 2015-12-23 | 2019-07-23 | 北京奇虎科技有限公司 | A kind of document means of defence and device |
CN108717509B (en) * | 2018-06-05 | 2020-06-23 | 厦门安胜网络科技有限公司 | Method, device and equipment for extracting program derivative in sandbox and readable medium |
CN110147334B (en) * | 2019-05-08 | 2021-10-08 | 北京百度网讯科技有限公司 | Storage method and terminal for edited content |
-
2001
- 2001-02-02 CN CN 01103382 patent/CN1197013C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1368683A (en) | 2002-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5008991B2 (en) | Apparatus and method for controlling data recovery | |
US10102079B2 (en) | Triggering discovery points based on change | |
JP5021929B2 (en) | Computer system, storage system, management computer, and backup management method | |
CN101253484B (en) | Method for storing data from client and the client | |
US7031986B2 (en) | Database system with backup and recovery mechanisms | |
US7523149B1 (en) | System and method for continuous protection of working set data using a local independent staging device | |
US20150081640A1 (en) | System and method of data intelligent storage | |
US8166247B2 (en) | Data vaulting in emergency shutdown | |
US20200210374A1 (en) | Apparatus and method for file capture, preservation and management | |
WO2004090722A1 (en) | Data isolation system and method | |
CN1197013C (en) | Fault-tolerant method by means of synchronous directory | |
US20030093443A1 (en) | System and method for creating online snapshots | |
CN113886143B (en) | Virtual machine continuous data protection method and device and data recovery method and device | |
CN101201767A (en) | System and method for backup and recovery of magnetic disc mirroring of computer system data | |
CN114328005B (en) | Method and system for incremental backup of container data | |
WO2018019310A1 (en) | Big data system data backup and recovery methods and devices, and computer storage medium | |
CN106445729A (en) | Backup virtualization-based method | |
CN103810056A (en) | Method for obtaining consistent backup on Linux platform | |
JP2001034595A (en) | Method and device for integrating work among a plurality of systems | |
KR101984495B1 (en) | Removable storage device and system comprising the same | |
JPH04344954A (en) | File recovery and control system | |
WO2017112737A1 (en) | Triggering discovery points based on change | |
JPH1040123A (en) | System and method for job management | |
JP2677282B2 (en) | File management system | |
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 |