KR101236831B1 - A backup apparatus and method for files in network system - Google Patents

A backup apparatus and method for files in network system Download PDF

Info

Publication number
KR101236831B1
KR101236831B1 KR1020100134936A KR20100134936A KR101236831B1 KR 101236831 B1 KR101236831 B1 KR 101236831B1 KR 1020100134936 A KR1020100134936 A KR 1020100134936A KR 20100134936 A KR20100134936 A KR 20100134936A KR 101236831 B1 KR101236831 B1 KR 101236831B1
Authority
KR
South Korea
Prior art keywords
file
original
time
backup
files
Prior art date
Application number
KR1020100134936A
Other languages
Korean (ko)
Other versions
KR20120072979A (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 KR1020100134936A priority Critical patent/KR101236831B1/en
Publication of KR20120072979A publication Critical patent/KR20120072979A/en
Application granted granted Critical
Publication of KR101236831B1 publication Critical patent/KR101236831B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore

Abstract

네트워크 시스템 간의 파일 백업 장치와 파일 백업 방법이 개시된다.
본 발명의 일 실시 예에 따른 파일 백업 장치는 원본 폴더에 연결되어 원본 폴더의 상태정보 및 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 모니터링부, 상태정보 및 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하고, 복수의 원본 파일 중 파일 선정 조건을 만족하는 원본 파일을 검출하는 파일 검출부, 검출된 원본 파일을 사본화하는 파일 백업부를 포함한다.
A file backup device and a file backup method between network systems are disclosed.
A file backup apparatus according to an embodiment of the present invention is connected to a source folder and a backup target by using a monitoring unit, state information, and time information, which obtains state information of a source folder and time information of a plurality of source files stored in the source folder. A file detection unit for setting a file selection condition to be used, detecting a source file satisfying the file selection condition among a plurality of original files, and a file backup unit for copying the detected original file.

Description

네트워크 시스템 간의 파일 백업 장치 및 방법{A BACKUP APPARATUS AND METHOD FOR FILES IN NETWORK SYSTEM}File backup device and method between network systems {A BACKUP APPARATUS AND METHOD FOR FILES IN NETWORK SYSTEM}

본 발명은 실시간으로 파일을 백업하는 장치 및 방법에 관한 것으로서, 보다 상세하게는 네트워크 컴퓨터 시스템 간에 복잡도를 줄이면서 경제적으로 파일을 실시간 백업하는 장치와 그 방법에 관한 것이다.The present invention relates to an apparatus and method for backing up a file in real time, and more particularly, to an apparatus and method for backing up a file economically while reducing complexity among network computer systems.

일반적으로 파일 백업은 컴퓨터 또는 단말기 상에서 생성 또는 변경된 데이터 원본 파일의 정보를 별도의 백업 공간에 사본화하는 것을 지칭한다.In general, file backup refers to copying information of a data source file created or modified on a computer or a terminal to a separate backup space.

이는 네트워크 컴퓨터 시스템 내에서 또는 단일의 컴퓨터 내에서 별도의 백업 공간을 두고, 사용자의 필요에 따라 데이터 원본 파일을 백업하는 과정이다.This is a process of backing up data source files as required by the user with a separate backup space within the network computer system or within a single computer.

종래의 데이터 파일 백업 시스템은 일정 주기마다 백업을 하거나 사용자의 요청에 의하여 수시로 백업을 수행한다.Conventional data file backup systems perform backup at regular intervals or from time to time at the request of the user.

또한 다수의 컴퓨터가 접속된 네트워크 시스템의 경우 각 컴퓨터 단말기로부터의 요청에 의하여 수시로 또는 일정 주기로 원본 데이터 파일을 백업 저장 공간에 저장한다. In addition, in the case of a network system to which a plurality of computers are connected, original data files are stored in a backup storage space from time to time or at regular intervals by a request from each computer terminal.

그러나 백업 수행을 위한 원본 파일 및 백업 파일의 대비에 따른 루프의 반복으로 인한 시스템의 복잡도 증가로 인해 백업에 필요한 시간이 장기간 소요되고 이러한 소요 비용에 대비한 투자가 증대되어 경제적으로 시스템 유지 및 관리 비용 증가한다는 점에서 문제가 있다.However, due to the increased complexity of the system due to the repetition of the loop due to the contrast of the original file and the backup file for performing the backup, the time required for the backup is long-term and the investment for such a cost is increased, thereby economically maintaining and managing the system. There is a problem in that it increases.

구체적으로 원본 폴더에 원본 파일이 N개 있고, 백업된 폴더 파일이 M개 있다고 가정하면, 파일 백업의 중복 방지와 실시간 동기화를 위해 원본 폴더에 있는 N개의 파일과 백업 폴더에 있는 M개의 파일을 비교, 복사할 때 복잡도는 O(NM)이 된다. 여기서 N, M이 커질수록 원본과 사본을 비교하기 위해 더 많은 루프를 돌아야 하므로 시스템 복잡도가 크게 증가하게 된다. 또한 파일 백업이 진행될수록 백업 파일 개수인 M은 차츰 N개와 동일하게 되므로 시스템 복잡도는 O(N2)이 된다. Specifically, assuming that there are N original files in the original folder and M files in the backed up folder, compare the N files in the original folder with the M files in the backup folder for duplication prevention and real-time synchronization of file backups. When copying, the complexity is O (NM). The larger the N and M, the more complex the system is, because more loops are required to compare the original and the copy. In addition, as the file backup proceeds, the number of backup files, M, is gradually equal to N, so the system complexity becomes O (N 2 ).

시스템의 복잡도는 O-표기법(order notation)에 의해 표현하는데, O-표기법은 데이터 수에 대하여 복잡도가 어떠한 함수로 나타나는가를 간단히 표현하기 위한 알고리즘 표현법이다.The complexity of the system is represented by O-order notation, which is an algorithmic representation for simply expressing what function the complexity represents with respect to the number of data.

또한 백업되는 시스템의 개수가 K개인 경우라면 상기 시스템 복잡도는 O(KN2)이 된다. 그러면 시스템의 개수(K)가 증가할수록 복잡도가 크게 증가하여 실시간 동기화에 시간 소모가 크고 시스템의 유지 관리가 어려운 점이 발생한다. In addition, if the number of systems backed up is K, the system complexity is O (KN 2 ). Then, as the number of systems (K) increases, the complexity increases significantly, resulting in a time consuming and difficult system maintenance in real time synchronization.

그렇다고 하여 이러한 비교 루틴을 없애기 위해서 상시 전체 폴더에 대한 사본화를 수행하게 된다면, 파일 개수가 많아지고 중복 백업을 필터링 할 수 없게 되므로 불필요한 작업 처리가 발생하게 되며, 아울러 네트워크의 처리에 드는 부하가 높아지고 시스템 처리 속도가 이에 대응하지 못하여 실시간 동기화에 적용할 수 없는 난점이 있다.However, if the copying of the entire folder is performed all the time in order to eliminate such a comparison routine, unnecessary file processing occurs because the number of files increases and the redundant backup cannot be filtered, and the load on the network processing increases. There is a difficulty in applying the real-time synchronization because the system processing speed does not correspond to this.

따라서, 시스템 복잡도를 최소로 유지하여 네트워크의 처리 부하를 경감시키면서 파일 백업 수행에 있어 실시간 동기화하고 중복 파일 백업을 방지할 수 있는 파일 백업 장치와 방법에 대한 개선이 필요하다.Therefore, there is a need for an improvement in a file backup device and method capable of real-time synchronization and preventing duplicate file backup in performing file backup while reducing the processing load of the network by keeping the system complexity to a minimum.

본 발명의 실시 예들은 네트워크 컴퓨터 시스템 내에서 복잡도를 최소한으로 유지하여 파일 백업 처리의 부하를 경감시키면서 원본 및 사본 파일의 실시간 동기화하고 중복되는 파일 백업을 방지하는 파일 백업 장치와 그 방법을 제공하고자 한다.Embodiments of the present invention provide a file backup device and method for real-time synchronization of original and copy files and preventing duplicate file backups while reducing the load of file backup processing by keeping complexity to a minimum in a network computer system. .

또한 네트워크 시스템 내에서 파일 백업 처리를 수행함에 있어 백업 저장 공간을 절감하여 시스템 유지 및 관리의 비용 면에서 경제적인 파일 백업 장치와 방법을 제공하고자 한다.In addition, the present invention aims to provide a file backup device and method that is economical in terms of cost of system maintenance and management by reducing backup storage space in performing file backup processing in a network system.

본 발명의 일 측면에 따르면, 파일 백업 장치는 원본 폴더에 연결되어 상기 원본 폴더의 상태정보 및 상기 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 모니터링부; 상기 상태정보 및 상기 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하고, 상기 복수의 원본 파일 중 상기 파일 선정 조건을 만족하는 원본 파일을 검출하는 파일 검출부; 및 상기 검출된 원본 파일을 사본화하는 파일 백업부;를 포함한다.According to an aspect of the present invention, a file backup device is connected to an original folder monitoring unit for obtaining the state information of the original folder and the time information of a plurality of original files stored in the original folder; A file detection unit configured to set a file selection condition to be a backup object using the state information and the time information, and detect an original file satisfying the file selection condition among the plurality of original files; And a file backup unit for copying the detected original file.

또한 상기 사본화한 원본 파일을 백업 파일을 저장하는 적어도 하나의 백업 저장부를 더 포함할 수 있다.The apparatus may further include at least one backup storage unit storing the copied original file in a backup file.

상기 모니터링부는 상태정보 획득 수단과 시간정보 획득수단을 구비하여, 실시간으로 갱신되는 상기 상태정보 및 상기 시간정보를 주기적으로 또는 사용자가 지정한 임의의 시간에 획득할 수 있다.The monitoring unit may include state information obtaining means and time information obtaining means, and may acquire the state information and the time information updated in real time periodically or at any time designated by a user.

상기 원본 폴더의 상태정보는, 특별히 제한되지 않으나, 상기 원본 폴더의 크기, 상기 원본 폴더 내에 저장된 원본 파일의 개수, 크기 및 파일 저장 형식, 상기 원본 폴더의 저장 위치, 상기 원본 폴더에 액세스한 시간, 보안 특성, 연결 프로그램, 및 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm) 정보를 포함할 수 있다.The state information of the original folder is not particularly limited, but the size of the original folder, the number, size and file storage format of the original files stored in the original folder, the storage location of the original folder, the time of access to the original folder, It may include a security characteristic, a connection program, and information on a time (Tdm) last modified in the original folder.

