KR20150101333A - Database Backup and Recovery Method using Streaming - Google Patents
Database Backup and Recovery Method using Streaming Download PDFInfo
- Publication number
- KR20150101333A KR20150101333A KR1020140022918A KR20140022918A KR20150101333A KR 20150101333 A KR20150101333 A KR 20150101333A KR 1020140022918 A KR1020140022918 A KR 1020140022918A KR 20140022918 A KR20140022918 A KR 20140022918A KR 20150101333 A KR20150101333 A KR 20150101333A
- Authority
- KR
- South Korea
- Prior art keywords
- memory
- database
- data
- streaming
- backup
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
Description
본 발명은 데이터베이스 백업 및 복구 방법에 관한 것으로, 더욱 상세하게는 데이터베이스 시스템에 저장된 데이터들을 별도의 파일로 보관할 때, 스트림 방식을 통해 데이터를 적재, 압축 및 암호화하여 운영서버 디스트에 직접 저장하고, 이를 다시 복구하는 방법에 관한 것이다.
The present invention relates to a database backup and recovery method, and more particularly, to a data backup and recovery method for storing data stored in a database system in a separate file, storing, And a method for restoring it again.
일반적으로, 하나의 정보처리시스템은 데이터베이스를 포함하는 다수의 운영서버와, 네트워크를 통해 상기 운영서버의 데이터베이스와 연결되는 다수의 클라이언트 단말기 등으로 이루어져 있다. 또한, 상기 데이터베이스는 데이터베이스 관리시스템(DBMS)을 포함하며, 데이터베이스 내에는 숫자, 문자, 동영상, 소리 등 다양한 형식의 데이터들이 저장되어 있다.In general, one information processing system includes a plurality of operating servers including a database, and a plurality of client terminals connected to a database of the operating server through a network. In addition, the database includes a database management system (DBMS), and various types of data such as numbers, characters, moving images, and sounds are stored in the database.
통상적으로, 상기와 같은 정보처리시스템에서 클라이언트 단말기의 응용 프로그램(Application)들이 데이터베이스 시스템에 접속하게 되면, 데이터베이스 내에는 수많은 데이터들이 저장되고 변경된다. 이러한 데이터들을 안전하게 보관하기 위해 별도의 파일로 백업하게 된다.Generally, when the application programs of the client terminal are connected to the database system in the information processing system, a large amount of data is stored and changed in the database. This data is backed up as a separate file for safekeeping.
종래의 데이터베이스 백업은 데이터베이스로부터 데이터를 추출하여 디스크(Disk)에 파일로 저장한 뒤에 이 파일을 압축하여 보관한다. 따라서, 종래의 데이터베이스 백업 방법은 파일을 압축하기 전에 디스크를 사용하기 때문에 경우에 따라서 매우 큰 임시 디스크 공간 필요하게 되며, 이로 인한 디스크 입출력(DISK I/O)이 발생하여 상기 데이터베이스 시스템의 운영서버 및 클라이언트 단말기에 큰 부하(load)를 주는 문제점이 있었다.Conventional database backup extracts data from a database, stores it as a file on a disk, compresses it and stores it. Therefore, since the conventional database backup method uses a disk before compressing a file, a very large temporary disk space is required in some cases, and a disk I / O (disk I / O) There is a problem that a large load is applied to the client terminal.
또한, 종래의 데이터베이스 백업 과정은 백업 이후 압축을 하는 크게 두 단계로 나누어지고, 근래의 보안의 중요성 때문에 압축된 백업 파일에 대한 암호화를 추가하게 되어 파일 백업, 백업된 파일 암호화, 암호화된 파일의 압축과 같은 3단계를 거치게 된다. 또한, 상기와 같은 백업 과정에 따라 데이터베이스 복구 과정도 압축해제, 복호화 그리고 파일 복구와 같은 반대의 3단계를 거치게 된다.In addition, the conventional database backup process is divided into two stages of post-backup compression. Because of the importance of security in recent years, the encryption of the compressed backup file is added, so that the backup of the file, the encryption of the backed-up file, And the second stage. In addition, according to the above-described backup process, the database restoration process also goes through three reverse steps such as decompression, decryption, and file restoration.
위와 같은 백업 및 복구 과정에서 3단계를 거치게 되면 몇 가지 문제가 발생한다. 첫째는 백업 및 복구 단계에서 바로 암호화가 되지 않기 때문에 보안상 허점이 발생할 수 있다. 둘째는 3단계를 거쳐야 하기 때문에 각각의 단계별로 임시 디스크 공간이 필요함 과 동시에 작업이 진행되어 작업시간이 늘어나고, 그 만큼 디스크 입출력이 증가하게 되어 시스템 성능에 악영향을 미치게 된다.
If you go through three steps in the backup and recovery process above, there are some problems. First, there is a security hole because it is not encrypted immediately at the backup and recovery stage. Second, since it requires 3 steps, temporary disk space is required for each step. At the same time, work is performed, work time is increased, and disk input / output is increased accordingly, which adversely affects system performance.
본 발명은 상기와 같은 제반 문제점들을 해결하기 위하여 제안된 것으로, 데이터베이스 시스템에 저장된 데이터들을 운영서버의 디스크에 별도의 파일로 보관할 때, 데이터들을 별도의 디스크 공간에 저장하지 않고 운영서버의 디스크에 직접 저장할 수 있는 데이터베이스 백업 및 복구 방법을 제공하는 것을 목적으로 한다.Disclosure of Invention Technical Problem [8] The present invention has been proposed in order to solve the above problems, and it is an object of the present invention to provide an apparatus and a method for directly storing data stored in a database system, And to provide a database backup and recovery method that can be stored.
또한, 본 발명은 데이터베이스 시스템에 저장된 데이터들을 저장하는 과정에서 별도의 임시 디스크 공간이 요구되지 않아 디스크 입출력에 따른 부하를 발생시키지 않는 데이터베이스 백업 및 복구 방법을 제공하는 것을 목적으로 한다.It is another object of the present invention to provide a database backup and recovery method that does not require additional temporary disk space in storing data stored in a database system and does not cause a load due to disk input / output.
또한, 본 발명은 데이터베이스 시스템에 저장된 데이터들을 백업 및 복구하는 과정에서의 보안상 허점을 방지하고, 작업 시간을 단축할 수 있는 데이터베이스 백업 및 복구 방법을 제공하는 것을 목적으로 한다.
It is another object of the present invention to provide a database backup and recovery method capable of preventing loopholes in security in the process of backing up and restoring data stored in a database system and reducing work time.
상기와 같은 목적을 달성하기 위한 본 발명의 데이터베이스 백업 방법은, 스트리밍 기능이 탑재된 백업 시스템에서 수행되며, (a) 데이터베이스에 존재하는 데이터를 스트리밍으로 메모리에 적재하는 단계; (b) 상기 메모리에 적재된 데이터를 메모리 상에서 압축하는 단계; 및 (c) 상기 메모리에 압축된 데이터를 메모리 상에서 암호화하여 운영서버 디스크에 파일로 저장하는 단계;를 포함하는 것을 특징으로한다.According to another aspect of the present invention, there is provided a database backup method comprising the steps of: (a) loading data existing in a database into a memory by streaming; (b) compressing the data loaded in the memory in memory; And (c) encrypting the compressed data in the memory in a memory and storing the encrypted data in a file on an operating server disk.
또한, 본 발명의 데이터베이스 복구 방법은 스트리밍 기능이 탑재된 복구 시스템에서 수행되며, (d) 상기 운영서버 디스크에 저장된 파일을 복호화하는 단계; (e) 복호화된 파일을 압축 해제하며 메모리에 적재하는 단계; 및 (f) 메모리에 적재된 데이터를 스트리밍으로 상기 데이터베이스 시스템에 제공하는 단계;를 포함하는 것을 특징으로 한다.Also, the database recovery method of the present invention is performed in a recovery system equipped with a streaming function, (d) decoding a file stored in the operating server disk, (e) decompressing the decrypted file and loading it in a memory; And (f) providing the data stored in the memory to the database system by streaming.
또한, 본 발명의 데이터베이스 백업 및 복구 방법은, 스트리밍 기능이 탑재된 백업 및 복구 시스템에서 수행되며, (a) 데이터베이스에 존재하는 데이터를 스트리밍으로 메모리에 적재하는 단계; (b) 상기 메모리에 적재된 데이터를 메모리 상에서 압축하는 단계; (c) 상기 메모리에 압축된 데이터를 메모리 상에서 암호화하여 운영서버 디스크에 파일로 저장하는 단계; (d) 상기 운영서버 디스크에 저장된 파일을 복호화하는 단계; (e) 복호화된 파일을 압축 해제하며 메모리에 적재하는 단계; 및 (f) 메모리에 적재된 데이터를 스트리밍으로 상기 데이터베이스에 입력하는 단계;로 이루어지는 것을 특징으로 한다.The database backup and recovery method of the present invention is performed in a backup and recovery system equipped with a streaming function, and includes the steps of: (a) loading data existing in a database into a memory by streaming; (b) compressing the data loaded in the memory in memory; (c) encrypting the compressed data in the memory in a memory and storing the encrypted data in a file on an operating server disk; (d) decrypting the file stored on the operating server disk; (e) decompressing the decrypted file and loading it in a memory; And (f) inputting the data stored in the memory into the database by streaming.
여기서, 상기 스트리밍은 데이터베이스 내의 라이브러리에 의하여 실행되며, 상기 메모리는 상기 데이터베이스에 구비된 메모리인 것을 특징으로 한다,Here, the streaming is performed by a library in a database, and the memory is a memory provided in the database.
또한, 상기 스트리밍은 운영서버 프로세스에 의하여 실행되며, 상기 메모리는 상기 운영서버 프로세스에 구비된 메모리인 것을 특징으로 하고, 상기 데이터베이스와 상기 운영서버 프로세스 사이의 데이터 전송은 Named Pipe 통신으로 이루어지는 것을 특징으로 한다.In addition, the streaming is executed by an operating server process, and the memory is a memory provided in the operating server process, and data transmission between the database and the operating server process is performed by Named Pipe communication do.
또한, 상기 스트리밍은 클라이언트 단말기 프로세스에 의하여 실행되며, 상기 메모리는 상기 클라이언트 단말기 프로세스에 구비된 메모리인 것을 특징으로 하고, 상기 데이터베이스와 상기 클라이언트 단말기 프로세스 사이의 데이터 전송은 TCP/IP 통신으로 이루어지는 것을 특징으로 한다.
In addition, the streaming is executed by a client terminal process, and the memory is a memory provided in the client terminal process, and data transmission between the database and the client terminal process is performed by TCP / IP communication .
상기와 같은 구성의 본 발명은 데이터베이스 시스템에 저장된 데이터들을 별도의 파일에 보관할 때 스트림 방식을 통해 압축 및 암호화함으로써, 메모리에 직접 백업하고 복구할 수 있다.The present invention having such a configuration can directly backup and restore data stored in a database system to a memory by compressing and encrypting data stored in a separate file by a stream method.
또한, 본 발명은, 데이터베이스 시스템에 저장된 데이터들이 메모리 상에서 직접 백업 및 복구 과정이 이루어짐으로써, 별도의 임시 디스크 공간을 요하지 않고, 디스크 입출력에 따른 부하를 발생시키지 않는다.In addition, since the data stored in the database system is directly backed up and restored in the memory, the present invention does not require a separate temporary disk space and does not generate a load due to disk input / output.
또한, 본 발명은 메모리 상에서의 백업 및 북구 과정에서 암호화 및 복호화가 함께 이루어지므로, 백업 및 복구하는 과정에서의 보안상 허점이 방지되고, 작업 시간을 단축할 수 있다.
In addition, since encryption and decryption are performed together in the backup and the backup process on the memory, the present invention prevents loopholes in security during the backup and recovery process and shortens the operation time.
도 1은 본 발명의 실시예에 따른 정보처리시스템을 나타낸 블록도,
도 2는 본 발명의 실시예에 따른 데이터베이스 백업 및 복구 시스템을 나타낸 블록도,
도 3은 본 발명의 제1실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면,
도 4는 본 발명의 제2실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면, 및
도 5는 본 발명의 제3실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면이다.1 is a block diagram showing an information processing system according to an embodiment of the present invention;
2 is a block diagram illustrating a database backup and recovery system in accordance with an embodiment of the present invention;
3 is a diagram illustrating a database backup and recovery process according to the first embodiment of the present invention.
4 is a diagram illustrating a database backup and recovery process according to a second embodiment of the present invention, and FIG.
5 is a diagram illustrating a database backup and recovery process according to a third embodiment of the present invention.
본 발명과 본 발명의 실시에 의해 달성되는 기술적 과제는 다음에서 설명하는 바람직한 실시예들에 의해 명확해질 것이다. 이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 살펴보기로 한다. 본 발명의 설명에 있어서 도면에는 다르게 도시되더라도, 동일한 구성에 대해서는 동일한 도면 부호를 사용한다.
BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features and advantages of the present invention will be more apparent from the following detailed description taken in conjunction with the accompanying drawings, in which: FIG. Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the description of the present invention, the same reference numerals are used for the same components, although they are shown differently in the drawings.
도 1은 본 발명의 실시예에 따른 정보처리시스템을 나타낸 블록도이고, 도 2는 본 발명의 실시예에 따른 데이터베이스 백업 및 복구 시스템을 나타낸 블록도이다. FIG. 1 is a block diagram illustrating an information processing system according to an embodiment of the present invention, and FIG. 2 is a block diagram illustrating a database backup and recovery system according to an embodiment of the present invention.
먼저, 도 1에 도시된 바와 같이 본 발명의 정보처리시스템(1)은 데이터베이스(20)와 운영서버 프로세스(50)를 포함하는 다수의 운영서버(10)와, 네트워크(30)를 통해 상기 운영서버(10)의 데이터베이스(20)와 연결되는 다수의 클라이언트 단말기(40)로 이루어진다. 여기서, 상기 데이터베이스(20)는 데이터베이스 관리시스템(DBMS)을 포함하며, 데이터베이스 내에는 숫자, 문자, 동영상, 소리 등 다양한 형식의 데이터들이 저장되어 있다. 또한, 상기 클라이언트 단말기(40)는 클라이언트 단말기 프로세스(60)를 포함한다.1, the information processing system 1 of the present invention includes a plurality of
본 발명의 정보처리시스템(1)에서는 상기 데이터베이스(20), 운영서버(10) 및 클라이언트 단말기(40)에서 데이터베이스의 백업 및 복구 과정이 수행될 수 있으며, 이를 위하여 상기 데이터베이스(20), 운영서버(10) 및 클라이언트 단말기(40)에는 백업 시스템(100)과 복구 시스템(100')이 마련되며, 특히 각 시스템에는 스트리밍 기능이 함께 탑재된다. In the information processing system 1 of the present invention, a database backup and recovery process can be performed in the
한편, 도 2에 도시된 바와 같이 백업 시스템(100)은 데이터베이스(20)에 저장된 데이터를 불러와 메모리(200)에 적재하는 백업모듈(110), 메모리(200)에 적재된 데이터를 압축하는 압축모듈(120) 및 압축된 데이터를 암호화하여 운영서버 디스크에 파일로 저장하는 암호화모듈(130)로 구성되고, 복구 시스템(100')은 운영서버 디스크에 저장된 파일을 복호화하는 복호화모듈(130'), 복호화된 파일을 메모리에 적재하는 해제모듈(120') 및 메모리 상에서 적재된 데이터를 데이터베이스(20)에 입력하는 복구모듈(130')로 구성된다. 즉, 본 발명에서의 데이터 백업과 복구는 메모리(200) 상에서 스트리밍 방식으로 이루어지며, 메모리(200)에 탑재, 압축 및 암호화된 데이터는 운영서버 디스크(미도시)에 파일로 저장되면서 백업되고, 운영서버 디스크에 저장된 파일은 메모리(200)로 불려와 복호화 및 압축 해제되면서 데이터베이스(20)에 제공된다. 2, the
이러한 스트리밍 방식을 이용한 데이터베이스의 백업과 복구는 데이터베이스 내의 라이브러리(함수)에서 수행되거나, 운영서버 내의 프로세스(50)에서 수행되거나, 클라이언트 단말기 내의 프로세스(50)에서 수행될 수 있다. 이를 위하여 백업 및 복구 시스템의 스트리밍 기능은 데이터베이스 내의 라이브러리 형태, 운영서버 내의 프로세스 형태 또는 클라이언트 단말기 내의 프로세스 형태로 탑재된다. 또한, 각 데이터베이스(20), 운영서버(10) 및 클라이언트 단말기(30)에는 백업 및 복구가 이루어지기 위한 메모리가 구비된다.Backup and recovery of the database using such a streaming method can be performed in a library (function) in the database, in a
따라서, 본 발명에서의 데이터베이스 백업 및 복구 시스템(100')은 데이터베이스(20) 내에서 스트림 백업 라이브러리(100a)와 스트림 복구 라이브러리(100'a)로 구현되거나, 운영서버(10) 내에서 스트림 백업 프로세스(100b)와 스트림 복구 프로세스(100'b)로 구현되거나, 클라이언트 단말기에서 스트림 백업 프로세스(100c)와 스트림 복구 프로세스(100'c)로 구현된다. 이하에서 스트리밍이 탑재된 형태에 따른 데이터베이스의 백업 및 복구 과정을 살펴본다.
Thus, the database backup and recovery system 100 'of the present invention can be implemented as a
도 3은 본 발명의 제1실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면이다. 본 발명의 제1실시예에서는 스트리밍 기능이 데이터베이스(20) 내에서 라이브러리 형태로 존재하며, 데이터베이스 내의 스트림 백업 라이브러리(100a)에 의하여 백업, 압축 및 암호화하는 과정이 이루어지고, 반대로 스트림 백업 라이브러리(100a)에 의하여 복호화, 압축해제 및 복구하는 과정이 이루어진다. 이러한 백업 및 복구 과정은 데이터베이스(20)가 소유한 메모리 상에서 수행된다.3 is a diagram illustrating a database backup and recovery process according to the first embodiment of the present invention. In the first embodiment of the present invention, a streaming function exists in the form of a library in the
구체적으로 살펴보면, 데이터베이스 백업은 백업모듈(110)이 데이터베이스(20) 내에 존재하는 데이터를 데이터베이스가 소유한 메모리(200)에 적재하고, 압축모듈(120)이 메모리(200)에 적재된 데이터를 메모리(200) 상에서 압축하며, 암호화모듈(130)이 메모리(200)에 압축된 데이터를 암호화하여 운영서버(10)의 디스크에 파일(70)로 저장하는 과정으로 이루어진다. Specifically, the database backup is performed such that the
또한, 데이터베이스의 복구는 복호화모듈(130')이 운영서버(10)의 디스크에 저장된 파일(70)을 불러와 복호화 하고, 해제모듈(120')이 복호화된 파일을 압축 해제하면서 데이터베이스(20)가 소유한 메모리(200)에 적재하며, 복구모듈(110')이 메모리(200)에 적재된 데이터를 데이터베이스(20)에 입력하는 과정으로 이루어진다.The recovery of the database is performed by the decryption module 130 'by reading and decrypting the
도 4는 본 발명의 제2실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면이다. 본 발명의 제2실시예에서는 스트리밍 기능이 운영서버 내에서 프로세스 형태로 존재하며, 운영서버 내의 스트림 백업 프로세스(100b)에 의하여 백업, 압축 및 암호화하는 과정이 이루어지고, 반대로 스트림 복구 프로세스(100'b)에 의하여 복호화, 압축해제 및 복구하는 과정이 이루어진다. 이러한 백업 및 복구 과정은 운영서버 프로세스(50)가 소유한 메모리 상에서 수행된다.4 is a diagram illustrating a database backup and recovery process according to a second embodiment of the present invention. In the second embodiment of the present invention, the streaming function exists in the form of a process in the operating server, and a process of backing up, compressing and encrypting is performed by the
구체적으로 살펴보면, 데이터베이스 백업은 백업모듈(110)이 데이터베이스(20) 내에 존재하는 데이터를 운영서버 프로세스(50)가 소유한 메모리(200)에 적재하고, 압축모듈(120)이 메모리(200)에 적재된 데이터를 메모리(200) 상에서 압축하며, 암호화모듈(130)이 메모리(200)에 압축된 데이터를 암호화하여 운영서버(10)의 디스크에 파일(70)로 저장하는 과정으로 이루어진다.Specifically, the database backup is performed such that the
또한, 데이터베이스의 복구는 복호화모듈(130')이 운영서버(10)의 디스크에 저장된 파일(70)을 불러와 복호화 하고, 해제모듈(120')이 복호화된 파일을 압축 해제하면서 운영서버 프로세스(50)가 소유한 메모리(200)에 적재하며, 복구모듈(110')이 메모리(200)에 적재된 데이터를 데이터베이스(20)에 입력하는 과정으로 이루어진다.The recovery of the database is performed by the decryption module 130 'by reading and decrypting the
이때, 운영서버 내의 스트림 백업 프로세스(100b) 및 스트림 복구 프로세스(100'b)와 데이터베이스(20) 사이의 데이터 전송은 Named Pipe 통신으로 이루어진다.At this time, data transmission between the
도 5는 본 발명의 제3실시예에 따른 데이터베이스 백업 및 복구 과정을 나타낸 도면이다. 본 발명의 제3실시예에서는 스트리밍 기능이 클라이언트 단말기 내에서 프로세스 형태로 존재하며, 클라이언트 단말기 내의 스트림 백업 프로세스(100c)에 의하여 백업, 압축 및 암호화하는 과정이 이루어지고, 반대로 스트림 복구 프로세스(100'c)에 의하여 복호화, 압축해제 및 복구하는 과정이 이루어진다. 이러한 백업 및 복구 과정은 클라이언트 단말기 프로세스(60)가 소유한 메모리 상에서 수행된다.5 is a diagram illustrating a database backup and recovery process according to a third embodiment of the present invention. In the third embodiment of the present invention, the streaming function exists in the form of a process in the client terminal, and a process of backing up, compressing and encrypting is performed by the
구체적으로 살펴보면, 데이터베이스 백업은 백업모듈(110)이 데이터베이스(20) 내에 존재하는 데이터를 클라이언트 단말기 프로세스(60)가 소유한 메모리(200)에 적재하고, 압축모듈(120)이 메모리(200)에 적재된 데이터를 메모리(200) 상에서 압축하며, 암호화모듈(130)이 메모리(200)에 압축된 데이터를 암호화하여 운영서버(10)의 디스크에 파일(70)로 저장하는 과정으로 이루어진다.Specifically, the database backup is performed such that the
또한, 데이터베이스의 복구는 복호화모듈(130')이 운영서버(10)의 디스크에 저장된 파일(70)을 불러와 복호화 하고, 해제모듈(120')이 복호화된 파일을 압축 해제하면서 클라이언트 단말기 프로세스(60)가 소유한 메모리(200)에 적재하며, 복구모듈(110')이 메모리(200)에 적재된 데이터를 데이터베이스(20)에 입력하는 과정으로 이루어진다.The restoration of the database is performed by the decryption module 130 'by reading and decrypting the
이때, 클라이언트 단말기 내의 스트림 백업 프로세스(100c) 및 스트림 복구 프로세스(100'c)와 데이터베이스(20) 사이의 데이터 전송은 TCP/IP 통신으로 이루어진다.
At this time, data transmission between the
이와 같이 본 발명에서는 스트림을 이용하여 데이터베이스 백업(Backup), 압축(Compression) 및 암호화(Encryption)가 이루어짐으로써, 하드 디스크 내에 임시 저장 공간이 요구되지 않으며, 보안상 허점을 방지할 수 있고, 작업 시간을 줄일 수 있다. As described above, according to the present invention, database backup (backup), compression (compression) and encryption (encryption) are performed using a stream, so that no temporary storage space is required in the hard disk, .
이상에서 본 발명에 있어서 실시예를 참고로 설명되었으나, 본 기술분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 것이다.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.
1 : 정보처리시스템
10 : 운영서버
20 : 데이터베이스
30 : 네트워크
40 : 클아이언트 단말기
50 : 운영서버 프로세스
60 : 클라이언트 단말기 프로세스1: Information processing system
10: Operational server 20: Database
30: Network 40: Large terminal
50: operational server process 60: client terminal process
Claims (8)
(a) 데이터베이스에 존재하는 데이터를 스트리밍으로 메모리에 적재하는 단계;
(b) 상기 메모리에 적재된 데이터를 메모리 상에서 압축하는 단계; 및
(c) 상기 메모리에 압축된 데이터를 메모리 상에서 암호화하여 운영서버 디스크에 파일로 저장하는 단계;를 포함하는 데이터베이스 백업 방법.This is done in a backup system with streaming capability,
(a) loading data existing in a database into a memory by streaming;
(b) compressing the data loaded in the memory in memory; And
(c) encrypting the compressed data in the memory in a memory and storing the encrypted data in a file on an operating server disk.
(d) 운영서버 디스크에 저장된 파일을 복호화하는 단계;
(e) 복호화된 파일을 압축 해제하며 메모리에 적재하는 단계; 및
(f) 메모리에 적재된 데이터를 스트리밍으로 상기 데이터베이스에 입력하는 단계;를 포함하는 데이터베이스 복구 방법.This is done on a recovery system with streaming capability,
(d) decrypting the file stored on the operating server disk;
(e) decompressing the decrypted file and loading it in a memory; And
(f) inputting the data stored in the memory into the database by streaming.
(a) 데이터베이스에 존재하는 데이터를 스트리밍으로 메모리에 적재하는 단계;
(b) 상기 메모리에 적재된 데이터를 메모리 상에서 압축하는 단계;
(c) 상기 메모리에 압축된 데이터를 메모리 상에서 암호화하여 운영서버 디스크에 파일로 저장하는 단계;
(d) 상기 운영서버 디스크에 저장된 파일을 복호화하는 단계;
(e) 복호화된 파일을 압축 해제하며 메모리에 적재하는 단계;
(f) 메모리에 적재된 데이터를 스트리밍으로 상기 데이터베이스에 입력하는 단계;로 이루어지는 데이터베이스 백업 및 복구 방법.This is done in a backup and recovery system with streaming capability,
(a) loading data existing in a database into a memory by streaming;
(b) compressing the data loaded in the memory in memory;
(c) encrypting the compressed data in the memory in a memory and storing the encrypted data in a file on an operating server disk;
(d) decrypting the file stored on the operating server disk;
(e) decompressing the decrypted file and loading it in a memory;
(f) inputting the data stored in the memory into the database by streaming.
상기 스트리밍은 데이터베이스 내의 라이브러리에 의하여 실행되며,
상기 메모리는 상기 데이터베이스에 구비된 메모리인 것을 특징으로 하는 데이터베이스 백업 및 복구 방법.The method of claim 3,
The streaming is performed by a library in the database,
Wherein the memory is a memory provided in the database.
상기 스트리밍은 운영서버 프로세스에 의하여 실행되며,
상기 메모리는 상기 운영서버 프로세스에 구비된 메모리인 것을 특징으로 하는 데이터베이스 백업 및 복구 방법.The method of claim 3,
The streaming is performed by an operating server process,
Wherein the memory is a memory included in the operating server process.
상기 데이터베이스와 상기 운영서버 프로세스 사이의 데이터 전송은 Named Pipe 통신으로 이루어지는 것을 특징으로 하는 데이터베이스 백업 및 복구 방법.6. The method of claim 5,
Wherein the data transfer between the database and the operating server process is performed through Named Pipe communication.
상기 스트리밍은 클라이언트 단말기 프로세스에 의하여 실행되며,
상기 메모리는 상기 클라이언트 단말기 프로세스에 구비된 메모리인 것을 특징으로 하는 데이터베이스 백업 및 복구 방법.The method of claim 3,
The streaming is performed by a client terminal process,
Wherein the memory is a memory included in the client terminal process.
상기 데이터베이스와 상기 클라이언트 단말기 프로세스 사이의 데이터 전송은 TCP/IP 통신으로 이루어지는 것을 특징으로 하는 데이터베이스 백업 및 복구 방법.
8. The method of claim 7,
Wherein the data transfer between the database and the client terminal process is performed by TCP / IP communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140022918A KR101658042B1 (en) | 2014-02-26 | 2014-02-26 | Database Backup and Recovery Method using Streaming |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020140022918A KR101658042B1 (en) | 2014-02-26 | 2014-02-26 | Database Backup and Recovery Method using Streaming |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20150101333A true KR20150101333A (en) | 2015-09-03 |
KR101658042B1 KR101658042B1 (en) | 2016-09-20 |
Family
ID=54242534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020140022918A KR101658042B1 (en) | 2014-02-26 | 2014-02-26 | Database Backup and Recovery Method using Streaming |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101658042B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004187230A (en) * | 2002-12-06 | 2004-07-02 | Matsushita Electric Ind Co Ltd | Streaming distribution system and stream distribution server |
KR20060123038A (en) * | 2006-10-17 | 2006-12-01 | 한국개인신용주식회사 | System for managing credit information using file encryption and method thereof |
KR20080054770A (en) * | 2006-12-13 | 2008-06-19 | (주)네오위즈게임즈 | Method and loader for providing software streaming |
-
2014
- 2014-02-26 KR KR1020140022918A patent/KR101658042B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004187230A (en) * | 2002-12-06 | 2004-07-02 | Matsushita Electric Ind Co Ltd | Streaming distribution system and stream distribution server |
KR20060123038A (en) * | 2006-10-17 | 2006-12-01 | 한국개인신용주식회사 | System for managing credit information using file encryption and method thereof |
KR20080054770A (en) * | 2006-12-13 | 2008-06-19 | (주)네오위즈게임즈 | Method and loader for providing software streaming |
Also Published As
Publication number | Publication date |
---|---|
KR101658042B1 (en) | 2016-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10958416B2 (en) | Encrypted and compressed data transmission with padding | |
US20150350184A1 (en) | Seamless remote storage of uniformly encrypted data for diverse platforms and devices | |
US20140082376A1 (en) | System, Method and Apparatus for Securely Saving/Retrieving Data on a Data Storage | |
US10459642B2 (en) | Method and device for data replication | |
CN110908833A (en) | Data backup method, device and equipment and computer readable storage medium | |
CN105378679A (en) | Method and system for media path security | |
US8677123B1 (en) | Method for accelerating security and management operations on data segments | |
KR102418090B1 (en) | Computer program for dividing original file into multiple pieces, encrypting divided files and restoring original file by decrypting encrypted files, and method thereof | |
US20070263876A1 (en) | In-memory compression and encryption | |
KR101658042B1 (en) | Database Backup and Recovery Method using Streaming | |
US10673463B2 (en) | Combined blocks of parts of erasure coded data portions | |
Jayapandiyan et al. | Optimal secret text compression technique for steganographic encoding by dynamic ranking algorithm | |
US10248335B2 (en) | Reducing a size of backup data in storage | |
CN113704206B (en) | Metadata processing method and device, electronic equipment and storage medium | |
US11537551B2 (en) | Systems and methods for distributed file processing | |
CN105141643A (en) | Document encryption management method and device | |
US9734154B2 (en) | Method and apparatus for storing a data file | |
US20190258728A1 (en) | Footers for compressed objects | |
Shuvo et al. | Storage efficient data security model for distributed cloud storage | |
US20150269367A1 (en) | Code diversity method and system | |
CN116391185A (en) | Method and system for differential deduplication in untrusted storage | |
WO2010146666A1 (en) | Information processing device, data processing method and program | |
CN111866868B (en) | Method and system for encrypting contact through hardware | |
Bhagya et al. | A novel data storage solution for cloud | |
CN109240849B (en) | Data backup method and device and multipoint control unit for video conference system |
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: 20190710 Year of fee payment: 4 |