CN1423200A - Dynamic data backing-up system and method - Google Patents

Dynamic data backing-up system and method Download PDF

Info

Publication number
CN1423200A
CN1423200A CN 01140229 CN01140229A CN1423200A CN 1423200 A CN1423200 A CN 1423200A CN 01140229 CN01140229 CN 01140229 CN 01140229 A CN01140229 A CN 01140229A CN 1423200 A CN1423200 A CN 1423200A
Authority
CN
China
Prior art keywords
data
backup
module
dynamic
user
Prior art date
Application number
CN 01140229
Other languages
Chinese (zh)
Inventor
林光信
刘晓鹏
Original Assignee
英业达股份有限公司
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 英业达股份有限公司 filed Critical 英业达股份有限公司
Priority to CN 01140229 priority Critical patent/CN1423200A/en
Publication of CN1423200A publication Critical patent/CN1423200A/en

Links

Abstract

The system comprises the module for monitoring files, the data analysis module and the data processing module. The method provided by the invention for backing up the data dynamically includes the following steps. In the step for monitoring the data, the file-monitoring module monitors the change of the data. When the user changes the data, the data information updated is transferred to the data analysis module. In the data analysis step, once the data information updated being received, the data ananlysis module picks up the thread ID of updating the data, the program name and the file name.In the thread step, once the user issues the backing up request, the thread is arranged to enter the data quene. In the step for backing up the data, based on the threads entered into the data queue,the data management module backs up the data.

Description

动态备份数据的系统与方法 System and method for dynamic backup data

技术领域 FIELD

本发明涉及一种动态备份数据的系统与方法,特别是涉及应用于计算机文件备份时,以动态方式储存备份文件的系统与方法。 The present invention relates to a system and method for dynamically backup data, when applied particularly to a computer file backup, system and method to dynamically store the backup files.

背景技术 Background technique

计算机使用者常常为了防止不当的使用或人为的破坏使原数据或程序无法使用,而将计算机系统中重要的数据再复制一份,亦即备份数据,除了原有的文件外,另外储存一个备份文件。 Computer users often in order to prevent improper use or destruction of human so that the original data or a program can not be used, but will then copy the data in a computer system a significant, i.e. the backup data, in addition to the original file, a backup storage further file. 备份的运作可以防止数据丢失,不过,由于数据常常在改变,因此,如何有效地备份就成为计算机使用者所关心的事情。 Backup operations can prevent data loss, however, because the data often change, therefore, how to effectively back up what has become of interest to computer users.

一般来讲,操作系统本身,如Windows95/98/2000等,就提供有备份的工具,而备份的路径则可以直接储存在硬盘上或者储存在MO或光盘中,也可以储存在磁带上。 Generally, the operating system itself, such as the Windows95 / 98/2000, etc., provided with a backup tool, and the backup path can be stored directly on the hard disk or optical disk or stored in the MO, or may be stored on magnetic tape. 不过,最简单与直接的方式就是直接存在硬盘上。 However, the most simple and direct way is directly on the hard disk. 通常,备份的方式有以下几种:定期备份:如图1a所示,即不论使用者的作业如何,在固定时间,亦即时间T时(如每天一次或每周一次)将更新数据20备份为备份数据30。 Typically, back up are the following: regular backups: As shown, i.e., regardless of the user's operation, at a fixed time, i.e., time T (e.g., once a day or once a week). 1A backed update data 20 to back up data 30. 这种做法最为平常,但缺点是每次定期存盘的期间使用者可能历经了多次的文件变更,因此,两次备份期间使用者在时间1的原始数据10将不复存在。 This practice is most common, but the drawback is that each user during a regular basis could save a file after a number of changes, so the user backup to the time of the original data 110 will cease to exist. 于是,计算机使用者便无法确知原始数据10与更新数据20之间的区别,同时,每次所存储的文件,将占去相当大的内存空间。 As a result, computer users will be unsure of the difference between the original data 10 and 20 update the data, at the same time, each of the stored files will take up considerable memory space.

