KR100920241B1 - Real time date file backup and recovery system and method there of - Google Patents
Real time date file backup and recovery system and method there of Download PDFInfo
- Publication number
- KR100920241B1 KR100920241B1 KR1020070078156A KR20070078156A KR100920241B1 KR 100920241 B1 KR100920241 B1 KR 100920241B1 KR 1020070078156 A KR1020070078156 A KR 1020070078156A KR 20070078156 A KR20070078156 A KR 20070078156A KR 100920241 B1 KR100920241 B1 KR 100920241B1
- Authority
- KR
- South Korea
- Prior art keywords
- file system
- file
- data
- copy
- information
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1471—Saving, restoring, recovering or retrying involving logging of persistent data for recovery
Abstract
이 발명은, 컴퓨터 시스템의 운영중의 데이터 파일을 다중 스레드 기술을 이용하여, 시스템 입출력의 부하를 분산하고, 정확하고 신속하게 사용자 컴퓨터 시스템의 데이터 파일을 목적경로로 안전하게 복제를 하여, 컴퓨터 시스템의 재해가 발생한다 하더라도 안전하게 복구 할 수 있으며, 부하를 최소화하여 일반 사무업무를 수행하는 사무용 컴퓨터에서도 운영이 가능하게 하여, 중요 정부 및 공공기관, 연구소, 교육 및 학술기관, 기업의 중요부서에서 생성되는 데이터를 자동실시간 복제하여, 외/내부자에 의한 데이터의 침해나 소손에 대한 대비 및 내부자료의 유출로 인해 발생하는 법적 소송 시 유출된 자료가 내부자료임을 증빙 할 수 있는 근거자료로 활용할 수 있도록 하며, 컴퓨터시스템 상에서 운영되는 디렉토리 및 데이터 파일의 생성 및 수정, 삭제, 데이터 파일의 속성변경사항을 모니터링 후 원본 데이터 파일을 사용자가 원하는 사본경로에 정확하고 신속하게 복제하고, 복구 함으로써, 조직 내외부자에 의한 데이터 파일의 침해, 소손 등으로 부터 데이터 파일을 안전하게 관리 할 수 있으며, 조직 내부자료 유출시 유출된 데이터에 대한 출처를 증빙할 수 있는 실시간 데이터 파일 백업 및 복구 시스템과 방법에 관한 것으로서,
데이터 파일이 생성되는 메인 컴퓨터 시스템과, 원격지 저장소로서 상기한 메인 컴퓨터 시스템과 네트워크 연결되어 있는 하나 이상의 원격지 컴퓨터 시스템을 포함하여 이루어지며, 상기한 메인 컴퓨터 시스템은, 원본을 저장하기 위한 원본저장장치와, 사본을 저장하기 위한 사본저장장치와, 운영체계부와, 커먼랭귀지스페시피케이션(Common Language Specification, CLS)를 지원하는 언어인 C#, J#, VB-NET, 매니지드 C++ 등으로 만들어진 인터미디에이트 랭귀지(Intermediate Language, IL)로 작성된 코드를 실행하는 환경을 제공하는 닷넷프레임웍부와, 파일시스템 모니터링 클래스 스레드를 생성하는 파일시스템 모니터링 클래스부와, 운영환경 데이터가 저장되어 있는 운영환경 데이터부와, 파일시스템 복제 클래스 스레드를 생성하기 위한 파일시스템 복제 클래스부와, 데이터를 일시적으로 저장하기 위한 메모리버퍼와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하기 위한 파일시스템 복제클래스 다중스레드 호출프로세스부를 포함하여 이루어지며, 상기한 원격지 컴퓨터 시스템은, 상기한 메인 컴퓨터 시스템에서 생성된 데이터 파일을 제어하기 위한 운영체계부와, 상기한 메인 컴퓨터 시스템에서 생성된 데이터 파일을 저장하기 위한 저장장치를 포함하여 이루어진다.
컴퓨터 시스템, 디렉토리, 데이터 파일 백업
The present invention uses a multi-threaded technology to distribute the data files in operation of a computer system, to distribute the load of system inputs and outputs, and to safely and accurately replicate the data files of the user's computer system to the destination path. Even in the event of a disaster, it can be safely recovered, and it can be operated on office computers that perform general office work by minimizing the load, which is generated by important government and public institutions, research institutes, educational and academic institutions, and important departments of corporations. Automatic real-time copying of data, so that it can be used as evidence to prove that the leaked data is internal data in case of legal proceedings arising from the infringement or damage of data by outside / internal and leakage of internal data. And creating directories and data files running on computer systems By monitoring the data file's property changes, deletion, and deletion, the original data file can be copied accurately and quickly to the copy path that users want, and the data file can be safely protected from infringement or damage of the data file by internal and external organizations. The present invention relates to a system and method for real-time data file backup and recovery that can be managed and can prove the source of data leaked when leaking internal data.
A main computer system in which a data file is generated, and at least one remote computer system networked with the main computer system as a remote storage, wherein the main computer system comprises: an original storage device for storing originals; , A copy storage device for storing copies, an operating system section, and an intermediate language built with C #, J #, VB-NET, Managed C ++, and other languages that support the Common Language Specification (CLS). Net framework providing an environment for executing code written in (Intermediate Language, IL), file system monitoring class for creating file system monitoring class threads, operating environment data for storing operating environment data, files File system replication class section for creating a system replication class thread And a memory buffer for temporarily storing data, and a file system replication class multithreaded call process unit for calling a filesystem replication class multithreaded call procedure. The remote computer system includes the main computer described above. It includes an operating system for controlling the data file generated in the system, and a storage device for storing the data file generated in the main computer system.
Computer system, directory, and data file backup
Description
도 1은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 시스템의 구성도이다.1 is a block diagram of a real-time data file backup system according to an embodiment of the present invention.
도 2는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 전체 프로세스 구성도이다.2 is an overall process diagram of a method of backing up a real-time data file according to an embodiment of the present invention.
도 3은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 모니터링 클래스 프로세스 구성도이다.3 is a configuration diagram of a file system monitoring class process of a method for backing up a real-time data file according to an embodiment of the present invention.
도 4는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제클래스 다중스레드호출 프로세스 구성도이다.Figure 4 is a block diagram of a file system replication class multi-threaded call process of the real-time data file backup method according to an embodiment of the present invention.
도 5는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제 프로세스 구성도이다.5 is a configuration diagram of a file system replication process of a method for backing up a real-time data file according to an embodiment of the present invention.
도 6은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 삭제 프로세스 구성도이다.6 is a block diagram of a file system deletion process of a method for real-time data file backup according to an embodiment of the present invention.
도 7은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 이름변경 프로세스 구성도이다.7 is a diagram illustrating a file system name change process of the real-time data file backup method according to an embodiment of the present invention.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 메인 컴퓨터 시스템 11 : 원본저장장치10: main computer system 11: source storage device
12 : 사본저장장치 13 : 운영체계부12: copy storage device 13: operating system
14 : 닷넷 프레임웍 15 : 파일시스템 모니터링 클래스부14 .NET Framework 15: Filesystem Monitoring Class Part
16 : 운영환경 데이터부 17 : 파일시스템 복제 클래스부16: operating environment data portion 17: file system replication class portion
18 : 메모리 버퍼 21, 22 : 원격지 컴퓨터 시스템18: memory buffer 21, 22: remote computer system
19 : 파일시스템복제클래스다중스레드호출프로세스부19: file system replication class multi-thread call process
이 발명은 데이터 파일 백업 분야에 관한 것으로서, 좀더 세부적으로 말하자면 컴퓨터 시스템의 운영중 의 데이터 파일을 다중 스레드 기술을 이용하여, 시스템 입출력의 부하를 분산하고, 정확하고 신속하게 사용자 컴퓨터 시스템의 데이터 파일을 목적경로로 안전하게 복제를 하여, 컴퓨터 시스템의 재해가 발생한다 하더라도 안전하게 복구 할 수 있으며, 부하를 최소화하여 일반 사무업무를 수행하는 사무용 컴퓨터에서도 운영이 가능하게 하여, 중요 정부 및 공공기관, 연구소, 교육 및 학술기관, 기업의 중요부서에서 생성되는 데이터를 자동실시간 복제하여, 외/내부자에 의한 데이터의 침해나 소손에 대한 대비 및 내부자료의 유출로 인해 발생하는 법적 소송 시 유출된 자료가 내부자료임을 증빙 할 수 있는 근거자료로 활용할 수 있도록 하며, 컴퓨터시스템 상에서 운영되는 디렉토리 및 데이터 파일의 생성 및 수정, 삭제, 데이터 파일의 속성변경사항을 모니터링 후 원본 데이터 파일을 사용자가 원하는 사본경로에 정확하고 신속하게 복제함으로써, 조직 내외부자에 의한 데이터 파일의 침해, 소손 등으로 부터 데이터 파일을 안전하게 관리 할 수 있으며, 조직 내부자료 유출시 유출된 데이터에 대한 출처를 증빙할 수 있는 실시간 데이터 파일 백업 시스템과 방법에 관한 것이다.The present invention relates to the field of data file backup. More specifically, it uses a multi-threaded technology to distribute data files in operation of a computer system, to distribute the load of system inputs and outputs and to accurately and quickly execute data files of a user computer system. It can be safely replicated through the purpose path and can be safely recovered even in the event of a disaster of the computer system, and can be operated on office computers that perform general office work by minimizing the load. Real-time duplication of data generated by major departments of academic institutions and companies, and the internal data is used in legal proceedings arising from the infringement or damage of data by external / internal parties and the leakage of internal data. It can be used as supporting evidence. By creating, modifying, and deleting directory and data files operating on the computer system, and monitoring the property changes of the data files, the original data files can be accurately and quickly copied to the copy path desired by the user. The present invention relates to a real-time data file backup system and method that can safely manage data files from infringement and burnout, and can prove the source of leaked data when leaking internal data.
통상적으로 데이터 파일의 복제는 사용자가 직접 운영체계의 명령어를 이용해, 일정시점에 또는 주기적으로, 그리고 수동적으로 또는 시스템에 의해서 순차적으로 복제를 하고 있다. 따라서 실시간으로 복제가 이루어지지 않는 문제점이 있다.In general, data files are copied by a user directly by operating system commands, at a time point or periodically, and manually or sequentially by the system. Therefore, there is a problem that the replication is not made in real time.
이러한 문제점을 해결하기 위하여, 별도의 복제 솔루션을 이용해 컴퓨터 운영체계상의 저장장치 구동 드라이브를 사용해 데이터 파일의 변화를 모니터링하여 자동적으로 실시간으로 데이터를 복제하는 방식이 있으나, 이러한 경우 저장장치의 입출력에 대한 작업의 부하가 발생하고, 또한 고용량의 데이터를 순차적으로 처리하게 되어 복제시간 많이 소요하게 되는 단점이 있다.In order to solve this problem, there is a method of copying data in real time automatically by monitoring the change of the data file using a storage drive drive of the computer operating system using a separate replication solution. There is a disadvantage in that a load of work is generated and a large amount of data is sequentially processed so that a replication time is required.
이러한 단점을 해소하기 위해, 저장장치의 하드웨어적 블록의 변화를 저장장치의 저장블럭 단위를 분석해 저장장치의 블록단위를 복제하여 백업의 시간을 단축한 솔루션이 제시된 바 있으나, 데이터를 복구하기 위해서는 시스템을 다운시켜야만 하고, 그리고 저장장치의 저장블럭 단위로 복제를 하다 보니 불필요한 데이터까지 모두 복제를 함으로써 불필요한 작업이 발생되는 문제점이 있다.In order to solve this drawback, a solution has been proposed to reduce the backup time by analyzing the storage block unit of the storage device and copying the block unit of the storage device to change the hardware block of the storage device. Since it must be down, and duplicated by the storage block unit of the storage device, there is a problem that unnecessary work occurs by copying all unnecessary data.
참고로, 원격 스토리지에 백업 데이터를 저장시켜 놓고 데이터의 손상이 발생했을 경우에 다운로드를 받아서 손상을 치료할 수 있도록 하는 기술이 대한민국 공개특허 10-2005-0034508호(공개일자 2005년 4월 14일)의 "네트워크를 기반으로 하는 원격스토리지를 이용한 파일저장 및 복구시스템 및 그 방법"에서 개시된 바 있다. For reference, a technology for storing backup data in a remote storage and downloading and treating damage when data corruption occurs is disclosed in Korea Patent Publication No. 10-2005-0034508 (published April 14, 2005) It has been disclosed in "File storage and recovery system and method using a remote storage based on the network".
하지만, 기존의 자동 실시간 데이터 파일 복제 솔루션은 작업에 필요한 시스템의 부하가 많아 고성능의 서버에서만 운영이 가능하였다. However, the existing automatic real-time data file replication solution was loaded only on high-performance servers due to the high load on the system.
본 발명의 목적은 상기한 바와 같은 종래의 문제점을 해결하기 위한 것으로서, 마이크로소프트에서 제공하는 닷넷 프레임웍을 운영할 수 있는 컴퓨터 운영체계 시스템에서 파일을 처리하는 파일시스템의 입출력 클래스를 이용하여, 데이터 파일 및 폴더의 생성, 수정, 삭제 및 파일시스템의 속성의 변화를 모니터링하고, 사용자가 원하는 단일 및 다중 목적경로에 원본 데이터 파일 및 폴더를 자동실시간 및 다중 스레드 방식으로 복제하는, 실시간 데이터 파일 백업 시스템과 방법을 제공하는데 있다.An object of the present invention is to solve the conventional problems as described above, by using the input and output classes of the file system for processing files in a computer operating system system that can operate the .NET framework provided by Microsoft, the data file And real-time data file backup systems that monitor the creation, modification, deletion of folders and changes in file system attributes, and automatically and automatically replicate original data files and folders in single- and multi-purpose paths as desired by users. To provide a method.
본 발명의 다른 목적은, 컴퓨터 시스템의 운영 중 의 데이터 파일을 다중 스레드 기술을 이용하여, 시스템 입출력의 부하를 분산하고, 정확하고 신속하게 사용자 컴퓨터 시스템의 데이터 파일을 목적경로로 안전하게 복제를 하여, 컴퓨터 시스템의 재해가 발생한다 하더라도 안전하게 복구 할 수 있는, 실시간 데이터 파일 백업 시스템과 방법을 제공하는데 있다.Another object of the present invention is to distribute the data input and output of the computer system by using a multi-threaded technology, to distribute the load of the system input and output, and to accurately and quickly replicate the data file of the user computer system to the destination path, It is to provide a real-time data file backup system and method that can safely recover even in the event of a disaster of a computer system.
또한, 본 발명의 또다른 목적은, 부하를 최소화하여 일반 사무업무를 수행하는 사무용 컴퓨터에서도 운영이 가능하게 하여, 중요 정부 및 공공기관, 연구소, 교육 및 학술기관, 기업의 중요부서에서 생성되는 데이터를 자동실시간 복제하여, 외/내부자에 의한 데이터의 침해나 소손에 대한 대비 및 내부자료의 유출로 인해 발생하는 법적 소송 시 유출된 자료가 내부자료임을 증빙 할 수 있는 근거자료로 활용할 수 있도록 하는 실시간 데이터 파일 백업 시스템과 방법을 제공하는데 있다In addition, another object of the present invention, by minimizing the load to be able to operate in the office computer that performs general office work, data generated in important government and public institutions, research institutes, educational and academic institutions, corporate important departments Real-time copying of the real-time copy, so that in case of infringement or damage of the data by outside / insiders and in case of legal proceedings arising from the leakage of internal data, the leaked data can be used as evidence to prove that it is internal data. To provide a data file backup system and method
그리고, 본 발명의 또다른 목적은, 컴퓨터시스템 상에서 운영되는 디렉토리 및 데이터 파일의 생성 및 수정, 삭제, 데이터 파일의 속성변경사항을 모니터링 후 원본 데이터 파일을 사용자가 원하는 사본경로에 정확하고 신속하게 복제함으로써, 조직 내외부자에 의한 데이터 파일의 침해, 소손 등으로 부터 데이터 파일을 안전하게 관리 할 수 있으며, 조직 내부자료 유출시 유출된 데이터에 대한 출처를 증빙할 수 있는 실시간 데이터 파일 백업 시스템과 방법을 제공하는데 있다.In addition, another object of the present invention is to create, modify, delete, and change attributes of data files of directories and data files operated on a computer system, and then accurately and quickly copy the original data files to a copy path desired by a user. Thus, it is possible to safely manage data files from infringement and damage of data files by internal and external persons, and provide a real-time data file backup system and method that can prove the source of data leaked when leaking internal data. It is.
상기한 목적을 달성하기 위한 수단으로서 이 발명의 구성은, 데이터 파일이 생성되는 메인 컴퓨터 시스템과, 원격지 저장소로서 상기한 메인 컴퓨터 시스템과 네트워크 연결되어 있는 하나 이상의 원격지 컴퓨터 시스템을 포함하여 이루어지며, 상기한 메인 컴퓨터 시스템은, 원본을 저장하기 위한 원본저장장치와, 사본을 저장하기 위한 사본저장장치와, 운영체계부와, 커먼랭귀지스페시피케이션(Common Language Specification, CLS)를 지원하는 언어인 C#, J#, VB-NET, 매니지드 C++ 등으로 만들어진 인터미디에이트 랭귀지(Intermediate Language, IL)로 작성된 코드를 실행하는 환경을 제공하는 닷넷프레임웍부와, 파일시스템 모니터링 클래스 스레드를 생성하는 파일시스템 모니터링 클래스부와, 운영환경 데이터가 저장되어 있는 운영환경 데이터부와, 파일시스템 복제 클래스 스레드를 생성하기 위한 파일시스템 복제 클래스부와, 데이터를 일시적으로 저장하기 위한 메모리버퍼와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하기 위한 파일시스템 복제클래스 다중스레드 호출프로세스부를 포함하여 이루어지며, 상기한 원격지 컴퓨터 시스템은, 상기한 메인 컴퓨터 시스템에서 생성된 데이터 파일을 제어하기 위한 운영체계부와, 상기한 메인 컴퓨터 시스템에서 생성된 데이터 파일을 저장하기 위한 저장장치를 포함하여 이루어진다.As a means for achieving the above object, the configuration of the present invention comprises a main computer system in which a data file is generated, and at least one remote computer system networked with the main computer system as a remote storage. One main computer system includes an original storage device for storing originals, a copy storage device for storing copies, an operating system section, C #, a language that supports Common Language Specification (CLS), The .NET Framework, which provides an environment for executing code written in Intermediate Language (IL) written in J #, VB-NET, and Managed C ++, and the file system monitoring class, which creates file system monitoring class threads. , The operating environment data section where the operating environment data is stored, and the file system replication It includes a file system replication class section for creating a class thread, a memory buffer for temporarily storing data, and a file system replication class multithread calling process section for calling a file system replication class multithread calling procedure. The remote computer system may include an operating system unit for controlling a data file generated by the main computer system, and a storage device for storing the data file generated by the main computer system.
상기한 목적을 달성하기 위한 수단으로서 이 발명의 다른 구성은, 동작이 시작되면 운영환경 데이터 정보의 유무를 확인하는 단계와, 운영환경 데이터 정보가 없는 경우에 운영환경 데이터 설정 화면을 출력하는 단계와, 운영환경 데이터 입력후 저장버튼이 클릭되었는지 판단하여 운영환경 데이터 입력후 저장버튼이 클릭된 경우에 운영환경 데이터를 저장하고 운영환경 데이터 정보를 보여주는 단계와, 운영환경 데이터를 읽어서 자동시작상태인지를 판단하는 단계와, 운영환경 데이터가 자동시작상태가 아닌 경우에 사용자에 의한 프로그램 시작명령이 입력되는지를 판단하여 사용자에 의한 프로그램 시작명령이 입력되는 경우에 파일시스템 모니터링 클래스 스레드를 생성하는 단계와, 파일시스템의 변화가 있는지 판단하여 파일시스템의 변화가 있는 경우에 파일시스템 복제 클래스 스레드를 생성하고 파일시스템 복제,삭제,이름변경 프로세스를 수행한 후 파일시스템 복제 클래스 스레드를 종료 및 소멸시키는 단계와, 사용자에 의한 프로그램 종료명령이 있는지를 판단하여 프로그램 종료명령이 있는 경우에 프로그램을 종료하는 단계를 포함하여 이루어진다. As a means for achieving the above object, another configuration of the present invention includes the steps of checking whether there is operating environment data information when an operation is started, and outputting an operating environment data setting screen when there is no operating environment data information. If the save button is clicked after inputting the operating environment data, the operation saves the operating environment data and shows the operating environment data information when the save button is clicked. Judging whether the program start command is input by the user when the operating environment data is not in the auto start state, and generating a file system monitoring class thread when the program start command is input by the user; Determine if there is a change in the file system If any, create a file system replication class thread, perform the file system replication, deletion, and rename process, and terminate and destroy the file system replication class thread, and determine whether there is a program termination command by the user. Ending the program if there is a command.
이하, 이 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 이 발명을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 이 발명의 가장 바람직한 실시예를 첨부된 도면을 참조로 하여 상세히 설명하기로 한다. 이 발명의 목적, 작용, 효과를 포함하여 기타 다른 목적들, 특징점들, 그리고 동작상의 이점들이 바람직한 실시예의 설명에 의해 보다 명확해질 것이다. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described in detail with reference to the accompanying drawings in order to describe in detail enough to enable those skilled in the art to easily carry out the present invention. . Other objects, features, and operational advantages, including the object, operation, and effect of the present invention will become more apparent from the description of the preferred embodiment.
참고로, 여기에서 개시되는 실시예는 여러가지 실시가능한 예중에서 당업자의 이해를 돕기 위하여 가장 바람직한 실시예를 선정하여 제시한 것일 뿐, 이 발명의 기술적 사상이 반드시 이 실시예에만 의해서 한정되거나 제한되는 것은 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 다양한 변화와 부가 및 변경이 가능함은 물론, 균등한 타의 실시예가 가능함을 밝혀 둔다.For reference, the embodiments disclosed herein are only presented by selecting the most preferred embodiment in order to help those skilled in the art from the various possible examples, the technical spirit of the present invention is not necessarily limited or limited only by this embodiment Rather, various changes, additions, and changes are possible within the scope without departing from the spirit of the present invention, as well as other equivalent embodiments.
도 1은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 시스템의 분해 구성도이다.1 is an exploded configuration diagram of a real-time data file backup system according to an embodiment of the present invention.
도 1에 도시되어 있는 바와 같이, 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 시스템의 구성은, 데이터 파일이 생성되는 메인 컴퓨터 시스템(10)과, 원격지 저장소로서 상기한 메인 컴퓨터 시스템(10)과 네트워크 연결되어 있는 제1 원격지 컴퓨터 시스템(21) 및 제2 원격지 컴퓨터 시스템(22)을 포함하여 이루어진다.As shown in FIG. 1, the configuration of a real-time data file backup system according to an embodiment of the present invention includes a
상기한 메인 컴퓨터 시스템(10)은, 원본을 저장하기 위한 원본저장장치(11)와, 사본을 저장하기 위한 사본저장장치(12)와, 운영체계부(13)와, 커먼랭귀지스페시피케이션(Common Language Specification, CLS)를 지원하는 언어인 C#, J#, VB-NET, 매니지드 C++ 등으로 만들어진 인터미디에이트 랭귀지(Intermediate Language, IL)로 작성된 코드를 실행하는 환경을 제공하는 닷넷프레임웍부(14)와, 파일시스템 모니터링 클래스 스레드를 생성하는 파일시스템 모니터링 클래스부(15)와, 운영환경 데이터가 저장되어 있는 운영환경 데이터부(16)와, 파일시스템 복제 클래스 스레드를 생성하기 위한 파일시스템 복제 클래스부(17)와, 데이터를 일시적으로 저장하기 위한 메모리버퍼(18)와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하기 위한 파일시스템 복제클래스 다중스레드 호출프로세스부(19)를 포함하여 이루어진다.The
상기한 제1 원격지 컴퓨터 시스템(21)은, 상기한 메인 컴퓨터 시스템(10)에서 생성된 데이터 파일을 제어하기 위한 운영체계부(211)와, 상기한 메인 컴퓨터 시스템(10)에서 생성된 데이터 파일을 저장하기 위한 저장장치(212)를 포함하여 이루어진다.The first remote computer system 21 includes an
상기한 제2 원격지 컴퓨터 시스템(22)은, 상기한 메인 컴퓨터 시스템(10)에서 생성된 데이터 파일을 제어하기 위한 운영체계부(221)와, 상기한 메인 컴퓨터 시스템(10)에서 생성된 데이터 파일을 저장하기 위한 저장장치(222)를 포함하여 이루어진다.The second remote computer system 22 includes an
도 2는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 전체 프로세스 구성도이다.2 is an overall process configuration diagram of a method for backing up a real-time data file according to an embodiment of the present invention.
도 2에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 전체 프로세스 구성은, 동작이 시작되는 단계(S11)와, 운영환경 데이터 정보의 유무를 확인하는 단계(S12)와, 운영환경 데이터 정보가 없는 경우에 운영환경 데이터 설정 화면을 출력하는 단계(S13)와, 운영환경 데이터 입력후 저장버튼이 클릭되었는지 판단하는 단계와, 운영환경 데이터 입력후 저장버튼이 클릭된 경우에 운영환경 데이터를 저장하는 단계(S15)와, 운영환경 데이터 정보를 보여주는 단계(S16)와, 운영환경 데이터를 읽는 단계(S17)와, 운영환경 데이터를 확인하여 자동시작상태인지를 판단하는 단계(S18)와, 운영환경 데이터가 자동시작상태가 아닌 경우에 사용자에 의한 프로그램 시작명령이 입력되는지를 판단하는 단계(S19)와, 사용자에 의한 프로그램 시작명령이 입력되는 경우에 파일시스템 모니터링 클래스 스레드를 생성하는 단계(S20)와, 파일시스템의 변화가 있는지 판단하는 단계(S21)와, 파일시스템의 변화가 있는 경우에 파일시스템 복제 클래스 스레드를 생성하는 단계(S22)와, 파일시스템 복제, 삭제, 이름변경 프로세스를 수행하는 단계(S23)와, 파일시스템 복제 클래스 스레드를 종료 및 소멸시키는 단계(S24)와, 사용자에 의한 프로그램 종료명령이 있는지를 판단하는 단계(S25)와, 사용자에 의한 프로그램 종료명령이 있는 경우에 프로그램을 종료하는 단계(S26)를 포함하여 이루어진다. As shown in Figure 2, the overall process configuration of the real-time data file backup method according to an embodiment of the present invention, the step of starting the operation (S11), and confirming the presence or absence of operating environment data information (S12) And, if there is no operating environment data information, outputting an operating environment data setting screen (S13), determining whether the save button is clicked after inputting operating environment data, and when the save button is clicked after inputting operating environment data. Storing operating environment data in step S15, showing operation environment data information in step S16, reading operating environment data in step S17, and checking operating environment data to determine whether it is in an autostart state. (S18), judging whether a program start command by the user is input when the operating environment data is not in the autostart state (S19), and the program by the user. Creating a file system monitoring class thread when the RAM start command is input (S20), determining whether there is a change in the file system (S21), and if the file system changes, the file system replication class thread Creating (S22), performing file system replication, deletion, and renaming processes (S23), terminating and destroying file system replication class threads (S24), and terminating a program by the user. Determining step (S25) and, if there is a program termination command by the user to terminate the program (S26).
도 3은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 모니터링 클래스 프로세스 구성도이다.3 is a configuration diagram of a file system monitoring class process of a method for backing up a real-time data file according to an embodiment of the present invention.
도 3에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 모니터링 클래스 프로세스는, 파일시스템 생성 이벤트 프로세스와, 파일시스템 수정 이벤트 프로세스와, 파일시스템 삭제 이벤트 프로세스와, 파일시스템 이름변경 이벤트 프로세스와, 파일시스템 워처에러 이벤트 프로세스가 포함된 클래스를 생성하게 된다.As shown in FIG. 3, the file system monitoring class process of the real-time data file backup method according to an embodiment of the present invention includes a file system creation event process, a file system modification event process, a file system deletion event process, You will create a class that contains a filesystem rename event process and a filesystem watcher error event process.
상기한 파일시스템 생성 이벤트 프로세스는 생성 이벤트가 발생되면 동작이 시작되는 단계(S2011)와, 이벤트정보, 파일시스템종류, 생성된 원본파일경로정보, 사본파일경로정보를 수집하는 단계(S2012)와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하는 단계(S2013)로 이루어진다.The file system generation event process includes the steps of starting an operation when a generation event occurs (S2011), collecting event information, file system type, generated original file path information, and copy file path information (S2012); Calling the file system replication class multithreaded call procedure (S2013).
상기한 파일시스템 수정 이벤트 프로세스는 수정 이벤트가 발생되면 동작이 시작되는 단계(S2021)와, 이벤트정보, 파일시스템종류, 수정된 원본파일경로정보, 사본파일경로정보를 수집하는 단계(S2022)와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하는 단계(S2023)로 이루어진다.The file system modification event process includes the steps of starting an operation when a modification event occurs (S2021), collecting event information, file system type, modified original file path information, and copy file path information (S2022); In step S2023, the file system replication class multi-thread call procedure is called.
상기한 파일시스템 삭제 이벤트 프로세스는 삭제 이벤트가 발생되면 동작이 시작되는 단계(S2031)와, 이벤트정보, 파일시스템종류, 삭제된 원본파일경로정보, 사본파일경로정보를 수집하는 단계(S2032)와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하는 단계(S2033)로 이루어진다.The file system deletion event process includes the steps of starting an operation when a deletion event occurs (S2031), collecting event information, file system type, deleted original file path information, and copy file path information (S2032); In step S2033, the file system replication class multi-thread call procedure is called.
상기한 파일시스템 이름변경 이벤트 프로세스는 이름변경 이벤트가 발생되면 동작이 시작되는 단계(S2041)와, 이벤트정보, 파일시스템종류, 이름변경된 원본파일의 구 파일경로정보 및 신규 파일경로정보, 사본파일경로정보를 수집하는 단계(S2042)와, 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하는 단계(S2043)로 이루어진다.In the file system rename event process, an operation is started when a name change event occurs (S2041), event information, file system type, old file path information and new file path information of the renamed original file, and copy file path. Collecting information (S2042), and calling the file system replication class multi-threaded calling procedure (S2043).
상기한 파일시스템 워쳐에러 이벤트 프로세스는 워쳐에러 이벤트가 발생되면 동작이 시작되는 단계(S2051)와, 모니터링 이벤트를 스톱하는 단계(S2052)와, 모니터링 이벤트를 시작하는 단계(S2053)로 이루어진다.The file system watcher error event process includes a step of starting an operation when a watcher error event is generated (S2051), a step of stopping a monitoring event (S2052), and a step of starting a monitoring event (S2053).
도 4는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제클래스 다중스레드호출 프로세스 구성도이다.Figure 4 is a block diagram of a file system replication class multi-threaded call process of the real-time data file backup method according to an embodiment of the present invention.
도 4에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제클래스 다중스레드호출 프로세스 구성은, 동작이 시작되는 단계(S221)와, 파일시스템 모니터링 이벤트 정보 입력을 하는 단계(S222)와, 파일시스템 복제 클래스를 생성하는 단계(S223)와, 이벤트 정보를 확인하는 단계(S224)와, 파일시스템 복제 클래스의 복제 프로세스를 수행하는 단계(S225)와, 파일시스템 복제 클래스의 삭제 프로세스를 수행하는 단계(S226)와, 파일시스템 복제 클래스의 이름변경 프로세스를 수행하는 단계(S227)와, 파일시스템 복제 클래스 스레드를 종료 및 소멸하는 하는 단계(S228)를 포함하여 이루어진다. As shown in Figure 4, the file system replication class multithreaded call process configuration of the real-time data file backup method according to an embodiment of the present invention, the operation is started (S221) and the file system monitoring event information input Step (S222), generating a file system replication class (S223), checking the event information (S224), performing a replication process of the file system replication class (S225), and file system replication A step of performing a deletion process of the class (S226), a step of performing a name change process of the file system replication class (S227), and the step of terminating and destroying the file system replication class thread (S228).
도 5는 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제 프로세스 구성도이다.5 is a configuration diagram of a file system replication process of a method for backing up a real-time data file according to an embodiment of the present invention.
도 5에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 복제 프로세스 구성은, 동작이 시작되는 단계(S2251)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하는 단계(S2252)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하지 않는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단하는 단계(S2253)와, 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 생성하는 단계(S2254)와, 원본파일 시스템 형태가 디렉토리가 아닌 경우에 사본경로 정보의 디렉토리가 존재하는지 판단하는 단계(S2255)와, 사본경로 정보의 디렉토리가 존재하지 않는 경우에 사본경로 디렉토리를 생성하는 단계(S2256)와, 사본경로 정보의 디렉토리가 존재하는 경우에 사본경로 디렉토리에 파일을 복사하는 단계(S2257)와, 파일시스템 복제 프로세스를 종료하는 단계(S2258)를 포함하여 이루어진다.As shown in FIG. 5, the file system duplication process configuration of the real-time data file backup method according to an embodiment of the present invention includes a step (S2251) in which an operation is started, and copy file system information such as original file system information. Determining whether the file exists in the destination repository (S2252); determining whether the source file system type is a directory when the copy file system information such as the source file system information does not exist in the destination repository (S2253); Generating a copy path directory when the system type is a directory (S2254); determining whether a directory of copy path information exists when the source file system type is not a directory (S2255); and a directory of copy path information. A step of creating a copy path directory in the case where there is no S2256, and a directory of copy path information. If the present step of copying a file to a copy of the directory path (S2257), and comprises a step (S2258) to end the file system duplication process.
도 6은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 삭제 프로세스 구성도이다.6 is a block diagram of a file system deletion process of a method for real-time data file backup according to an embodiment of the present invention.
도 6에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 삭제 프로세스 구성은, 동작이 시작되는 단계(S2261)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하는 단계(S2262)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단하는 단계(S2263)와, 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 삭제하는 단계(S2264)와, 원본파일 시스템 형태가 디렉토리가 아닌 경우에 사본경로 정보 파일의 속성이 읽기전용인지를 판단하는 단계(S2265)와, 사본경로 정보 파일의 속성이 읽기전용인 경우에 사본경로 파일 시스템의 읽기전용 속성을 해제하는 단계(S2266)와, 사본경로 정보 파일의 속성이 읽기전용이 아닌 경우에 사본경로 디렉토리에 파일을 삭제하는 단계(S2267)와, 파일시스템 삭제 프로세스를 종료하는 단계(S2268)를 포함하여 이루어진다.As shown in FIG. 6, the file system deletion process configuration of the real-time data file backup method according to an embodiment of the present invention includes a step (S2261) at which the operation is started, and copy file system information such as original file system information. Determining whether the file exists in the destination repository (S2262); determining whether the source file system type is a directory when the copy file system information such as the source file system information exists in the destination repository (S2263), and the source file system. Deleting a copy path directory when the form is a directory (S2264), Determining whether an attribute of a copy path information file is read-only (S2265) when the original file system type is not a directory, and copy path information If the attribute of the file is read-only, releasing the read-only attribute of the copy path file system (S2266); If the attribute of the local information file is not read-only, the method includes deleting the file in the copy path directory (S2267), and terminating the file system deletion process (S2268).
도 7은 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 이름변경 프로세스 구성도이다.7 is a diagram illustrating a file system name change process of the real-time data file backup method according to an embodiment of the present invention.
도 7에 도시되어 있는 바와 같이 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 방법의 파일시스템 이름변경 프로세스 구성은, 동작이 시작되는 단계(S2271)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하는 단계(S2272)와, 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단하는 단계(S2273)와, 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 신규파일경로 정보이름으로 변경하는 단계(S2274)와, 원본파일 시스템 형태가 디렉토리가 아닌 경우에 사본경로 정보 파일의 속성이 읽기전용인지를 판단하는 단계(S2275)와, 사본경로 정보 파일의 속성이 읽기전용인 경우에 사본경로 파일 시스템의 읽기전용 속성을 해제하는 단계(S2276)와, 사본경로 정보 파일의 속성이 읽기전용이 아닌 경우에 사본경로의 파일이름을 신규이름으로 변경하는 단계(S2277)와, 파일시스템 이름변경 프로세스를 종료하는 단계(S2278)를 포함하여 이루어진다.As shown in FIG. 7, the file system renaming process configuration of the real-time data file backup method according to an embodiment of the present invention includes a step of starting operation (S2271) and copy file system information such as original file system information. Determining whether the file exists in the destination storage (S2272), determining whether the source file system type is a directory when the copy file system information such as the source file system information exists in the destination storage (S2273), and the source file. Changing the copy path directory to the new file path information name when the system type is a directory (S2274); and determining whether an attribute of the copy path information file is read-only when the source file system type is not a directory ( S2275) and the read-only attribute of the copy path file system when the attribute of the copy path information file is read-only. (S2276), changing the file name of the copy path to the new name when the attribute of the copy path information file is not read-only (S2277), and terminating the file system rename process (S2278). )
상기한 구성에 의한, 이 발명의 일실시예에 따른 실시간 데이터 파일 백업 시스템과 방법의 작용은 다음과 같다.With the above configuration, the operation of the real-time data file backup system and method according to the embodiment of the present invention is as follows.
메인 컴퓨터 시스템(10)의 운영체계부(13)에 의해서 동작이 시작되면(S11), 닷넷프레임웍부(14)는 파일시스템모니터링클래스부(15)를 통하여 운영환경데이터부(16)에 저장되어 있는 운영환경 데이터 정보의 유무를 확인한다(S12).When the operation is started by the
운영환경데이터부(16)에 운영환경 데이터 정보가 없는 경우에 닷넷프레임웍부(14)는 운영환경 데이터 설정 화면을 출력함으로써 사용자로 하여금 운영환경 데이터를 입력하도록 한 후에(S13), 사용자에 의해 운영환경 데이터 입력후 저장버튼이 클릭되었는지를 판단한다(S14).If there is no operating environment data information in the operating
운영환경 데이터 입력후 저장버튼이 클릭된 경우에 닷넷프레임웍부(14)는 입력된 운영환경 데이터를 운영환경데이터부(16)에 저장한다(S15).When the save button is clicked after inputting the operating environment data, the .
다음에, 닷넷프레임웍부(14)는 운영환경 데이터를 정보를 예시한 후에(S16), 운영환경데이터부(16)에 저장되어 있는 운영환경 데이터를 읽어 낸다(S17).Next, after the .
이어서, 닷넷프레임웍부(14)는 읽어낸 운영환경 데이터를 확인하여 자동시작상태인지를 판단한다(S18).Subsequently, the .
운영환경 데이터가 자동시작상태가 아닌 경우에 닷넷프레임웍부(14)는 사용자에 의한 프로그램 시작명령이 입력되는지를 판단하여(S19), 사용자에 의한 프로그램 시작명령이 입력되는 경우에 파일시스템 모니터링 클래스부(15)를 제어하여 파일시스템 모니터링 클래스 스레드를 생성한다(S20). When the operating environment data is not in the autostart state, the .
상기한 파일시스템 모니터링 클래스부(15)에 의해서 파일시스템 모니터링 클래스 스레드가 생성되는 과정은 도 3에 보다 구체적으로 도시되어 있는데, 파일시스템 모니터링 클래스 프로세스는, 파일시스템 생성 이벤트 프로세스와, 파일시스템 수정 이벤트 프로세스와, 파일시스템 삭제 이벤트 프로세스와, 파일시스템 이름 변경 이벤트 프로세스와, 파일시스템 워처에러 이벤트 프로세스로 구성된 5개의 프로세스로 나뉘어진다.The process of generating a file system monitoring class thread by the file system
먼저, 상기한 파일시스템 생성 이벤트 프로세스는, 생성 이벤트가 발생되면 파일시스템 모니터링 클래스부(15)의 동작이 시작되어(S2011), 이벤트정보, 파일시스템종류, 생성된 원본파일경로정보, 사본파일경로정보를 수집한 후에(S2012), 파일시스템 복제클래스 다중스레드호출 프로세스부(19)의 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하게 된다(S2013). First, in the file system generation event process, when a generation event occurs, the operation of the file system
그리고, 상기한 파일시스템 수정 이벤트 프로세스는, 수정 이벤트가 발생되면 파일시스템 모니터링 클래스부(15)의 동작이 시작되어(S2021), 이벤트정보, 파일시스템종류, 수정된 원본파일경로정보, 사본파일경로정보를 수집한 후에(S2022), 파일시스템 복제클래스 다중스레드호출 프로세스부(19)의 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하게 된다(S2023). In the file system modification event process, when a modification event occurs, the operation of the file system
또한, 상기한 파일시스템 삭제 이벤트 프로세스는, 삭제 이벤트가 발생되면 파일시스템 모니터링 클래스부(15)의 동작이 시작되어(S2031), 이벤트정보, 파일시스템종류, 삭제된 원본파일경로정보, 사본파일경로정보를 수집한 후에(S2032), 파일시스템 복제클래스 다중스레드호출 프로세스부(19)의 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하게 된다(S2033). In addition, in the file system deletion event process, when the deletion event occurs, the operation of the file system
그리고, 상기한 파일시스템 이름변경 이벤트 프로세스는, 이름변경 이벤트가 발생되면 파일시스템 모니터링 클래스부(15)의 동작이 시작되어(S2041), 이벤트정보, 파일시스템종류, 이름변경된 원본파일의 구 파일경로정보 및 신규 파일경로정보, 사본파일경로정보를 수집한 후에(S2042), 파일시스템 복제클래스 다중스레드호출 프로시저를 호출하게 된다(S2043).When the name change event occurs, the file system rename event process starts the operation of the file system monitoring class unit 15 (S2041), and the event information, the file system type, and the old file path of the renamed original file. After collecting the information, the new file path information, and the copy file path information (S2042), the file system replication class multi-thread call procedure is called (S2043).
또한, 상기한 파일시스템 워쳐에러 이벤트 프로세스는, 워쳐에러 이벤트가 발생되면 파일시스템 모니터링 클래스부(15)의 동작이 시작되어(S2051), 모니터링 이벤트를 스톱한 후에(S2052), 모니터링 이벤트를 시작하게 된다(S2053).In addition, when the watcher error event occurs, the file system watcher error event process starts the operation of the file system monitoring class unit 15 (S2051) and stops the monitoring event (S2052) to start the monitoring event. (S2053).
이와 같이, 파일시스템 모니터링 클래스부(15)에 의해서 파일시스템 모니터링 클래스 스레드가 생성된 후에, 닷넷프레임웍부(14)는 파일시스템의 변화가 있는지를 판단하여(S21), 파일시스템의 변화가 있는 경우에 파일시스템 복제 클래스부(17)를 제어하여 파일시스템 복제 클래스 스레드를 생성하게 된다(S22). 이와 같이 파일시스템 복제 클래스부(17)에 의해서 파일시스템 복제 클래스 스레드가 생성되고 나면, 닷넷프레임웍부(14)는 파일시스템을 복제, 삭제, 이름변경 프로세스를 수행하여 원격지 컴퓨터 시스템에 저장한 후(S23), 파일시스템 복제 클래스 스레드를 종료 및 소멸시킨다(S24).In this way, after the file system monitoring class thread is generated by the file system
상기한 파일시스템 복제 클래스부(17)에 의해서 파일시스템 복제 클래스 스레드가 생성되는 과정(S22)부터 종료 및 소멸되는 과정(S24)은 도 4에 보다 구체적으로 도시되어 있는데, 이를 좀더 구체적으로 설명하면 다음과 같다.The process of terminating and destroying the process of creating a file system replication class thread by the file system replication class unit 17 (S22) (S24) is illustrated in more detail in FIG. 4, which will be described in more detail. As follows.
먼저, 동작이 시작되면(S221), 파일시스템 복제 클래스부(17)는 파일시스템 모니터링 이벤트 정보 입력을 한 후에(S222), 파일시스템 복제 클래스를 생성하고(S223), 생성, 수정, 삭제, 이름변경에 대한 이벤트 정보를 확인한다(S224). 다음에, 파일시스템 복제 클래스부(17)는 확인된 이벤트 정보에 따라 파일시스템 복제 클래스 복제 프로세스를 수행하고(S225), 파일시스템 복제 클래스 삭제 프로세스를 수행하며(S226), 파일시스템 복제 클래스 이름변경 프로세스를 수행한 후(S227), 파일시스템 복제 클래스 스레드를 종료 및 소멸시킨다(S228). First, when the operation is started (S221), the file system
상기한 파일시스템 복제 클래스부(17)에 의한 파일시스템 복제 클래스의 복제 프로세스를 수행하는 과정(S225)은 도 5에 좀더 구체적으로 설명되어 있는데, 파일시스템 복제 클래스의 복제 프로세스를 수행하는 과정은 다음과 같다.The process of performing the replication process of the file system replication class by the file system replication class unit 17 (S225) is described in more detail with reference to FIG. 5. The process of performing the replication process of the file system replication class is as follows. Is the same as
먼저, 동작이 시작되면(S2251), 파일시스템 복제 클래스부(17)는 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하여(S2252), 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하지 않는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단한다(S2253). 파일시스템 복제 클래스부(17)는 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 생성하고(S2254), 원본파일 시스템 형태가 디렉토리가 아닌 경우에는 사본경로 정보의 디렉토리가 존재하는지 판단하여(S2255), 사본경로 정보의 디렉토리가 존재하지 않는 경우에 사본경로 디렉토리를 생성한다(S2256). 사본경로 정보의 디렉토리가 존재하는 경우에 파일시스템 복제 클래스부(17)는 사본경로 디렉토리에 파일을 복사한 후(S2257), 파일시스템 복제 프로세스를 종료한다(S2258).First, when the operation is started (S2251), the file system
상기한 파일시스템 복제 클래스부(17)에 의한 파일시스템 복제 클래스의 삭제 프로세스를 수행하는 과정(S226)은 도 6에 좀더 구체적으로 설명되어 있는데, 파일시스템 복제 클래스의 삭제 프로세스를 수행하는 과정은 다음과 같다.The process of performing the deletion process of the file system cloning class by the file system
먼저, 동작이 시작되면(S2261), 파일시스템 복제 클래스부(17)는 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하여(S2262), 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단한다(S2263). 파일시스템 복제 클래스부(17)는 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 삭제하고(S2264), 원본파일 시스템 형태가 디렉토리가 아닌 경우에 사본경로 정보 파일의 속성이 읽기전용인지를 판단하여(S2265), 사본경로 정보 파일의 속성이 읽기전용인 경우에 사본경로 파일 시스템의 읽기전용 속성을 해제한다(S2266). 사본경로 정보 파일의 속성이 읽기전용이 아닌 경우에 파일시스템 복제 클래스부(17)는 사본경로 디렉토리에 파일을 삭제한 후(S2267), 파일시스템 삭제 프로세스를 종료한다(S2268).First, when the operation is started (S2261), the file system
상기한 파일시스템 복제 클래스부(17)에 의한 파일시스템 복제 클래스의 이름변경 프로세스를 생성하는 과정(S227)은 도 7에 좀더 구체적으로 설명되어 있는데, 파일시스템 복제 클래스의 이름변경 프로세스를 수행하는 과정은 다음과 같다.The process of creating a name change process of the file system clone class by the file system clone class unit 17 (S227) is described in more detail with reference to FIG. 7. Is as follows.
먼저, 동작이 시작되면(S2271), 파일시스템 복제 클래스부(17)는 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는지 판단하여(S2272), 원본파일 시스템 정보와 같은 사본파일 시스템 정보가 목적지 저장소에 존재하는 경우에 원본파일 시스템 형태가 디렉토리인지를 판단한다(S2273). 파일시스템 복제 클래스부(17)는 원본파일 시스템 형태가 디렉토리인 경우에 사본경로 디렉토리를 신규파일경로 정보이름으로 변경하고(S2274), 원본파일 시스템 형태가 디렉토리가 아닌 경우에 사본경로 정보 파일의 속성이 읽기전용인지를 판단하여(S2275), 사본경로 정보 파일의 속성이 읽기전용인 경우에 사본경로 파일 시스템의 읽기전용 속성을 해제한다(S2276). 사본경로 정보 파일의 속성이 읽기전용이 아닌 경우에 파일시스템 복제 클래스부(17)는 사본경로의 파일이름을 신규이름으로 변경한 후에(S2277), 파일시스템 이름변경 프로세스를 종료한다(S2278).First, when the operation is started (S2271), the file system
이와 같은 구체적인 과정을 통해서 닷넷프레임웍부(14)는 파일시스템의 복제, 삭제, 이름변경 프로세스를 수행하여 원격지 컴퓨터 시스템에 저장한 후(S23), 파일시스템 복제 클래스 스레드를 종료 및 소멸시킨다(S24).Through such a specific process, the .
이어서 닷넷프레임웍부(14)는 사용자에 의한 프로그램 종료명령이 있는지를 판단하여(S25), 사용자에 의한 프로그램 종료명령이 있는 경우에 프로그램을 종료한다(S26). Next, the .
이상의 실시예에서 살펴 본 바와 같이 이 발명은, 컴퓨터 시스템의 운영중 의 데이터 파일을 다중 스레드 기술을 이용하여, 시스템 입출력의 부하를 분산하고, 정확하고 신속하게 사용자 컴퓨터 시스템의 데이터 파일을 목적경로로 안전하게 복제를 하여, 컴퓨터 시스템의 재해가 발생한다 하더라도 안전하게 복구할 수 있으며, 부하를 최소화하여 일반 사무업무를 수행하는 사무용 컴퓨터에서도 운영이 가능하게 하여, 중요 정부 및 공공기관, 연구소, 교육 및 학술기관, 기업의 중요부서에서 생성되는 데이터를 자동실시간 복제하여, 외/내부자에 의한 데이터의 침해나 소손에 대한 대비 및 내부자료의 유출로 인해 발생하는 법적 소송 시 유출된 자료가 내부자료임을 증빙 할 수 있는 근거자료로 활용할 수 있도록 하며, 컴퓨터시스템 상에서 운영되는 디렉토리 및 데이터 파일의 생성 및 수정, 삭제, 데이터 파일의 속성변경사항을 모니터링 후 원본 데이터 파일을 사용자가 원하는 사본경로에 정확하고 신속하게 복제함으로써, 조직 내외부자에 의한 데이터 파일의 침해, 소손 등으로 부터 데이터 파일을 안전하게 관리 할 수 있으며, 조직 내부자료 유출시 유출된 데이터에 대한 출처를 증빙할 수 있는 효과를 갖는다.As described in the above embodiments, the present invention utilizes a multi-threaded technology for the data file in operation of the computer system to distribute the load of the system input / output and accurately and quickly the data file of the user computer system. By copying securely, even in the event of a disaster of a computer system, it can be safely recovered, and it can be operated on office computers that perform general office work by minimizing the load, so that important government and public institutions, research institutes, educational and academic institutions In addition, by automatically real-time copying of data generated by the company's important departments, it is possible to prove that the leaked data is internal data in case of legal proceedings arising from the infringement or damage of data by outside / internal and leakage of internal data. It can be used as a supporting document, and it can be operated on a computer system. Create, modify, delete directory and data files, monitor data file property changes, and then copy the original data file accurately and quickly to the copy path that users want. The data file can be safely managed and the source of leaked data can be proved when the internal data leaks.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070078156A KR100920241B1 (en) | 2007-08-03 | 2007-08-03 | Real time date file backup and recovery system and method there of |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070078156A KR100920241B1 (en) | 2007-08-03 | 2007-08-03 | Real time date file backup and recovery system and method there of |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20090013972A KR20090013972A (en) | 2009-02-06 |
KR100920241B1 true KR100920241B1 (en) | 2009-10-05 |
Family
ID=40684190
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070078156A KR100920241B1 (en) | 2007-08-03 | 2007-08-03 | Real time date file backup and recovery system and method there of |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100920241B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017022916A1 (en) * | 2015-08-04 | 2017-02-09 | 중소기업은행 | Electronic document generation device and method |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101236831B1 (en) * | 2010-12-24 | 2013-02-26 | 삼성중공업 주식회사 | A backup apparatus and method for files in network system |
CN106658753B (en) | 2016-09-14 | 2020-01-17 | Oppo广东移动通信有限公司 | Data migration method and terminal equipment |
KR102012482B1 (en) | 2017-08-29 | 2019-08-20 | 이호준 | Automatic backup apparatus based on real-time file change detection |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980049353A (en) * | 1996-12-19 | 1998-09-15 | 양승택 | How to recover distributed transactions |
KR20020075062A (en) * | 2001-03-23 | 2002-10-04 | 주식회사 알티베이스 | A Method of Database Replication |
KR100359423B1 (en) | 2002-01-04 | 2002-11-07 | Ncerti Co Ltd | Very high speed high capacity backup system and backup method thereof |
US7251708B1 (en) | 2003-08-07 | 2007-07-31 | Crossroads Systems, Inc. | System and method for maintaining and reporting a log of multi-threaded backups |
-
2007
- 2007-08-03 KR KR1020070078156A patent/KR100920241B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19980049353A (en) * | 1996-12-19 | 1998-09-15 | 양승택 | How to recover distributed transactions |
KR20020075062A (en) * | 2001-03-23 | 2002-10-04 | 주식회사 알티베이스 | A Method of Database Replication |
KR100359423B1 (en) | 2002-01-04 | 2002-11-07 | Ncerti Co Ltd | Very high speed high capacity backup system and backup method thereof |
US7251708B1 (en) | 2003-08-07 | 2007-07-31 | Crossroads Systems, Inc. | System and method for maintaining and reporting a log of multi-threaded backups |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017022916A1 (en) * | 2015-08-04 | 2017-02-09 | 중소기업은행 | Electronic document generation device and method |
KR20170016590A (en) * | 2015-08-04 | 2017-02-14 | 중소기업은행 | Apparatus and method for generating electronic document |
KR101711292B1 (en) * | 2015-08-04 | 2017-02-28 | 중소기업은행 | Apparatus and method for generating electronic document |
Also Published As
Publication number | Publication date |
---|---|
KR20090013972A (en) | 2009-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7299450B2 (en) | Undoing changes in a software configuration management system | |
US5274803A (en) | Method and apparatus for aligning a restored parent environment to its child environments with minimal data loss | |
US7131112B1 (en) | Managing code changes for software development | |
US7774322B2 (en) | File transfer error handling | |
US7716461B2 (en) | Capturing and restoring application state after unexpected application shutdown | |
US7574591B2 (en) | Capturing and restoring application state after unexpected application shutdown | |
US20070255765A1 (en) | Systems and methods for file maintenance | |
KR100920241B1 (en) | Real time date file backup and recovery system and method there of | |
US20080005111A1 (en) | Atomic transaction file manager | |
US20050165871A1 (en) | Method and apparatus for recycling application processes | |
GB2393818A (en) | Error handling by controlling the activity of temporary files. | |
Lomet | Persistent applications using generalized redo recovery | |
US7624307B2 (en) | Operations engine error handling | |
CN117422285A (en) | Operation flow inheritance method | |
CN110471796A (en) | A kind of back-up restoring method of the complete and increment of object oriented file catalogue | |
JP2010072685A (en) | Operation implementation system, operation implementation device, control device, operation implementation program, and control program | |
JPH07160561A (en) | File managing device | |
US20060085491A1 (en) | System and method for recovering from interruptions during data loading | |
JPH09274581A (en) | Data backup method | |
TWI416410B (en) | System and method for updating version of the executable file | |
JPH05143311A (en) | Source program correction managing editor | |
JP2009043083A (en) | Database connection system, database connection program, and database connection method | |
Candrlic et al. | Model of a system for team software development | |
Kadriu et al. | Multithreaded Approach for Using Blockchain as an Automated Versioning Tool | |
JP2006503372A (en) | Method, system and software for journaling system objects |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
N231 | Notification of change of applicant | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20120706 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20130705 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20140805 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20150811 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20160902 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20170703 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20180703 Year of fee payment: 10 |
|
FPAY | Annual fee payment |
Payment date: 20190701 Year of fee payment: 11 |