[go: up one dir, main page]

CN1290038C - A way to generate document versions on the fly - Google Patents

A way to generate document versions on the fly Download PDF

Info

Publication number
CN1290038C
CN1290038C CN 00108978 CN00108978A CN1290038C CN 1290038 C CN1290038 C CN 1290038C CN 00108978 CN00108978 CN 00108978 CN 00108978 A CN00108978 A CN 00108978A CN 1290038 C CN1290038 C CN 1290038C
Authority
CN
China
Prior art keywords
file
computer system
document
fileversion
instant
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
CN 00108978
Other languages
Chinese (zh)
Other versions
CN1326155A (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.)
Suzhou Danfang Textile Research and Development Co Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 00108978 priority Critical patent/CN1290038C/en
Publication of CN1326155A publication Critical patent/CN1326155A/en
Application granted granted Critical
Publication of CN1290038C publication Critical patent/CN1290038C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention relates to a method for instantly generating file versions. The method includes intercepting the file being operated by the user by the computer system, comparing the file with the last version of the file, judging whether the file is changed or not, if so, backing up the file by the computer system, storing the backed-up file in a designated position, and generating a new version file.

Description

A kind of method of instantaneous generation of file version
Technical field
The present invention is a kind of method of instantaneous generation of file version, this method ties up in the process of user's editing files, but computer system automated back-up this document holds within different time is revised, and store with the version file of difference, this computer system can be called and be stored in version file arbitrary in the storage device according to user's demand.
Background technology
By general known operating position, the user is behind the periodic modification file, the file of each version before wanting to keep, and its concrete practice that the different editions of identical file is managed, please refer to shown in Figure 1, this practice is the user to be changed at every turn the file of back, preserve with the file name of difference respectively, and leave in the file of computer system, so that inquiry in the future, when the user need inquire about the file of a certain version, to read file again opens, take required version file, so because of these different editions files, the essential fully dependence user of its generative process, store with manual mode, thus, not only can increase the workload of user when doing this work, and can take bigger hard drive space.
And in the existing known technology, though as have among the Word set up on their own according to the user in interbody spacer, and the function of file automatically, so, when storing, all use same file name (normal dot), therefore because of this function at every turn, the user can't be to before the result of in the end filing, and the file of being revised calls and inquires about.
In addition, though can be in each setting-up time as Norton Ghout, file is backed up fully, to prevent that documentation runs off, the only action that only can back up of this system in the time that the user sets, and in time that this setting-up time does not arrive, and between this setting-up time and next setting-up time, can't move, so the situation that still has the leakage file takes place.For example: the user sets the action of doing backup every ten minutes, then in preceding ten minutes (empty window phase), as file any modification is arranged when setting, and this computer system can't be carried out any processing.
In view of the application software of above-mentioned tradition in use, more existing defectives the invention provides a kind of instant FileVersion generation method.
Summary of the invention
An object of the present invention is is providing a kind of instant FileVersion generation method, this method mainly makes the user edit in the process of a certain file, computer system can immediately be held this document within different time is revised, store respectively, and the version file of generation difference, this computer system can be called the version file of difference at any time according to user's requirement.
Another object of the present invention is that a kind of instant FileVersion generation method is being provided, its computer system can be deleted stored older version file, and only store new version file automatically according to user's setting, so, promptly can not cause the space waste of storage device (as hard disk).
A further object of the present invention is that a kind of instant FileVersion generation method is being provided, and this method need not be at the software of difference, the module of design independence, and finish the generation of version file in same mode, and it is stored on the precalculated position, and have versatility.
According to an aspect of the present invention, a kind of instant FileVersion generation method is provided, the file that this method utilizes computer system interception user operating, and when receiving this operation information, the file that this operation information write is distinguished, judged whether this document is the specified in advance file of this user;
If be the specified file of user, then the last revision with this document and this document compares, make the comparative result of computer system by both, judge whether this document changes, if change, then computer system promptly can be backed up this document, and be stored on the assigned address, and then generate the redaction file, thereby the version of immediately user being revised at different time stores backup respectively and gets up.
Description of drawings
For enabling that the present invention is made further understanding and understanding, it is as follows to cooperate diagram to further describe with implementation example:
Fig. 1 is the known technology functional schematic.
Fig. 2 is a structural representation of the present invention.
Fig. 3 is a main process flow diagram of the present invention.
Fig. 4 is a blocking module process flow diagram of the present invention.
Fig. 5 is a comparing module process flow diagram of the present invention.
Fig. 6 is a backup module process flow diagram of the present invention.
Fig. 7 is the MSDS of the specific embodiment of the invention.
Embodiment
The method that instant version of the present invention generates, this method mainly is to see through clasp joint function (Hook) interception user when editing files, the operation information of the file that writes, and according to the result who compares, make the method for different disposal, please refer to shown in Figure 2, this method mainly ties up to the user when editing a certain file, hold within computer system is can be with this document original and preserve (101), see through the clasp joint function (Hook) in the blocking module simultaneously, held within this document was revised and tackle, and holding within the interception back, be kept in the function unit of definition voluntarily, in order to calling (102).
To be stored in the file (hereinafter to be referred as the redaction file) of the modification in the defined function unit voluntarily again, with the file (hereinafter to be referred as the legacy version file) that originally was stored in the computer system, delivering to comparing module compares, make this comparing module can be from file size, file date saved, and cyclic redundancy check value three different directions such as (CRC) of data that file comprises, go to make comparisons (103) respectively, if new and old edition file ratio is different than the result, then this redaction file is delivered in the backup module (104), backed up, and generated new file; If new and old edition then stores (105) with the original title of this document (File Name) than than coming to the same thing.
Moreover below just the present invention's method is to the process of user's message pick-up and processing, and conjunction with figs. (please refer to shown in Figure 3) is described in detail as follows:
At first, as user during at editing files, computer system promptly can be tackled the file (201) that this user is operating, and wait for that this user of reception writes the operation information (202) of file, and this computer system is when receiving this operation information, promptly can discern (203) to the file that this operation information write, judge the file that this operation information is writing, whether be the specified in advance file of this user (204), if judged result, the specified file of the non-user of the file that this operation information is writing is then called out the editor (208) that this computer system is proceeded this document.
If this document is the specified file of user, then the previous release content with this document and this document compares (205), make this computer system can be by ratio between two result, judge whether change (206) between the two, if change, this computer system promptly can be backed up this document, and is stored on the assigned address, and then generates redaction file (207); If the previous version of this document and this document is compared do not change, then call out this computer system and continue the original editor of this document and move (208).
As for, the correlated process when above-mentioned blocking module, comparing module and backup module carry out then cooperates graphic (please refer to shown in Fig. 4,5,6), further describes as follows:
1. blocking module flow process:
Please refer to shown in Figure 4, at first, computer system can call in the blocking module the clasp joint function (for example: IFSMgr-InstallBook () function) (301); Preserve the function address (302) corresponding simultaneously with the previous version of this document; In this address, embed the function address of definition (303) voluntarily again; Judge simultaneously whether this function address that defines voluntarily embeds success (304); If it is unsuccessful, display operation failed message (305) then, and end process program: if success, then wait for this defined function be called (306) voluntarily, make computer system call out this defined function voluntarily, and when calling this defined function being made intercept process voluntarily, this voluntarily defined function promptly can to the function address of its interlocking in file, carry out intercept process (307).
2. comparing module flow process:
Please refer to shown in Figure 5, at first, this comparing module can be with file (the to call the redaction file in the following text) size of being tackled by blocking module, with the previous size of version (to call the legacy version file in the following text) make comparisons (401) of this document, and judge whether to change (402) by comparative result, if change, then back up this file of operating (being the redaction file), so, can obtain the latest edition (408) of this document; If file size does not change, then continue the relatively file date of these new and old two versions (403), judge its whether change (404), if change, then back up the file that this is being operated, and with the title (408) of this file operation of operating date at that time for this latest edition file; If the file date of new and old edition does not still change, then relatively both circulations are superfluous in proof test value (CycleRedundaney Check again, be called for short CRC) (505), judge this value whether change (406), if change, this computer system promptly backs up this file of operating (408), if do not change, this computer system is not promptly done any processing, and end process program (407).
3. backup module flow process:
Please refer to shown in Figure 6ly, at first, computer system can judge whether the file content of operating changes (501), if do not change, then finishes relevant handling procedure; If change, the archive files sum that then will handle at that time to be backed up, the greatest measure that sets with the user compares (502), this computer system can be by comparative result, judge the archives sum of the FileVersion of being preserved, whether surpassed the greatest measure (503) that this user sets, if surpass the greatest measure of setting, then computer system can remove older version file, after only keeping latest document version (504), continue to read the file of operating (505) again, otherwise, after computer system can directly read the file of operating (505), and, the operation time (506) at that time, convert character string forms (507) to this file of operating, create a new folder (508), this document is copied to (509) in the new folder, so, computer system can be according to user's requirement again, regularly remove the action of old version archives, and reach the purpose of saving storage device (as hard disk) space (free).
For further understanding the present invention, below be described as follows for an embodiment:
The present invention's a kind of instant method of spanned file version automatically, it is a kind of file backup computer system, it is mainly when user's editing files process, can be automatically with the file that is backed up at every turn, version with difference stores, when its concrete grammar ties up to backup file, with the date and time of the file that stores be the directory name of this document, the file that different times need back up is distinctly deposited.
Please refer to shown in Figure 7, for example have a file respectively on August 26th, 1999 4:20pm, on August 26th, 1999 3:20pm revise with three different times of 8:30am on August 27th, 1999, if the user wants to keep this three version files, the common directory name of the genealogy of law with manual input difference of doing stores the file name of these three files with difference.
Only the present invention only needs to tackle the file that the user is operating by clasp joint function (Hook), and simultaneously in interception, the operation that the present original of identification user writes file, relatively whether file content changes before and after the write operation, found that the amended file content of 4:20pm user on August 26 in 1999 changes, promptly read the computer computer system time of store files at that time, convert thereof into character string, create a new folder according to these character strings, the title of this new folder is set at this character string, and the file of current version is copied to automatically in the file of 8/26/99/4:20pm by name, and respectively on August 26th, 1999 3:20pm and FileVersion that on August 27th, 1999,8:30am revised, then distinguish automated back-up in the file of 8/26/99/3:20pm and 8/27/99/8:30am, so that inquire about in the future for the user with the identical method in front.
Moreover, computer system more can be according to user's setting (is 10 in present embodiment), version sum stored in the file (is 12 in present embodiment) is made comparisons with it, and 10 versions of face before stored in the file are deleted, and keep up-to-date 2 versions (shown in frame of broken lines).
In sum, the present invention's a kind of instant FileVersion generation method, not only can improve the various shortcomings of known technology, and can promote effect in the use, close in practicality, the important document that fully meets patent of invention, be the creation of an ideal in fact,, propose application for a patent for invention so the applicant is subjected to the regulation according to Patent Law, and earnestly ask and grant accurate this case patent early, to feeling moral just.