또한 상기 복수의 원본 파일의 시간정보는, 특별히 제한되지 않으나, 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts) 정보, 상기 복수의 원본 파일 각각의 생성 시간 정보, 및 상기 복수의 원본 파일 각각의 상태 변경 또는 데이터 변경에 따른 변경 시간 정보를 포함할 수 있다.The time information of the plurality of original files is not particularly limited, but time (Ts) information of the last synchronization of the plurality of original files, creation time information of each of the plurality of original files, and the plurality of original files, respectively. Change time information according to the state change or data change of the may be included.

이때 상기 파일 선정 조건은, 상기 복수의 원본 파일 중 대응하는 원본 파일의 생성 시간, 및 원본 파일의 상태 또는 데이터의 변경 시간 중 어느 하나의 시간이, 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts)과 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm)의 시간 범위에 속하는 조건이다. 상기 파일 선정 조건을 만족하는 원본 파일들의 생성 원본 파일들 또는 변경 원본 파일들만이 선택되어 상기 파일 백업부에서 백업된다.In this case, the file selection condition is a time at which any one of the creation time of the corresponding original file among the plurality of original files, the state of the original file or the change time of the data is synchronized with the plurality of original files last ( Ts) and a condition belonging to the time range of the last modified time Tdm in the original folder. Only generation source files or change source files of original files that satisfy the file selection condition are selected and backed up by the file backup unit.

상기 파일 백업 장치가 포함된 네트워크 시스템의 복잡도는 상기 원본 폴더에 저장된 복수의 원본 파일의 개수(N)에 비례하는 선형의 복잡도(O(N))를 가진다. 따라서 본 발명의 파일 백업 장치를 사용하는 네트워크 시스템의 복잡도는 네트워크 시스템의 개수에 영향 받지 않는다.The complexity of the network system including the file backup device has a linear complexity O (N) proportional to the number N of the plurality of original files stored in the original folder. Therefore, the complexity of the network system using the file backup device of the present invention is not affected by the number of network systems.

본 발명의 다른 측면에 따른 파일 백업 방법은 네트워크 시스템 내의 소정의 원본 폴더의 상태정보 및 상기 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 단계; 상기 상태정보 및 상기 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하는 단계; 상기 복수의 원본 파일 중 대응하는 원본 파일의 생성 시간, 및 원본 파일의 상태 또는 데이터의 변경 시간 중 어느 하나의 시간이 상기 파일 선정 조건을 만족하는지 여부를 판단하는 단계; 및 상기 파일 선정 조건을 만족하는 경우 상기 대응하는 원본 파일을 검출하여 사본화하는 단계;를 포함한다.According to another aspect of the present invention, there is provided a method of backing up a file, the method comprising: obtaining status information of a predetermined original folder in a network system and time information of a plurality of original files stored in the original folder; Setting a file selection condition to be a backup target using the state information and the time information; Determining whether any one of a generation time of a corresponding original file among the plurality of original files, and a state of a source file or a change time of data satisfy the file selection condition; And detecting and copying the corresponding original file when the file selection condition is satisfied.

상기 사본화된 원본 파일들의 백업 파일들은 백업 과정이 수행될 때 별도의 백업 저장부에 저장된다. 상기 백업 저장부는 수시로 또는 주기적으로 백업 과정이 수행될 때 갱신되거나 개수가 증가될 수 있다.Backup files of the copied original files are stored in a separate backup storage unit when the backup process is performed. The backup storage unit may be updated or increased when the backup process is performed from time to time or periodically.

상기 파일 선정 조건은, 상기 대응하는 원본 파일의 생성 시간 및 변경 시간 중 어느 하나의 시간이 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts)과 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm)의 시간 범위에 속하는 조건이다. The file selection condition may include a time (Ts) at which any one of a corresponding creation time and a change time of the corresponding original file are last synchronized with the plurality of original files (Ts) and the last modification time (Tdm) in the original folder. Is a condition belonging to the time range of.

또한 상기 상태정보 및 상기 시간정보의 획득 단계에서는 주기적으로 또는 사용자가 임의로 지정한 시간에 상기 정보들이 획득될 수 있다.In the acquiring of the state information and the time information, the information may be acquired periodically or at a time arbitrarily designated by a user.

본 발명의 실시 예들은 네트워크 컴퓨터 시스템 간에 파일을 백업 처리함에 있어, 시스템 복잡도를 최소로 유지하면서 원본 및 사본 파일간 실시간 동기화하고 중복 파일 백업을 방지하여 실시간 백업 처리를 원활하게 처리할 수 있다.Embodiments of the present invention can smoothly process real-time backup by backing up files between network computer systems, real-time synchronization between original and copy files and preventing duplicate file backup while maintaining system complexity to a minimum.

또한 본 발명의 실시 예들에 의하면 시스템 내에서 파일 백업 처리의 부하를 경감하고 백업 저장 공간을 절감할 수 있으므로 시스템 유지 및 관리 면에서 경제적일 수 있다.In addition, according to embodiments of the present invention it can be economical in terms of system maintenance and management because it can reduce the load of the file backup processing in the system and reduce the backup storage space.

