CN100592298C - File synchronisation method and device - Google Patents

File synchronisation method and device Download PDF

Info

Publication number
CN100592298C
CN100592298C CN 200810098124 CN200810098124A CN100592298C CN 100592298 C CN100592298 C CN 100592298C CN 200810098124 CN200810098124 CN 200810098124 CN 200810098124 A CN200810098124 A CN 200810098124A CN 100592298 C CN100592298 C CN 100592298C
Authority
CN
China
Prior art keywords
file
event
change
queue
synchronization
Prior art date
Application number
CN 200810098124
Other languages
Chinese (zh)
Other versions
CN101281543A (en
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 200810098124 priority Critical patent/CN100592298C/en
Publication of CN101281543A publication Critical patent/CN101281543A/en
Application granted granted Critical
Publication of CN100592298C publication Critical patent/CN100592298C/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems

Abstract

The invention relates to a data simultaneous technique, discloses a file synchronous method, which comprises: monitoring a file directory, and recording the change event of a change when a file in thefile directory changes; determining files to be synchronized; and synchronizing the files to be synchronized to an objective computer. The invention also discloses a file synchronous device, comprising a monitoring unit, a record unit, an analytical unit and a synchronous unit. By using the invention, the real-time performance and reliability of file synchronization can be ensured.

Description

文件同步方法及装置 File synchronization method and apparatus

技术领域 FIELD

本发明涉及数据同步技术,具体涉及一种文件同步方法及装置。 The present invention relates to data synchronization technology, particularly to a method and apparatus for synchronizing files. 背景技术 Background technique

在信息处理的多种应用环境中,数据同步都有着广泛的需求。 In a variety of applications in information processing, data synchronization have a wide range of needs. 随着企业信息化程度的提高,考虑到数据的安全,需要将一台主机上的文件同步到另外的 With the improvement of the level of enterprise information, taking into account the security of the data, you need to file on one host to another sync

主机上进行备份;在分布式系统中,需要将基础数据文件同步到处于分布式系统中的各个主机上。 Backup host; in a distributed system, it is necessary to synchronize the data file is based on a distributed system in each host. 满足同步需求的关键是要解决下列问题:对文件同步的实时性、可靠性、高效性,以保证数据的安全可靠。 The key to meeting the needs of synchronization is to address the following issues: real-time file synchronization, reliability, efficiency, in order to ensure safe and reliable data.

目前对文件同步通常采用定时同步,主要有以下两种方式: Currently usually file synchronization timing synchronization, mainly in the following two ways:

1、 定时对源机需要同步的目录进行一次全扫描,对每个扫描到的文件到目的机验证,以确定该文件是否为新增或者做过修改,如果为新增或做过修改,则将文件同步到目的机。 1, the timing of the need to synchronize directory source machine performs a full scan, each scan to verify the file to the destination machine, to determine whether the file is new or modified done, if done to add or modify the sync files to the destination machine.

2、 定时对源机需要同步的目录进行一次全扫描,对每个扫描后的文件先进行同步操作,然后将同步后的文件转移到本机备份目录。 2, the timing of the need to synchronize directory source machine performs a full scan, each scan of the file to synchronize, then the file is transferred to the synchronized local backup directory. 以后每次扫描时,都是处理新增文件。 After each scan, the new files are processed.

上述这两种定时同步方式均不能同步删除文件;而且,不能做到实时同步,可靠性较差。 The two above-mentioned timing synchronization are not synchronized manner delete files; moreover, can not do real-time synchronization, reliability is poor. 发明内容 SUMMARY

本发明实施例提供一种文件同步方法及装置,以保证文件同步的实时性和可靠性。 Embodiment of the present invention provides a method and apparatus for synchronizing the file to ensure reliability and real-time file synchronization.

本发明实施例提供的一种文件同步方法,包括: A document according to an embodiment of the synchronization method of the present invention, comprising:

监控文件目录,当监控到所述文件目录中的文件发生变化时,将该变化的变化事件记录到事件队列;如果所述事件队列已满或有未处理事件文件,则将所述变化事件写入所述未处理事件文件; Monitoring directory, file when the monitored file directory changes, the change to the event queue record change event; event if the queue is full or unprocessed event file, then the write-change event into the unprocessed event file;

当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件; When the event queue is non-empty, sequentially parsing the change event in the event queue, determines the file change event in the event queue records need to be synchronized; when the event queue is empty, the non- change event processing event files are loaded into the event queue, and sequentially parsing the change event in the event queue, a change event is determined unprocessed event file recorded in the file need to be synchronized;

将所述需要同步的文件同步到目的机。 The file synchronization need to be synchronized to the destination machine. 本发明实施例提供的一种文件同步装置,包括: A document according to an embodiment of the present invention, synchronizing means comprising:

4监控单元,用于监控文件目录; 4 monitoring unit for monitoring a file directory;

记录单元,用于当所述监控单元监控到所述文件目录中的文件发生变化时,将该变化的变化事件记录到事件队列;如果所述事件队列已满或有未处理事件文件,则将所述变化事件写入所述未处理事件文件; Recording means for, when the monitoring unit to monitor the file directory when a file is changed, the change in the change event to the event queue; if the event queue is full or unprocessed event file, then the change in the unprocessed event file write event;

解析单元,用于根据所述记录单元记录的变化事件确定需要同步的文件;当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件; Parsing means according to a change event for the file recording unit records the determined need to be synchronized; when the event queue is non-empty, sequentially parsing the change event in the event queue, event queue to determine a change in the recorded event files need to be synchronized; when the event queue is empty, the event will vary unprocessed event file is loaded into the event queue, and sequentially parsing the change event in the event queue, the non-determined file changes need to be synchronized event processing event records in the file;

同步单元,用于将所述需要同步的文件同步到目的机。 Synchronization means for synchronizing the files need to be synchronized to the destination machine. 由以上本发明实施例提供的技术方案可以看出,本发明实施例通过监控方式,实时监控文件目录,当监控到有文件发生变化时,记录变化事件;根据所述变化事件确定需要同步的文件;将所述需要同步的文件同步到目的机。 Technical solutions provided by the above embodiment of the present invention can be seen, embodiments of the present invention is illustrated by way of monitoring, real-time monitoring file directory has the file when the monitored change record change event; change event is determined according to the document need to be synchronized ; the need to be synchronized to the destination file synchronization unit. 因此,可以将发生变化的文件能立即同步到目的机上,保证了文件同步的实时性和可靠性。 Therefore, the file can be changed instantly synchronized to the destination machine to ensure the timeliness and reliability of the file synchronization. 附图说明 BRIEF DESCRIPTION

图l是本发明文件同步方法的一种实施例的实现流程图;图2是本发明方法实施例中记录变化事件的实现流程图;图3是本发明方法实施例中解析变化事件的实现流程图;图4是本发明实施例中进行文件目录扫描的流程图;图5是本发明文件同步方法的另一种实施例的时序图;图6是本发明实施例文件同步装置的结构框图。 Figure l is a document of the present invention to achieve synchronization method flowchart of an embodiment; FIG. 2 is a flow chart for implementing this embodiment of the recording method of the present invention, change events embodiment; FIG. 3 is an implementation flow change events resolved embodiment embodiment of the method of the present invention FIG.; FIG. 4 is a flowchart of directory files embodiment of the present invention is scanned; FIG. 5 is a timing chart of another embodiment of the present invention, file synchronization process; FIG. 6 is a structural block diagram of file synchronization apparatus embodiment of the present invention. 具体实施方式 Detailed ways

为了使本技术领域的人员更好地理解本发明实施例的方案,下面结合附图和实施方式对本发明实施例作进一步的详细说明。 In order to make those skilled in the art better understand the solutions of the embodiments of the present invention, the following embodiments of the present invention will be described in further detail in conjunction with the accompanying drawings and embodiments.

为了保证文件同步的实时性,将发生变化的文件能立即同步到目的机上,本发明实施例采用实时监控方式,当监控到有文件发生变化时,记录变化事件,并根据所述变化事件确定需要同步的文件。 In order to ensure the synchronization of the real time files, the file will change can be synchronized to immediately the destination machine embodiment employs real-time monitoring of the present invention, when a monitored has the file change record change event, and to identify, according to the change event synchronize files.

如图l所示,是本发明文件同步方法的一种实施例的实现流程,主要包括以下步骤: As shown in FIG. L, a synchronization method of the present invention, the file implementation process embodiment, includes the following steps:

步骤IOI,监控文件目录,当监控到所述文件目录中的文件发生变化时,记录该变化的变化事件。 Step IOI, file monitoring directory, file when the monitored file directory changes, the change event record change.

本实施例中,可以利用操作系统的接口,釆用文件变化事件通知机制,实时监控文件目录中文件的变化。 In this embodiment the interface, you can use the operating system, Bian event notification mechanism with a file changes, changes in real-time monitoring file directory file. 比如,在Linux操作系统下,可以使用操作系统提供的INOTIFY文件变化监控机制,实时监控文件目录中的文件变化;在Windows操作系统下,可以利用系统接口ReadDirectoryChangesW,实时监控文件目录中的文件变化。 For example, in the Linux operating system, you can use INOTIFY file operating system provides change control mechanism, real-time monitoring of files in a directory of files that have changed; the Windows operating system, you can use system interface ReadDirectoryChangesW, file changes in real-time monitoring of files in the directory. 由于操作系统接口的使用,可以在目录中的文件修改后的第一时间得到文件变化通知,从而可以实现海量文件的实时同步。 Due to the use of the operating system interface, you can get the file change notification for the first time after the modified files in the directory, which can achieve real-time synchronization massive files. 本发明实例中,也可以采用其他手段或自定义的手段监控文件目录中文件的变化。 Examples of the present invention, other means may be used, or the directory from the file definition means monitoring changes in the file.

在本发明实施例中,为了保证文件同步的可靠性,可以将文件发生变化的变化事件写到指定的队列,比如事件队列,在变化事件太多时,而如队列满后,也可以将变化事件写入未处理事件文件,以保证所述变化事件不被丢失。 In an embodiment of the present invention, in order to ensure the reliability of synchronizing files, the file changed event may be written to the specified queue changes, such as an event queue, when too much change event, and if the queue is full, the event may be a change unprocessed event file is written to ensure that the change event is not lost.

当既有未处理事件文件未处理,也有搡作系统通知事件发生时,可以先处理已存在的未处理事件文件,将通知事件继续写入该未处理事件文件,从而保证文件同步操作的顺序进行。 When both unprocessed event file untreated, but also shoving for system notification event occurs, it can handle unprocessed event file already exists, the notification event will continue to write to the unprocessed event file, thus ensuring sequential file synchronization operation is performed . 对此在后面将进行详细描述。 As will be described in detail later.

步骤102,根据所述变化事件确定需要同步的文件。 Step 102, it is determined based on the change needs to be synchronized event file.

相应地,可以首先从所述事件队列中读取变化事件,对该变化事件进行解析,确定需要同步的文件。 Accordingly, it may first be read from the event queue change event, parses the change event, determine the file need to be synchronized. 如果所述事件队列为空,则将未处理事件文件读入所述事件队列,然后,从所述事件队列中读取变化事件,对该变化事件进行解析,确定需要同步的文件。 If the event queue is empty, the unprocessed event file is read into the event queue, and then, reads the change event from the event queue, parses the change event, determine the file need to be synchronized.

步骤103,将所述需要同步的文件同步到目的机。 Step 103, the files need to be synchronized to the destination synchronous machine.

进行文件同步的手段可以有多种,例如FTP (File Transfer Protocol,文件传输协议)传输方式或者利用socket方式,实现同步文件的传输。 Means of file synchronization can have a variety, such as FTP (File Transfer Protocol, File Transfer Protocol) transmission or use of socket, to achieve synchronous transfer files.

可见,本发明实施例通过监控文件目录,记录所述文件目录中的文件发生变化的变化事件,比如采用操作系统文件变化通知机制,可以保证同步的实时进行,写事件文件方式,可以保证同步的可靠性。 Be seen, embodiments of the present invention by monitoring the file directory, the file record change event files in the directory changes, such as using an operating system file change notification mechanism can ensure synchronization of real-time, event file write mode, you can ensure the synchronization of reliability.

下面对本发明实施例中记录变化事件及解析变化事件的流程进行详细说明。 Parsing process change event and changes the event will be recorded in the embodiment the following detailed description of the embodiments of the present invention.

在本发明实施例中,可以将所述变化事件记录到事件队列,如果所述事件队列已满或有未处理事件文件,则可以将所述变化事件写入所述未处理事件文件,所述未处理事件文件可以有一个或多个,以保证所有变化事件不会丟失。 In an embodiment of the present invention, the change event may be logged in the event queue if the event queue is full or unprocessed event file, you can write the unprocessed event file of the change event, the unprocessed event file can have one or more, to ensure that all change events is not lost. 当有多个未处理事件文件时,可以通过文件队列对各未处理事件文件进行排 When there are a plurality of unprocessed event file, each row may be unprocessed event queue file by file

6队,以保证先发生变化的文件能够得到优先同步处理。 6 team, to ensure that changes to the file can be given priority sync.

如图2所示,是本发明实施例中记录变化事件的实现流程,主要包括以下步骤201 ,利用操作系统接口获得文件变化事件。 2, the change event is recorded in the embodiment of the implementation flow of the present embodiment of the invention, includes the following steps 201, obtained using the operating system interface file change event.

比如,在Linux操作系统下,使用操作系统提供的INOTIFY文件变化监控机制,获取文件变化事件;在Windows操作系统下,利用系统接口ReadDirectoryChangesW,获取文件变化事件。 For example, in the Linux operating system, the operating system provides a file using INOTIFY change control mechanism, obtain the file change events; in the Windows operating system, using the system interface ReadDirectoryChangesW, get file change events.

步骤202,判断是否有未处理事件文件存在;如果是,则执行步骤203; 否则,执行步骤205。 Step 202 determines whether an unprocessed event file exists; if yes, execute step 203; otherwise, step 205 is executed.

步骤203,判断是否有未写满的未处理事件文件;如果是,则执行步骤204; 否则,执行步骤207。 Step 203 determines whether there is an unprocessed event file is not filled in; if yes, step 204 is performed; otherwise, step 207.

步骤204,将变化事件写入未处理事件文件,本流程结束。 Step 204 will change events written unprocessed event file, the process ends.

步骤205,判断事件队列是否已满;如果是,则执行步骤203;否则,执行步骤206。 Step 205, it is determined whether the event queue is full; if yes, execute step 203; otherwise, step 206 is performed.

步骤206,将变化事件写入事件队列,本流程结束。 Step 206, the change event queue write events, this flow ends. 步骤207,新建未处理事件文件,并将该未处理事件文件名放入文件队列。 In step 207, the new unprocessed event file, and the file name into the file unprocessed event queue. 本流程结束。 This process ends.

相应地,在处理变化事件时,即解析变化事件确定需要同步的文件时,可以按照以下过程来进行:当事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;当事件队列为空后,将未处理事件文件中的变化事件加载到事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件;在所述未处理事件文件中的变化事件加载到所述事件队列后,删除所述未处理事件文件。 Correspondingly, when the event process variations, i.e., variations parses the file need to be synchronized event determination may be performed according to the following procedure: when the event queue is non-empty, sequentially parsing change event in the event queue, the event is determined change event queue record in the file need to be synchronized; when the event queue is empty, the change events unprocessed event file is loaded into the event queue, and sequentially parsing the change event in the event queue, determines the unprocessed change event file recorded in the file need to be synchronized; change event in the unprocessed event file is loaded into the event queue, deleting the unprocessed event file.

需要说明的是,当有多个未处理事件文件时,可以根据文件队列中的顺序, 依次加载各未处理事件文件到所述事件队列,以保证先发生变化的文件能够得到优先同步处理。 Incidentally, when there are a plurality of unprocessed event file, the file according to the order in the queue may be sequentially loaded into each of the unprocessed event file event queue, in order to ensure that the file can be changed to the priority sync.

如图3所示,是本发明实施例中解析变化事件的实现流程,主要包括以下步骤:步骤301,判断事件队列是否为空;如果是,则执行步骤302;否则,执行步骤305。 3, the flow analysis is to achieve change events embodiment of the present invention, includes the following steps: Step 301, it is determined whether the event queue is empty; if yes, execute step 302; otherwise, step 305 is performed.

步骤302,判断文件队列是否为空;如果是,则执^f亍步骤307;否则,执行步骤303。 Step 302 determines if the file is empty queue; if yes, execute step 307 ^ f right foot; otherwise, step 303 is performed.

步骤303,弹出文件队列顶部元素,作为读入事件队列的未处理事件文件。 In step 303, the top of the pop-up file queue element, unprocessed event file as read in the event queue. 步骤304,将弹出的事件文件读入事件队列。 Step 304, the event will pop up file is read into the event queue. 步骤305,从事件队列的队首读取一个变化事件。 In step 305, the first reading a change in the team event from the event queue. 步骤306,解析变化事件,确定需要同步的文件,本流程结束。 Step 306, parsing change events, determine the file needs to be synchronized, this process ends. 步骤307,未读取到变化事件,等待预定时间后,重新进行读取过程,本流程结束。 Step 307, a change event is not read, after waiting for a predetermined time, re-reading process, this flow ends.

利用图2所示记录变化事件的方式、以及图3所示解析变化事件的方式, 可以保证同步的实时性及可靠性。 Change event using the recording mode 2, and parsing change event shown in FIG. 3, can ensure the synchronization of real-time and reliability.

为了进一步提高同步的高效性,还可以在启动文件同步任务时对源机进行目录扫描(如全目录扫描),获取所述目录中文件的修改时间;如果所述文件的修改时间比记录的上次文件同步的检查时间新,则将所述文件同步到目的机;将所述文件同步到目的机后,记录本次文件同步的检查点时间。 To further improve the efficiency of synchronization at startup can also be the source file synchronization task directory scanning machine (e.g., a full directory scan), obtain a modified time of the files in the directory; if the modification time of the file is newer than the recorded this file is a new check time synchronization, then the synchronization file to the destination machine; synchronize the file to the destination machine, the document record of this time synchronization checkpoint.

此外,还可以在第一次对文件目录扫描完,并且没有待处理的变化事件时, 记录此时目录的状态信息到检查点信息文件,并设定此后隔一定时间为一个检查点,当到达检查点、并且没有待处理的未处理事件文件时,更新检查点信息文件。 Furthermore, for the first time may have been scanned file directory, and no change events to be processed, recording state that the directory information to the checkpoint information file, and setting a predetermined time interval after a checkpoint, upon reaching when the checkpoint, and there is no unprocessed event file to be processed, update the checkpoint information file. 下次扫描时,根据检查点信息文件中记录的目录状态信息决定该目录下的各个文件的操作,从而决定该文件是否需要同步。 When the next scan, the operation information determining each file in the directory based on the directory status checkpoint information recorded in a file, to determine whether the file needs synchronization. 检查点信息文件的使用可以加快后续扫描文件目录的速度,减少网络交互,从而保证文件目录扫描的高效运行。 Use the checkpoint information file can speed up the follow-up scan files directory speed and reduce network interactions, thus ensuring the efficient operation of the file directory scan.

如图4所示,是本发明实施例中进行文件目录扫描的流程图,主要包括以下步骤: 4 is a flowchart for scanning the file directory in the embodiment of the present invention, includes the following steps:

步骤401,判断检查点信息文件是否存在;如果是,则执行步骤402;否则,执行步骤403; Step 401, it is determined whether or not the checkpoint information file exists; if yes, execute step 402; otherwise, step 403 is performed;

步骤402,读取检查点信息文件,以获取最近的检查点信息;然后执行步骤404;步骤403,新建^r查点信息文件,并初始化;险查点信息; 步骤404,根目录进栈; Step 402, the checkpoint information file is read to obtain the most recent checkpoint information; then step 404; step 403, the new ^ r enumeration information file, and initialize; enumeration insurance information; Step 404, the root directory into the stack;

步骤405,判断栈是否为空;如果是,则执行步骤406;否则,执行步骤 Step 405, it is judged whether the stack is empty; if yes, execute step 406; otherwise, step

407; 407;

步骤406,结束扫描过程,本流程结束。 Step 406, the end of the scanning process, the present flow ends.

步骤407,弹出栈顶元素,作为当前待扫描的文件目录; Step 407, pop the top element, the current directory as a file to be scanned;

步骤408,打开待扫描文件目录; Step 408, open the file directory to be scanned;

步骤409,判断该文件目录下是否有文件;如果是,则执行步骤410;否则,执行步骤405; Step 409 determines whether the file under the file directory; if yes, execute step 410; otherwise, step 405 is performed;

步骤410,获取该文件目录下的一个文件; Step 410 acquires a file in the file directory;

步骤411,判断该文件是否为目录;如果是,则执行步骤412;否则,执行步骤413; Step 411 determines whether the file is a directory; if yes, execute step 412; otherwise, step 413 is performed;

步骤412;将该目录进栈; Step 412; the directory into the stack;

步骤413,将文件信息与检查点信息进行比较,决定是否需要进行文件同步;如果是,则执行步骤414;否则,执行步骤409; Step 413, the file information is compared with the checkpoint information, determine the need for file synchronization; if yes, perform step 414; otherwise, executing step 409;

步骤414,进行文件同步,本流程结束。 Step 414, a synchronization file, and the flow ends.

利用该扫描流程,可以进一步保证文件同步的可靠性。 With this scanning process, we can further ensure the reliability of the file synchronization.

在使用操作系统接口监控文件目录时,如果用于执行文件同步任务的同步程序宕掉(比如程序异常发生的运行中止或程序重启动时)或是^皮人为停止掉, 那么之后产生的文件变化事件就捕捉不到,造成变化事件的丟失。 When using the operating system interface to monitor file directory, if the file synchronization to synchronize execution tasks shoot down (such as running a program exception occurs when a program suspend or restart) or man-made leather ^ stop off, then the file after the change produced events will not catch, resulting in the loss change events. 为解决这一问题,进一步保证同步的可靠性,可以在重新启动同步程序时,对源机进行目录扫描(如全目录扫描),以保证得到同步程序停止后的文件变化。 To solve this problem, to further ensure the reliability of sync, you can sync when you restart the program, the source machine to scan a directory (such as whole directory scanning), to ensure synchronized file changes after the program stops.

也就是说,本发明实施例中,可以在启动文件同步任务时,同时启动目录扫描线程和目录监控线程,目录扫描线程保证目录监控线程宕掉或停止后的变化信息得到同步,目录监控线程保证实时的文件变化信息得到同步。 That is, embodiments of the present invention, file synchronization may be when starting the task, and start scanning directories and directory thread monitoring thread, directory scan threads to ensure that the directory monitor thread shoot down or stop the change information synchronized, to ensure that the directory monitor thread real-time file change information synchronized. 这样设计可以更好地保证文件同步的实时性和可靠性。 This design can better ensure the synchronization of real-time performance and reliability of the file.

如图5所示,是另一种本发明实施例文件同步方法的时序图,包括以下步 5 is a timing chart of a file synchronization method of another embodiment of the present invention, comprises the following steps

骤: Step:

步骤501,在启动文件同步任务时启动扫描线程; Step 501 starts scanning threads at startup file synchronization tasks;

9步骤502,启动监控线程; 9 step 502, starts the monitoring thread;

步骤503,扫描文件目录,以检查是否有文件发生变化; 步骤504,如果有文件发生变化,则同步变化文件; 步骤505,实时监控文件目录; In step 503, the scan file directory, to check for file changes; step 504, if the file is changed, the change file synchronization; step 505, real-time monitoring file directory;

步骤506,监控到变化事件后,将所述变化事件记录到事件队列; 步骤507,如果事件队列已满或有未处理事件文件,则将变化事件写入所 Step 506, the monitored change event, the event record change to the event queue; step 507, if the event queue is full or unprocessed event file, then writes the change event

述未处理事件文件; Said unprocessed event file;

步骤508,读取事件队列中的变化事件,确定需要同步的文件; 步骤509,如果事件队列空,则读取未处理事件文件中的变化事件,需要 Step 508 reads the change of event queues, determining the files need to be synchronized; step 509, if the event queue is empty, the read change event unprocessed event file needs to

同步的文件; Synchronization of files;

当然,如前面所迷,在读取未处理事件文件时,如果有多个未处理事件文件,可以依照文件队列中的顺序依次读取,而且将未处理事件文件中的变化事件加载到事件队列,然后依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件。 Of course, as previously lost, when reading unprocessed event file, if there is more unprocessed event file, the file may be sequentially read in the order in the queue, and to load unprocessed event file change events to the event queue and sequentially parsing the change event in the event queue, a change event is determined unprocessed event file recorded in the file need to be synchronized. 另外,在所述未处理事件文件中的变化事件加载到所述事件队列后,还需要删除该未处理事件文件。 Further, in the event a change unprocessed event file is loaded into the event queue, also you need to remove the unprocessed event file.

步骤510,将发生变化的文件同步到目的机。 Step 510, the file is changed to the destination machine is synchronized.

需要说明的是,在本发明实施例中,所述未处理事件文件在同步进程中的事件队列满时产生,新产生的变化事件在已有未处理事件文件没有处理完时, 继续写入该未处理事件文件。 Incidentally, in the embodiment of the present invention, is generated when the queue is full unprocessed event file event in the synchronization process, new change event has been generated when the unprocessed event file is not processed, the write continues unprocessed event file. 在该未处理事件文件加载到事件队列后,删除该未处理事件文件。 After the unprocessed event file loaded into the event queue, delete the unprocessed event file. 同步进程刚启动时,需要删除已有的未处理事件文件,同步进程正常退出时删除未处理事件文件,该未处理事件文件中的变化事件可以由下一次同步程序启动后的扫描进程来完成。 When the synchronization process has just started, you need to remove the existing unprocessed event file, delete the unprocessed event file synchronization process exits normally, change events that unprocessed event file can be done by the scanning process after the next synchronization starts.

同步进程可以有多个未处理事件文件,为了方便处理,可以i殳定每个未处理事件文件中记录的变化事件条数相同,且等于同步进程中事件队列的大小。 Synchronization process can have multiple unprocessed event file, in order to facilitate processing, the same number can change event i Shu pieces each file recorded in the unprocessed event set, and is equal to the size of the event queue of the synchronization process. 事件队列的大小可以在同步程序启动时指定。 You can specify the size of the event queue when synchronizing the program starts.

所述事件文件中可以包含以下信息:文件名、文件的操作方式、文件类型等,具体格式可以如下表1所示:事件文件类型标识,事件文件最大记录数 <table>table see original document page 11</column></row> <table>其4也记录 表1 The event file can include the following information: file name, file operation, the file type, the specific format shown in Table 1 below: Event identifier file type, maximum number of records event file <table> table see original document page 11 </ column> </ row> <table> 4 which are also recorded in table 1

在上面已经提到,可以在第一次对文件目录扫描完,并且没有待处理的变化事件时,记录此时目录的状态信息到检查点信息文件。 Already mentioned above, may be the first time a file directory has been scanned, and no change events to be processed, recording state that the directory information to the checkpoint information file. 下次扫描时,根据检查点信息文件中记录的目录状态信息决定该目录下的各个文件的操作,从而决定该文件是否需要同步。 When the next scan, the operation information determining each file in the directory based on the directory status checkpoint information recorded in a file, to determine whether the file needs synchronization.

需要说明的是,单个同步进程只有一个检查点信息文件,该检查点信息文件在同步进程启动时,在默认路径中不能找到时建立。 It should be noted that only a single synchronization process checkpoint information file, when the checkpoint information in the file to start the synchronization process, the establishment can not be found in the default path.

所述检查点信息文件中包含的信息及格式可以如下表2所示: The checkpoint information file contains information and format as shown in Table 2:

<table>table see original document page 11</column></row> <table> 表2 <Table> table see original document page 11 </ column> </ row> <table> Table 2

检查点信息可以定时进行更新,在定时时间到达后,如果目录扫描已经结束,并且没有待处理的事件时,更新所述^r查点信息。 Checkpoint update timing information, the timing after the arrival time, if the directory has ended the scan, and no event to be processed, the update information of the enumeration ^ r.

检查点信息文件中,可以根据用户在启动同步进程时的指定,保留相应数目的历史检查点信息。 The checkpoint information in the file, the user can specify when you start the synchronization process, to retain a corresponding number of historical checkpoint information. 用户在启动同步进程时,可以指定使用哪个检查点信息。 When users start the synchronization process, which can be specified using the checkpoint information. 设需保留的检查点信息个数为N,最新的检查点信息在文件中的位置为P(P从0开始计数),检查点信息所占空间为M字节,假设检查点信息文件标识占LA 字节,需保留检查点信息个数占LB字节,最新检查点信息在文件中的位置占LC字节。 The number of checkpoints need to retain information provided is N, the latest location information in the checkpoint file is set to P (P starts counting from 0), the space occupied by the checkpoint information is identified as an M-byte, assuming checkpoint information representing file LA bytes, the number of points required to keep checking account information LB bytes, the latest checkpoint information in the file location accounted for LC bytes.

在同步进程启动时,若没有指定使用哪个检查点信息,则所要读取的检查点信息的位置LOCI为: When the synchronization process starts, which checkpoint information if you do not specify the use of the checkpoint information about the location LOCI is to be read as follows:

L0C1=LA+LB+LC+P*M (公式1 )记录下一个检查点信息的位置L0C2为: L0C1 = LA LB LC P * M (Equation 1) checkpoint information recorded in a + + + L0C2 position is:

LOC2 = LA + LB + LC + ((P+ 1)%N)*M (公式2) 根据LOCl获取老的检查点信息,进行文件扫描。 LOC2 = LA + LB + LC + ((P + 1)% N) * M (Equation 2) LOCl old checkpoint acquisition information, according to the document scanning. 根据LOC2设置新的检查点信息,如果LOC2已经有检查点信息,旧的信息将被覆盖。 According to LOC2 set up a new checkpoint information, if there is already LOC2 checkpoint information, the old information will be overwritten.

设置新的检查点信息的同时,需要修改最新检查点信息的位置为: P= (P+l) %N。 Setting a new checkpoint information simultaneously, it is necessary to modify the latest checkpoint information location: P = (P + l)% N.

若指定使用第i个检查点,则检查点信息的位置为: LOC3 = LA + LB + LC + (P + i) % N 。 If the specified using the i th checkpoint, the checkpoint information location: LOC3 = LA + LB + LC + (P + i)% N.

利用本发明实施例的文件同步方法,可以保证文件同步的实时、可靠和高效。 With the present embodiment of the invention, file synchronization method, the real-time file synchronization can be guaranteed, reliable and efficient.

需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读M储介质中,所述的存储介质,如:ROM/RAM、磁碟、光盘等。 Incidentally, those of ordinary skill in the art will be appreciated that the method to achieve the above embodiment is all or part of the steps may be relevant hardware instructed by a program, the program may be stored in a computer-readable storage medium M the storage medium, such as: ROM / RAM, magnetic disk, optical disk.

本发明实施例还提供了一种文件同步装置,如图6所示,是该文件同步装置的结构框图,主要包括监控单元61、记录单元62、解析单元63和同步单元64,为了进一步文件同步的可靠性,还可以包括扫描单元65、比较单元66和检查点时间更新单元67。 Embodiment of the present invention further provides a file synchronization apparatus shown in FIG. 6 is a block diagram of the synchronization device file, including the monitoring unit 61, a recording unit 62, analysis unit 63 and synchronization unit 64, in order to further file synchronization reliability, may further comprise a scanning unit 65, comparison unit 66 and the checkpoint time updating unit 67. 其中: among them:

监控单元61用于监控文件目录;记录单元62用于当监控单元61监控到有文件发生变化时,记录该变化的变化事件;解析单元63用于才艮据记录单元62记录的变化事件确定需要同步的文件;同步单元64用于将所述需要同步的文件同步到目的机。 Monitoring unit for monitoring a file directory 61; a recording unit 62 for, when the monitoring unit 61 to monitor when a file is changed, the change event record change; Gen parsing unit 63 for data change event was recorded by the recording unit 62 determines that synchronization file; synchronizing unit 64 for synchronizing the files need to be synchronized to the destination machine. 扫描单元65用于在启动文件同步任务时对源机进行目录扫描,获取所述目录中文件的修改时间;比较单元65用于比较所述文件的修改时间与记录的上次文件同步的4全查点时间,如果所述文件的^f奮改时间比记录的上次文件同步的检查点时间新,则通知同步单元64将所述文件同步到目的机;检查点时间更新单元66用于在比较单元65将所述文件同步到目的机后, 记录本次文件同步的4全查点时间。 The scanning unit 65 scans the source directory for machine startup file synchronization task, obtain a modified time of the files in the directory; modification time of the recording of the last file comparison unit 65 for comparing the full file synchronized 4 checkpoint time, if the change time of the excited ^ f checkpoint file than the last synchronization time of the new file recorded, the synchronization unit 64 notifies the synchronization file to the destination machine; checkpoint time updating unit 66 for the comparison unit 65 to the destination file synchronization unit, the recording time of 4 full enumeration of this file synchronization.

其中,记录单元62可以包括以下子单元(图中未示):写队列子单元,用于将所述变化事件记录到事件队列;写文件子单元,用于在所述事件队列已满 Wherein the recording unit 62 may include the following sub-units (not shown): write queue subunit, configured to change the event record to the event queue; write file subunit, for the event in the queue is full

12或有未处理事件文件时,将所述变化事件写入所述未处理事件文件。 12 or unprocessed event file, the writing of the change event unprocessed event file.

相应地,解析单元63可以包括以下子单元(图中未示):队列解析子单元,用于当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;文件解析子单元,用于当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队 Accordingly, the parsing unit 63 may include the following sub-units (not shown): parsing subunit queue, for, when the event queue is non-empty, sequentially parsing change event in the event queue, the event is determined change event queue record in the file need to be synchronized; file parsing sub-unit, configured to, when the event queue is empty, the event of change in the unprocessed event file is loaded into the event queue

列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件;文件删除子单元,用于在所述未处理事件文件中的变化事件加载到所述事件队列后,删除所述未处理事件文件。 Column, and sequentially parsing the change event in the event queue, a change event is determined unprocessed event file recorded in the file need to be synchronized; file deletion sub-unit, for the unprocessed event file change event after loading into the event queue, delete the unprocessed event file.

利用本发明实施例的装置实现文件同步的具体过程与前面对本发明方法中的描述类似,在此不再赘述。 Using the apparatus of the embodiment of the present invention to achieve specific process is similar to the previous file synchronization method of the present invention are described herein omitted.

以上对本发明实施例进行了详细介绍,本文中应用了具体实施方式对本发明进行了阐述,以上实施例的说明只是用于帮助理解本发明的装置及方法;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 Described in detail above embodiment of the present invention, herein is applied to specific embodiments of the present invention are set forth in description of the above embodiment merely for understanding the apparatus and method of the present invention; the same time, for those of ordinary skill in the art, according to the ideas of the present invention, there are modifications to the specific embodiments and application scope of the specification shall not be construed as limiting the present invention.

13 13

Claims (8)

1、一种文件同步方法,其特征在于,包括: 监控文件目录,当监控到所述文件目录中的文件发生变化时,将该变化的变化事件记录到事件队列;如果所述事件队列已满或有未处理事件文件,则将所述变化事件写入所述未处理事件文件; 当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件; 将所述需要同步的文件同步到目的机。 1. A method for file synchronization, characterized by comprising: monitoring a file directory, the file when the monitored file directory changes, the change to the event queue record change event; event if the queue is full or unprocessed event file, then the change in the unprocessed event file write event; when the event queue is non-empty, sequentially parsing change event in the event queue, event queue to determine the record the change event files need to be synchronized; when the event queue is empty, the event will vary unprocessed event file is loaded into the event queue, and sequentially parsing the change event in the event queue, determining said unprocessed event file changed events recorded in the files need to be synchronized; the need to be synchronized to the destination file synchronization unit.
2、 根据权利要求1所述的方法,其特征在于,所述方法还包括: 在启动文件同步任务时对源机进行目录扫描,获取所述目录中文件的修改时间;文件同步到目的机;将所述文件同步到目的机后,记录本次文件同步的检查点时间。 2. The method according to claim 1, characterized in that, said method further comprising: at startup file synchronization task scans the source local directory, obtaining the modified files in the directory; file synchronization to a destination machine; the file synchronization to the destination machine, the document record of this time synchronization checkpoint.
3、 根据权利要求1或2所述的方法,其特征在于,所述方法还包括: 在所述未处理事件文件中的变化事件加载到所述事件队列后,删除所述未处理事件文件。 3. The method of claim 1 or claim 2, wherein said method further comprises: in the event a change unprocessed event file is loaded into the event queue after deleting the unprocessed event file.
4、 根据权利要求1所述的方法,其特征在于,所述将需要同步的文件同步到目的机包括:利用文件传输协议或者socket方式将需要同步的文件同步到目的机。 4. The method of claim 1, wherein the file synchronization need to be synchronized to the destination machine comprising: using a file transfer protocol or socket to be synchronized fashion synchronized to the destination machine.
5、 根据权利要求1所述的方法,其特征在于,利用操作系统的文件变化事件通知机制实时监控所述文件目录。 5. The method of claim 1, characterized in that, using the operating system's file change event notification mechanism to monitor the real-time files.
6、 一种文件同步装置,其特征在于,包括: 监控单元,用于监控文件目录;记录单元,用于当所述监控单元监控到所述文件目录中的文件发生变化时,将该变化的变化事件记录到事件队列;如果所述事件队列已满或有未处理事件文件,则将所述变化事件写入所述未处理事件文件;解析单元,用于根据所述记录单元记录的变化事件确定需要同步的文件;当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件; 同步单元,用于将所述需要同步的文件同步到目的机。 6. A file synchronization apparatus characterized by comprising: a monitoring unit for monitoring a file directory; recording means for, when the monitoring unit to monitor the file directory when a file is changed, the change change events to the event queue; if the event queue is full or unprocessed event file, then the change in the unprocessed event file write event; parsing unit according to the recording unit records the change event determining the need for synchronization file; when the event queue is non-empty, sequentially parsing the change event in the event queue, determines the file change event in the event queue records need to be synchronized; when the event queue is empty after the change of the event unprocessed event file is loaded into the event queue, and sequentially parsing the change event in the event queue, a change event is determined unprocessed event file recorded in the file need to be synchronized; synchronization means for synchronizing the files need to be synchronized to the destination machine.
7、 根据权利要求6所述的装置,其特征在于,还包括:录中文件的^f奮改时间;比较单元,用于比较所述文件的修改时间与记录的上次文件同步的检查点知所述同步单元将所述文件同步到目的机;检查点时间更新单元,用于在所述比较单元将所述文件同步到目的机后, 记录本次文件同步的4全查点时间。 7. The apparatus of claim 6, characterized in that, further comprising: ^ f Fen file recorded in the time change; comparing unit for comparing the modification time of the file recorded last checkpoint file synchronization known in the synchronization unit to synchronize the file to the destination machine; checkpoint time updating unit, the comparison unit for file synchronization to the object, and recording the 4 full checkpoint time synchronization in this document.
8、 根据权利要求6或7所述的装置,其特征在于,所述解析单元包括: 队列解析子单元,用于当所述事件队列为非空时,依次解析所述事件队列中的变化事件,确定所述事件队列中记录的变化事件中需要同步的文件;文件解析子单元,用于当所述事件队列为空后,将所述未处理事件文件中的变化事件加载到所述事件队列,并依次解析所述事件队列中的变化事件,确定所述未处理事件文件中记录的变化事件中需要同步的文件; 所述解析单元还包括:文件删除子单元,用于在所述未处理事件文件中的变化事件加载到所述事件队列后,删除所述未处理事件文件。 8. The apparatus of claim 6 or claim 7, characterized in that the parsing means comprises: queue resolution sub-unit, configured to, when the event queue is non-empty, the change sequentially parsing the event in the event queue determining a change of the event in the event queue record files need to be synchronized; the file parsing sub-unit, configured to, when the event queue is empty, the event will vary unprocessed event file is loaded into the event queue and sequentially parsing the change event in the event queue, a change event is determined unprocessed event file recorded in the file need to be synchronized; the analyzing means further comprises: sub-file deletion unit for the untreated after the change event file is loaded into the event queue, delete the unprocessed event file.
CN 200810098124 2008-05-13 2008-05-13 File synchronisation method and device CN100592298C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810098124 CN100592298C (en) 2008-05-13 2008-05-13 File synchronisation method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 200810098124 CN100592298C (en) 2008-05-13 2008-05-13 File synchronisation method and device
PCT/CN2008/073693 WO2009137977A1 (en) 2008-05-13 2008-12-24 File synchronization method and device

Publications (2)

Publication Number Publication Date
CN101281543A CN101281543A (en) 2008-10-08
CN100592298C true CN100592298C (en) 2010-02-24

Family

ID=40014011

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810098124 CN100592298C (en) 2008-05-13 2008-05-13 File synchronisation method and device

Country Status (2)

Country Link
CN (1) CN100592298C (en)
WO (1) WO2009137977A1 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100592298C (en) * 2008-05-13 2010-02-24 华为技术有限公司 File synchronisation method and device
CN102567341B (en) * 2010-12-09 2016-02-17 腾讯科技(深圳)有限公司 Software for implementing internal and external directory synchronization method and system
CN102739706A (en) * 2011-04-07 2012-10-17 腾讯科技(深圳)有限公司 Method and system for carrying out data synchronization
CN102609532B (en) * 2012-02-15 2014-07-23 大唐移动通信设备有限公司 Method and device for monitoring file directory
CN102915338A (en) * 2012-09-18 2013-02-06 浪潮(北京)电子信息产业有限公司 Data synchronization method of distributed file systems and file systems
CN103258018B (en) * 2013-04-27 2016-08-10 北京金和软件股份有限公司 File synchronization method in an accurate monitoring changes in the file directory folder
CN103327124B (en) * 2013-07-12 2016-08-10 北京金山云网络技术有限公司 A method of synchronizing files, apparatus, client, and server device
CN103336925B (en) * 2013-07-29 2016-10-05 腾讯科技(深圳)有限公司 A method and apparatus for accelerating the scanning
CN104348859B (en) * 2013-07-30 2019-05-07 深圳市腾讯计算机系统有限公司 File synchronisation method, device, server, terminal and system
CN103561102B (en) * 2013-11-08 2017-03-22 北京奇虎科技有限公司 Method and system for real-time data synchronization
CN103747029A (en) * 2013-12-10 2014-04-23 北京奇虎科技有限公司 File transmission method, device and system
CN103902663A (en) * 2014-03-10 2014-07-02 联想(北京)有限公司 File synchronization method and device
CN107315654A (en) * 2014-07-28 2017-11-03 珠海市君天电子科技有限公司 Automatic file backup method and apparatus
CN104994177B (en) * 2015-08-06 2019-01-25 上海爱数信息技术股份有限公司 Synchronous method, terminal device and the Dropbox system of Dropbox system
CN105426386A (en) * 2015-10-23 2016-03-23 小米科技有限责任公司 File synchronization method and apparatus, and terminal device
CN106372526B (en) * 2016-08-19 2019-08-02 上海爱数信息技术股份有限公司 A kind of monitoring file change and synchronous method and system
CN106572280A (en) * 2016-10-12 2017-04-19 曙光信息产业(北京)有限公司 Method and system for scanning file

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1259625C (en) 2001-08-24 2006-06-14 前程无忧网络信息技术(北京)有限公司 Synchronous updating method for personnel resume database based on internet
CN1960279A (en) 2005-11-03 2007-05-09 华为技术有限公司 Data synchronisation method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363330B1 (en) * 1999-06-07 2008-04-22 Symantec Corporation Work monitor with file synchronization
CN1197013C (en) * 2001-02-02 2005-04-13 英业达股份有限公司 Fault-tolerant method by means of synchronous directory
CN1249597C (en) * 2002-09-03 2006-04-05 鸿富锦精密工业(深圳)有限公司 Synchronous system in distributed files and method
CN100592298C (en) * 2008-05-13 2010-02-24 华为技术有限公司 File synchronisation method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1259625C (en) 2001-08-24 2006-06-14 前程无忧网络信息技术(北京)有限公司 Synchronous updating method for personnel resume database based on internet
CN1960279A (en) 2005-11-03 2007-05-09 华为技术有限公司 Data synchronisation method and system

Also Published As

Publication number Publication date
WO2009137977A1 (en) 2009-11-19
CN101281543A (en) 2008-10-08

Similar Documents

Publication Publication Date Title
CN101221521B (en) Backup management and file access service system and method, exchange device
US7103619B1 (en) System and method for automatic audit data archiving within a remote database backup system
JP4363676B2 (en) Computer system
CN102567138B (en) Method and system for prioritization of data items for backup in a computing environment
US7139927B2 (en) Journaling and recovery method of shared disk file system
US7146475B2 (en) Data set level mirroring to accomplish a volume merge/migrate in a digital data storage system
US7908339B2 (en) Transaction based virtual file system optimized for high-latency network connections
US8171251B2 (en) Data storage management method and device
CN100458716C (en) Data maintenance, backup and recovery system and its method
CN103026343B (en) Data mirroring is defined lifecycle policy methods and systems
US8243312B2 (en) Network synchronizing system and information processing apparatus
CN101329685B (en) Implementing method of memory database on household gateway
EP1783595A2 (en) Information processing system, control method for information processing system, and storage system
US8209498B2 (en) Method and system for transferring duplicate files in hierarchical storage management system
CN1147812C (en) Database system having at least two host databases and a remote database, and method of synchronizing such databases
KR20100107470A (en) Selecting storage location for file storage based on storage longevity and speed
CN102594849B (en) Data backup and recovery method and device, virtual machine snapshot deleting and rollback method and device
JP2003187203A (en) File allocation table management by memory controller for memory card
CN1752939A (en) Method and system for synthetic backup and restore
JP2003173279A (en) Method of transferring file between storage device
CN1904847A (en) Method and system for determining changes made to a source file to transmit to a target location
JP2010191647A (en) File sharing system, file server, and method for managing file
JP2006099557A (en) Computer system
WO2011108021A1 (en) File level hierarchical storage management system, method, and apparatus
US20090006500A1 (en) Namespace replication program, namespace replication device, and namespace replication method

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model