Claims (15)

1. instant FileVersion generation method, the file that this method utilizes computer system interception user operating, and when receiving this operation information, the file that this operation information write is distinguished, judge whether this document is the specified in advance file of this user;
If be the specified file of user, then the last revision with this document and this document compares, make the comparative result of computer system by both, judge whether this document changes, if change, then computer system promptly can be backed up this document, and be stored on the assigned address, and then generate the redaction file, thereby the version of immediately user being revised at different time stores backup respectively and gets up.
2. instant FileVersion generation method as claimed in claim 1, wherein computer system is then called this computer system and is continued the original editor's action of this document when the judgement file that this operation information write is not the specified file of user.
3. instant FileVersion generation method as claimed in claim 1, wherein this computing machine action of in user's operation file, tackling by blocking module.
4. instant FileVersion generation method as claimed in claim 3, when wherein this blocking module is tackled, the file that utilizes clasp joint intercepting api calls wherein operating, and when this clasp joint intercepting api calls this document, preserve and the corresponding function address of the previous version of this document, and embed self-defining function in this address;
Judge by computer system whether this self-defining function address has embedded success afterwards, if success waits for that then this self-defining function is called;
Make computer system call self-defining function, and when calling this self-defining function and make intercept process, the previous version file in the function address of this self-defining function pair and self-defining function interlocking carries out intercept process.
5. instant FileVersion generation method as claimed in claim 4, wherein this blocking module fails in this self-defining function address when embedding the function address of the previous version correspondence of this document, the then information of display operation failure, and end process.
6. instant FileVersion generation method as claimed in claim 1, wherein this computer system when intercepting the file content that the user operating, by comparison module, the processing that the content that this document is revised and the content of the previous version of this document compare.
7. instant FileVersion generation method as claimed in claim 6, the file that to tackle by blocking module of this comparison module wherein, be the redaction file, with the previous versions file, i.e. legacy version file, after making comparisons, judge whether to change by comparative result again,, then back up the file that this is being operated if change, be the redaction file, can obtain the latest edition of this document like this.
8. instant FileVersion generation method as claimed in claim 6, wherein this comparison module foundation of whether changing and be used as judging by the file content size.
9. instant FileVersion generation method as claimed in claim 6, wherein this comparison module foundation of whether changing and be used as judging by file date.
10. instant FileVersion generation method as claimed in claim 6, wherein this comparison module foundation of whether changing and be used as judging by cyclic redundancy check value.
11. instant FileVersion generation method as claimed in claim 6, wherein this comparison module when making comparisons, if just at operation file without any variation, then computer system promptly is left intact, and end operation.
12. instant FileVersion generation method as claimed in claim 1, wherein this computer system is when the last revision of the file that this is being operated and this document compares, and its comparative result is not for not simultaneously, by the content of backup module backup this document.
13. instant FileVersion generation method as claimed in claim 12, wherein this backup module is when carrying out, judge whether this file content of operating changes,, then current archive files sum is made comparisons with the greatest measure that the user sets if change;
This computer system judges by comparative result whether the archives sum of the version file of being preserved has surpassed the greatest measure that this user sets; If surpass the greatest measure of setting, then computer system can remove older version file, only keeps up-to-date version file;
Continue to read the file of operating afterwards, and convert the file operation current computer system time that this is being operated to character string forms, create a new folder, again this document is copied in the new folder;
So, computer system can regularly remove the action of old version archives according to customer requirements, and then reaches the purpose that discharges the storage device space.
14. instant FileVersion generation method as claimed in claim 12, wherein this backup module if this file content of operating does not change, then finishes relevant processing when carrying out.
15. instant FileVersion generation method as claimed in claim 12, wherein this backup module is when handling, when the archive files sum that is backed up surpasses the greatest measure that the user sets, after computer system can directly read the file of operating, and just convert this to character string forms at the current operational computations machine system time of operation file, create a new folder, again this document is copied in the new folder.
CN 00108978 2000-05-25 2000-05-25 A way to generate document versions on the fly Expired - Fee Related CN1290038C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 00108978 CN1290038C (en) 2000-05-25 2000-05-25 A way to generate document versions on the fly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 00108978 CN1290038C (en) 2000-05-25 2000-05-25 A way to generate document versions on the fly