도 1은 본 발명의 일 실시 예에 따른 파일 백업 장치의 구성을 나타낸 블록도이다.
도 2는 상기 도 1에 도시한 파일 백업 장치(20)의 상세한 구성을 나타낸 블록도이다.
도 3은 본 발명의 일 실시 예에 따른 파일 백업 장치와 종래의 파일 백업 장치 간의 파일 개수에 따른 시스템 복잡도를 나타낸 그래프이다.
도 4는 본 발명의 일 실시 예에 따른 파일 백업 방법을 나타낸 흐름도이다.
1 is a block diagram illustrating a configuration of a file backup apparatus according to an exemplary embodiment.
FIG. 2 is a block diagram showing the detailed configuration of the file backup apparatus 20 shown in FIG.
3 is a graph showing a system complexity according to the number of files between a file backup device and a conventional file backup device according to an embodiment of the present invention.
4 is a flowchart illustrating a file backup method according to an embodiment of the present invention.

이하, 첨부한 도면을 참고로 하여 본 발명의 실시 예들에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예들에 한정되지 않는다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, which will be readily apparent to those skilled in the art to which the present invention pertains. The present invention may be embodied in many different forms and is not limited to the embodiments described herein.

또한, 여러 실시 예들에 있어서, 동일한 구성을 가지는 구성요소에 대해서는 동일한 부호를 사용하여 대표적으로 제1 실시 예에서 설명하고, 그 외의 실시 예에서는 제1 실시 예와 다른 구성에 대해서만 설명하기로 한다.In addition, in the various embodiments, components having the same configuration will be representatively described in the first embodiment using the same reference numerals, and in other embodiments, only the configuration different from the first embodiment will be described.

본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 동일 또는 유사한 구성요소에 대해서는 동일한 참조 부호를 붙이도록 한다.In order to clearly illustrate the present invention, parts not related to the description are omitted, and the same or similar components are denoted by the same reference numerals throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.Throughout the specification, when a part is said to "include" a certain component, it means that it can further include other components, without excluding other components unless specifically stated otherwise.

본 발명의 백업 장치와 백업 방법에 대한 실시 예를 기술함에 있어 용어를 다음과 같이 정의하고자 한다.In describing an embodiment of a backup device and a backup method of the present invention, terms are defined as follows.

본 발명에서 기술되는 “원본 폴더”는 네트워크 시스템 내에서 복수 개의 원본 파일이 저장된 저장 공간을 의미한다. 원본 폴더는 네트워크 시스템 내에서 복수 개로 형성될 수 있다.The “original folder” described in the present invention means a storage space in which a plurality of original files are stored in a network system. A plurality of source folders may be formed in the network system.

또한 "원본 파일"은 소정의 데이터, 정보가 저장된 개별적 저장 매체로서 백업 처리의 대상이 된다. 본 발명에서 "생성 원본 파일"은 원본 폴더 내의 복수의 원본 파일 중 새롭게 생성되어 저장된 원본 파일을 지칭한다. 또한 "변경 원본 파일"은 원본 폴더 내의 복수의 원본 파일 중 저장 데이터 또는 정보 등 내용이 변경되거나 저장 위치, 파일명 등 파일의 상태정보가 변경된 원본 파일을 지칭한다.Also, the "original file" is a separate storage medium in which predetermined data and information are stored, and is subject to backup processing. In the present invention, the "generated original file" refers to a newly generated and stored original file among a plurality of original files in the original folder. Also, the "change source file" refers to a source file in which contents such as storage data or information have been changed or state information of a file such as a storage location or a file name is changed among a plurality of source files in the source folder.

도 1은 본 발명의 일 실시 예에 따른 파일 백업 장치의 구성을 나타낸 블록도이다.1 is a block diagram illustrating a configuration of a file backup apparatus according to an exemplary embodiment.

좀더 상세하게는 도 1은 본 발명의 일 실시 예에 따른 파일 백업 장치(20)를 포함한 파일 백업 시스템을 도시한 것이다.More specifically, FIG. 1 illustrates a file backup system including a file backup device 20 according to an embodiment of the present invention.

도 1을 참조하면, 원본 폴더(10)에 저장된 원본 파일들의 정보를 취득하고, 이를 바탕으로 동기화 소프트웨어의 동기화 프로그램에 의한 시간 정보를 이용한 백업 선정 조건을 만족하는 파일만을 선택적으로 사본화하여 백업 파일을 생성하여 저장한다.Referring to FIG. 1, information on the original files stored in the original folder 10 is acquired, and based on this, only a file that satisfies the backup selection condition using the time information by the synchronization program of the synchronization software is copied to the backup file. Create and save

도 1에서 파일 백업 시스템은 원본 폴더(10)에 저장된 파일들을 사본화하여 복수의 백업 저장부(30,31,32,33)에 저장하는 시스템이다. 본 발명의 실시 예에 따른 파일 백업 장치(20)는 원본 폴더(10)에 저장된 파일들에 대한 파일 정보를 취득하여 상기 파일 정보로부터 원본 폴더(10)에서 변경되거나 생성된 파일들을 추적하여 해당 파일에 대해서만 백업을 수행하고 백업 파일을 백업 저장부(30,31,32,33)에 저장시킨다.In FIG. 1, the file backup system is a system for copying files stored in the original folder 10 and storing the files in the plurality of backup storage units 30, 31, 32, and 33. The file backup apparatus 20 according to an exemplary embodiment of the present invention obtains file information about files stored in the original folder 10, tracks files changed or created in the original folder 10 from the file information, and then stores the corresponding file. Backup is performed only for the backup file, and the backup file is stored in the backup storage units 30, 31, 32, and 33.

원본 폴더(10)는 복수의 컴퓨터 등의 단말기가 연결된 네트워크 시스템 내에서 원본 파일이 저장된 소정의 저장 공간이다.The original folder 10 is a predetermined storage space in which original files are stored in a network system to which terminals such as a plurality of computers are connected.

백업 저장부(30,31,32,33)는 원본 폴더(10)에 저장된 복수의 파일들에 대한 백업 파일들이 저장되는 공간으로서, 필요에 따라 원본 파일의 사본화 과정을 여러 번 수행하여 얻어진 백업 파일을 저장하는 백업 저장부를 다수 개 구성할 수 있다.The backup storage units 30, 31, 32, and 33 are spaces for storing backup files for a plurality of files stored in the original folder 10. The backup storage units 30, 31, 32, and 33 are backups obtained by repeatedly copying the original files as necessary. Multiple backup storage units for storing files can be configured.

본 발명의 일 실시 예에 따른 파일 백업 장치(20)는 상기 네트워크 시스템 내에서 별도의 장치로 구현하거나 혹은 네트워크 시스템 내의 컴퓨터 등의 단말기 내에 수용되도록 구현할 수도 있다. File backup apparatus 20 according to an embodiment of the present invention may be implemented as a separate device in the network system, or may be implemented to be accommodated in a terminal such as a computer in the network system.

도 1을 참조하면, 파일 백업 장치(20)는 모니터링부(21), 파일 검출부(23), 파일 백업부(25)를 포함한다. 파일 백업 장치(20)의 구체적인 구성들은 도 2에 도시되어 있다. 도 1 및 도 2를 참조하여 본 발명의 일 실시 예에 따른 파일 백업 장치(20)의 구성을 설명하기로 한다.Referring to FIG. 1, the file backup device 20 includes a monitoring unit 21, a file detection unit 23, and a file backup unit 25. Specific configurations of the file backup device 20 are shown in FIG. The configuration of the file backup apparatus 20 according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2.

모니터링부(21)는 네트워크 시스템 내의 컴퓨터들과 연결되어 소정의 원본 폴더(10)와 관련된 정보들을 검출한다. 네트워크 시스템 내에서 복수의 컴퓨터 단말기 내에 원본 폴더가 복수 개 형성될 수 있으나, 본 발명에서는 설명의 편의상 하나의 원본 폴더를 상정하여 설명하기로 한다.The monitoring unit 21 is connected to the computers in the network system to detect information related to the predetermined source folder 10. A plurality of original folders may be formed in a plurality of computer terminals in a network system. However, in the present invention, one original folder will be described for convenience of description.