另一种方法是在文件改变后立即备份,如图1b所示。 Another approach is to back up files immediately after the change, shown in Figure 1b. 此种做法,是为了保证原始数据不会丢失,即在时间1时,对原始数据10做备份数据50;在时间2时,数据有所变更,立即做备份数据60。 Such an approach is to ensure that the original data is not lost, that is, at time 1:00, the raw data for backup data 10 50; at the 2:00 time, the data are subject to change and do immediately backup data 60. 于是,在两个时间点,就拥有两份备份数据,即备份数据50与60。 Thus, at both time points, to have two backup data, i.e., the backup data 50 and 60. 此种做法,虽可达到立即备份的目的,不过,每一次立即备份,同样会造成内存空间的浪费,在备份的同时,亦会耗用系统资源,造成系统执行上的负担。 Such an approach, although can achieve the purpose of immediate backups, but every backup immediately, it will also result in a waste of memory space, while the backup, will consume system resources, a burden on the system to perform.

所以,如何能采用最有效的方式来进行备份运作,同时,又能达到实时的效果,成为数据备份发展的重要方向。 So, how can the most effective way to back up the operation, at the same time, while maintaining the real-time effect, become an important direction of development of data backup.

发明内容 SUMMARY

本发明的目的是提供一种用于动态备份数据的系统与方法,采用实时监控文件系统的手段,对使用者指定类型的数据文件,在其发生改变时实时地进行备份,同时不影响使用者对其他文件的操作。 Object of the present invention to provide a system and method for backing up data for dynamic, real-time monitoring means using the file system, the user specifies the type of data files, backup real time when it is changed, without affecting the user the operation of other documents.

本发明的另一目的在于提供一种能够减少使用者用于备份数据文件所用的硬盘空间的动态备份数据的系统与方法。 Another object of the present invention is to provide a system and method capable of reducing dynamic backup user data of the hard disk space for backup data files used.

按照本发明所提供的动态备份数据的系统,包括:文件监控模块、数据分析模块以及数据处理模块。 Dynamic data backup system according to the present invention is provided, comprising: a file monitoring module, a data analysis module and a data processing module. 文件监控模块读取原始数据与更新数据,一旦有更新数据产生,便将更新数据传送至数据分析模块,数据分析模块在接收到更新数据后,依据使用者的备份请求,将更新数据的信息传送到数据管理模块,数据管理模块再将更新数据重制为备份数据。 File monitoring module reads the original data and the updated data, the updated data is generated once, put the update data is transmitted to the data analysis module, a data analysis module, after receiving the update data, based on the user's backup request, the update data information transfer the data management module, the data management module updates the data and then to reproduce the backup data.

按照本发明提供的动态备份数据的方法,包括下列步骤:监控数据步骤,由文件监控模块监控数据的变更,当使用者变更数据时,便将更新数据信息传送到数据分析模块;分析数据步骤,一旦数据分析模块接收到更新数据信息,便撷取更新数据的线程ID、程序名与文件名等数据;进入线程步骤,一旦使用者发出备份请求,即安排线程进入数据队列;备份数据步骤,数据管理模块依据进入数据队列的线程进行数据备份。 The method of the present invention, dynamic backup data is provided, comprising the steps of: monitoring data step by changing the file monitoring module monitors data when the user data is changed, the data put update information to the data analysis module; data analysis step, Once the data analysis module receives the update data, update data retrieving a thread ID, the program name and file name and other data; a step into the thread, once the user issues a backup request, i.e. to arrange the thread into the data queue; step of backup data, the data management module based on the thread into the data queue for data backup.

按照本发明的动态备份数据的系统与方法,可以实现实时备份数据,同时,由于在备份时采取线程管理,因而能减小数据备份时对系统性能所造成的影响。 The system and method of the present invention, the dynamic backup data, the backup data can be real-time, and, thanks to the thread management during backup, which can reduce the impact on system performance data backups caused.

附图说明 BRIEF DESCRIPTION