Publications (2)

Publication Number Publication Date
CN1326155A CN1326155A (en) 2001-12-12
CN1290038C true CN1290038C (en) 2006-12-13

Family

ID=4579353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 00108978 Expired - Fee Related CN1290038C (en) 2000-05-25 2000-05-25 A way to generate document versions on the fly

Country Status (1)

Country Link
CN (1) CN1290038C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853165A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Management method and system for library in configuration software

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010491B2 (en) * 2003-02-28 2011-08-30 Microsoft Corporation Method for managing multiple file states for replicated files
CN100340938C (en) * 2004-11-04 2007-10-03 华为技术有限公司 File safety detection method
US8359571B2 (en) * 2005-12-19 2013-01-22 International Business Machines Corporation Computer method and apparatus for activity-based version selection in a configuration management system
US7797335B2 (en) * 2007-01-18 2010-09-14 International Business Machines Corporation Creation and persistence of action metadata
CN101510157B (en) * 2008-09-03 2011-11-30 北京搜狗科技发展有限公司 Input method installation method and device
CN101699407B (en) * 2009-10-13 2016-09-07 中兴通讯股份有限公司 A kind of restoring terminal operation and the method and device of data
CN102455952B (en) * 2011-07-26 2014-07-30 北京壹人壹本信息科技有限公司 Data backup and recovery method, device and system
CN102929732B (en) * 2012-10-18 2015-04-08 北京奇虎科技有限公司 Method and device for calling file by application program and client-side equipment
CN103810056A (en) * 2012-11-06 2014-05-21 南京壹进制信息技术有限公司 Method for obtaining consistent backup on Linux platform
CN104978224B (en) * 2015-07-06 2018-11-20 张兆琦 A kind of application management method towards more hardware platforms

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853165A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Management method and system for library in configuration software