상기 원본 폴더의 관련 정보는 특별히 제한되지 않으나, 본 명세서에는 원본 폴더(10)의 상태정보들과 시간 정보들을 예로 들어서 설명한다.The related information of the original folder is not particularly limited, but the present specification will be described using state information and time information of the original folder 10 as an example.

모니터링부(21)는 원본 폴더(10)의 상태정보들을 O/S의 API함수를 통해 얻을 수 있으나 이에 반드시 한정되지 않는다. 도 2에 구체적으로 도시된 파일 백업 장치(20)를 참조하면, 원본 폴더(10)의 상태정보들은 모니터링부(21) 내의 상태정보 획득 수단(211)을 통해 취득될 수 있다.The monitoring unit 21 may obtain state information of the original folder 10 through an API function of the O / S, but is not limited thereto. Referring to the file backup device 20 illustrated in detail in FIG. 2, the state information of the original folder 10 may be obtained through the state information obtaining unit 211 in the monitoring unit 21.

상기 원본 폴더의 상태정보는 원본 폴더의 크기, 원본 폴더 내에 저장된 원본 파일들의 개수, 크기 및 파일 저장 형식, 원본 폴더의 저장 위치, 원본 폴더에 액세스한 시간, 보안 특성, 연결 프로그램, 원본 폴더에서 마지막으로 수정한 시간(Tdm) 등의 정보일 수 있다.The status information of the original folder includes the size of the original folder, the number of original files stored in the original folder, the size and file storage format, the storage location of the original folder, the access time of the original folder, the security characteristics, the linking program, and the last in the original folder. It may be information such as the time Tdm modified.

특히 본 발명의 실시 예에 따른 백업 장치는 원본 폴더(10) 내에 포함된 복수의 원본 폴더를 모두 일괄적으로 백업하는 것이 아니라 백업 대상의 선정 조건을 만족하는 원본 폴더만을 선택적으로 백업하는데, 모니터링부(21)는 상기 원본 폴더의 상태정보 중에서도 상기 선정 조건에 활용되는 원본 폴더의 마지막 수정 시간(Tdm)이 필수적으로 획득되어야 한다.In particular, the backup device according to an embodiment of the present invention selectively backs up only the source folder that satisfies the selection condition of the backup target, instead of collectively backing up all the plurality of source folders included in the source folder 10. 21, the last modification time Tdm of the original folder utilized for the selection condition among the state information of the original folder must be obtained.

상기 원본 폴더의 마지막 수정 시간(Tdm) 정보는 원본 폴더 내 포함된 복수의 파일 중 새롭게 생성되거나 혹은 내용이나 파일 상태가 변경된 파일들이 있을 경우 가장 마지막으로 저장된 생성 또는 변경 파일의 저장 시간에 의거하여 결정된다.The last modification time (Tdm) information of the original folder is determined based on the storage time of the last created or changed file when there are files newly created or contents or file state of the plurality of files included in the original folder are changed. do.

한편, 모니터링부(21)는 본 발명의 실시 예에 따른 백업 방법을 구현하기 위해 필요한 시간 정보들을 검출한다. 도 2에 구체적으로 도시된 파일 백업 장치(20)를 참조하면, 상기 시간 정보들은 모니터링부(21) 내의 시간정보 획득 수단(212)을 통해 취득될 수 있다.Meanwhile, the monitoring unit 21 detects time information necessary for implementing a backup method according to an embodiment of the present invention. Referring to the file backup device 20 illustrated in detail in FIG. 2, the time information may be acquired through time information obtaining means 212 in the monitoring unit 21.

구체적으로 상기 시간 정보는 원본 폴더(10) 내 소정의 원본 파일들을 마지막으로 동기화한 시간(Ts) 정보, 및 원본 폴더(10) 내 복수의 원본 파일 중 생성 원본 파일의 생성 시간(Tfc) 또는 변경 원본 파일의 변경 시간(Tfm)에 대한 정보를 포함할 수 있다.In more detail, the time information includes time (Ts) information of synchronizing predetermined source files in the source folder 10 last, and generation time (Tfc) or change of a generation source file among a plurality of source files in the source folder 10. It may include information about the modification time (Tfm) of the original file.

모니터링부(21)의 시간정보 획득 수단(212)은 원본 폴더(10)에 연결되어, 네트워크 시스템의 이용자들에 의해 새롭게 생성된 생성 원본 파일들 또는 이용자들에 의해 정보나 파일 상태가 변경된 변경 원본 파일들의 상기 시간 정보들을 취득한다.The time information acquisition means 212 of the monitoring unit 21 is connected to the original folder 10, the generated original files newly created by the users of the network system or the changed originals whose information or file state is changed by the users Obtain the time information of the files.

상기 생성 원본 파일의 생성 시간(Tfc) 정보는 파일이 신규로 생성되어 원본 폴더(10)에 저장된 날짜 및 시각을 포함한 정보이다. The generation time Tfc information of the generation original file is information including a date and time when a file is newly generated and stored in the original folder 10.

상기 변경 원본 파일의 변경 시간(Tfm)은 원본 폴더(10)의 원본 파일들의 내용 변경이나 파일 형식, 저장 위치, 액세스한 시간, 보안 특성, 연결 프로그램 등의 상태 변경으로 인하여 변경 사항이 새롭게 저장된 날짜와 시각을 포함한 정보이다.The change time (Tfm) of the change source file is a date when the change is newly stored due to the change of the contents of the original files in the source folder 10 or the state change of the file format, storage location, access time, security characteristics, and connection program. And information including time.

또한 모니터링부(21)의 시간정보 획득 수단(212)은 네트워크 시스템 내에서 동기화 소프트웨어의 동기화 프로그램에 의해 원본 파일과 해당 원본 파일에 대응하는 백업 파일 간 마지막으로 동기화한 시간 정보인 마지막 동기화 시간(Ts) 정보를 획득한다.In addition, the time information acquisition means 212 of the monitoring unit 21 is the last synchronization time (Ts) which is time information last synchronized between the original file and the backup file corresponding to the original file by a synchronization program of the synchronization software in the network system. Obtain information.

모니터링부(21)는 상기 상태정보 및 시간정보를 취득하여 파일 검출부(23)에 전달한다. 모니터링부(21)는 동기화 프로그램의 동기화 처리와 원본 파일들의 생성 및 변경에 따라 실시간으로 업데이트되는 상기 상태정보 및 시간정보를 취득하여 파일 검출부(23)에 전달할 수 있다.The monitoring unit 21 acquires the state information and time information and transmits the state information and time information to the file detection unit 23. The monitoring unit 21 may obtain the state information and time information updated in real time according to the synchronization process of the synchronization program and the generation and change of the original files, and may transmit the state information and the time information to the file detection unit 23.

파일 검출부(23)는 모니터링부(21)과 연결되고, 상기 전달된 원본 폴더의 상태정보 및 시간정보를 바탕으로 백업 처리를 수행하기 위한 백업 대상 파일을 검출한다.The file detection unit 23 is connected to the monitoring unit 21 and detects a backup target file for performing a backup process based on the transferred state information and time information of the original folder.

즉, 파일 검출부(23)는 원본 폴더(10)에 저장된 원본 파일들 중에서 백업 대상이 되는 파일들을 검출하기 위한 선정 조건을 설정하고, 선정 조건에 해당하는 소정의 원본 파일들을 검출한다. 이들 검출된 원본 파일들이 사본화하는 대상 파일이 된다.That is, the file detector 23 sets a selection condition for detecting files to be a backup target among the original files stored in the original folder 10 and detects predetermined source files corresponding to the selection condition. These detected original files become the target file to be copied.

구체적으로 파일 검출부(23)는 도 2에서와 같이 생성 파일 검출 수단(231)과 변경 파일 검출 수단(232)을 포함할 수 있으며, 이들 각각의 검출 수단에 대응하는 연산모듈(2310,2320)을 포함할 수 있다.In more detail, the file detector 23 may include a generation file detection unit 231 and a change file detection unit 232 as shown in FIG. 2, and may include calculation modules 2310 and 2320 corresponding to the respective detection units. It may include.