图1a为按照现有技术的定期备份数据方法示意图;图1b为按照现有技术的立即备份数据方法示意图;图2a为按照本发明的动态备份数据方法示意图;图2b为按照本发明的动态备份数据系统方块图;图3为按照本发明的动态备份数据方法的运作流程图;以及图4为按照本发明的动态备份数据方法的具体实施例,当使用者发出备份请求后的备份运作流程图。 Figure 1a is a schematic view of the backup data according to a regular method of the prior art; FIG. 1b is a schematic view of an immediate backup of data in accordance with the prior art method; Figure 2a is a schematic view of the backup data according to the dynamic process of the present invention; Figure 2b is a dynamic backup according to the invention a block diagram of a data system; FIG. 3 is a flowchart illustrating the operation of moving the backup data according to the method of the present invention; and 4 according to the embodiment of the dynamic data backup method of the present invention, when the backup operation flowchart of the user issues a backup request to FIG. .

具体实施方式 Detailed ways

参考图2a,该图为按照本发明的动态备份数据方法示意图。 Referring to Figure 2a, the picture shows a schematic view according to the dynamic data backup method of the present invention.

在时间t1,使用者开始操作原始数据10,此时,原始数据已有一份备份数据50。 At time t1, the user starts operation of the raw data 10, at this time, the raw data 50 has a copy of data. 到了时间t2,使用者操作的数据有所变更,成为更新数据40,此时,动态备份系统70比较原始数据10与更新数据40,而检测到此项数据的变化,亦即,原始数据10中的A变更为更新数据中的A1,此时,即可将A1加以备份。 To the time t2, the operation of the user data is subject to change, the update data 40 becomes, In this case, 70 original data comparator 10 and the dynamic update data backup system 40, and detects a change in this data, i.e., raw data 10 a change to update the data in the A1, at this time, the A1 can be backed up. 于是,动态备份系统依据使用者的备份请求,可将所更新的数据,亦即,更新数据40中的A1,加以重制并备份为备份数据80。 Thus, dynamic backup system based on the backup request of the user, the data can be updated, i.e., update data 40 A1, to be reconstituted for the backup and backup data 80. 如此,即可完成动态的备份数据,且只备份使用者所要求备份的变更数据,如更新数据40中的A1。 Thus, to complete the dynamic backup data and the backup data only changes required by the user to back up, as the update data in the 40 A1.

按照本发明的动态备份方法,可通过本发明的动态备份系统70来实现,参考图2b,该图为按照本发明的动态备份数据系统方块图。 Dynamic backup method according to the present invention, 70 can be achieved by the dynamic backup system according to the present invention, with reference to Figure 2b, a block diagram of the picture shows the backup data according to a dynamic system of the present invention. 本发明的动态备份系统70,包括:文件监控模块90、数据分析模块100以及数据处理模块110。 Dynamic backup system 70 of the present invention, comprising: a file monitoring module 90, a data analysis module 100, and a data processing module 110.

参考图2a与图2b,文件监控模块90用来监控使用者所操作的原始数据10与更新数据40,并读取原始数据10与更新数据40,一旦有更新数据40产生,文件监控模块90即将变更信息传至数据分析模块100。 Referring to Figures 2a and 2b, the file monitoring module 90 to monitor the user operation of original data 10 and update data 40, and reads the original data 10 and update data 40, once the update data 40 is generated, the file monitoring module 90 is about change information transmitted to the data analysis module 100. 当数据分析模块100接收到文件监控模块90所读取的原始数据10与更新数据40时,分析使用者的操作,若使用者请求备份,则将更新数据40送至数据管理模块110;若使用者不想备份数据,则状态回到文件监控模块90继续监控数据。 When the data analysis module 100 receives the original data file monitoring module 90 reads the update data 10 and 40, the analysis operation by the user, if the user requests a backup data 40 to the data management module 110 will be updated; if used who do not want to back up your data files back to the state monitoring module 90 continues to monitor the data. 数据管理模块110在收到数据分析模块100发出的使用者的备份请求后,便将更新数据40另存为备份数据80。 Data management module 110 after receiving the backup request of the user of the data analysis module 100 issues, to update data 40 is put as a backup data 80.

所以,本发明的动态备份数据系统可依使用者的选择以动态的方式进行备份,并是实时的。 Therefore, dynamic data backup system of the invention may vary depending on the user's choice for backup in a dynamic manner, and in real time.

