[go: up one dir, main page]

CN1326155A - Ways to generate file versions on the fly - Google Patents

Ways to generate file versions on the fly Download PDF

Info

Publication number
CN1326155A
CN1326155A CN 00108978 CN00108978A CN1326155A CN 1326155 A CN1326155 A CN 1326155A CN 00108978 CN00108978 CN 00108978 CN 00108978 A CN00108978 A CN 00108978A CN 1326155 A CN1326155 A CN 1326155A
Authority
CN
China
Prior art keywords
file
version
computer system
user
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.)
Granted
Application number
CN 00108978
Other languages
Chinese (zh)
Other versions
CN1290038C (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

即时生成文件版本的方法Ways to generate file versions on the fly

本发明涉及一种即时生成文件版本的方法。该方法是在用户编辑文件的过程中,计算机系统可自动备份该文件在不同时间所修改的内容,并以不同的版本文件储存起来,该计算机系统可依用户的需求,调用储存在储存装置中任一的版本文件。The invention relates to a method for instantly generating file versions. The method is that in the process of editing a file by the user, the computer system can automatically back up the modified content of the file at different times, and store it in different versions. Either version file.

按一般已知的使用情况,用户在定期修改文件后,想要保留以前每一版本的文件,而对同一文件的不同版本进行管理的具体作法,请参照图1所示,该作法是将用户每次更改后的文件,分别以不同的文件名称保存下来,并存放在计算机系统的文件夹内,以便日后查询,当用户需要查询某一版本的文件时,再将该文件夹打开,取用所需的版本文件,然因这些不同版本文件,其生成过程完全必需依赖用户,以手动方式进行储存,如此一来,不但会增加用户在做此项工作时的工作量,且会占用较大的硬盘空间。According to the generally known usage situation, after the user regularly modifies the file, he wants to keep the previous version of the file, and the specific method of managing different versions of the same file, please refer to Figure 1. This method is to use the user The files after each change are saved with different file names and stored in the folder of the computer system for future query. When the user needs to query a certain version of the file, open the folder and use The required version files, however, because of these different version files, the generation process must completely depend on the user and be stored manually. In this way, it will not only increase the workload of the user when doing this work, but also occupy a large of hard disk space.

而现有的已知技术中,如Word中虽具有根据用户自行设定的时间间隔,而自动存档的功能,然,因该功能每次存储时,皆使用同一个档案名称(normal.dot),因此,用户无法对在最后存档结果前,所修改的文件进行调用和查询。And in existing known technology, although there is the time interval according to the user's own setting in Word, and the function of automatic archiving, yet, when storing because of this function at every turn, all use same file name (normal.dot) , therefore, the user cannot call and query the files modified before the final archive result.

另外,如Norton Ghout虽可在每一设定时间内,将文件完全备份,以防止文件资料流失。但该系统仅会在用户所设定的时间进行备份的动作,而在该设定时间未到的时间,及该设定时间与下一设定时间之间,并不会动作。因此,仍会有漏失文件的情况发生。例如,用户设定每隔十分钟作备份的动作,则在设定时前十分钟(空窗期)内,如文件有任何修改,该计算机系统并不会进行任何处理。In addition, even though Norton Ghout can fully back up the files within each set time to prevent the loss of file data. But this system can only carry out the action of backup at the time set by the user, and the time before the set time, and between the set time and the next set time, will not act. Therefore, there will still be cases of missing files. For example, if the user sets the action of backing up every ten minutes, then within ten minutes before the set time (the window period), if there is any modification to the file, the computer system will not perform any processing.

鉴于上述传统的应用软件在使用时,所存在的一些缺陷,本发明提供一种即时文件版本生成方法。In view of some defects existing in the use of the above-mentioned traditional application software, the present invention provides an instant file version generation method.

本发明的一个目的是在提供一种即时文件版本生成方法。该方法主要令用户编辑某一文件的过程中,计算机系统可即时地将该文件在不同时间修改的内容,分别储存起来,而生成不同的版本文件。该计算机系统可根据用户的要求,随时调用不同的版本文件。An object of the present invention is to provide an instant file version generation method. The method mainly enables the computer system to store the modified content of the file at different times in real time during the process of editing a certain file by the user, so as to generate different versions of the file. The computer system can call different versions of files at any time according to the requirements of users.

本发明的另一个目的是在提供一种即时文件版本生成方法,其计算机系统可根据用户的设定,自动删除所储存较旧的版本文件,而只储存新的版本文件,如此,即不会造成储存装置(如硬盘)的空间浪费。Another object of the present invention is to provide a method for generating instant file versions. The computer system can automatically delete the stored older version files according to the user's settings, and only store the new version files. Cause the space waste of storage device (such as hard disk).

本发明的再一个目的是在提供一种即时文件版本生成方法,该方法无须针对不同的软件,设计独立的模块,而以相同方式完成版本文件的生成,且将其储存在预定位置上,而具有通用性。Another object of the present invention is to provide a method for generating instant file versions, which does not need to design independent modules for different software, but completes the generation of version files in the same way, and stores them in a predetermined location. It is versatile.

为了对本发明作更进一步的认识与了解,以实施举例配合附图进一步详细说明如下:In order to further understand and understand the present invention, it is further described in detail with implementation examples in conjunction with the accompanying drawings:

图1为已知技术功能示意图。Figure 1 is a functional schematic diagram of known technology.

图2为本发明的结构示意图。Fig. 2 is a structural schematic diagram of the present invention.

图3为本发明的主要流程图。Fig. 3 is the main flowchart of the present invention.

图4为本发明的拦截模块流程图。Fig. 4 is a flow chart of the interception module of the present invention.

图5为本发明的比较模块流程图。Fig. 5 is a flowchart of the comparison module of the present invention.

图6为本发明的备份模块流程图。Fig. 6 is a flowchart of the backup module of the present invention.

图7为本发明具体实施例的数据表。Fig. 7 is a data table of a specific embodiment of the present invention.

本发明的即时版本生成的方法主要是透过钩接函数(Hook)拦截用户在编辑文件时所写入文件的操作信息,并根据比较的结果,做出不同处理的方法。请参照图2所示,该方法主要是在用户编辑某一文件时,计算机系统会将该文件原先的内容保存下来(101),同时透过拦截模块中的钩接函数(Hook),将该文件修改过的内容拦截下来,并把拦截后的内容,保存在自定义函数单元中,以备调用(102)。The real-time version generation method of the present invention mainly intercepts the operation information written by the user when editing the file through the hook function (Hook), and makes different processing methods according to the comparison result. Please refer to shown in Figure 2, this method is mainly that when the user edits a certain file, the computer system will save the original content of the file (101), and at the same time through the hook function (Hook) in the interception module, the The modified content of the file is intercepted, and the intercepted content is stored in the user-defined function unit for calling (102).

再将储存在自定义函数单元中的修改过的文件(以下简称新版本文件)与原先储存在计算机系统中的文件(以下简称旧版本文件)发送至比较模块进行比较,令该比较模块可从文件大小、文件保存日期,以及文件所包含数据的循环冗余校验值(CRC)等三个不同方向,分别去作比较(103),如果新旧版本文件比较的结果为不同,则将该新版本文件送至备份模块(104)中,予以备份,而生成新文件;如果新旧版本比较的结果相同,则以该文件原来的名称(File Name)储存起来(105)。Then the modified file (hereinafter referred to as the new version file) stored in the self-defined function unit and the file (hereinafter referred to as the old version file) originally stored in the computer system are sent to the comparison module for comparison, so that the comparison module can be obtained from Three different directions, such as file size, file saving date, and the cyclic redundancy check value (CRC) of the data contained in the file, are compared (103) respectively, if the result of comparing the old and new version files is different, then the new Version file is sent in the backup module (104), is backed up, and generates new file; If the result of old and new version comparison is identical, then store (105) with the original title (File Name) of this file.

再者,以下就本发明的方法对用户信息接收及处理的过程,配合附图(请参照图3所示),详细说明如下:Furthermore, the process of receiving and processing user information by the method of the present invention will be described in detail as follows in conjunction with the accompanying drawings (please refer to FIG. 3 ):

首先,当用户在编辑文件时,计算机系统即会拦截该用户正在操作的文件(201),并等待接收该用户写入文件的操作信息(202),而该计算机系统在接收到该操作信息时,即会对该操作信息所写入的文件进行识别(203),判断该操作信息正在写入的文件,是否为该用户预先所指定的文件(204),如果判断结果,该操作信息正在写入的文件非用户所指定文件,则调用该计算机系统继续进行该文件的编辑(208)。First, when a user is editing a file, the computer system will intercept the file that the user is operating (201), and wait to receive the operation information (202) that the user writes into the file, and when the computer system receives the operation information , that is, the file to which the operation information is written will be identified (203), and it is judged whether the file in which the operation information is being written is a file specified by the user in advance (204). If the result of the judgment is that the operation information is being written If the imported file is not the file specified by the user, then the computer system is invoked to continue editing the file (208).

如果该文件为用户所指定的文件,则将该文件与该文件的先前版本内容进行比较(205),令该计算机系统可由两者的比较结果,判断两者的间是否有改变(206),如果有改变,该计算机系统即会将该文件加以备份,并储存在指定位置上,进而生成新版本文件(207);如果该文件与该文件先前的版本相比较没有变化,则调用该计算机系统继续该文件原有的编辑动作(208)。If the file is the file specified by the user, compare the file with the previous version content of the file (205), so that the computer system can judge whether there is any change between the two by the comparison result between the two (206), If there is a change, the computer system will back up the file and store it in the specified location to generate a new version of the file (207); if the file has no change compared with the previous version of the file, the computer system will call Continue the original editing action of the file (208).

至于,上述的拦截模块、比较模块及备份模块进行时的相关过程,则配合附图(请参照图4、5、6所示),进一步详细说明如下:As for the relevant processes of the above-mentioned interception module, comparison module and backup module, in conjunction with the accompanying drawings (please refer to Figures 4, 5, and 6), further details are as follows:

1.拦截模块流程:1. Interception module process:

请参照图4所示,首先,计算机系统会调用拦截模块中的钩接函数(例如:IFSMgr-InstallHook()函数)(301);同时保存与该文件先前版本对应的函数地址(302);之后在该地址中嵌入自定义函数地址(303);同时判断该自定义函数地址是否嵌入成功(304);如果不成功,则显示操作失败消息(305),并结束处理程序:如果成功,则等待该自定义函数被调用(306),使计算机系统调用该自定义函数,并调用该自定义函数作拦截处理时,该自定义函数即会对与其嵌接的函数地址中的文件,进行拦截处理(307)。Please refer to shown in Fig. 4, at first, computer system can call the hooking function (for example: IFSMgr-InstallHook () function) (301) in the intercepting module; Preserve the function address (302) corresponding with this file previous version simultaneously; Afterwards Embed a custom function address (303) in this address; judge whether this custom function address is embedded successfully (304); The self-defining function is called (306), so that the computer system calls the self-defining function, and when calling the self-defining function for interception processing, the self-defining function will intercept the file in the function address embedded with it (307).

2.比较模块流程:2. Compare module flow:

请参照图5所示,首先,该比较模块会将由拦截模块所拦截的文件(以下称新版本文件)大小,与该文件先前的版本的大小(以下称旧版本文件)作比较(401),并由比较结果判断是否有变化(402),如果有变化,则备份该正在操作的文件(即新版本文件),如此,即可获得该文件的最新版本(408);如果文件大小没有变化,则继续比较该新旧两个版本的文件日期(403),判断其是否有改变(404),如果有变化,则备份该正在操作的文件,并以该正在操作的文件当前操作日期为该最新版本文件的名称(408);如果新旧版本的文件日期仍然没有改变,则再比较两者的循环冗于校验值(Cycle Redundancy Check,简称CRC)(505),判断该值是否有变化(406),如果有变化,该计算机系统即备份该正在操作的文件(408),如果没有变化,该计算机系统即不作任何处理,并结束处理程序(407)。Please refer to shown in Fig. 5, at first, this comparison module can be compared (401) with the size of the previous version of this file (hereinafter referred to as old version file) with the size of the file (hereinafter referred to as new version file) intercepted by the interception module, And judge whether there is change (402) by comparison result, if there is change, then back up the file (being new version file) of this operation in progress, so, can obtain the latest version (408) of this file; If file size does not change, Then continue to compare the file date (403) of the old and new versions, judge whether it has changed (404), if there is a change, then back up the file in operation, and use the current operation date of the file in operation as the latest version The name of the file (408); if the date of the file of the old and new versions still does not change, then compare the cycle redundancy check value (Cycle Redundancy Check, referred to as CRC) (505) (505) of the two, and judge whether the value changes (406) , if there is a change, the computer system backs up the file being operated (408), if there is no change, the computer system does not do any processing, and ends the processing program (407).

3.备份模块流程:3. Backup module process:

请参照图6所示,首先,计算机系统会判断正在操作的文件内容是否有改变(501),如果没有变化,则结束相关的处理程序;如果有变化,则将处理当前所备份的文件档案总数,与用户所设定的最大数值做比较(502),该计算机系统可由比较结果,判断所保存的文件版本的档案总数,是否已超过该用户所设定的最大数值(503),如果超过设定的最大数值,则计算机系统会移除较旧的版本文件,只保留最新文件版本(504)后,再继续读取正在操作的文件(505),否则,计算机系统会直接读取正在操作的文件(505)后,并将该正在操作文件的当前操作时间(506)转换成字符串形式(507),创建一个新文件夹(508),再将该文件复制到新文件夹中(509),如此,计算机系统即可根据用户要求,进行定期作移除旧有版本档案的动作,而达到释放(free)储存装置(如硬盘)空间的目的。Please refer to shown in Figure 6, at first, computer system can judge whether the content of the file being operated changes (501), if there is no change, then end the relevant processing procedure; , compared with the maximum value set by the user (502), the computer system can judge whether the total number of files of the saved file version has exceeded the maximum value (503) set by the user by the comparison result, if it exceeds the set If the specified maximum value is specified, then the computer system will remove the older version of the file, and only keep the latest file version (504), and then continue to read the file being operated (505), otherwise, the computer system will directly read the file being operated. After the file (505), convert the current operating time (506) of the operating file into a string form (507), create a new folder (508), and then copy the file to the new folder (509) In this way, the computer system can periodically remove the old version of the file according to the user's request, so as to achieve the purpose of freeing (free) the space of the storage device (such as a hard disk).

为能更进一步了解本发明,以下举一实施例说明如下:In order to further understand the present invention, an example is given below to illustrate as follows:

本发明的即时自动生成文件版本的方法是一种文件备份计算机系统,其主要在用户编辑文件过程时,可自动将每次所备份的文件,以不同的版本储存起来。具体方法是在备份文件的时候,以正在储存的文件的日期及时间为该文件的目录名,将不同时期需要备份的文件各别存放起来。The method for automatically generating file versions in real time of the present invention is a file backup computer system, which can automatically store the files backed up each time in different versions when the user edits the files. The specific method is to store the files that need to be backed up in different periods with the date and time of the file being stored as the directory name of the file when backing up the file.

请参照图7所示,例如有一个文件分别于1999年8月26日4:20pm、1999年8月26日3:20pm和1999年8月27日8:30am三个不同的时间进行了修改,如果用户想要保留这三个版本文件,通常的作法是以手动输入不同的目录名称,将该三个文件以不同的文件名称储存起来。Please refer to Figure 7. For example, a file was modified at three different times: 4:20pm on August 26, 1999, 3:20pm on August 26, 1999, and 8:30am on August 27, 1999. , if the user wants to keep these three version files, the usual way is to manually enter different directory names, and store the three files with different file names.

而本发明仅需通过钩接函数(Hook)拦截用户正在操作的文件,并在拦截的同时,识别用户目前正本对文件进行写入的操作,比较写操作前后文件内容是否有变化,结果发现1999年8月26日4:20pm用户修改后的文件内容有变化,即读取当前储存文件的计算机计算机系统时间,将其转换成字符串,根据这些字符串创建一个新文件夹,该新建文件夹的名称设定为该字符串,并将当前版本的文件自动复制到名为8/26/99/4:20pm的文件夹内,而分别于1999年8月26日3:20pm和1999年8月27日8:30am修改的文件版本,则以前面相同的方法分别自动备份在8/26/99/3:20pm和8/27/99/8:30am的文件夹中,以便供用户日后查询。However, the present invention only needs to intercept the file being operated by the user through the hook function (Hook), and at the same time of interception, identify the user's current copy operation to the file, compare whether the file content has changed before and after the write operation, and find that the 1999 At 4:20pm on August 26, the content of the file modified by the user changed, that is, read the computer system time of the currently stored file, convert it into a string, and create a new folder based on these strings. The new folder The name of the file is set to this string, and the current version of the file is automatically copied to the folder named 8/26/99/4:20pm. The file version modified at 8:30am on the 27th will be automatically backed up in the folders of 8/26/99/3:20pm and 8/27/99/8:30am in the same way as before, so that users can query in the future .

再者,计算机系统更可根据用户的设定(于本实施例为10个),将文件夹中所储存的版本总数(于本实施例为12个)与其作比较,而将文件夹中所储存的前面10个版本加以删除,而保留最新的2个版本(如虚线框所示)。Furthermore, the computer system can compare the total number of versions stored in the folder (12 in this embodiment) according to the user's settings (10 in this embodiment), and compare the total number of versions stored in the folder The previous 10 versions stored are deleted, while the latest 2 versions are kept (as shown in the dotted box).

综上所述,本发明的一种即时文件版本生成方法,不但可改良已知技术的各种缺点,且在使用上能增进功效,合于实用。To sum up, the instant file version generation method of the present invention can not only improve various shortcomings of the known technology, but also improve the efficiency in use and is practical.

Claims (15)

1.一种即时文件版本生成方法,该方法利用计算机系统拦截用户正在操作的文件,而在接收到该操作信息时,对该操作信息所写入的文件进行辨别,判断该文件是否为该用户预先所指定文件;1. An instant file version generation method, the method utilizes a computer system to intercept the file being operated by the user, and when receiving the operation information, distinguishes the file written by the operation information to determine whether the file is the user's pre-designated documents; 如果为用户所指定的文件,则将该文件与该文件的上一版本进行比较,使计算机系统可由两者的比较结果,判断两者的间是否有改变,如果有改变,则计算机系统即会将该文件加以备份,并储存在指定位置上,进而生成新版本文件,从而即时地将用户在不同时间修改的版本,分别储存备份起来。If it is the file specified by the user, compare the file with the previous version of the file, so that the computer system can judge whether there is any change between the two based on the comparison result between the two. If there is a change, the computer system will immediately The file is backed up and stored in a designated location, and then a new version file is generated, so that the versions modified by the user at different times are stored and backed up in real time. 2.如权利要求1所述的即时文件版本生成方法,其中计算机系统在判断该操作信息所写入的文件不是用户所指定文件时,则调用该计算机系统继续该文件原有的编辑动作。2. The instant file version generation method according to claim 1, wherein when the computer system judges that the file written in the operation information is not a file specified by the user, the computer system is invoked to continue the original editing action of the file. 3.如权利要求1所述的即时文件版本生成方法,其中该计算机可通过拦截模块在用户操作文件的同时进行拦截的动作。3. The instant file version generating method according to claim 1, wherein the computer can intercept the file while the user is operating the file through the intercepting module. 4.如权利要求3所述的即时文件版本生成方法,其中该拦截模块进行拦截时,利用其中的钩接函数拦截正在操作的文件,并在该钩接函数拦截该文件时,保存与该文件先前版本对应的函数地址,并于该地址嵌入自定义函数;4. The instant file version generation method as claimed in claim 3, wherein when the interception module intercepts, utilizes the hook function wherein to intercept the file being operated, and when the hook function intercepts the file, saves the file with the file The address of the function corresponding to the previous version, and embed the custom function at this address; 之后由计算机系统判断该自定义函数地址是否已嵌入成功,如果成功,则等待该自定义函数被调用;Afterwards, the computer system judges whether the custom function address has been embedded successfully, and if successful, waits for the custom function to be called; 使计算机系统调用自定义函数,并在调用该自定义函数作拦截处理时,该自定义函数对与自定义函数嵌接的函数地址中的先前版本文件进行拦截处理。The computer system calls the self-defined function, and when the self-defined function is called for interception processing, the self-defined function intercepts the previous version file in the function address embedded with the self-defined function. 5.如权利要求3所述的即时文件版本生成方法,其中该拦截模块在该自定义函数地址未能成功嵌入该文件先前版本对应的函数地址时,则显示操作失败的信息,并结束处理程序。5. The instant file version generating method as claimed in claim 3, wherein the intercepting module displays a message of operation failure when the custom function address fails to embed the corresponding function address of the previous version of the file, and ends the processing procedure . 6.如权利要求1所述的即时文件版本生成方法,其中该计算机系统在拦截到用户正在操作的文件内容时,可通过比较模块,将该文件修改的内容与该文件先前版本的内容进行比较的处理。6. The instant file version generation method as claimed in claim 1, wherein when the computer system intercepts the file content being operated by the user, it can compare the modified content of the file with the content of the previous version of the file through the comparison module processing. 7.如权利要求6所述的即时文件版本生成方法,其中该比较模块将由拦截模块所拦截的文件(以下称新版本文件),与先前的版本文件(以下称旧版本文件)作比较后,再由比较结果判断是否有变化,如果有变化,则备份该正在操作的文件(即新版本文件),这样即可获得该文件的最新版本。7. The instant file version generation method as claimed in claim 6, wherein the comparison module will be intercepted by the interception module (hereinafter referred to as the new version file), after comparing with the previous version file (hereinafter referred to as the old version file), Then judge whether there is a change by the comparison result, if there is a change, then back up the file in operation (that is, the new version file), so that the latest version of the file can be obtained. 8.如权利要求6所述的即时文件版本生成方法,其中该比较模块可由文件内容大小是否有变化来作为判断的依据。8. The instant file version generation method according to claim 6, wherein the comparison module can use whether the size of the file content changes as a basis for judgment. 9.如权利要求6所述的即时文件版本生成方法,其中该比较模块可由文件日期是否有改变来作为判断的依据。9. The instant file version generation method according to claim 6, wherein the comparison module can use whether the file date has changed as a basis for judgment. 10.如权利要求6所述的即时文件版本生成方法,其中该比较模块可由循环冗余校验值(Cycle Redundancy Check,简称CRC)是否有变化来作为判断的依据。10. The instant file version generation method as claimed in claim 6, wherein the comparison module can use whether a cyclic redundancy check value (Cycle Redundancy Check, CRC) changes as a basis for judgment. 11.如权利要求6所述的即时文件版本生成方法,其中该比较模块在作比较时,如果正在操作文件没有任何变化,则计算机系统即不做任何处理,并结束操作。11. The instant file version generating method as claimed in claim 6, wherein when the comparison module performs the comparison, if there is no change in the file being operated, the computer system does not perform any processing and ends the operation. 12.如权利要求1所述的即时文件版本生成方法,其中该计算机系统在对该正在操作的文件与该文件的上一版本比较时,其比较结果为不同时,可通过备份模块备份该文件的内容。12. The instant file version generation method as claimed in claim 1, wherein when the computer system compares the file being operated with the previous version of the file, and the comparison result is different, the file can be backed up by the backup module Content. 13.如权利要求12所述的即时文件版本生成方法,其中该备份模块在进行时,判断该正在操作的文件内容是否有改变,如果有变化,则将当前的文件档案总数与用户所设定的最大数值作比较;13. The instant file version generation method as claimed in claim 12, wherein when the backup module is in progress, it is judged whether the content of the file being operated has changed, and if there is a change, the total number of current file files and the user's set The maximum value for comparison; 该计算机系统可由比较结果,判断所保存的版本文件的档案总数是否已超过该用户所设定的最大数值;如果超过设定的最大数值,则计算机系统会移除较旧的版本文件,只保留最新的版本文件;The computer system can judge from the comparison result whether the total number of files of the saved version files has exceeded the maximum value set by the user; if it exceeds the maximum value set by the user, the computer system will remove the older version files and only keep the latest version of the document; 之后继续读取正在操作的文件,并将该正在操作的文件操作当前计算机系统时间转换成字符串形式,创建一个新文件夹,再将该文件复制到新文件夹中;Then continue to read the file being operated, and convert the current computer system time of the file being operated into a string form, create a new folder, and then copy the file to the new folder; 如此,计算机系统即可根据用户要求,定期进行移除旧有版本档案的动作,进而达到释放(Free)储存装置空间的目的。In this way, the computer system can periodically remove the old version of the file according to the user's request, so as to achieve the purpose of freeing (Free) the space of the storage device. 14.如权利要求12所述的即时文件版本生成方法,其中该备份模块在进行时,该正在操作的文件内容如果没有变化,则结束相关的处理程序。14. The instant file version generating method according to claim 12, wherein when the backup module is in progress, if the content of the file being operated has not changed, then the relevant processing procedure is terminated. 15.如权利要求12所述的即时文件版本生成方法,其中该备份模块在进行处理时,所备份的文件档案总数未超过用户所设定的最大数值时,计算机系统会直接读取正在操作的文件后,并将该正在操作文件的当前操作计算机系统时间转换成字符串形式,创建一个新文件夹,再将该文件复制到新文件夹中。15. The instant file version generation method as claimed in claim 12, wherein when the backup module is processing, when the total number of backed-up file files does not exceed the maximum value set by the user, the computer system will directly read the operating file. file, convert the current operating computer system time of the operating file into a character string, create a new folder, and then copy the file to 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 true CN1326155A (en) 2001-12-12
CN1290038C 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 (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100340938C (en) * 2004-11-04 2007-10-03 华为技术有限公司 File safety detection method
CN100377099C (en) * 2003-02-28 2008-03-26 微软公司 Method for managing multiple file states for replicated files
CN100456236C (en) * 2005-12-19 2009-01-28 国际商业机器公司 Computer method and apparatus for activity-based version selection in a configuration management system
CN101699407A (en) * 2009-10-13 2010-04-28 中兴通讯股份有限公司 Method and device for restoring terminal operation and data
CN101853165A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Management method and system for library in configuration software
CN101510157B (en) * 2008-09-03 2011-11-30 北京搜狗科技发展有限公司 Input method installation method and device
CN102455952A (en) * 2011-07-26 2012-05-16 北京壹人壹本信息科技有限公司 Data backup and recovery method, device and system
CN101226537B (en) * 2007-01-18 2012-06-27 国际商业机器公司 Creation and persistence of action metadata
CN102929732A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 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
WO2017005126A1 (en) * 2015-07-06 2017-01-12 张兆琦 Multiple hardware platform oriented application program management method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100377099C (en) * 2003-02-28 2008-03-26 微软公司 Method for managing multiple file states for replicated files
CN100340938C (en) * 2004-11-04 2007-10-03 华为技术有限公司 File safety detection method
CN100456236C (en) * 2005-12-19 2009-01-28 国际商业机器公司 Computer method and apparatus for activity-based version selection in a configuration management system
CN101226537B (en) * 2007-01-18 2012-06-27 国际商业机器公司 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
CN101699407A (en) * 2009-10-13 2010-04-28 中兴通讯股份有限公司 Method and device for restoring terminal operation and data
CN101853165A (en) * 2010-06-01 2010-10-06 杭州和利时自动化有限公司 Management method and system for library in configuration software
CN102455952A (en) * 2011-07-26 2012-05-16 北京壹人壹本信息科技有限公司 Data backup and recovery method, device and system
CN102929732A (en) * 2012-10-18 2013-02-13 北京奇虎科技有限公司 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
WO2017005126A1 (en) * 2015-07-06 2017-01-12 张兆琦 Multiple hardware platform oriented application program management method
GB2555988A (en) * 2015-07-06 2018-05-16 Zhang Zhaoqi Multiple hardware platform oriented application program management method
GB2555988B (en) * 2015-07-06 2020-04-29 Zhang Zhaoqi Application program management method for multiple hardware platforms

Also Published As

Publication number Publication date
CN1290038C (en) 2006-12-13

Similar Documents

Publication Publication Date Title
US8015157B2 (en) File sharing system, file server, and method for managing files
US20200278792A1 (en) Systems and methods for performing storage operations using network attached storage
CN1095128C (en) System and method for updating an agent program of backup software
US8055862B2 (en) System and method for providing a backup/restore interface for third party HSM clients
US6389433B1 (en) Method and system for automatically merging files into a single instance store
US8296264B1 (en) Method and system for file-level continuous data protection
CN101477487B (en) Backup method and recovery method of multiple incremental files
US7523149B1 (en) System and method for continuous protection of working set data using a local independent staging device
CN101243446A (en) Online page restore from database mirroring
CN1707481A (en) System and method for automated maintenance and repair of entities in a data model
CN1786959A (en) Method for optimizing a snapshot operation on a file basis
CN113672436B (en) Disaster recovery backup method, device, equipment and storage medium
CN1326155A (en) Ways to generate file versions on the fly
WO2021208400A1 (en) Backup recovery system and method for modern application
CN1323417A (en) Indication of failure in a transaction processing system
CN101751478A (en) File backup method and system
CN1614566A (en) A Backup and Restoration Method for User Database
WO2025124479A1 (en) Cloud desktop cross-city disaster recovery method based on snapshot technology
CN106528338A (en) A remote data replication method, storage device and storage system
WO2013170702A1 (en) File processing method based on snapshot and solid state disk with snapshot function
JP2006268139A (en) Data reproduction device, method and program and storing system
CN1126054C (en) Protocol for synchronizing parallel processors in mobile communiacation system
CN102073554A (en) Method and device for recovering files closed abnormally
US10671567B2 (en) System and method for optimized lock detection
CN1197013C (en) A Method of Fault Tolerance Using Synchronized Directories

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