생성 파일 검출 수단(231)은 원본 파일들 중에서 생성 원본 파일을 검출하는 수단으로서, 대응하는 연산모듈(2310)에서 파일 선정을 위한 조건식을 설정하고, 모니터링부(21)에서 전달된 상태정보와 시간정보를 바탕으로 상기 선정 조건식을 만족하는 생성 원본 파일들을 구한다.The generation file detecting means 231 is a means for detecting a generation original file among the original files, sets a conditional expression for selecting a file in the corresponding operation module 2310, and transmits state information and time transmitted from the monitoring unit 21. Based on the information, the generated source files satisfying the selected conditional expression are obtained.

본 발명의 일 실시 예에 따르면, 상기 생성 원본 파일을 검출하기 위한 선정 조건식은 특별히 제한되지 않으나, 다음의 [수학식 1]일 수 있다.According to one embodiment of the present invention, the selection condition for detecting the generated original file is not particularly limited, but may be the following [Equation 1].

Figure 112010085851956-pat00001
Figure 112010085851956-pat00001

Ts: 마지막 동기화 시간Ts: Last sync time

Tfc: 생성 원본 파일의 생성 시간Tfc: creation time of generation source file

Tdm: 원본 폴더의 마지막 수정 시간Tdm: Last Modified Time of Source Folder

파일 검출부(23)의 생성 파일 검출 수단(231)은 모니터링부(21)에서 전달된 상기 생성 원본 파일의 생성 시간 정보들을 상기 [수학식 1]에 대입하여 조건식을 만족하는 생성 원본 파일들을 검출해낸다. 원본 폴더 내에 실시간으로 생성되어 저장되는 생성 원본 파일들 중 원본 파일들을 마지막으로 동기화한 시간(Ts)과 원본 폴더의 마지막 수정 시간(Tdm) 사이에 생성되는 생성 원본 파일들만을 검출할 수 있고, 검출된 생성 원본 파일들만으로 사본을 만들 수 있다.The generation file detection means 231 of the file detection unit 23 substitutes generation time information of the generation source file transmitted from the monitoring unit 21 into the equation 1 to detect generation source files that satisfy the conditional expression. . Among the generated source files that are generated and stored in the real time folder in real time, only the generated source files generated between the last synchronization time (Ts) and the last modification time (Tdm) of the source folder can be detected and detected. You can make a copy using only the generated source files.

한편, 변경 파일 검출 수단(232)은 원본 파일들 중에서 변경 원본 파일을 검출하는 수단으로서, 대응하는 연산모듈(2320)에서 파일 선정을 위한 조건식을 설정하고, 모니터링부(21)에서 전달된 상태정보와 시간정보를 바탕으로 상기 선정 조건식을 만족하는 변경 원본 파일들을 구한다.Meanwhile, the change file detection unit 232 is a means for detecting a change source file among the original files, and sets a conditional expression for selecting a file in the corresponding operation module 2320, and the state information transmitted from the monitoring unit 21. Based on the time information and the modified original files satisfying the selected conditional expressions are obtained.

상기 변경 원본 파일을 검출하기 위한 선정 조건식은 특별히 제한되지 않으나, 다음의 [수학식 2]와 같이 설정할 수 있다.The selection condition equation for detecting the change source file is not particularly limited, but may be set as shown in Equation 2 below.

Figure 112010085851956-pat00002
Figure 112010085851956-pat00002

Ts: 마지막 동기화 시간Ts: Last sync time

Tfm: 변경 원본 파일의 변경 시간Tfm: Change Time of Change Source File

Tdm: 원본 폴더의 마지막 수정 시간Tdm: Last Modified Time of Source Folder

파일 검출부(23)의 변경 파일 검출 수단(232)은 모니터링부(21)에서 전달된 상기 변경 원본 파일의 변경 시간 정보들을 상기 [수학식 2]에 대입하여 조건식을 만족하는 변경 원본 파일들을 검출해낸다. 원본 폴더 내에 실시간으로 변경되어 저장되는 변경 원본 파일들 중 원본 파일들을 마지막으로 동기화한 시간(Ts)과 원본 폴더의 마지막 수정 시간(Tdm) 사이에 변경,저장되는 변경 원본 파일들만을 검출할 수 있고, 검출된 변경 원본 파일들만으로 사본을 만들 수 있다.The change file detection unit 232 of the file detection unit 23 substitutes the change time information of the change source file transmitted from the monitoring unit 21 into Equation 2 to detect change source files that satisfy the conditional expression. . Among the change source files that are changed and stored in the source folder in real time, only the change source files that are changed and stored between the time of the last synchronization (Ts) and the last modification time (Tdm) of the source folder can be detected. In addition, a copy can only be made from the original files that were detected.

파일 검출부(23)에서 검출된 소정의 생성 원본 파일들 또는 변경 원본 파일들은, 동기화 프로그램에 의해 마지막으로 동기화한 시간 이후부터 최근 마지막으로 원본 폴더를 수정한 시간에 이르는 기간 동안 생성되거나 변경된 원본 파일들만을 검출한 것이다.The predetermined generation source files or change source files detected by the file detection unit 23 are only original files created or changed for a period from the time of the last synchronization by the synchronization program to the time of the last modification of the original folder. Is detected.

상기 검출된 소정의 생성 원본 파일들 또는 변경 원본 파일들은 파일 백업부(25)에 의해 백업된다. 파일 백업부(25)는 원본 폴더(10) 내의 원본 파일들 중에서 상기 검출된 소정의 생성 원본 파일들 또는 변경 원본 파일만을 사본화하여 복수 개의 백업 저장부(30,31,32,33)에 저장한다.The detected predetermined generation source files or change source files are backed up by the file backup unit 25. The file backup unit 25 copies only the detected generated original files or changed original files among the original files in the original folder 10 and stores them in the plurality of backup storage units 30, 31, 32, and 33. do.

본 발명의 실시예에 따른 백업 저장 장치에 의하면 시간이 경과함에 따라 업데이트되는 상태정보 또는 시간정보를 바탕으로 생성 원본 파일들 또는 변경 원본 파일들을 검출하고 이들 파일들만 백업하는 것이므로, 종래 기술에서 모든 백업 파일들과 원본 파일들을 개별적으로 대조하는 루틴으로 인한 시스템 부하 및 백업 처리 속도에 대한 부담을 줄일 수 있다.According to the backup storage device according to an embodiment of the present invention, since the original files or the changed original files are detected based on the state information or time information that is updated over time, only the files are backed up. You can reduce the load on the system load and the backup processing speed due to the routines that collate the files and the original files separately.

또한 본 발명의 실시예에 따른 백업 저장 장치에 의하면 백업 대상의 선정 조건을 만족하는 원본 파일들만 백업하게 되므로, 백업을 수행할 때마다 원본 파일들을 전체적으로 복사하는 종래 기술에 비하여 백업 저장부의 공간을 줄일 수 있다.In addition, since the backup storage device according to the embodiment of the present invention backs up only the original files that satisfy the selection condition of the backup target, the backup storage unit reduces the space of the backup storage unit as compared with the prior art of copying the original files as a whole. Can be.

또한 본 발명의 일 실시 예에 따른 파일 백업 장치를 사용하여 백업할 경우, 최초에 원본 파일에 대해 전체적으로 사본화한 이후에는 실시간으로 백업 대상 파일의 검출을 위한 선정 조건식을 만족하는 파일들만을 백업하므로, 종래 백업 기술에서 원본 파일과 백업 파일 간 비교 루틴으로 인한 네트워크 시스템의 복잡도를 크게 줄일 수 있다. 도 3에서는 본 발명의 백업 저장 장치로 인하여 네트워크 시스템의 복잡도가 종래 기술에 비해 현저하게 줄어드는 효과를 도시하였다.In addition, when backing up using a file backup device according to an embodiment of the present invention, since only the files satisfying the selection condition for detecting the backup target file are backed up in real time after the first copy of the original files is performed. In the conventional backup technology, the complexity of the network system due to the comparison routine between the original file and the backup file can be greatly reduced. In FIG. 3, the complexity of the network system due to the backup storage device of the present invention is significantly reduced compared to the prior art.