参考图3,该图为按照本发明的动态备份数据的方法的运作流程图。 Referring to Figure 3, a flowchart of the operating process according to the graph of dynamic backup data according to the present invention. 本发明的动态备份数据的方法包括下列步骤:读取文件操作(步骤310),是否为要监控的操作(步骤320),判断为否,进到步骤330,继续操作(步骤330),判断为是,请求数据分析模块处理(步骤340),取得该文件操作的线程ID、程序名与文件名等关键数据(步骤350),根据使用者所设定的条件,判定文件是否要备份(步骤360),判断为否,转到步骤330,继续操作(步骤330),判断为是,请求数据管理模块备份文件(步骤370),以及备份文件(步骤380)。 Dynamic backup data according to the present invention comprises the steps of: reading the file operation (step 310), whether the operation to be monitored (step 320), it is determined NO, proceeds to step 330, operation continues (step 330), it is determined , the processing request data analysis module (step 340), the file operation to obtain the thread ID, the program name and the file name of key data (step 350), according to the conditions set by the user, it is determined whether or not the file to be backed up (step 360 ), it is determined NO, proceeds to step 330, operation continues (step 330), it is determined that the request data backup file management module (step 370), and backup files (step 380).

参考图2a、图2b与图3,当使用者开始操作数据时,动态备份系统70中的文件监控系统90便开始读取文件操作(步骤310),同时,依据使用者的选择,来判定是否为要监控的操作(步骤320),如果使用者想监控此数据的操作,则文件监控模块90将请求数据分析模块100处理(步骤340);如果使用者不想监控数据操作,则继续使用者的文件操作(步骤330),动态备份系统70就不针对此项数据操作进行备份。 Referring to FIG 2a, 2b and 3, when the user starts the operation data, dynamic backup file system 70 monitoring system 90 starts operation to read the file (step 310), while, according to the user's selection, to determine whether for the operation to be monitored (step 320), if the user wants to monitor the operation of this data, the file monitoring module 90 analyzes the request data processing module 100 (step 340); if the user does not want the data to monitor operation, the user continues file operations (step 330), the backup system 70 is not the dynamic data for this backup operation.

当数据分析模块100接收到文件监控系统90的处理请求时,取得该文件操作的线程ID、程序名与文件名等关键数据(步骤350),并根据使用者所设定的条件,判定文件是否要备份(步骤360)。 When the data analysis module 100 receives a processing request to the file system monitor 90, the file operation to obtain the thread ID, the program name and the file name of key data (step 350), and according to the conditions set by the user, determines whether the file to back up (step 360). 如果使用者请求备份数据,则数据分析模块100将请求数据管理模块110备份文件(步骤370),亦即,将更新数据40中的变更数据A1进行备份(步骤380),最后,使用者就可继续操作文件(步骤330)。 If the user requests the backup data, the data analysis module 100 requests data backup file management module 110 (step 370), i.e., the update data A1 is changed backup data 40 (step 380), and finally, the user can continue file (step 330).

为了更详细说明本发明的备份方法,参考图4,该图为按照本发明的动态备份数据方法的具体实施例,表示使用者发出备份请求后的备份流程图。 To backup method of the present invention are described in more detail, with reference to FIG. 4, the graph according to the embodiment of dynamic data backup method of the invention, showing a flowchart of a backup request after the user issues a backup.

同时参考图2b、图3与图4,在图4中,在数据分析模块100存取更新数据的线程后,就以请求的线程ID为关键,分配请求的数据包(即图2a中A1的文件名、程序名等数据),加入请求队列(步骤410),并请求数据管理模块110备份文件,同时排入线程(步骤420)。 While referring to Figure 2b, Figure 3 and 4, in FIG. 4, the data analysis module 100 accesses data update thread, the thread ID of the request to it as the key allocation request packet (i.e. A1 in Figure 2a file name, program name data, etc.), the request queue is added (step 410), and a data management module 110 requests the backup file, and into the thread (step 420).