Also Published As

Publication number Publication date
CN1326155A (en) 2001-12-12

Similar Documents

Publication Publication Date Title
US6546404B1 (en) Data migration tool
EP1470485B1 (en) Method and system for providing image incremental and disaster recovery
CN1290038C (en) A way to generate document versions on the fly
US8180984B1 (en) System and method for consolidation of backups
US8370311B2 (en) Using versioning to back up multiple versions of a stored object
KR101556435B1 (en) Database backing-up and recovering method and device
US8589913B2 (en) Tracking block-level writes
US8484644B2 (en) Auto-restart processing in an IMS batch application
US20070028063A1 (en) Device for restoring at least one of files, directories and application oriented files in a computer to a previous state
US7058662B2 (en) Maintenance of data integrity during transfer among computer networks
CA2506543A1 (en) Data recovery techniques in storage systems
US20040019878A1 (en) Software tool to detect and restore damaged or lost software components
US7359925B2 (en) Database system, its control method, and information processing apparatus
CN1877539A (en) Data backup/recovery system in cold start mode and its implementation method
US20070106701A1 (en) Method and system for updating an application
JP2002116938A (en) File backup method provided with generation management function
US11269739B2 (en) Method and system for managing backup data
Cisco Cisco EMF Database Backup and Restore Procedures
JP2000207264A (en) Backup and restore methods
JPH0322152A (en) File restoring system
US7882080B2 (en) Method for operating an automation system
Green Documentation meets version control: An automated backup system for HTML-based help
CN120086068A (en) A partition backup and restoration method, system, device and medium for Linux system
Hardy Event triggered data acquisition in the Rock Mechanics Laboratory upgrades and revisions
JP2002229830A (en) Backup method of database file and its device

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SUZHOU DANFANG TEXTILE RESEARCH + DEVELOPMENT CO.,

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20141231

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: TAIWAN, CHINA TO: 215228 SUZHOU, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141231

Address after: 215228 Jiangsu City, Wujiang Province, Shengze Town, No. two West Ring Road, No. Shengze Textile Science and Technology Park, building 10, 1188

Patentee after: Suzhou Danfang Textile Research & Development Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20061213

Termination date: 20150525

EXPY Termination of patent right or utility model