도 3의 그래프는 네트워크 시스템 내에서 파일 개수가 증가할수록 시스템 복잡도가 증가하는 것을 도시한 것이다.The graph of FIG. 3 shows that the system complexity increases as the number of files in the network system increases.

도 3의 그래프의 가로축은 파일 개수(N)를 나타내고, 세로축은 시스템의 복잡도를 나타낸다.The horizontal axis of the graph of FIG. 3 represents the number of files N, and the vertical axis represents the complexity of the system.

일반적으로 시스템 내의 파일 개수가 증가할수록 시스템 복잡도는 증가한다. 도 3을 참조하면 본 발명의 파일 백업 장치를 이용하여 백업 처리할 때의 시스템 복잡도는 "실시예"로 나타내었고, 종래의 파일 백업 장치를 이용하여 백업 처리할 때의 복잡도는 "비교예 1" 및 "비교예 2"로 나타내었다.In general, as the number of files in a system increases, the system complexity increases. Referring to FIG. 3, the system complexity when performing backup processing using the file backup apparatus of the present invention is shown as "an embodiment", and the complexity when performing backup processing using a conventional file backup apparatus is "Comparative Example 1". And "Comparative Example 2".

시스템의 복잡도는 O-표기법(order notation)에 의해 표현하는데, O-표기법은 데이터 수에 대하여 복잡도가 어떠한 함수로 나타나는가를 간단히 표현하기 위한 알고리즘 표현법이다.The complexity of the system is represented by O-order notation, which is an algorithmic representation for simply expressing what function the complexity represents with respect to the number of data.

종래 기술에 따른 파일 백업은 원본 파일들과 해당 원본 파일을 사본화한 백업 파일들을 비교하기 위하여 원본 파일들의 개수와 백업 파일들의 개수의 곱만큼의 루프를 돌아야 하므로 복잡도는 비교예1 또는 비교예2처럼 파일 개수(N)의 증가에 따라 지수적으로 증가한다.Since the file backup according to the prior art has to loop through the product of the number of the original files and the number of the backup files in order to compare the original files with the backup files that copy the original files, the complexity is comparative example 1 or comparative example 2 As the number of files N increases, it increases exponentially.

즉, 도 3의 비교예1은 제곱형의 복잡도를 나타내므로 O(KN2)(여기서 K는 시스템의 개수)이고, 시스템의 개수가 증가할수록(K'>K) 비교예2의 복잡도 O(K'N2)와 같이 더욱 높게 나타난다.That is, Comparative Example 1 of FIG. 3 represents the complexity of the square type, so O (KN 2 ), where K is the number of systems, and as the number of systems increases (K ′> K), the complexity O of Comparative Example 2 K'N 2 ) appear higher.

이에 반하여 본 발명의 실시 예에 따른 파일 백업 장치는 원본 파일들에 대하여 최초에 전체적으로 백업 처리한 후, 주기적으로 또는 사용자의 임의대로 지정한 시간에 파일 검출의 선정 조건식을 만족하는 생성 원본 파일 또는 변경 원본 파일만을 검출하여 백업 처리하므로, 실시예 그래프와 같은 선형의 복잡도, 즉 O(N)을 가지게 된다. On the contrary, the file backup apparatus according to the embodiment of the present invention generates the original file or the changed original file that satisfies the selection condition of the file detection periodically or at the time designated by the user after the first full backup process of the original files. Since only the file is detected and backed up, it has the same linear complexity as that of the embodiment graph, that is, O (N).

본 발명의 실시예에 따른 백업 장치와 방법에 의한 시스템 복잡도는 파일 개수에 따른 함수이므로, 백업이 필요한 네트워크 시스템의 개수(K)가 증가하더라도 원본 파일과 백업 파일간 비교 루틴의 루프가 시스템 복잡도에 영향을 미치지 않는다. 따라서 네트워크 시스템의 개수(K)가 증가하더라도 여전히 O(N)의 복잡도를 유지할 수 있다.Since the system complexity by the backup device and the method according to the embodiment of the present invention is a function of the number of files, the loop of the comparison routine between the original file and the backup file is dependent on the system complexity even if the number of network systems requiring backup is increased. Does not affect Therefore, even if the number of network systems K increases, the complexity of O (N) can still be maintained.

도 4는 본 발명의 일 실시 예에 따른 파일 백업 방법을 나타낸 흐름도이다.4 is a flowchart illustrating a file backup method according to an embodiment of the present invention.

먼저 파일 백업 장치의 모니터링부를 통해 원본 폴더의 상태정보를 획득한다(S1). 또한 상기 모니터링부는 원본 폴더 내의 복수의 원본 파일의 시간정보를 획득한다(S2).First, the state information of the original folder is obtained through the monitoring unit of the file backup apparatus (S1). In addition, the monitoring unit obtains time information of a plurality of original files in the original folder (S2).

상기 상태정보 및 상기 시간정보의 획득 순서는 도 4의 실시 예에 제한되는 것은 아니며, 상기 모니터링부는 네트워크 시스템 내의 원본 폴더에 연결되어 실시간으로 변경되거나 수정된 상기 정보들을 획득할 수 있다.The order of obtaining the state information and the time information is not limited to the embodiment of FIG. 4, and the monitoring unit may be connected to the original folder in the network system to acquire the changed or modified information in real time.

상기 획득된 상태정보 및 시간정보는 파일 백업 장치의 파일 검출부에 전달된다(S3). 네트워크 시스템 내에서 주기적으로 백업 처리하도록 설정하는 경우 상기 상태정보 및 상기 시간정보는 실시간으로 파일 검출부에 전달될 수 있으나, 사용자가 지정한 임의 시간에 백업 처리하도록 지정하는 경우 백업 처리 이전에 상기 상태정보 및 시간정보가 전달될 수 있다.The obtained state information and time information is transmitted to the file detection unit of the file backup apparatus (S3). When the backup system is set to periodically perform backup processing in the network system, the status information and the time information may be transmitted to the file detection unit in real time, but when the backup process is performed at a user-specified time, the status information and Time information can be delivered.

파일 검출부 내에서 상기 전달된 상태정보 및 시간정보는 백업 대상이 되는 파일을 선정하는데 활용된다.The transferred state information and time information in the file detection unit are used to select a file to be backed up.

본 발명의 백업 방법에 따르면 원본 폴더 내에 저장된 모든 원본 파일들에 대하여 백업하는 것이 아니라, 백업 선정 조건을 만족하는 원본 파일들에 대해서만 백업을 수행하므로, 상기 전달된 상태정보 및 시간정보를 바탕으로 조건식을 설정하고 이를 만족하는 원본 파일들을 검출한다.According to the backup method of the present invention, not all the original files stored in the original folder are backed up, but only the original files satisfying the backup selection condition, so that the conditional expression is based on the transferred state information and time information. Set up and detect the original files that satisfy it.

구체적으로 원본 폴더 내의 원본 파일들 중에서 동기화 프로그램에 의해 마지막으로 동기화한 시간(Ts)과 마지막으로 원본 폴더를 수정한 시간(Tdm) 간의 제1 기간 동안에 새롭게 생성된 생성 원본 파일이 존재하는지 문의한다(S4).Specifically, it is inquired whether among the original files in the original folder, a newly generated generated original file exists during the first period between the time Ts last synchronized by the synchronization program and the time Tdm last modified the original folder ( S4).

한편, 상기 제1 기간 동안에 원본 파일들 중에서 파일의 상태정보 또는 데이터 내용 정보가 변경된 변경 원본 파일이 존재하는지 문의한다(S7).On the other hand, it is inquired whether there is a change source file whose state information or data content information of the file has changed among the original files during the first period (S7).