当线程开始执行时,数据管理模块110便依据该数据包开启储存于文件备份单元130中的更新数据的文件(步骤430),并重制数据包至目标文件(步骤440),亦即,备份数据。 When the thread starts execution, data management module 110 will open the file (step 430) the update data file is stored in the backup unit 130 according to the packet data, both packets to the target system file (step 440), i.e., the backup data . 当备份完毕,即关闭文件和目标文件(步骤450)。 When the backup is completed, i.e., the target file and close the file (step 450). 在备份完毕后,同时通知请求队列该文件的备份请求处理完毕(步骤460),当在队列中找到该请求的数据包时,结束该程序(步骤470)。 After completion of the backup, the backup queue while notification request file request is completed (step 460), when the packet data is found in the request queue, the routine ends (step 470). 虽然上面详细说明了本发明的具体实施方式,但其并非用以限定本发明,所属领域的普通技术人员在不脱离本发明的宗旨和范围内,应能够作出某些等同的更动与改型,因此本发明的专利保护范围应以所附的权利要求书界定的范围为准。 While the above detailed description of specific embodiments of the present invention, but not intended to limit the present invention, those of ordinary skill in the art without departing from the spirit and scope of the present invention, it should be able to make certain modifications and equivalent modifications Therefore the scope of the patent rights of the present invention should be defined by the appended claims scope of equivalents.

Claims (9)

1.一种动态备份数据的系统,包含:一文件监控模块,用以监控使用者所操作的原始数据与更新数据,并读取该原始数据与该更新数据;一数据分析模块,接收所述文件监控模块所读取的所述原始数据与更新数据,并分析使用者的操作;以及一数据管理模块,一旦所述数据分析模块将备份请求送至所述数据管理模块,将所述更新数据另存为备份数据。 A dynamic data backup system comprising: a file monitoring module for monitoring data update of the original data and the user operation, and reads the original data with the update data; a data analysis module for receiving the the original data with the update data file monitoring module reads and analyzes a user's operation; and a data management module, once the data analysis module to the backup request to the data management module, the update data Save as backup data.
2.如权利要求1记载的动态备份数据的系统,其特征在于所述数据分析模块判断使用者的该备份请求,当使用者请求备份时,则发送该备份请求至所述数据管理模块。 2. The system of dynamic backup data according to claim 1, wherein said data analysis module determines that the backup request of the user, when the user requests a backup, the backup request is sent to the data management module.
3.如权利要求1记载的动态备份数据的系统,其特征在于所述原始数据、更新数据与备份数据被储存于储存媒体。 Dynamic data backup system 1 according to claim 2, wherein said original data, the updated data is stored in the backup data storage medium.
4.如权利要求1记载的动态备份数据的系统,其特征在于所述原始数据、更新数据被储存于第一储存媒体,所述备份数据被储存于第二储存媒体。 4. The system dynamic backup data according to claim 1, wherein said original data, the updated data is stored in the first storage medium, the backup data is stored in the second storage medium.
5.一种动态备份数据的方法,包含下列步骤:文件监控模块监控使用者所操作的原始数据与更新数据,并读取该原始数据与该更新数据;数据分析模块接收文件监控模块所读取的原始数据与更新数据,并取得该更新数据的线程ID、程序名及文件名;一旦使用者发出备份请求,所述数据分析模块将该线程排入数据队列;以及当执行所述数据队列的备份线程时,由数据管理模块重制与该更新数据相同的备份数据。 A method for dynamic backup data, comprising the steps of: a file monitoring module to monitor the raw data and the updated data operated by the user, and reads the original data with the update data; data analysis module receives the read file monitoring module the original data and the updated data, and obtain the thread ID, program name, and file name of the update data; Once the user issues a backup request, the data analysis module threads into the data queue; and when performing the data queue when backing up the thread, the data management module updates the same data backup data reproduction.
6.如权利要求5记载的动态备份数据的方法,其特征在于还包含使用者发出监控命令的步骤,当使用者发出该监控命令时,所述监控模块送出所述原始数据与更新数据至所述分析模块。 6. The method of dynamic backup data according to claim 5, characterized by further comprising the step of monitoring a command issued by the user, when the user issues a command to monitor the monitoring module sends the data to the original data and the updated said analysis module.
7.如权利要求5记载的动态备份数据的方法,其特征在于所述管理模块依据所述数据分析模块所取得的所述程序名与文件名,重制该备份数据为另一文件名。 7. The method of dynamic backup data according to claim 5, characterized in that the program name and file name to the data management module according to the obtained analysis module, the backup data to reproduce another file name.
8.如权利要求5记载的动态备份数据的方法,其特征在于所述原始数据、更新数据与备份数据被储存于储存媒体中。 8. The method of dynamic backup data according to claim 5, wherein said original data, update data and the backup data is stored in the storage medium.
9.如权利要求5记载的动态备份数据的方法,其特征在于所述原始数据、更新数据被储存于第一储存媒体,所述备份数据被储存于第二储存媒体。 9. The method of dynamic backup data according to claim 5, wherein said original data, the updated data is stored in the first storage medium, the backup data is stored in the second storage medium.
CN 01140229 2001-12-06 2001-12-06 Dynamic data backing-up system and method CN1423200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01140229 CN1423200A (en) 2001-12-06 2001-12-06 Dynamic data backing-up system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01140229 CN1423200A (en) 2001-12-06 2001-12-06 Dynamic data backing-up system and method

Publications (1)

Publication Number Publication Date
CN1423200A true CN1423200A (en) 2003-06-11

Family

ID=4675735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01140229 CN1423200A (en) 2001-12-06 2001-12-06 Dynamic data backing-up system and method

Country Status (1)

Country Link
CN (1) CN1423200A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100419757C (en) 2004-11-12 2008-09-17 国际商业机器公司 Method and system of performing a current filesystem backup
CN101460934B (en) 2006-05-29 2011-10-19 微软公司 Creating frequent application-consistent backups efficiently
CN102622394A (en) * 2011-11-28 2012-08-01 江苏奇异点网络有限公司 Method for backing up editable documents in local area network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100419757C (en) 2004-11-12 2008-09-17 国际商业机器公司 Method and system of performing a current filesystem backup
CN101460934B (en) 2006-05-29 2011-10-19 微软公司 Creating frequent application-consistent backups efficiently
CN102622394A (en) * 2011-11-28 2012-08-01 江苏奇异点网络有限公司 Method for backing up editable documents in local area network

Similar Documents

Publication Publication Date Title
US7882093B2 (en) Managing copies of data
US6857053B2 (en) Method, system, and program for backing up objects by creating groups of objects
JP4363676B2 (en) Computer system
EP0810525B1 (en) Log file optimization in a client/server computing system
CN102460398B (en) Source classification for performing deduplication in a backup operation
CN1297904C (en) Hierarchy storage management method and apparatus using dynamic content table and content table collection
US7290115B2 (en) System and method for filtering write operations to a storage medium containing an operating system image
JP4393588B2 (en) System for correlating the processed data and the image data in a digital camera device, method and computer readable medium
CN100410882C (en) System and method for centralized software management in virtual machines
JP4250914B2 (en) Storage system
US6704885B1 (en) Performing data backups with a stochastic scheduler in a distributed computing environment
CN1291320C (en) Preserving a snapshot of selected data of a mass storage system
CN1308821C (en) Flexible event messaging method and system based on subscribing
US6850959B1 (en) Method and system for transparently extending non-volatile storage
CN1894912B (en) Single instance backup of email message attachments
US20040186968A1 (en) Method, system, and program for establishing and maintaining a point-in-time copy
JP5254611B2 (en) Metadata management for fixed content distributed data storage
US5133065A (en) Backup computer program for networks
CN101529419B (en) Method and system for offline indexing of content and classifying stored data
CN1099785C (en) Data management system and method for replicated data
US7181583B2 (en) Method and program for creating a snapshot, and storage system
US7457928B2 (en) Mirroring system memory in non-volatile random access memory (NVRAM) for fast power on/off cycling
US8522041B2 (en) System and method for efficiently performing a data encryption operation
JP4685782B2 (en) Method and apparatus for encrypting database columns
US6611850B1 (en) Method and control apparatus for file backup and restoration

Legal Events

Date Code Title Description
C10 Request of examination as to substance
C06 Publication
C10 Request of examination as to substance
C02 Deemed withdrawal of patent application after publication (patent law 2001)