이러한 파일 검출 조건을 만족하는 원본 파일이 없다면 백업 과정은 진행되지 않고 종료된다.If there is no original file that satisfies the file detection condition, the backup process is terminated without proceeding.

그러나 파일 검출 조건을 만족하는 생성 원본 파일이나 변경 원본 파일이 존재한다면 각각 해당 파일을 검출한다(S5 또는 S8).However, if there is a generation source file or a change source file that satisfies the file detection condition, the corresponding file is detected (S5 or S8).

본 발명의 일 실시 예에 따른 파일 백업 장치의 파일 백업부는, 상기 S5 또는 S8 단계에서 파일 검출 조건을 만족하는 생성 원본 파일 또는 변경 원본 파일들에 대해서만 백업 처리한다(S6 또는 S9).The file backup unit of the file backup apparatus according to an embodiment of the present invention performs backup processing only for the original file or the original file that satisfies the file detection condition in step S5 or S8 (S6 or S9).

상기 S6 또는 S9 단계에서 각각 사본화된 생성 원본 파일 또는 변경 원본 파일의 백업 파일들은 백업 저장부에 저장된다(S10). The backup files of the generated original file or the changed original file respectively copied in the step S6 or S9 are stored in the backup storage unit (S10).

본 발명의 백업 방법에 따르면, 주기적으로 또는 사용자 지정에 의해 백업이 이루어질 때마다 상기 백업 저장부는 내부 백업 파일들을 갱신하여 저장할 수 있다. 또는 새로운 백업 파일들을 저장하는 복수의 백업 저장부를 형성할 수도 있다. According to the backup method of the present invention, the backup storage unit may update and store the internal backup files whenever the backup is performed periodically or by user specification. Alternatively, a plurality of backup storage units for storing new backup files may be formed.

이상 본 발명의 구체적 실시형태와 관련하여 본 발명을 설명하였으나 이는 예시에 불과하며 본 발명은 이에 제한되지 않는다. 당업자는 본 발명의 범위를 벗어나지 않고 설명된 실시형태를 변경 또는 변형할 수 있으며, 이러한 변경 또는 변형도 본 발명의 범위에 속한다. 또한, 명세서에서 설명한 각 구성요소의 물질은 당업자가 공지된 다양한 물질로부터 용이하게 선택하여 대체할 수 있다. 또한 당업자는 본 명세서에서 설명된 구성요소 중 일부를 성능의 열화 없이 생략하거나 성능을 개선하기 위해 구성요소를 추가할 수 있다. 뿐만 아니라, 당업자는 공정 환경이나 장비에 따라 본 명세서에서 설명한 방법 단계의 순서를 변경할 수도 있다. 따라서 본 발명의 범위는 설명된 실시형태가 아니라 특허청구범위 및 그 균등물에 의해 결정되어야 한다.The present invention has been described above in connection with specific embodiments of the present invention, but this is only an example and the present invention is not limited thereto. Those skilled in the art can change or modify the described embodiments without departing from the scope of the present invention, and such changes or modifications are within the scope of the present invention. In addition, the materials of each component described in the specification can be easily selected and replaced by a variety of materials known to those skilled in the art. Those skilled in the art will also appreciate that some of the components described herein can be omitted without degrading performance or adding components to improve performance. In addition, those skilled in the art may change the order of the method steps described herein depending on the process environment or equipment. Therefore, the scope of the present invention should be determined by the appended claims and equivalents thereof, not by the embodiments described.

본 발명의 실시예에 따른 파일 백업 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 컴퓨터 판독가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조등을 단독으로 또는 조합하여 포함할 수 있다.The file backup method according to an embodiment of the present invention may be implemented in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. Computer-readable media may include, alone or in combination with the program instructions, data files, data structures, and the like.

컴퓨터 판독 가능 매체에 기록되는 프로그램 명령은 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magnetoopticalmedia) 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 또한 상술한 매체는 프로그램명령, 데이터 구조 등을 지정하는 신호를 전송하는 반송파를 포함하는 광 또는 금속선, 도파관 등의 전송 매체일 수도 있다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지 는것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다.The program instructions recorded on the computer readable medium may be those specially designed and constructed for the present invention, or may be known and available to those skilled in the computer software arts. Examples of computer readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical media such as CD-ROMs and DVDs, and magnetic disks such as floppy disks. -Hardware devices specially configured to store and execute optical instructions (magnetoopticalmedia) and program instructions such as ROM, RAM, flash memory and the like. In addition, the above-described medium may be a transmission medium such as an optical or metal wire, a waveguide, or the like including a carrier wave for transmitting a signal specifying a program command, a data structure, and the like. Examples of program instructions include machine code, such as that produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter.

상술한 하드웨어 장치는 본 발명의 동작을 수행하기 위해 하나 이상의 소프트웨어모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.
The hardware device described above may be configured to operate as one or more software modules to perform the operations of the present invention, and vice versa.

10: 원본 폴더 20: 파일 백업 장치
21: 모니터링부 23: 파일 검출부
25: 파일 백업부 30,31,32,33: 백업 저장부
211: 상태정보 획득 수단 212: 시간정보 획득 수단
231: 생성파일 검출 수단 232: 변경파일 검출 수단
2310,2320: 연산 모듈
10: source folder 20: file backup device
21: monitoring unit 23: file detection unit
25: file backup unit 30, 31, 32, 33: backup storage unit
211: status information obtaining means 212: time information obtaining means
231: generation file detection means 232: change file detection means
2310,2320: compute module

Claims (10)

원본 폴더에 연결되어 상기 원본 폴더의 상태정보 및 상기 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 모니터링부;
상기 상태정보 및 상기 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하고, 상기 복수의 원본 파일 중 상기 파일 선정 조건을 만족하는 원본 파일을 검출하는 파일 검출부; 및
상기 검출된 원본 파일을 사본화하는 파일 백업부;를 포함하고,
상기 파일 선정 조건은,
상기 복수의 원본 파일 중 대응하는 원본 파일의 생성 시간, 및 원본 파일의 상태 또는 데이터의 변경 시간 중 어느 하나의 시간이, 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts)과 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm)의 시간 범위에 속하는 조건인 것을 특징으로 하는 파일 백업 장치.
A monitoring unit connected to an original folder to obtain status information of the original folder and time information of a plurality of original files stored in the original folder;
A file detection unit configured to set a file selection condition to be a backup object using the state information and the time information, and detect an original file satisfying the file selection condition among the plurality of original files; And
And a file backup unit for copying the detected original file.
The file selection condition is,
One of the plurality of original files, the creation time of the corresponding original file, the state of the original file, or the change time of the data, is the time (Ts) of the last synchronization of the plurality of original files and the original folder. The file backup device, characterized in that the condition belonging to the time range of the last modified time (Tdm).
제 1항에 있어서,
상기 원본 폴더의 상태정보는,
상기 원본 폴더의 크기, 상기 원본 폴더 내에 저장된 원본 파일의 개수, 크기 및 파일 저장 형식, 상기 원본 폴더의 저장 위치, 상기 원본 폴더에 액세스한 시간, 보안 특성, 연결 프로그램, 및 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm) 정보를 포함하는 파일 백업 장치.
The method of claim 1,
Status information of the original folder,
The size of the original folder, the number of original files stored in the original folder, the size and file storage format, the storage location of the original folder, the time the original folder was accessed, the security characteristics, the linking program, and the last in the original folder File backup device containing modified time (Tdm) information.
제 1항에 있어서,
상기 복수의 원본 파일의 시간정보는,
상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts) 정보, 상기 복수의 원본 파일 각각의 생성 시간 정보, 및 상기 복수의 원본 파일 각각의 상태 변경 또는 데이터 변경에 따른 변경 시간 정보를 포함하는 파일 백업 장치.
The method of claim 1,
Time information of the plurality of original files,
File backup including time (Ts) information of the last synchronization of the plurality of original files, creation time information of each of the plurality of original files, and change time information according to a state change or data change of each of the plurality of original files. Device.
삭제delete 제 1항에 있어서,
상기 파일 백업 장치가 포함된 네트워크 시스템의 복잡도는 상기 원본 폴더에 저장된 복수의 원본 파일의 개수에 비례하는 선형의 복잡도를 가지는 것을 특징으로 하는 파일 백업 장치.
The method of claim 1,
The complexity of the network system including the file backup device has a linear complexity proportional to the number of the plurality of original files stored in the original folder.
제 5항에 있어서,
상기 시스템 복잡도는 네트워크 시스템의 개수에 영향 받지 않는 파일 백업 장치.
6. The method of claim 5,
The system complexity is not affected by the number of network systems.
네트워크 시스템 내의 소정의 원본 폴더의 상태정보 및 상기 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 단계;
상기 상태정보 및 상기 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하는 단계;
상기 복수의 원본 파일 중 대응하는 원본 파일의 생성 시간, 및 원본 파일의 상태 또는 데이터의 변경 시간 중 어느 하나의 시간이 상기 파일 선정 조건을 만족하는지 여부를 판단하는 단계; 및
상기 파일 선정 조건을 만족하는 경우 상기 대응하는 원본 파일을 검출하여 사본화하는 단계;를 포함하고,
상기 파일 선정 조건은,
상기 대응하는 원본 파일의 생성 시간 및 변경 시간 중 어느 하나의 시간이 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts)과 상기 원본 폴더에서 마지막으로 수정한 시간(Tdm)의 시간 범위에 속하는 조건인 것을 특징으로 하는 파일 백업 방법.
Obtaining status information of a predetermined source folder in a network system and time information of a plurality of source files stored in the source folder;
Setting a file selection condition to be a backup target using the state information and the time information;
Determining whether any one of a generation time of a corresponding original file among the plurality of original files, and a state of a source file or a change time of data satisfy the file selection condition; And
Detecting and copying the corresponding original file when the file selection condition is satisfied;
The file selection condition is,
The condition which belongs to a time range of a time (Ts) of synchronizing the plurality of original files last time and a time of last modification in the source folder (Tdm) of any one of the corresponding original file creation time and modification time File backup method characterized in that.
삭제delete 제 7항에 있어서,
상기 상태정보 및 상기 시간정보는 주기적으로 또는 사용자가 임의로 지정한 시간에 획득되는 것을 특징으로 하는 파일 백업 방법.
8. The method of claim 7,
And the status information and the time information are acquired periodically or at a time arbitrarily designated by a user.
파일 백업 방법을 수행하기 위해 파일 백업 장치에 의해 실행될 수 있는 명령어들의 프로그램이 구현되어 있으며, 상기 파일 백업 장치에 의해 판독될 수 있는 프로그램을 기록한 기록매체에 있어서,
네트워크 시스템 내의 소정의 원본 폴더의 상태정보 및 상기 원본 폴더에 저장된 복수의 원본 파일의 시간정보를 획득하는 단계;
상기 상태정보 및 상기 시간정보를 사용하여 백업 대상이 되는 파일 선정 조건을 설정하는 단계;
상기 복수의 원본 파일 중 대응하는 원본 파일의 생성 시간, 및 원본 파일의 상태 또는 데이터의 변경 시간 중 어느 하나의 시간이 상기 복수의 원본 파일을 마지막으로 동기화한 시간(Ts)과 상기 원본 폴더에서 마직막으로 수정한 시간(Tdm)의 시간 범위에 속하는 조건인 파일 선정 조건을 만족하는지 여부를 판단하는 단계; 및
상기 파일 선정 조건을 만족하는 경우 상기 대응하는 원본 파일을 검출하여 사본화하는 단계를 실행하기 위한 프로그램이 기록된 기록매체.
In the recording medium on which a program of instructions that can be executed by a file backup apparatus is implemented to perform a file backup method, the program recording the program to be read by the file backup apparatus,
Obtaining status information of a predetermined source folder in a network system and time information of a plurality of source files stored in the source folder;
Setting a file selection condition to be a backup target using the state information and the time information;
A time (Ts) of synchronizing the plurality of original files last with the time of generating a corresponding original file among the plurality of original files, and a state of the original file or a change time of data, and the last time in the original folder. Determining whether a file selection condition, which is a condition belonging to a time range of the modified time Tdm, is satisfied; And
And a program for executing the step of detecting and copying the corresponding original file when the file selection condition is satisfied.
KR1020100134936A 2010-12-24 2010-12-24 A backup apparatus and method for files in network system KR101236831B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100134936A KR101236831B1 (en) 2010-12-24 2010-12-24 A backup apparatus and method for files in network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100134936A KR101236831B1 (en) 2010-12-24 2010-12-24 A backup apparatus and method for files in network system

Publications (2)

Publication Number Publication Date
KR20120072979A KR20120072979A (en) 2012-07-04
KR101236831B1 true KR101236831B1 (en) 2013-02-26

Family

ID=46707558

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100134936A KR101236831B1 (en) 2010-12-24 2010-12-24 A backup apparatus and method for files in network system

Country Status (1)

Country Link
KR (1) KR101236831B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101583153B1 (en) * 2014-09-10 2016-01-22 한양대학교 산학협력단 File backup method and backup log information creation method for performing to backup apparatus
KR101532942B1 (en) * 2014-11-07 2015-07-01 주식회사 오케이썬 Method for link file back-up based on setting back-up policy, and module for implementing for the same
KR102356571B1 (en) * 2021-08-02 2022-02-09 주식회사 핑고엔터테인먼트 File synchronization method and system for multi-party

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100788256B1 (en) * 2007-05-29 2007-12-27 주식회사 비전파워 System for monitoring web server fablication using network and method thereof
KR20090013972A (en) * 2007-08-03 2009-02-06 홍성호 Real time date file backup and recovery system and method there of

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100788256B1 (en) * 2007-05-29 2007-12-27 주식회사 비전파워 System for monitoring web server fablication using network and method thereof
KR20090013972A (en) * 2007-08-03 2009-02-06 홍성호 Real time date file backup and recovery system and method there of

Also Published As

Publication number Publication date
KR20120072979A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
AU2018395858B2 (en) Violation resolution in client synchronization
US11635908B2 (en) Managing digital assets stored as components and packaged files
US9645892B1 (en) Recording file events in change logs while incrementally backing up file systems
US11645230B2 (en) Method and system for storing documents
JP5376696B2 (en) Document synchronization via stateless protocol
US10089497B2 (en) Event log tamper detection
US20190243801A1 (en) Automated Archiving Of User Generated Media Files
US10204016B1 (en) Incrementally backing up file system hard links based on change logs
US8832030B1 (en) Sharepoint granular level recoveries
CN108512649B (en) Processing method and device for reverse hash link of block chain
US10628298B1 (en) Resumable garbage collection
JP2006301891A (en) Disaster recovery method, disaster recovery system, remote copy method, and storage system
CN106357703B (en) Cluster switching method and device
CN106648442A (en) Metadata node internal memory mirroring method and device
CN111538719A (en) Data migration method, device, equipment and computer storage medium
KR101236831B1 (en) A backup apparatus and method for files in network system
CN105302488B (en) The method for writing data and system of a kind of storage system
US8290992B2 (en) File management method, file management device, and program
US9395923B1 (en) Method and system for recovering from embedded errors from writing data to streaming media
CN105550230B (en) The method for detecting and device of distributed memory system node failure
US10620872B2 (en) Replicating data in a data storage system
CN105993002A (en) In-place disk unformatting
JP4998737B2 (en) Information processing apparatus, program, and backup method
TWI528190B (en) Heterogeneous storing server and file storing method thereof
JP2007109160A (en) Cooperation method between document management system and access right management server

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20160201

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190131

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20200130

Year of fee payment: 8