KR20180085570A - Apparatus for managing data using block chain and method thereof - Google Patents

Apparatus for managing data using block chain and method thereof Download PDF

Info

Publication number
KR20180085570A
KR20180085570A KR1020170009285A KR20170009285A KR20180085570A KR 20180085570 A KR20180085570 A KR 20180085570A KR 1020170009285 A KR1020170009285 A KR 1020170009285A KR 20170009285 A KR20170009285 A KR 20170009285A KR 20180085570 A KR20180085570 A KR 20180085570A
Authority
KR
South Korea
Prior art keywords
chain
data
file
information
command
Prior art date
Application number
KR1020170009285A
Other languages
Korean (ko)
Other versions
KR102026225B1 (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 KR1020170009285A priority Critical patent/KR102026225B1/en
Priority to PCT/KR2017/015345 priority patent/WO2018135766A1/en
Publication of KR20180085570A publication Critical patent/KR20180085570A/en
Priority to KR1020190115757A priority patent/KR102475435B1/en
Application granted granted Critical
Publication of KR102026225B1 publication Critical patent/KR102026225B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0637Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage

Abstract

The present invention relates to an apparatus and method for managing data of a block chain, capable of efficiently using a data storage space with a block chain technology, without having any limitation of a block size of a file system. According to the present invention, the apparatus for managing storage, inquiry, and deletion of data in a block chain formed by a plurality of node terminals to synchronize and store the data, includes: a main controller for transmitting a chain command for managing the block chain and a data command for managing the data to the node terminals to control the management of the data; and a DB managing part for storing the chain information produced by the chain command in a chain table and storing the data stored by the data command and mapping information of transaction in a mapping table.

Description

블록 체인을 이용하여 데이터를 관리하는 장치 및 방법{Apparatus for managing data using block chain and method thereof}[0001] Apparatus for managing data using a block chain [0002]

본 발명은 데이터의 관리 기술로서, 보다 구체적으로, 블록 체인을 이용하여 데이터의 저장, 조회 및 삭제 등을 관리하는 장치 및 방법에 관한 것이다.More particularly, the present invention relates to an apparatus and method for managing storage, retrieval, and deletion of data using a block chain.

종래의 파일 시스템에서는 디스크에 블록 사이즈(예 : 8KB)를 지정하여 포맷한 상태에서 사용한다. 참고로, 유닉스 파일 시스템에서는 통상적인 블록 크기가 8KB이다. NTFS 파일 시스템에선 이를 클러스터라고 표현한다. 파일은 데이터의 저장 단위로서 전자 문서의 일 형태이다.In the conventional file system, a block size (for example, 8 KB) is designated and formatted on the disk. For reference, the typical block size for a Unix file system is 8 KB. In the NTFS file system, this is referred to as a cluster. A file is a form of electronic document as a storage unit of data.

여기서, 블록 사이즈 이하의 파일 크기를 갖는 파일이 파일 시스템에 의해 저장될 경우, 디스크의 비효율적인 사용이 발생된다. 예를 들면, 2KB의 파일이 상기 8KB의 블록 크기의 디스크에 저장되면, 6KB, 75%의 빈 공간이 남게 되어 디스크가 비효율적으로 사용된다. 블록 크기가 클수록 Read/Write 속도가 빨라지므로 공간 낭비를 줄이자고 무작정 블록 크기를 줄일 수도 없다.Here, when a file having a file size smaller than the block size is stored by the file system, inefficient use of the disk occurs. For example, if a 2 KB file is stored on a disk having a block size of 8 KB, 6 KB, 75% of free space is left, and the disk is inefficiently used. The larger the block size, the faster the read / write speed, so it is not possible to reduce the space waste and the block size.

파일 시스템에서는 기본적인 파일 관리의 서비스만 제공되므로, 사용자가 스스로 파일의 접근 권한을 관리해야 한다. 또한, 사용자가 파일의 백업을 관리해야 한다. 기본적인 파일 관리의 서비스 이외에 파일의 접근, 백업 등을 관리하기 위해서는 사용자가 별도의 전용 하드웨어 / 소프트웨어의 장비를 사용해야 하므로, 장비 도입 / 유지에 많은 비용이 발생된다.In the file system, only the basic file management service is provided, so the user must manage the access authority of the file himself. In addition, the user must manage backups of files. In addition to basic file management services, users need to use dedicated hardware / software equipment to manage access and backup of files.

한편, 블록 체인은 클라우드 기술 및 P2P 기술에 기반된 데이터의 기록 기술로서 누구나가 데이터의 저장 및 관리의 주체가 되어 동일한 정보를 각각 기록하는 기술이다. 여기서, 블록 체인의 "블록"은 데이터 저장 단위를 의미하는 것으로서, 파일 시스템의 "블록"이 디스크에서 하나의 파일이 할당될 수 있는 최소의 공간이라는 의미와 차이가 있다.On the other hand, the block chain is a technology for recording data based on cloud technology and P2P technology, and is a technology in which everyone records and manages data and records the same information. Here, a "block" of a block chain means a data storage unit, which is different from a meaning that the "block" of the file system is the minimum space in which one file can be allocated in the disk.

블록 체인의 기술은 상기 파일 시스템에 기반된 파일 단위로 저장하는 것이 아니라, 분산 데이터베이스 환경에 따른 블록 체인의 DB에 데이터를 블록 단위로 저장한다. 블록 단위는 OS에 따라 종속되는 파일 시스템의 상기 블록 사이즈에 대한 제한을 받지 않는다. 즉, 블록 체인의 1개 단위의 저장 영역에 복수개의 데이터 단위가 저장될 수 있고, 8K의 블록 사이즈의 제한을 받지 않고 파일의 크기 2K만큼만 저장 공간을 사용하고, 상기의 6KB의 빈 공간은 남는 공간으로 활용되어 다른 파일이 저장되는데 사용된다.The description of the block chain is not stored in units of files based on the file system, but is stored in a DB of a block chain according to a distributed database environment in block units. The block unit is not limited by the block size of the file system depending on the OS. That is, a plurality of data units can be stored in one storage unit of the block chain, and the storage space is used only for the file size 2K without being limited by the block size of 8K, It is used to store other files as space.

블록 체인의 기술은 데이터의 저장 단위인 블록에 대해 접근 가능 권한이 있는 경우에 한하여 데이터 접근을 허락하므로 보안성을 제공한다.The block chain technique provides security because it permits data access only when the block, which is a storage unit of data, has the access right.

블록 체인의 기술은 블록의 저장 주체인 노드들간에 동일 데이터가 저장된 블록의 기록을 동기화하므로 백업을 제공한다. The block chain technique provides backup because it synchronizes the recording of the block in which the same data is stored between the nodes which are the storage subject of the block.

또한, 블록 체인의 기술은 범용 컴퓨터 장비에 적용이 가능하므로 고가의 하드웨어 및 소프트웨어의 장비없이 비용이 절감되는 구축을 제공한다.In addition, the technology of the block chain can be applied to general-purpose computer equipment, thus providing cost-saving construction without expensive hardware and software equipment.

한국등록특허 10-1637868(2016.07.01)Korean Patent No. 10-1637868 (Jul. 2016)

본 발명은 상기와 같은 종래 기술의 인식하에 창출된 것으로서, 블록 체인 기술을 이용하여 파일 시스템의 블록 사이즈의 제한없이 데이터의 저장 공간을 효율적으로 사용하는 장치 및 방법을 제공하는 것을 목적으로 한다.It is an object of the present invention to provide an apparatus and a method for efficiently using a storage space of data without limitation of a block size of a file system by using a block chain technique.

본 발명의 다른 목적은 장치가 누구나 접근 가능한 공개 장부의 서비스를 제공하는 것이 아니라 권한없는 사용자들에게 데이터의 접근이 허락되지 않고 서비스 제공자만 데이터에 접근할 수 있는 모드가 설정되는 서비스를 제공하는데 있다.It is another object of the present invention to provide a service in which a device is not provided with a public book service accessible to anyone but a mode in which only a service provider can access data without permission to access unauthorized users .

본 발명의 다른 목적은 장치가 공개 장부의 서비스의 수수료를 제거하여 수수료가 없이 데이터를 관리하는데 있다.It is a further object of the present invention that the device is to manage the data without fees by eliminating the fee for service of the open book.

본 발명의 다른 목적은 Private 모드 및 제거된 수수료를 기반으로 장치가 마이닝 노드의 작업 증명 과정을 단순화하여 데이터의 유효성 검증을 수행하는데 있다.Another object of the present invention is to simplify the process of verifying the operation of the mining node based on the private mode and the removed fee to perform data validation.

본 발명의 또 다른 목적은 단순화된 마이닝 과정에 의해 빨라지는 블록의 생성 속도를 지연시키고자 딜레이를 주어 블록 생성 시간을 조절하고, 보관 대상의 트랜잭션이 발생된 경우에만 블록을 생성하는데 있다.Yet another object of the present invention is to delay a generation speed of a block accelerated by a simplified mining process to adjust a block generation time by giving a delay and to generate a block only when a storage target transaction is generated.

일 측면에 따른, 복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터의 저장, 조회 및 삭제를 관리하는 장치는, 조회 요청에 의해 제공된 체인 정보를 이용하여 상기 블록 체인을 관리하는 체인 명령 및 조회 요청에 의해 제공된 매핑 정보를 이용하여 상기 데이터를 관리하는 데이터 명령을 상기 노드 단말로 전송하여 상기 데이터의 관리를 제어하는 메인 제어부; 및 상기 메인 제어부로부터 상기 체인 명령에 의해 생성된 체인의 상기 체인 정보를 입력받아 체인 테이블에 저장하고, 상기 요청에 따라 저장된 체인 정보를 조회하여 제공하고, 상기 메인 제어부로부터 상기 데이터 명령에 의해 저장된 데이터 및 트랜잭션의 매핑 정보를 입력받아 체인 테이블에 저장하고, 상기 요청에 따라 저장된 매핑 정보를 조회하여 제공하는 DB 관리부를 포함한다.According to an aspect of the present invention, there is provided an apparatus for managing storage, inquiry, and deletion of data in a block chain and data in a block chain formed by a plurality of node terminals for synchronously storing data, A main controller for transmitting a data command for managing the data using the chain command for managing the block chain and the mapping information provided by the inquiry request to the node terminal to control the management of the data; And receiving and storing the chain information of the chain generated by the chain command from the main control unit, storing the chain information in a chain table, inquiring and providing stored chain information according to the request, And a DB manager for receiving mapping information of a transaction and storing the received mapping information in a chain table, and inquiring and providing mapping information stored in response to the request.

상기 블록 체인은, 권한이 정의된 사용자에게만 데이터 접근이 허락되는 Private 모드를 제공하는 제 1기능; 블록 체인의 데이터 처리에 수수료가 없는 제 2기능; 블록 체인에 요구되는 노드 단말에 대한 마이닝 노드의 작업 증명 과정에서 노드의 검증 처리를 제거하고 데이터의 유효성 검증 처리를 수행하는 제 3기능; 상기 작업 증명 과정에 의해 단축된 블록의 생성 시간을 지연시키기 위해 딜레이를 주어 블록 생성 시간을 지연시키는 제 4기능; 및 저장 대상의 트랜잭션이 발생된 경우에만 블록을 생성하는 제 5기능 중에서 적어도 하나 이상의 기능이 설정되어 각각의 노드 단말에서 실행된다.The block chain comprising: a first function for providing a Private mode in which data access is permitted only to a user whose rights are defined; A second function in which there is no fee for data processing of the block chain; A third function of removing the node's validation process and verifying the validity of the data in the process of verifying the operation of the mining node with respect to the node terminal required for the block chain; A fourth function of delaying the block generation time by delaying the generation time of the shortened block by the job verification process; And a fifth function for generating a block only when a transaction to be stored is generated, and is executed in each node terminal.

상기 장치는, 웹 페이지를 통해 사용자 인터페이스를 제공하여 상기 체인 및 데이터의 관리 정보를 입력받고, 입력된 관리 정보의 처리 결과를 제공하는 웹 관리부를 더 포함한다.The apparatus further includes a web management unit that provides a user interface through a web page to receive the management information of the chain and data, and provides a processing result of the management information input.

상기 장치는, 상기 관리를 위한 스케쥴링 정보를 등록받고, 등록된 스케쥴링 정보에 대응되는 프로세스의 실행을 상기 메인 제어부로 요청하는 스케쥴러부를 더 포함하고, 상기 메인 제어부는 상기 요청에 의해 대응되는 명령을 전송한다.The apparatus may further include a scheduler for registering the scheduling information for management and requesting execution of a process corresponding to the registered scheduling information to the main control unit, do.

다른 측면에 따른, 상기 노드 단말은, 블록을 생성해서 체인에 연결하는 마이닝 처리 및 블록 체인의 데이터 정보를 API(Applicaion program interface)를 통해 제공하는 마이닝 API 노드 단말; 및 마이닝 API 노드 단말에 의해 블록 체인의 데이터 관리가 동기화되는 데이터 동기화 노드 단말로 구성된다.According to another aspect of the present invention, the node terminal comprises: a mining API node terminal for providing mining processing and block chain data information through an application program interface (API) by generating a block and connecting to a chain; And a data synchronization node terminal in which data management of a block chain is synchronized by a mining API node terminal.

상기 마이닝 API 노드 단말은, 상기 체인 명령을 전송받고, 전송받은 체인 명령에 따른 블록 체인의 생성, 삭제 및 실행을 처리하고, 처리 결과를 응답하는 체인 생성부; 상기 데이터 명령을 전송받고, 전송받은 데이터 명령을 처리하고, 처리 결과를 응답하는 명령 프로세서부; 및 상기 처리에 따른 데이터 명령을 블록 체인에 대해 실행하는 블록 체인 처리부를 포함한다.Wherein the mining API node comprises: a chain generating unit for receiving the chain command, processing a block chain according to the received chain command, processing deletion and execution of the block chain, and responding to the processing result; An instruction processor unit for receiving the data command, processing the received data command, and responding to the processing result; And a block chain processing unit for executing a data command according to the process on a block chain.

상기 데이터 동기화 노드 단말은, 상기 체인 명령을 전송받고, 전송받은 체인 명령에 따른 블록 체인의 생성, 삭제 및 실행을 처리하고, 처리 결과를 응답하는 체인 생성부; 및 상기 마이닝 API 노드 단말의 블록 체인 처리부와 포트 연결되고, 연결된 포트를 통해 전송된 데이터 명령을 동기화하여 실행하는 블록 체인 처리부를 포함한다.The data synchronization node comprises: a chain generation unit that receives the chain command, processes generation, deletion, and execution of a block chain according to the received chain command, and responds to a processing result; And a block chain processing unit for performing a synchronous execution of the data command transmitted through the port connected to the block chain processing unit of the mining API node terminal.

다른 측면에 따르면, 상기 메인 제어부는, 블록 체인에 의해 관리되는 각각의 데이터 파일의 파일 정보로부터 체인 아이디를 생성하고, 생성된 체인 아이디에 수식을 적용하여 포트 아이디를 생성하고, 생성된 체인 아이디를 이용하여 블록 체인에 저장되는 파일의 폴더 경로를 생성한다.According to another aspect of the present invention, the main control unit generates a chain ID from file information of each data file managed by the block chain, applies a formula to the generated chain ID to generate a port ID, To generate a folder path of a file stored in the block chain.

상기 메인 제어부는, 저장 대상의 데이터 파일의 파일 정보를 입력받고, 입력된 파일 정보에 대응되는 체인 정보를 상기 체인 테이블로부터 조회하고, 조회된 체인 정보에 따른 상기 데이터 명령을 상기 노드 단말로 전송하여 데이터 저장을 요청하고, 상기 데이터 명령의 저장 결과를 전송받고, 상기 DB 관리부는, 전송된 저장 결과의 파일 아이디, 블록 체인에 의해 저장시 생성된 트랜잭션 아이디 및 저장 시간을 포함하는 매핑 정보를 상기 매핑 테이블에 저장한다.The main control unit receives the file information of the data file to be stored, inquires the chain information corresponding to the input file information from the chain table, and transmits the data command according to the chain information to the node terminal The DB management unit transmits the mapping information including the file ID of the transferred storage result, the transaction ID generated at the time of storing by the block chain, and the storage time to the mapping unit, And stores it in a table.

상기 메인 제어부는, 파일 정보를 이용하여 생성된 체인 아이디를 키로 하여 상기 체인 테이블로부터 체인 정보를 조회하는데 실패할 경우, 생성된 체인 아이디를 갖는 블록 체인의 생성 및 실행을 요청하는 상기 체인 명령을 전송하고, 상기 체인 명령의 실행 결과를 전송받고, 상기 DB 관리부는, 전송된 실행 결과를 이용하여 각 체인별로 체인 아이디, 루트 디렉토리 및 실행 상태를 포함하는 상기 체인 정보를 생성하고, 생성된 체인 정보를 상기 체인 테이블에 저장한다.The main control unit transmits the chain command requesting the generation and execution of a block chain having the generated chain ID when the chain information is not retrieved from the chain table using the chain ID generated using the file information as a key And the DB management unit generates the chain information including the chain ID, the root directory, and the execution state for each chain by using the transmitted execution result, And stores it in the chain table.

상기 메인 제어부는, 조회 대상의 데이터 파일의 파일 정보를 입력받고, 입력된 파일 정보에 대응되는 매핑 정보를 상기 매핑 테이블로부터 조회하고, 조회된 매핑 정보에 따른 상기 데이터 명령을 상기 노드 단말로 전송하여 데이터 조회를 요청하고, 조회된 파일 및 상기 데이터 명령의 조회 결과를 수신하고, 전송된 파일을 제공하는 것을 특징으로 하는 장치.The main control unit receives the file information of the data file to be queried, retrieves the mapping information corresponding to the input file information from the mapping table, and transmits the data command according to the retrieved mapping information to the node terminal Request the data inquiry, receive the inquired file and the inquiry result of the data command, and provide the transferred file.

또 다른 측면에 따른, 복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터를 관리하는 장치가 데이터 파일을 저장하는 방법은, 저장 대상의 데이터 파일의 파일 정보로부터 체인 아이디를 생성하는 단계; 생성된 체인 아이디를 키로 하여 체인 테이블로부터 체인 정보를 조회하는 단계; 조회된 체인 정보에 따라 상기 파일의 저장을 요청하는 데이터 명령을 생성하고, 상기 노드 단말로 생성된 데이터 명령 및 파일을 전송하여 상기 블록 체인에 저장하는 단계; 및 상기 노드 단말로부터 전송받은 파일의 저장 결과를 이용하여 매핑 테이블에 데이터 및 트랜잭션의 매핑 정보를 저장하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method for storing a data file in a block chain formed by a plurality of node terminals for storing data synchronously and a device for managing data in the block chain, Generating a chain ID; Querying the chain information from the chain table using the generated chain ID as a key; Generating a data command for requesting storage of the file according to the inquired chain information, transmitting the data command and the file generated in the node terminal, and storing the data command and file in the block chain; And storing the mapping information of the data and the transaction in the mapping table using the storage result of the file transmitted from the node terminal.

또 다른 측면에 따른, 복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터를 관리하는 장치가 데이터 파일을 조회하는 방법은, 사용자 단말로부터 조회 대상의 파일의 아이디를 입력받는 단계; 입력된 파일 아이디를 키로 하여 매핑 테이블로부터 매핑 정보를 조회하는 단계; 조회된 매핑 정보에 따라 상기 파일의 조회를 요청하는 데이터 명령을 생성하고, 상기 노드 단말로 생성된 데이터 명령을 전송하는 단계; 상기 노드 단말로부터 조회된 데이터 파일을 수신하는 단계; 및 수신된 파일을 상기 사용자 단말로 전송하는 단계를 포함한다.According to another aspect of the present invention, there is provided a method of inquiring a data file by a block chain formed by a plurality of node terminals for storing data synchronously and by a device managing data of the block chain, ; Querying the mapping information from the mapping table using the input file ID as a key; Generating a data command for requesting inquiry of the file according to the inquired mapping information, and transmitting a data command generated in the node terminal; Receiving a queried data file from the node terminal; And transmitting the received file to the user terminal.

본 발명의 일 측면에 따르면, 파일 시스템의 블록 크기 제한에 따라 빈 공간이 제거된 블록 체인의 저장 영역에 데이터를 보관하므로 저장 영역에 대비하여 효율적인 데이터 저장이 가능하다.According to an aspect of the present invention, since data is stored in a storage area of a block chain in which empty space is removed according to a block size limitation of a file system, efficient data storage is possible in comparison with a storage area.

또한, 본 발명의 다른 측면에 따르면, 블록 체인에 설정된 Private 모드에 의해 권한이 설정된 사용자만 관리 서버를 통해 데이터의 액세스 및 관리가 가능하므로 데이터의 보안이 유지될 수 있다.According to another aspect of the present invention, only a user authorized by the private mode set in the block chain can access and manage data through the management server, so that data security can be maintained.

또한, 본 발명의 다른 측면에 따르면, 노드 단말을 관리 서버로부터 명령을 수신하여 마이닝 기능 및 API 기능을 제공하는 명령 노드와 상기 명령 노드에 데이터가 동기되는 동기화 노드로 구성함으로써, 데이터 보안 및 데이터 백업을 제공할 수 있다.According to another aspect of the present invention, there is provided a data security and data backup method including configuring a node terminal as a command node receiving a command from a management server and providing a mining function and an API function, Can be provided.

또한, 본 발명의 다른 측면에 따르면, 블록 체인의 트랜잭션 발생에 따른 공개 장부의 서비스의 수수료를 제거하여 수수료가 없이 데이터를 관리하므로 적은 비용으로 블록 체인 기반의 DB의 구축이 가능하다.According to another aspect of the present invention, it is possible to construct a block chain-based DB at a low cost by eliminating the fee for the service of the open book due to the transaction of the block chain and managing the data without a fee.

본 명세서에 첨부되는 다음의 도면들은 본 발명의 바람직한 실시예를 예시하는 것이며, 후술한 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되지 않아야 한다.
도 1 내지 도 5는 본 발명이 적용되는 블록 체인의 예시도이다.
도 2는 도 1의 망 관리 시스템의 개략적 내부 구성도이다.
도 6은 본 발명의 블록 체인에 설정되는 고유 기능들의 개략적 구성도이다.
도 7은 본 발명의 일 실시예에 따른 데이터 관리 시스템의 개략적 내부 구성도이다.
도 8은 본 발명의 일 실시예에 따른 블록 체인에 데이터를 저장하는 방법의 개략적 순서도이다.
도 9는 본 발명의 일 실시예에 따른 데이터 조회 방법의 개략적 순서도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate preferred embodiments of the invention and, together with the description of the invention below, And should not be construed as interpretation.
1 to 5 are illustrations of a block chain to which the present invention is applied.
2 is a schematic internal configuration diagram of the network management system of FIG.
6 is a schematic block diagram of the inherent functions set in the block chain of the present invention.
7 is a schematic internal configuration diagram of a data management system according to an embodiment of the present invention.
8 is a schematic flow diagram of a method for storing data in a block chain according to an embodiment of the present invention.
9 is a schematic flowchart of a data inquiry method according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구 범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상에 모두 대변하는 것은 아니므로, 본 출원 시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Prior to this, terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary terms, and the inventor should appropriately interpret the concepts of the terms appropriately It should be interpreted in accordance with the meaning and concept consistent with the technical idea of the present invention based on the principle that it can be defined. Therefore, the embodiments described in the present specification and the configurations shown in the drawings are only the most preferred embodiments of the present invention and do not represent all the technical ideas of the present invention. Therefore, It is to be understood that equivalents and modifications are possible.

도 1은 본 발명이 적용되는 블록 체인(100)의 예시도이다.1 is an exemplary view of a block chain 100 to which the present invention is applied.

블록 체인(100)은 클라우드 저장 기능과 P2P 기능을 기반으로 구축된 분산형 데이터베이스이다. 대표적으로, 비트 코인, 이더리움 등은 블록 체인을 기반으로 제공된다. 블록 체인(100)은 데이터가 저장되는 단위의 블록(101)들과 블록 사이의 데이터 링크에 해당되는 체인(102)으로 구성된다.The block chain 100 is a distributed database constructed based on the cloud storage function and the P2P function. Typically, bit coin, etherium, etc. are provided on a block chain basis. The block chain 100 consists of blocks 101 in units in which data is stored and chains 102 corresponding to data links between the blocks.

블록 체인(100)은 분산형/관계형 데이터 DB로서 파일 시스템으로부터 독립되어 DB에 할당된 저장 영역을 하나의 영역으로 하여 데이터를 저장한다. 따라서, 파일 시스템에 종속되는 블록 크기의 제한을 받지 않는다. 따라서, 상기 블록 크기의 제한에 의해 발생되는 빈 영역이 발생되지 않는다.The block chain 100 is a distributed type / relational data DB, and stores data in a storage area allocated to a DB independent of the file system as one area. Therefore, it is not limited by the block size depending on the file system. Therefore, a free area generated by the restriction of the block size is not generated.

도 2는 도 1의 블록 체인(100)이 구축되는 노드 단말(200)의 예시도이다.FIG. 2 is an exemplary diagram of a node terminal 200 in which the block chain 100 of FIG. 1 is constructed.

상기 노드 단말(200)은 데이터의 저장 공간을 제공하는 컴퓨터 장치이다. 노드 단말(200)은 스마트 단말, 노트북, PC, 서버 등으로 네트워크 기능, 저장 기능 및 프로세싱 기능을 갖기만 하면 스펙에 제한을 두지 않는다. 블록 체인에서는 상기 컴퓨터 장치를 노드라 한다.The node terminal 200 is a computer device that provides storage space for data. The node terminal 200 does not limit the specification to a smart terminal, a notebook, a PC, a server, or the like, as long as it has a network function, a storage function, and a processing function. In the block chain, the computer device is referred to as a node.

도 3은 도 2의 노드 단말(200)에 4개의 고유한 체인(300)이 설치된 것을 예시한다.FIG. 3 illustrates that four unique chains 300 are installed in the node terminal 200 of FIG.

공개 장부 기술의 특성상 한 개의 노드 단말(200)에는 한 개의 체인이 수행되는 것이 보편적인 방법이다. 화폐 거래의 장부 기록이 데이터의 신뢰성을 보장받기 위해 한 개의 공개 장부를 두고, 각 노드들이 동기성 및 공개성을 기반으로 동일한 공개 장부를 1개의 체인으로 보관하여 관리하기 때문이다.It is a common method that one chain is performed in one node terminal 200 due to the characteristics of the open book technology. This is because the book record of the currency transaction has one open book to ensure the reliability of the data and each node keeps the same open book in one chain based on the synchronism and openness.

하지만, 본 발명은 공개 장부를 보관하는 것이 아닌 지속적으로 증가하는 문서, 이미지 등의 데이터의 관리 및 분류가 목적이기 때문에 그 목적에 따라 분류된 복수개의 체인에 기반된 데이터의 분산화가 바람직하다.However, since the present invention aims to manage and classify data such as continuously increasing documents and images instead of storing public books, it is desirable to decentralize data based on a plurality of chains classified according to the purpose.

도 4는 3개의 노드 단말(200)이 4개의 체인에 대해 페어링을 통해 동기화되는 예시도이다.FIG. 4 is an exemplary diagram illustrating that three node terminals 200 are synchronized through pairing for four chains.

각 노드 단말(200)은 #1 ~ #4의 4개의 고유한 블록 체인을 갖는다. 각각의 체인은 페어링(401~404)을 맺고 데이터가 동기화된다. 각 체인은 3개의 노드로 구성되어 있다라고 표현할 수 있다. 즉, 3개의 노드 단말(200)에 보관된 각각의 체인 #1은 제 1페어링(401)에 의해 동일한 데이터를 저장하도록 동기화된다. 동기화에 의해, 제 1노드의 체인 #1에 데이터의 저장, 삭제 등의 처리가 발생되면, 제 1페어링(401)을 맺은 나머지 제 2노드 및 제 3노드의 체인 #1도 동일한 데이터의 처리가 발생된다.Each node terminal 200 has four unique block chains # 1 to # 4. Each chain joins pair 401 to 404 and data is synchronized. Each chain consists of three nodes. That is, each chain # 1 stored in the three node terminals 200 is synchronized by the first pairing 401 to store the same data. When processing such as storing and deleting data is performed in the chain # 1 of the first node by the synchronization, the chain # 1 of the remaining second node and the third node that has made the first pairing 401 also processes the same data .

기술적으로, 페어링을 맺는 체인끼리는 동일한 포트를 사용하여 통신을 하게 된다. #1 ~ #4의 체인은 각각 고유한 포트를 사용함으로써 독립된 체인으로 동작할 수 있다.Technically, the pairs that make up the pairing communicate using the same port. The chains # 1 to # 4 can operate as independent chains by using unique ports.

도 5는 도 4의 블록 체인 환경에서 운영되는 복수개의 노드 그룹의 예시도이다.Figure 5 is an illustration of a plurality of node groups operating in the block-chain environment of Figure 4;

노드 단말(200)은 3개의 노드로 구성된 노드 그룹 #1(500) 및 노드 그룹 #2(501)로 구성된다. 노드 그룹 #1(500)은 각 노드마다 체인 #1 ~ #4를 보유하고, 각각의 체인은 페어링된다. 노드 그룹 #2(501)은 각 노드마다 체인 #5 ~ #8을 보유하고, 각각의 체인은 페어링된다. 각 체인간의 페어링 연결은 간략한 표시를 위해 생략된다.The node terminal 200 is composed of a node group # 1 500 and a node group # 2 501 composed of three nodes. Node group # 1 (500) holds chains # 1 to # 4 for each node, and each chain is paired. Node group # 2 (501) holds chains # 5 to # 8 for each node, and each chain is paired. The pairing connection between each chain is omitted for the sake of brevity.

한 개의 노드가 #1 ~ #8의 8개 체인을 갖는 것과 비교하면, 분리된 노드 그룹에 의해 부하가 분산될 수 있다. 1개의 체인이 동작하기 위해선 CPU, 메모리, 저장 공간 등의 자원이 필요하게 되는데, 여러 개의 체인을 동시에 실행시키기엔 1개의 노드로 부하가 집중되므로, 노드 그룹으로 분리하여 부하가 분산될 수 있다. 또한, 부하의 분산을 통해, 그룹 노드의 1개의 노드가 물리적으로 고장이 발생할 경우에도 서비스 운용에 미치는 영향을 감소시킬 수 있다. 만약, 8개의 체인을 저장하는 노드가 고장일 경우, 8개의 체인에 대한 데이터 액세스가 불능이 된다.Compared to one node having 8 chains of # 1 to # 8, the load can be distributed by the separated node group. In order for a single chain to operate, resources such as CPU, memory, storage space, and the like are required. In order to execute multiple chains at the same time, load is concentrated to one node. Also, it is possible to reduce the influence of one node of the group node on the service operation even when a failure occurs physically, through the load distribution. If a node storing eight chains fails, data access to the eight chains is disabled.

도 6은 본 발명의 블록 체인의 위해 설정되는 수정 기능들의 개략적 구성도이다.6 is a schematic block diagram of modification functions set for the block chain of the present invention.

본 발명은 블록 체인의 고유한 기능을 적용받는다. 첫 번째로, 블록 체인의 DB를 이용하므로 저장 영역의 공간 낭비가 제거된다. 두 번째로, 데이터가 블록 체인의 블록에 포함되므로 이 데이터에 접근하기 위해선 특별한 권한(관리자 계정)을 획득해야만 하므로 보안성이 강화된다. 세 번째로, 블록 체인이 보유한 노드들 간에 동기화가 지원되어 실시간 백업이 가능하여 원본 손실의 위험이 회피된다. 마지막으로, 블록체인 기술을 이용한 시스템을 구축하기 위해 고가의 장비나 소프트웨어 없이도 x86 서버와 오픈 소스를 이용해서도 구현이 가능하므로 비용이 절감된다.The present invention is applied to the inherent functions of the block chain. First, since the DB of the block chain is used, space waste in the storage area is eliminated. Second, since data is included in the block of the block chain, it requires additional privileges (administrator account) to access this data, thereby enhancing security. Third, synchronization between the nodes of the block chain is supported, and real-time backup is possible, avoiding the risk of the original loss. Finally, to build a system using block-chain technology, it can be implemented using x86 servers and open source without expensive equipment or software.

이때, 비트 코인이나 이더리움 등 블록 체인 기술을 대표하는 종래의 기술을 바로 적용할 수는 없다. 본 발명을 구현하는 데에는 최적화된 별도의 체인이 요구된다. 물론, 종래의 기술을 수정 및 응용하여 본 발명의 블록 체인을 구현하는 것도 가능하다. 바람직하게, 본 발명에서는 이더리움의 블록 체인으로부터 응용될 수 있다. 비트 코인의 경우, 화폐의 유통, 사용이라는 목적에만 최적화되어 있는 기술인데다 이더리움처럼 스마트 컨트랙트 같은 개념도 구현되지 않은 기술이라 본 발명에서 제시하는 일반 데이터 저장에는 적합하지 않다. 물론, 이더리움의 블록 체인 방식도 그대로 사용 가능한 것은 아니며 아래에서 제시한 제 1기능 내지 제 5기능의 수정 기능이 필요하다.At this time, it is impossible to directly apply the conventional techniques representing the block chain technology such as bit coin or etherium. An optimized separate chain is required to implement the present invention. Of course, it is also possible to implement the block chain of the present invention by modifying and applying conventional techniques. Preferably, the present invention can be applied from a block chain of etherium. In the case of bit coin, it is a technology that is optimized only for the purpose of circulation and use of money, and it is not suitable for general data storage proposed by the present invention because it is a technology that does not implement a concept such as smart contract like etherium. Of course, Etheric's block chain method can not be used as it is, and it is necessary to modify the first to fifth functions described below.

제 1기능에 의해, 블록 체인의 노드들 사이의 네트워크 구성은 Private 모드로 설정된다. 권한 있는 사용자만 사용할 서비스이기 때문에 타 사용자들에게 공개될 필요는 없다.By the first function, the network configuration between the nodes of the block chain is set to the private mode. This service is for authorized users only and does not need to be disclosed to other users.

제 2기능에 의해, 블록 체인의 데이터 처리에 수수료가 없는 것으로 설정된다. 블록 체인이란 기술은 본래 탈중앙 집권을 표방한 공공의 데이터베이스이다. 따라서, 블록 체인이라는 공공의 데이터베이스를 사용하기 위해선 수수료(사용료)가 수반된다. 하지만, 본 발명은 공공의 데이터베이스가 아닌 사용자만의 전용 데이터베이스로 운용되므로 수수료의 개념이 불필요하다. 따라서 코드 수정을 통해 수수료가 발생되지 않도록 설정되어야 한다.With the second function, the data processing of the block chain is set to have no commission. The block chain is a public database that is essentially a decentralized power. Therefore, a public database called a block chain is accompanied by a fee (fee for use). However, since the present invention operates as a dedicated database exclusive to a public database, the concept of a fee is unnecessary. Therefore, the fee should not be set by the code modification.

제 3기능에 의해, 마이닝 노드의 POW (작업증명, Proof of Work) 과정이 단순화되도록 설정된다. 공공의 블록 체인이라면 누구나 자발적으로 체인의 노드로 참여하는 것을 유도하기 위해 마이닝이라는 과정을 수행한 노드에 금전적인 이득을 제공하고 있다. 이 마이닝 과정은 HW 자원을 최대로 사용하도록 되어 있는데 이 역시 본 발명이 적용할 서비스의 형태엔 불필요한 과정이다. 따라서, 마이닝 과정 중 데이터의 유효성 검증 부분만 남기고, 랜덤 해시 계산에 의한 nonce 값 찾기와 같은 과정은 제거됨으로써 블록이 빠르게 생성되고 CPU / 메모리 등의 자원은 최소화되도록 설정된다.By the third function, the POW (Proof of Work) process of the mining node is set to be simplified. Everyone in the public block chain provides a monetary benefit to the node that has performed the process of mining to induce voluntary participation in the nodes of the chain. This mining process is supposed to use HW resources to the maximum, which is also an unnecessary process in the form of the service to which the present invention is applied. Therefore, the processes such as finding the nonce value by the random hash calculation are removed while leaving only the validity part of the data during the mining process, so that the blocks are generated quickly and resources such as CPU / memory are set to be minimized.

제 4기능에 의해, 제 3기능의 단순화된 마이닝 과정에서 블록의 생성 속도가 불필요하게 빨라지게 되므로 적절한 속도로 블록이 생성될 수 있도록 딜레이가 설정된다. 딜레이 설정에 의해 블록의 생성 속도가 지연된다.The fourth function unnecessarily speeds up the generation of the block in the simplified mining process of the third function, so that the delay is set so that the block can be generated at a proper speed. The generation speed of the block is delayed by the delay setting.

제 5기능에 의해, 종래의 블록 체인은 트랜잭션이 발생하지 않은 상태에서도 빈 블록이 끊임없이 생성되나 본 발명에서는 불필요한 오버헤드이므로 처리할 트랜잭션이 있을 경우에만 블록 생성을 진행하도록 설정된다.With the fifth function, in the conventional block chain, an empty block is constantly generated even when no transaction occurs, but since the overhead is unnecessary in the present invention, the block generation is set to proceed only when there is a transaction to be processed.

상기의 제 1기능 내지 제 5기능의 수정 기능이 설정된 블록 체인이 본 발명에 적용된다. 이하에서는, 설명의 편의를 위해 신용카드사가 고객의 카드 결제시 발생되는 서명 이미지의 데이터 파일을 본 발명의 블록 체인에 저장하는 것으로 예시한다. 물론, 본 발명은 데이터 파일의 내용 및 포맷에 제한을 두지 않는다.A block chain in which the above-described functions of the first function to the fifth function are set is applied to the present invention. Hereinafter, for convenience of explanation, it is exemplified that the credit card company stores the data file of the signature image generated at the time of payment of the customer's card in the block chain of the present invention. Of course, the present invention does not limit the contents and format of the data file.

신용카드사는 POS 단말기로부터 VAN사를 거쳐 전달되는 고객의 서명 이미지를 개개의 파일로 저장하는데 각각의 승인 건마다 VAN사에서 부여하는 일련번호가 할당되고, 이 일련번호를 파일명으로 하여 압축되지 않은 흑백 비트맵 파일(예 : 일련번호.bmp)로 저장한다. 일련번호는 카드 결제의 발생 시각을 포함하는 고유 정보라 가정한다. 서명 이미지의 파일은 2KB 내외로 파일 시스템에 의해 저장될 경우, 블록 사이즈의 제한을 받아 6KB의 빈 영역이 남게 되어 비효율적이다.A credit card company stores a signature image of a customer transmitted from a POS terminal through a VAN company as an individual file. A serial number assigned by the VAN company is assigned to each credit card, and the serial number is assigned as a file name, Save as a bitmap file (eg serial number .bmp). The serial number is assumed to be unique information including the time of occurrence of the card settlement. When the file of the signature image is stored in the file system by about 2 KB, the space of 6 KB is left due to the restriction of the block size, which is inefficient.

여기서, 하루에 500만 건의 2KB의 서명 이미지 파일이 생성되고, 법 적용을 받아 5년간 보관되는 것으로 가정한다. 5년간 저장되는 파일의 개수는 500만 * 365 * 5 = 9,125,000,000개가 된다. 파일의 크기는 9,125,000,000 * 2 * 1024에 의해, 16TB가 된다.Here, it is assumed that 5 million signature image files of 5 KB per day are generated and archived for 5 years under the law. The number of files stored for 5 years is 5 million * 365 * 5 = 9,125,000,000. The size of the file is 16TB by 9,125,000,000 * 2 * 1024.

16TB를 1개의 체인으로 구성하여 1개의 노드에 저장하는 것은 부하가 집중되어 비효율적이다. 때문에, 복수개의 체인을 구성하여 데이터 크기를 줄이는 것이 효율적이다. 본 발명에서는 저장될 데이터가 발생되는 특성을 고려하여 체인의 관리 단위를 정의하는 것이 바람직하다. 본 발명에서는 서명 이미지의 월 단위로 체인이 생성되고, 5년간 보관되는 체인 60개가 운영되고, 5년이 지난 체인은 1개월이 지날 때마다 삭제되는 것으로 운영된다.When 16TB is composed of one chain and stored in one node, load is concentrated and inefficient. Therefore, it is effective to construct a plurality of chains to reduce the data size. In the present invention, it is preferable to define a management unit of a chain in consideration of characteristics of data to be stored. In the present invention, a chain is generated on a month-by-month basis of a signature image, 60 chains are kept for 5 years, and a chain after 5 years is deleted every month.

참고로, 블록 체인에 데이터가 저장되는 방식은 '키/밸류' 형식으로 저장된다. 서명 이미지의 파일의 경우, 파일명이 고유하므로 "키"로 활용될 수 있고, 이미지 파일은 "밸류"에 해당된다.For reference, the way data is stored in the block chain is stored in the 'key / value' format. In the case of a signature image file, the file name can be utilized as a "key" because the file name is unique, and the image file corresponds to "value".

도 7은 본 발명의 일 실시예에 따른 데이터 관리 시스템(700)의 개략적 내부 구성도이다.7 is a schematic internal configuration diagram of a data management system 700 according to an embodiment of the present invention.

본 발명의 일 실시예에 따른 데이터 관리 시스템(700)은 관리 서버(710), 마이닝 API 노드 단말(730) 및 데이터 동기화 노드 단말(750)을 포함하여 구성된다.The data management system 700 according to an embodiment of the present invention includes a management server 710, a mining API node terminal 730, and a data synchronization node terminal 750.

상기 관리 서버(710)는 웹 관리부(711), 스케쥴러부(713), 메인 제어부(715) 및 DB 관리부(717)를 포함하여 구성된다.The management server 710 includes a web management unit 711, a scheduler unit 713, a main control unit 715, and a DB management unit 717.

상기 웹 관리부(711)는 웹 사이트에 접속한 사용자 단말을 상대로 사용자 UI를 이용하여 데이터 관리 서비스를 제공한다. 웹 관리부(711)는 관리 서비스를 제공하여 체인의 현재 상태, 체인에 담긴 레코드의 현황, 체인으로부터 조회된 데이터를 사용자 단말로 제공한다.The web management unit 711 provides a data management service to a user terminal connected to a web site using a user UI. The web management unit 711 provides the management service to provide the current status of the chain, the status of the records in the chain, and the data retrieved from the chain to the user terminal.

여기서, "데이터 관리 서비스"는 체인 및 데이터 각각에 대한 생성, 조회, 수정 및 삭제를 포함한다. 웹 관리부(711)는 웹 사이트에 접속한 사용자에게 사용자 UI를 제공하고, 사용자 UI를 통해 데이터 관리 요청을 수신하고, 수신된 사용자의 요청을 메인 제어부(715)로 전달한다. 메인 제어부(715)에 의해 사용자의 요청이 처리되면, 웹 관리부(711)는 메인 제어부(715)로부터 처리 결과를 수신하고, 사용자 UI를 통해 수신된 처리 결과를 사용자에게 제공한다. 물론, 처리 결과는 체인 및 데이터에 대해 생성, 조회, 수정 및 삭제가 실행된 결과이다.Here, the "data management service" includes generation, inquiry, modification and deletion of each of the chain and data. The web management unit 711 provides a user UI to a user connected to the web site, receives a data management request through the user UI, and transmits the received request to the main control unit 715. [ When the user's request is processed by the main control unit 715, the web management unit 711 receives the processing result from the main control unit 715, and provides the processing result received through the user UI to the user. Of course, the processing result is the result of generation, inquiry, modification and deletion of chain and data.

상기 스케쥴러부(713)는 데이터 관리의 스케쥴링 정보를 등록받고, 등록된 스케쥴링 정보의 프로세스의 실행을 메인 제어부(715)로 요청한다. 메인 제어부(715)에 의해 스케쥴러부(713)의 요청이 처리되면, 스케쥴러부(713)는 메인 제어부(715)로부터 스케쥴링된 프로세스의 처리 결과를 수신한다.The scheduler 713 registers the data management scheduling information and requests the main control unit 715 to execute the registered scheduling information process. When the request of the scheduler unit 713 is processed by the main control unit 715, the scheduler unit 713 receives the processing result of the scheduled process from the main control unit 715. [

웹 관리부(711)가 사용자로부터 데이터 관리를 예약받으면, 스케쥴러부(713)에 사용자의 예약 정보가 스케쥴링 정보로서 등록된다. 웹 관리부(711)는 사용자로부터 실시간 또는 스케쥴링의 방식에 따라 관리 요청을 수신할 수 있다. 등록된 스케쥴링 정보는 사용자에 의해 예약된 시간 및 예약된 관리 정보를 포함한다. 예를 들어, 매월 생성된 체인이 5년간 데이터를 저장한 후, 1개월이 경과될 때마다 삭제되는 프로세스가 스케쥴링 정보로서 등록될 수 있다.When the web management unit 711 receives the data management reservation from the user, the scheduling unit 713 registers the user's reservation information as scheduling information. The web management unit 711 can receive a management request from a user according to a real time or a scheduling method. The registered scheduling information includes the time reserved by the user and the reserved management information. For example, a process may be registered as scheduling information, which is deleted each month after a month-long chain stores data for five years.

상기 메인 제어부(715)는 노드로 상기 블록 체인을 관리하는 체인 명령 및 상기 데이터를 관리하는 데이터 명령을 전송한다. 상기 전송에 의해, 블록 체인 및 데이터의 관리가 제어된다. 메인 제어부(715)는 관리 대상의 파일의 파일명으로부터 설정된 규칙에 따라 체인 아이디 및 파일 아이디를 생성한다.The main control unit 715 transmits a chain command for managing the block chain to the node and a data command for managing the data. By the transfer, the management of the block chain and the data is controlled. The main control unit 715 generates a chain ID and a file ID in accordance with the rule set from the file name of the file to be managed.

저장의 경우, 메인 제어부(715)는 저장 대상의 파일명으로부터 체인 아이디를 생성하고, 생성된 체인 아이디의 체인 정보를 조회한다. 조회된 체인 정보로부터 파일의 경로 정보를 식별하고, 식별된 경로 정보에 데이터가 저장될 것을 요구하는 데이터 명령 및 파일을 노드로 전송한다. 그러면, 노드는 경로 정보에 따라 대응되는 체인 및 경로에 파일을 저장한다.In the case of storage, the main control unit 715 generates a chain ID from the file name of the storage object, and inquires the chain information of the generated chain ID. Identifies the path information of the file from the inquired chain information, and transmits to the node a data command and a file requesting that the data be stored in the identified path information. The node then stores the file in the corresponding chain and path according to the path information.

조회의 경우, 메인 제어부(715)는 조회 대상의 파일명으로부터 대응되는 매핑 정보를 조회한다. 조회된 매핑 정보의 트랜잭션 아이디가 포함되는 데이터 조회의 데이터 명령을 노드로 전송한다. 그러면, 노드는 트랜잭션 아이디에 따라 대응되는 파일을 조회하고, 조회된 파일을 메인 제어부(715)로 전송한다. 메인 제어부(715)는 전송받은 파일을 웹 관리부(711)를 통해 사용자 단말로 제공한다.In the case of an inquiry, the main control unit 715 inquires the corresponding mapping information from the file name of the inquiry target. And transmits the data command of the data inquiry including the transaction ID of the inquired mapping information to the node. Then, the node inquires the corresponding file according to the transaction ID, and transmits the inquired file to the main control unit 715. [ The main control unit 715 provides the received file to the user terminal through the web management unit 711. [

삭제의 경우, 조회의 데이터 명령 처리를 따르고, 노드는 트랜잭션 아이디에 따라 대응되는 파일을 삭제한다.In the case of deletion, following the data command processing of the query, the node deletes the corresponding file according to the transaction ID.

상기 DB 관리부(717)는 생성된 체인의 체인 정보가 체인 테이블에서 저장, 조회 및 삭제되는 것을 관리한다. DB 관리부(717)는 메인 제어부(715)를 통해 수신된 체인 생성의 실행 결과를 이용하여 각 체인별로 "체인 아이디, 루트 디렉토리 및 실행 상태"를 포함하는 체인 정보를 생성하고, 생성된 체인 정보를 체인 테이블에 저장한다. 체인 아이디는 체인을 고유하게 식별하는 정보이다. 루트 디렉토리는 체인이 저장되는 루트 디렉토리이다. 체인 아이디 및 루트 디렉토리는 파일에 대응되는 체인을 식별하는 경로 정보를 형성한다. 실행 상태는 관리 명령의 실행을 위해 파일이 저장되는 체인이 실행 상태가 아닐 경우, 체인의 실행을 위해 참조된다.The DB management unit 717 manages storage, retrieval and deletion of the chain information of the generated chain in the chain table. The DB management unit 717 generates chain information including "chain ID, root directory and execution state" for each chain by using the execution result of the chain generation received through the main control unit 715, Store in chain table. A chain ID is information that uniquely identifies a chain. The root directory is the root directory where the chain is stored. The chain ID and root directory form path information identifying the chain corresponding to the file. The execution state is referred to for execution of the chain when the chain in which the file is stored for execution of the management command is not in execution state.

이후, 파일의 저장 요청이 발생되면, DB 관리부(717)는 메인 제어부(715)의 조회 요청에 따라 관리 대상의 파일에 대응되는 체인 정보를 체인 테이블로부터 조회한다. 조회된 체인 정보로부터 파일에 대응되는 체인 및 접근 경로의 정보가 식별되고, 메인 제어부(715)는 식별된 정보를 이용하여 파일의 저장을 위한 데이터 명령을 내릴 수 있다.Then, when a file storage request is generated, the DB management unit 717 inquires the chain information corresponding to the file to be managed from the chain table according to the inquiry request of the main control unit 715. From the inquired chain information, the information of the chain and the access path corresponding to the file is identified, and the main control unit 715 can issue a data command for storing the file using the identified information.

또한, 상기 DB 관리부(717)는 저장이 완료된 데이터 및 저장 트랜잭션의 매핑 정보가 매핑 테이블에서 저장, 조회 및 삭제되는 것을 관리한다. DB 관리부(717)는 메인 제어부(715)를 통해 수신된 데이터 저장의 저장 결과를 이용하여 파일 아이디, 블록 체인에 의해 저장시 생성된 "파일 아이디, 트랜잭션 아이디 및 저장 시간"을 포함하는 매핑 정보를 매핑 테이블에 저장한다. 파일 아이디는 파일명으로부터 생성되고 파일을 식별하는 고유 키이다. 트랜잭션 아이디는 파일의 저장에 의해 블록 체인이 고유하게 생성하고 파일에 액세싱하는 고유 정보이다. 저장 시간은 트랜잭션의 처리 시간이다.In addition, the DB management unit 717 manages the storage of the stored data and the mapping information of the stored transaction in the mapping table. The DB management unit 717 stores mapping information including a file ID, a file ID, a transaction ID, and a storage time generated upon storage by the block chain, using the storage result of the data storage received through the main control unit 715 And stores it in the mapping table. The file ID is a unique key generated from the file name and identifying the file. The transaction ID is unique information that the block chain uniquely creates and accesses the file by storing the file. The storage time is the processing time of the transaction.

이후, 저장된 파일의 관리(예 : 조회, 삭제 등) 요청이 발생되면, DB 관리부(717)는 메인 제어부(715)의 조회 요청에 따라 관리 대상의 파일에 대응되는 매핑 정보를 매핑 테이블로부터 조회한다. 조회된 매핑 정보로부터 파일에 대응되는 트랜잭션 정보가 식별되고, 메인 제어부(715)는 식별된 트랜잭션 정보를 이용하여 저장된 파일의 관리를 위한 데이터 명령을 내릴 수 있다.Thereafter, when a request for management (e.g., inquiry, deletion, etc.) of the stored file occurs, the DB management unit 717 inquires the mapping information corresponding to the file to be managed from the mapping table according to the inquiry request of the main control unit 715 . Transaction information corresponding to the file is identified from the inquired mapping information, and the main control unit 715 can issue a data command for managing the stored file using the identified transaction information.

관리 서버(710)는 WAS 포트 통신으로 연결된 마이닝 API 노드 단말(730) 및 데이터 동기화 노드 단말(750)에 대해 블록 체인 및 데이터의 관리를 제어한다. 노드 단말(200)은 마이닝 API 노드 단말(730) 및 데이터 동기화 노드 단말(750)에 해당된다.The management server 710 controls the management of the block chain and data for the mining API node terminal 730 and the data synchronization node terminal 750 connected by the WAS port communication. The node terminal 200 corresponds to the mining API node terminal 730 and the data synchronization node terminal 750.

상기 마이닝 API 노드 단말(730)은 WAS 포트 통신을 통해 메인 제어부(715)로부터 각종 명령을 수신하고, 수신된 명령에 따라 블록을 생성해서 체인에 연결하는 Mining 작업과, 관리 명령(예 : 저장 / 조회 등)을 수신하고, 수신된 명령을 처리하고, 처리 결과를 메인 제어부(715)로 응답하는 API 작업을 수행한다. 마이닝 API 노드 단말(730)은 체인 생성부(731), 블록 체인 모듈(733), 명령 프로세서부(735), 블록 체인 처리부(737)를 포함하여 구성된다.The mining API node terminal 730 receives a variety of commands from the main control unit 715 through the WAS port communication, generates a block according to the received command and connects it to a chain, Inquiry, and the like), processes the received command, and performs an API task of responding the processing result to the main control unit 715. The mining API node terminal 730 includes a chain generation unit 731, a block chain module 733, an instruction processor unit 735, and a block chain processing unit 737.

상기 체인 생성부(731)는 메인 제어부(715)로부터 체인을 관리하는 체인 명령을 수신하고, 수신된 체인 명령에 대응되는 체인의 생성, 실행(구동) 및 삭제 처리를 수행한다. 블록 체인의 "Chain Maker"는 체인 생성부(731)이다.The chain generation unit 731 receives a chain command for managing a chain from the main control unit 715 and performs generation, execution (drive) and deletion processing of a chain corresponding to the received chain command. The "Chain Maker" of the block chain is a chain generation unit 731. [

여기서, 노드에 체인이 만들어지기 위해선 체인의 실행 파일과 부수적인 설정 파일들이 각 노드의 약속된 디렉토리에 미리 배포되어 있어야 한다. 체인 생성부(731)는 배포된 실행 파일들과 설정 파일들을 포함하는 블록 체인 모듈(733)을 이용하여 체인 명령을 처리한다. 체인 명령이 삭제인 경우, 실행 중인 프로세서가 중지되고, 체인 운용으로 인해 생성된 파일들이 삭제된다.Here, in order for a chain to be created in a node, the chain executable file and ancillary configuration files must be pre-distributed in the promised directory of each node. The chain generation unit 731 processes the chain command using the block chain module 733 including the distributed execution files and configuration files. If the chain command is erased, the running processor is stopped, and the files created due to the chain operation are erased.

상기 명령 프로세서부(command processor)(735)는 메인 제어부(715)로부터 데이터를 관리하는 데이터 명령을 수신하고, 수신된 데이터 명령에 대응되는 데이터의 저장, 조회 및 삭제 처리를 수행한다. 명령 프로세서부(735(는 메인 제어부(715)로부터 수신된 데이터 명령을 블록체인 프로세스(737)로 전달하는 역할을 한다. 한편, 명령 프로세서부(735)는 외부 서비스에 연결되어 데이터 명령의 수신이 가능하지만, 보안 연결이 요구된다.The command processor 735 receives a data command for managing data from the main controller 715, and performs storage, inquiry, and deletion of data corresponding to the received data command. The command processor 735 is responsible for transferring the data command received from the main controller 715 to the block chain processor 737. The command processor 735 is connected to the external service and receives data commands Yes, but a secure connection is required.

상기 블록 체인 처리부(737)는 명령 프로세서부(735)로부터 데이터 명령을 수신하여 데이터 관리를 수행한다. 데이터 관리의 수행에 의해 데이터가 체인에 저장, 조회 및 삭제된다. 또한, 블록 체인 처리부(737)는 페어링 기능에 의해 타 노드의 블록 체인 처리부(757)와 동기화 포트 통신을 통해 동기된다.The block chain processing unit 737 receives data commands from the command processor unit 735 and performs data management. By performing data management, data is stored, retrieved, and deleted in the chain. In addition, the block-chain processing unit 737 is synchronized with the block-chain processing unit 757 of the other node through the synchronization port communication by the pairing function.

상기 데이터 동기화 노드 단말(750)은 체인 생성부(751), 블록 체인 모듈(753) 및 블록 체인 처리부(757)를 포함하여 구성된다. 체인 생성부(751) 및 블록 체인 모듈(753)은 마이닝 API 노드 단말(730)의 구성과 동일하다. 또한, 블록 체인 처리부(757)는 마이닝 API 노드 단말(730)의 블록 체인 처리부(737)과 동기된다.The data synchronization node terminal 750 includes a chain generation unit 751, a block chain module 753, and a block chain processing unit 757. The chain generation unit 751 and the block chain module 753 are the same as those of the mining API node terminal 730. In addition, the block chain processing unit 757 is synchronized with the block chain processing unit 737 of the mining API node terminal 730.

상기 Mining 작업과 API 작업은 마이닝 API 노드 단말(730)에서만 수행되는 것이 차이점이다. 물론, 모든 노드에 명령 프로세서부(735)를 두어 시스템 Fail-Over에 대응하도록 구성될 수도 있다. 다만, 본 발명의 실시예에서는 관리 서버(710)에 대한 마이닝 작업과 API 작업의 창구를 마이닝 API 노드 단말(730)로 일원화하여 데이터의 보안을 유지하고, 마이닝 API 노드 단말(730)과 페어링에 의해 데이터 동기화 노드 단말(750)이 동기화되어 데이터 백업을 제공하고자 한다. 즉, 데이터 보안의 측면에서 권한있는 사용자만 관리 서버(710)에 액세싱이 가능하고, 권한있는 관리 서버(710)만 마이닝 API 노드 단말(730)로 액세싱이 가능하므로 외부의 침입이 원천적으로 차단된다.The mining operation and the API operation are performed only in the mining API node terminal 730. Of course, the command processor 735 may be provided to all the nodes so as to correspond to the system fail-over. However, in the embodiment of the present invention, mining operation and API operation window for the management server 710 are unified to the mining API node terminal 730 to maintain data security, and the mining API node terminal 730 is paired with the mining API node terminal 730 The data synchronization node terminal 750 is synchronized to provide data backup. That is, in terms of data security, only the authorized user can access the management server 710, and only the authorized management server 710 can access the mining API node terminal 730. Therefore, .

여기서, 메인 제어부(715) 및 노드 단말들(730, 750) 사이의 상기 WAS 포트 통신은 Java Servlet 형태로 구현되었다고 가정하면, Tomcat, JBOSS 등의 Web Application Server)에서 사용하는 포트를 통해 이루어지게 된다.Here, the WAS port communication between the main control unit 715 and the node terminals 730 and 750 is performed through a port used in a Web application server such as Tomcat or JBOSS, assuming that the WAS port communication is implemented in a Java Servlet form .

명령 프로세서부(735) 및 블록 체인 처리부(737) 사이는 RPC (Remote Procedure Call) 포트가 사용된다. 블록 체인 처리부들(737, 750) 사이의 동기화를 위해선 Sync 포트가 사용된다. Sync 포트와 RPC 포트의 아이디는 체인 ID를 통해 계산될 수 있다.An RPC (Remote Procedure Call) port is used between the command processor unit 735 and the block-chain processing unit 737. The Sync port is used for synchronization between the block chain processing units 737 and 750. The identity of the Sync port and the RPC port can be calculated via the chain ID.

도 8은 본 발명의 일 실시예에 따른 블록 체인에 데이터를 저장하는 방법의 개략적 순서도이다.8 is a schematic flow diagram of a method for storing data in a block chain according to an embodiment of the present invention.

관리 서버(710)에서 파일 저장의 이벤트가 발생한다. 파일 저장은 사용자가 웹 관리부(711)의 웹 사이트를 통해 파일 저장을 요청할 수 있다. 이외에도 배치 처리 또는 스케쥴러부(713) 등에 의해서도 파일 저장의 이벤트가 발생할 수 있다. 저장 대상의 파일이 웹 사이트의 지정된 디렉토리에 저장되면, 메인 제어부(715)가 이벤트 발생의 알림을 수신한다(S801).The management server 710 generates an event of file storage. The user can request the file storage through the web site of the web management unit 711. In addition, an event of file storage can also be generated by the batch processing or scheduler unit 713 or the like. If the file to be stored is stored in the designated directory of the web site, the main control unit 715 receives notification of the occurrence of the event (S801).

메인 제어부(715)는 서비스 정책에 따라 파일의 파일 정보(예 : 파일명, 파일 시간 등)를 이용하여 체인 아이디를 생성한다(S811). 여기서, 파일 정보로부터 체인 아이디, 고유 키, 포트 번호 등이 생성될 수 있다. 생성 규칙은 파일명으로부터 고유 값의 추출, 변환, 계산 등의 처리가 수반되는 것이며 특별한 제한을 두지 않는다.The main control unit 715 generates a chain ID using the file information (e.g., file name, file time, etc.) of the file according to the service policy (S811). Here, a chain ID, a unique key, a port number, and the like can be generated from the file information. The generation rule is a process involving extraction, conversion and calculation of eigenvalues from a file name, and there is no particular restriction.

상기 서명 이미지의 경우, 날짜 시간의 파일명으로부터 년(2)+월(2)의 체인 아이디를 추출하여 생성한다. 예를 들어, 17년 1월에 생성된 서명 이미지 파일은 파일명에 '1701'이 포함되고, 파일명으로부터 추출된 '1701'의 체인 아이디가 생성된다. 고유 키는 파일명이 고유할 경우, 파일명을 그대로 사용할 수 있고, 상기 생성 규칙을 적용하는 것도 가능하다. 상기 포트 번호는 아래의 수식을 이용하여 생성된다.In the case of the signature image, a chain ID of year (2) + month (2) is extracted from the file name of the date time and is generated. For example, in the signature image file created in January 17, '1701' is included in the file name, and the chain ID of '1701' extracted from the file name is generated. When the file name is unique, the unique key can be used as it is, and the above generation rule can be applied. The port number is generated using the following equation.

<수식><Formula>

동기화 포트 = 체인 아이디 + 10000Sync port = chain ID + 10000

RPCRPC 포트 = 동기화 포트 + 3000 Port = Sync port + 3000

그러면, '1701' 체인 아이디의 경우, 블록 체인 처리부들(737, 757)의 동기화 포트는 '11701'이고, 명령 프로세서부(735)의 RPC 포트는 '14701'이다.Then, in the case of the '1701' chain ID, the synchronization port of the block chain processing units 737 and 757 is '11701' and the RPC port of the command processor unit 735 is '14701'.

체인 아이디가 생성되면, 메인 제어부(715)는 DB 관리부(717)로 체인 아이디를 입력하여 체인 정보를 조회한다(S821). DB 관리부(717)는 체인 아이디를 키로 하여 체인 테이블을 조회하고, 체인의 체인 아이디, 루트 디렉토리 및 실행 상태를 포함하는 체인 정보를 조회하고, 조회된 체인 정보를 메인 제어부(715)로 제공한다.When the chain ID is generated, the main control unit 715 inputs the chain ID to the DB management unit 717 and inquires the chain information (S821). The DB management unit 717 inquires the chain table with the chain ID as a key, inquires the chain information including the chain ID of the chain, the root directory and the execution status, and provides the inquired chain information to the main control unit 715.

만약, 체인 정보의 조회가 실패될 경우(S823), 메인 제어부(715)는 체인 아이디 및 루트 디렉토리를 포함하는 경로명이 포함되고 체인을 생성하는 체인 명령을 생성하고, 생성된 체인 명령을 각 노드의 체인 생성부들(731, 751)로 전송한다(S825). 체인 생성부들(731, 751)은 수신된 경로명에 따라 체인을 생성 및 실행한다. 체인의 생성이 완료되면, 체인 생성부들(731, 751)은 생성 결과를 메인 제어부(715)로 응답한다. 메인 제어부(715)는 응답된 생성 결과를 이용하여 DB 관리부(717)를 통해 체인 테이블에 체인 정보를 저장한다. If the inquiry of the chain information fails (S823), the main control unit 715 generates a chain command including a path name including a chain ID and a root directory, generates a chain command, and transmits the generated chain command to each node To the chain generating units 731 and 751 (S825). The chain generating units 731 and 751 generate and execute a chain according to the received path name. When generation of the chain is completed, the chain generating units 731 and 751 respond to the main control unit 715 with the generation result. The main control unit 715 stores the chain information in the chain table through the DB management unit 717 using the generated generation result.

서명 이미지의 경우, 루트 디렉토리가 '/CHAIN_DATA' 이고 체인 아이디가 '1701'이라면 데이터 디렉토리의 경로명은 정의된 서비스 정책에 따라 '/CHAIN_DATA/datadir_1701' 가 될 수 있다. 매월 단위로 발생된 서명 이미지가 대응되는 체인에 저장되는 경우, 매월 첫 번째 데이터의 저장이 발생될 경우, 체인을 생성하는 체인 명령이 실행된다. 만일, '/CHAIN_DATA'의 체인 저장 공간이 부족해지면 사용자는 이 위치를 '/CHAIN_DATA2'와 같이 다른 스토리지 영역으로 변경해 줌으로써 확장 이슈도 해결하는 것이 가능하다.For a signature image, if the root directory is '/ CHAIN_DATA' and the chain ID is '1701', the path name of the data directory can be '/ CHAIN_DATA / datadir_1701' according to the defined service policy. When a signature image generated on a monthly basis is stored in a corresponding chain, if storage of the first data occurs every month, a chain command for generating a chain is executed. If the chain storage space of '/ CHAIN_DATA' becomes insufficient, it is possible to solve the expansion problem by changing this location to another storage area such as '/ CHAIN_DATA2'.

또한, 조회된 체인 정보의 실행 상태가 실행 중이 아니면(S827), 메인 제어부(715)는 체인 아이디 및 루트 디렉토리를 포함하는 경로명이 포함되고 체인을 실행하는 체인 명령을 생성하고, 생성된 체인 명령을 각 노드의 체인 생성부들(731, 751)로 전송한다(S829). 체인 생성부들(731, 751)은 수신된 경로명에 따라 체인을 실행한다. 체인의 실행에 의해 체인 테이블의 실행 상태는 실행 중으로 업데이트된다. 처리 효율을 위해 체인은 처리가 완료되면 실행이 종료될 수 있다.If the execution state of the inquired chain information is not being executed (S827), the main control unit 715 generates a chain command including the path name including the chain ID and the root directory, executes the chain, To the chain generating units 731 and 751 of each node (S829). The chain generating units 731 and 751 execute the chain according to the received path name. Execution of the chain updates the execution state of the chain table to running. For processing efficiency, the chain may end execution when processing is complete.

실행 중인 체인의 체인 정보가 조회된 후, 메인 제어부(715)는 파일의 파일 정보(예 : 파일명, 파일 시간 등)로부터 고유한 파일 아이디를 생성한다. 생성된 파일 아이디는 파일을 식별하는 키에 해당된다. 파일 아이디의 생성을 위해, 파일 정보에 각종 변환, 해시 처리 등이 적용될 수 있다. 물론, 파일명이 고유할 경우, 메인 제어부(715)는 파일명을 파일 아이디로 할 수 있다. 메인 제어부(715)는 조회된 체인 정보 및 생성된 파일 아이디를 포함하는 데이터 명령을 생성하고, 생성된 데이터 명령 및 파일을 명령 프로세서부(735)로 전송하여 파일을 저장한다(S831).After the chain information of the chain in execution is looked up, the main control unit 715 generates a unique file ID from the file information (e.g., file name, file time, etc.) of the file. The generated file ID corresponds to the key identifying the file. Various kinds of conversion, hash processing, and the like can be applied to the file information to generate the file ID. Of course, when the file name is unique, the main control unit 715 can set the file name to the file ID. The main control unit 715 generates a data command including the inquired chain information and the generated file ID, transmits the generated data command and file to the command processor unit 735, and stores the file in operation S831.

여기서, 명령 프로세서부(735)는 수신된 데이터 명령을 블록 체인 처리부(737)로 전송하여 블록 체인에 데이터가 저장되게 한다. 블록 체인에 저장되는 파일 정보는 키/밸류의 RDB 형식을 따르며, 파일과 관련된 기타 메타 정보(고유키 등)가 더 저장될 수 있다. 블록 체인 처리부(737)에 의해 데이터가 블록 체인에 저장되면, 동기화된 블록 체인 처리부(757)도 데이터 명령 및 파일을 동기화 포트를 통해 전송받고 파일을 저장하여 동기화 처리한다.Here, the instruction processor 735 transfers the received data command to the block chain processing unit 737 so that data is stored in the block chain. The file information stored in the block chain conforms to the RDB format of the key / value, and other meta information related to the file (unique key, etc.) can be further stored. If the data is stored in the block chain by the block chain processing unit 737, the synchronized block chain processing unit 757 also receives the data command and the file through the synchronization port, stores the file, and performs synchronization processing.

파일 저장이 완료되면, API 작업에 의해 명령 프로세서부(735)는 저장된 파일의 트랜잭션 아이디를 포함하는 저장 결과를 메인 제어부(715)로 응답한다. 트랜잭션 아이디는 블록 체인에 데이터 트랜잭션이 저장될 경우 고유하게 생성된다. 메인 제어부(715)는 응답된 저장 결과를 이용하여 DB 관리부(717)를 통해 매핑 테이블에 매핑 정보를 저장한다. 매핑 테이블에는 파일의 메타 정보가 더 저장될 수 있다.When the file storage is completed, the command processor 735 responds to the main control unit 715 with the storage result including the transaction ID of the stored file by the API operation. The transaction ID is generated uniquely when a data transaction is stored in a block chain. The main control unit 715 stores the mapping information in the mapping table through the DB management unit 717 using the stored storage result. The meta information of the file can be further stored in the mapping table.

상기 단계(S801) 내지 단계(S843)는 웹 사이트의 디렉토리에 저장된 파일들의 저장이 완료될 때까지 반복된다. 파일들의 저장이 완료된 후, 메인 제어부(715)는 저장이 완료된 파일들을 상기 디렉토리에서 삭제한다(S845). The steps (S801) to (S843) are repeated until the storage of the files stored in the web site directory is completed. After the storage of the files is completed, the main control unit 715 deletes the stored files from the directory (S845).

이후, 메인 제어부(715)는 서비스 정책에 따라 조건이 만족된 체인을 체인 명령을 노드로 전송하여 삭제한다(S851). 서명 이미지의 경우, 5년 1개월이 경과된 체인이 노드로부터 자동 삭제된다.Thereafter, the main control unit 715 transmits the chain command satisfying the condition according to the service policy to the node and deletes it (S851). In the case of a signature image, a chain that has been 5 years and 1 month old is automatically deleted from the node.

도 9는 본 발명의 일 실시예에 따른 데이터 조회 방법의 개략적 순서도이다.9 is a schematic flowchart of a data inquiry method according to an embodiment of the present invention.

관리 서버(710)에서 파일 조회의 이벤트가 발생한다. 파일 조회는 웹 사이트에 접속된 사용자의 요청, 배치 처리 또는 스케쥴러부(713) 등에 의해서 해당 이벤트가 발생될 수 있다. 메인 제어부(715)가 파일 조회의 이벤트가 발생되었음을 알리는 알림에 의해 파일 아이디를 수신한다(S901).The management server 710 generates an event of file inquiry. The file inquiry may be generated by a request, a batch process or a scheduler unit 713 of a user connected to the web site. The main control unit 715 receives the file ID by notifying the occurrence of the file inquiry event (S901).

여기서, 메인 제어부(715)는 매핑 테이블의 매핑 정보를 조회하고, 조회된 매핑 정보를 웹 관리부(11)로 제공하여 사용자가 조회 대상의 파일을 선택하도록 검색 서비스를 제공하는 것도 가능하다.Here, the main control unit 715 may inquire the mapping information of the mapping table, provide the retrieved mapping information to the web management unit 11, and provide the search service so that the user can select the file to be collated.

메인 제어부(715)는 수신된 파일 아이디를 키로 하여 매핑 테이블로부터 매핑 정보를 조회한다(S903). 매핑 조회에 실패할 경우, 삭제 대상의 레코드가 존재하지 않는다는 적절한 오류 메시지를 제공한다. 또한, 서비스의 형태에 따라 특정 일자가 경과한 데이터일 경우, 제공을 거부하는 기능이 이 단계에서 추가되는 것도 가능하다.The main control unit 715 inquires the mapping information from the mapping table using the received file ID as a key (S903). If the mapping lookup fails, it provides an appropriate error message indicating that the record to be deleted does not exist. Also, in the case of data whose specific date has elapsed depending on the type of service, it is also possible that the function of refusing the provision is added at this stage.

매핑 정보가 조회되면, 메인 제어부(715)는 매핑 정보의 트랜잭션 아이디를 포함하고 데이터의 조회를 요청하는 데이터 명령을 생성하고(S911), 생성된 데이터 명령을 명령 프로세서부(735)로 전송하여 파일의 조회를 요청한다(S913).When the mapping information is inquired, the main control unit 715 generates a data command including the transaction ID of the mapping information and requests data inquiry (S911), transmits the generated data command to the command processor unit 735, (S913).

여기서, 명령 프로세서부(735)는 수신된 데이터 명령을 블록 체인 처리부(737)로 전송하여 블록 체인에 저장된 파일의 조회를 요청한다. 블록 체인 처리부(737)에 의해 트랜잭션 아이디의 파일이 조회되고, 명령 프로세서부(735)는 조회된 파일 및 처리 결과를 API 작업에 따라 메인 제어부(715)로 전송한다. 메인 제어부(715)는 명령 프로세서부(735)로부터 파일을 다운로드 수신한다(S921). 다운로드 수신된 파일은 웹 관리부를 통해 사용자에게 다운로드 서비스된다(S931).Here, the command processor unit 735 sends the received data command to the block-chain processing unit 737 to request the inquiry of the file stored in the block chain. The file of the transaction ID is inquired by the block chain processing unit 737, and the command processor unit 735 transmits the inquired file and the processing result to the main control unit 715 according to the API operation. The main control unit 715 downloads the file from the command processor unit 735 (S921). The downloaded download file is downloaded to the user through the web management unit (S931).

상기 단계(S901) 내지 단계(S931)는 조회 요청된 파일들의 조회가 완료될 때까지 반복될 수 있다. 파일들의 다운로드 서비스가 완료된 후, 메인 제어부(715)는 다운로드가 완료된 파일들을 다운로드 디렉토리에서 삭제한다The steps (S901) to (S931) may be repeated until the inquiry of the files requested to be inquired is completed. After the download service of the files is completed, the main control unit 715 deletes the downloaded files from the download directory

한편, 파일의 저장 및 조회 과정에서 데이터 보안을 위해 메인 제어부(715)는 암호화 및 복호화 처리를 수반하는 것이 가능하다. 또한, 웹 사이트의 서비스 정책에 따라 문서 파일이나 이미지 파일의 내용을 보여주는 서비스를 제공하는 것도 가능하다.Meanwhile, the main control unit 715 can perform encryption and decryption processes in order to secure data in the process of storing and retrieving a file. It is also possible to provide a service for displaying the contents of a document file or an image file according to a service policy of a web site.

본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.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. It goes without saying that various modifications and variations are possible within the scope of equivalence of the scope.

700 : 데이터 관리 시스템 : 710 : 관리 서버
711 : 웹 관리부 713 : 스케쥴러부
715 : 메인 제어부 717 : DB 관리부
730 : 마이닝 API 노드 단말 750 : 데이터 동기화 노드 단말
700: data management system: 710: management server
711: Web management unit 713: Scheduler unit
715: main control unit 717: DB management unit
730: Mining API node terminal 750: Data synchronization node terminal

Claims (21)

복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터의 저장, 조회 및 삭제를 관리하는 장치에 있어서,
조회 요청에 의해 제공된 체인 정보를 이용하여 상기 블록 체인을 관리하는 체인 명령 및 조회 요청에 의해 제공된 매핑 정보를 이용하여 상기 데이터를 관리하는 데이터 명령을 상기 노드 단말로 전송하여 상기 데이터의 관리를 제어하는 메인 제어부; 및
상기 메인 제어부로부터 상기 체인 명령에 의해 생성된 체인의 상기 체인 정보를 입력받아 체인 테이블에 저장하고, 상기 요청에 따라 저장된 체인 정보를 조회하여 제공하고, 상기 메인 제어부로부터 상기 데이터 명령에 의해 저장된 데이터 및 트랜잭션의 매핑 정보를 입력받아 체인 테이블에 저장하고, 상기 요청에 따라 저장된 매핑 정보를 조회하여 제공하는 DB 관리부
를 포함하는 장치.
An apparatus for managing storage, inquiry, and deletion of data in a block chain and data in a block chain formed by a plurality of node terminals for synchronously storing data,
A data command for managing the data using the chain command for managing the block chain and the mapping information provided by the inquiry request using the chain information provided by the inquiry request to the node terminal and controlling the management of the data A main control unit; And
The chain control unit receives the chain information of the chain generated by the chain command from the main control unit and stores the received chain information in a chain table and inquires and provides stored chain information according to the request, A DB management unit for receiving mapping information of a transaction and storing the received mapping information in a chain table,
/ RTI &gt;
제 1항에 있어서,
상기 블록 체인은,
권한이 정의된 사용자에게만 데이터 접근이 허락되는 Private 모드를 제공하는 제 1기능;
블록 체인의 데이터 처리에 수수료가 없는 제 2기능;
블록 체인에 요구되는 노드 단말에 대한 마이닝 노드의 작업 증명 과정에서 노드의 검증 처리를 제거하고 데이터의 유효성 검증 처리를 수행하는 제 3기능;
상기 작업 증명 과정에 의해 단축된 블록의 생성 시간을 지연시키기 위해 딜레이를 주어 블록 생성 시간을 지연시키는 제 4기능; 및
저장 대상의 트랜잭션이 발생된 경우에만 블록을 생성하는 제 5기능
중에서 적어도 하나 이상의 기능이 설정되어 각각의 노드 단말에서 실행되는 것을 특징으로 하는 장치.
The method according to claim 1,
The block chain comprises:
A first function for providing a private mode in which data access is permitted only to a user whose authority is defined;
A second function in which there is no fee for data processing of the block chain;
A third function of removing the node's validation process and verifying the validity of the data in the process of verifying the operation of the mining node with respect to the node terminal required for the block chain;
A fourth function of delaying the block generation time by delaying the generation time of the shortened block by the job verification process; And
Fifth function to generate block only when transaction of storage object occurs
Wherein at least one function is set and executed in each node terminal.
제 1항에 있어서,
웹 페이지를 통해 사용자 인터페이스를 제공하여 상기 체인 및 데이터의 관리 정보를 입력받고, 입력된 관리 정보의 처리 결과를 제공하는 웹 관리부를 더 포함하는 것을 특징으로 하는 장치.
The method according to claim 1,
Further comprising a web management unit for providing management information of the chain and data by providing a user interface through a web page and providing processing results of the management information.
제 1항에 있어서,
상기 관리를 위한 스케쥴링 정보를 등록받고, 등록된 스케쥴링 정보에 대응되는 프로세스의 실행을 상기 메인 제어부로 요청하는 스케쥴러부를 더 포함하고,
상기 메인 제어부는 상기 요청에 의해 대응되는 명령을 전송하는 것을 특징으로 하는 장치.
The method according to claim 1,
Further comprising a scheduler unit for registering the scheduling information for the management and requesting the main control unit to execute a process corresponding to the registered scheduling information,
And the main control unit transmits a command corresponding to the request.
제 1항에 있어서,
상기 노드 단말은,
블록을 생성해서 체인에 연결하는 마이닝 처리 및 블록 체인의 데이터 정보를 API(Applicaion program interface)를 통해 제공하는 마이닝 API 노드 단말; 및
마이닝 API 노드 단말에 의해 블록 체인의 데이터 관리가 동기화되는 데이터 동기화 노드 단말
로 구성되는 것을 특징으로 하는 장치.
The method according to claim 1,
The node terminal,
A mining API node terminal for providing data information of a mining process and a block chain through an application program interface (API); And
A data synchronization node terminal in which data management of a block chain is synchronized by a mining API node terminal
&Lt; / RTI &gt;
제 5항에 있어서,
상기 마이닝 API 노드 단말은,
상기 체인 명령을 전송받고, 전송받은 체인 명령에 따른 블록 체인의 생성, 삭제 및 실행을 처리하고, 처리 결과를 응답하는 체인 생성부
상기 데이터 명령을 전송받고, 전송받은 데이터 명령을 처리하고, 처리 결과를 응답하는 명령 프로세서부; 및
상기 처리에 따른 데이터 명령을 블록 체인에 대해 실행하는 블록 체인 처리부
를 포함하는 것을 특징으로 하는 장치.
6. The method of claim 5,
Wherein the mining API node comprises:
A chain generation unit for receiving the chain command and processing generation, deletion, and execution of a block chain according to the transmitted chain command,
An instruction processor unit for receiving the data command, processing the received data command, and responding to the processing result; And
A block chain processing unit for executing a data command according to the above processing on a block chain
&Lt; / RTI &gt;
제 6항에 있어서,
상기 데이터 동기화 노드 단말은,
상기 체인 명령을 전송받고, 전송받은 체인 명령에 따른 블록 체인의 생성, 삭제 및 실행을 처리하고, 처리 결과를 응답하는 체인 생성부; 및
상기 마이닝 API 노드 단말의 블록 체인 처리부와 포트 연결되고, 연결된 포트를 통해 전송된 데이터 명령을 동기화하여 실행하는 블록 체인 처리부
를 포함하는 것을 특징으로 하는 장치.
The method according to claim 6,
The data synchronization node comprises:
A chain generating unit for receiving the chain command, processing a block chain according to the transmitted chain command, deletion and execution, and responding to the processing result; And
A block chain processing unit which is connected to a block chain processing unit of the mining API node terminal and synchronously executes a data command transmitted through a connected port,
&Lt; / RTI &gt;
제 1항에 있어서,
상기 메인 제어부는,
블록 체인에 의해 관리되는 각각의 데이터 파일의 파일 정보로부터 체인 아이디를 생성하고, 생성된 체인 아이디에 수식을 적용하여 포트 아이디를 생성하고, 생성된 체인 아이디를 이용하여 블록 체인에 저장되는 파일의 폴더 경로를 생성하는 것을 특징으로 하는 장치.
The method according to claim 1,
The main control unit,
A chain ID is generated from the file information of each data file managed by the block chain, a port ID is generated by applying the formula to the generated chain ID, a folder of the file stored in the block chain using the generated chain ID And generates a path.
제 1항에 있어서,
상기 메인 제어부는,
저장 대상의 데이터 파일의 파일 정보를 입력받고, 입력된 파일 정보에 대응되는 체인 정보를 상기 체인 테이블로부터 조회하고, 조회된 체인 정보에 따른 상기 데이터 명령을 상기 노드 단말로 전송하여 데이터 저장을 요청하고, 상기 데이터 명령의 저장 결과를 전송받고,
상기 DB 관리부는,
전송된 저장 결과의 파일 아이디, 블록 체인에 의해 저장시 생성된 트랜잭션 아이디 및 저장 시간을 포함하는 매핑 정보를 상기 매핑 테이블에 저장하는 것을 특징으로 하는 장치.
The method according to claim 1,
The main control unit,
Receives the file information of the data file to be stored, inquires the chain information corresponding to the inputted file information from the chain table, transmits the data command according to the inquired chain information to the node terminal, requests data storage Receiving a result of storing the data command,
The DB management unit,
And stores the mapping information including the file ID of the transferred storage result, the transaction ID generated upon storage by the block chain, and the storage time in the mapping table.
제 9항에 있어서,
상기 메인 제어부는,
파일 정보를 이용하여 생성된 체인 아이디를 키로 하여 상기 체인 테이블로부터 체인 정보를 조회하는데 실패할 경우, 생성된 체인 아이디를 갖는 블록 체인의 생성 및 실행을 요청하는 상기 체인 명령을 전송하고, 상기 체인 명령의 실행 결과를 전송받고,
상기 DB 관리부는,
전송된 실행 결과를 이용하여 각 체인별로 체인 아이디, 루트 디렉토리 및 실행 상태를 포함하는 상기 체인 정보를 생성하고, 생성된 체인 정보를 상기 체인 테이블에 저장하는 것을 특징으로 하는 장치.
10. The method of claim 9,
The main control unit,
Transmits the chain command requesting generation and execution of a block chain having the generated chain ID if the chain information generated from the file information is a key and fails to inquire the chain information from the chain table, Lt; RTI ID = 0.0 &gt;
The DB management unit,
Generates chain information including a chain ID, a root directory, and an execution state for each chain using the transmitted execution result, and stores the generated chain information in the chain table.
제 9항에 있어서,
상기 메인 제어부는,
조회 대상의 데이터 파일의 파일 정보를 입력받고, 입력된 파일 정보에 대응되는 매핑 정보를 상기 매핑 테이블로부터 조회하고, 조회된 매핑 정보에 따른 상기 데이터 명령을 상기 노드 단말로 전송하여 데이터 조회를 요청하고, 조회된 파일 및 상기 데이터 명령의 조회 결과를 수신하고, 전송된 파일을 제공하는 것을 특징으로 하는 장치.
10. The method of claim 9,
The main control unit,
Receives the file information of the data file to be queried, retrieves mapping information corresponding to the input file information from the mapping table, transmits the data command according to the retrieved mapping information to the node terminal, requests data inquiry , The inquired file and the inquiry result of the data command, and provides the transmitted file.
복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터를 관리하는 장치가 데이터 파일을 저장하는 방법에 있어서,
저장 대상의 데이터 파일의 파일 정보로부터 체인 아이디를 생성하는 단계;
생성된 체인 아이디를 키로 하여 체인 테이블로부터 체인 정보를 조회하는 단계;
조회된 체인 정보에 따라 상기 파일의 저장을 요청하는 데이터 명령을 생성하고, 상기 노드 단말로 생성된 데이터 명령 및 파일을 전송하여 상기 블록 체인에 저장하는 단계; 및
상기 노드 단말로부터 전송받은 파일의 저장 결과를 이용하여 매핑 테이블에 데이터 및 트랜잭션의 매핑 정보를 저장하는 단계
를 포함하는 방법.
1. A method for storing a data file in a block chain formed by a plurality of node terminals for synchronously storing data and a device for managing data in the block chain,
Generating a chain ID from file information of a data file to be stored;
Querying the chain information from the chain table using the generated chain ID as a key;
Generating a data command for requesting storage of the file according to the inquired chain information, transmitting the data command and the file generated in the node terminal, and storing the data command and file in the block chain; And
Storing data and transaction mapping information in a mapping table using a storage result of a file received from the node terminal
&Lt; / RTI &gt;
제 12항에 있어서,
상기 블록 체인은,
권한이 정의된 사용자에게만 데이터 접근이 허락되는 Private 모드를 제공하는 제 1기능;
블록 체인의 데이터 처리에 수수료가 없는 제 2기능;
블록 체인에 요구되는 노드 단말에 대한 마이닝 노드의 작업 증명 과정에서 노드의 검증 처리를 제거하고 데이터의 유효성 검증 처리를 수행하는 제 3기능;
상기 작업 증명 과정에 의해 단축된 블록의 생성 시간을 지연시키기 위해 딜레이를 주어 블록 생성 시간을 지연시키는 제 4기능; 및
저장 대상의 트랜잭션이 발생된 경우에만 블록을 생성하는 제 5기능
중에서 적어도 하나 이상의 기능이 설정되어 각각의 노드 단말에서 실행되는 것을 특징으로 하는 방법.
13. The method of claim 12,
The block chain comprises:
A first function for providing a private mode in which data access is permitted only to a user whose authority is defined;
A second function in which there is no fee for data processing of the block chain;
A third function of removing the node's validation process and verifying the validity of the data in the process of verifying the operation of the mining node with respect to the node terminal required for the block chain;
A fourth function of delaying the block generation time by delaying the generation time of the shortened block by the job verification process; And
Fifth function to generate block only when transaction of storage object occurs
Wherein at least one function is set and executed in each node terminal.
제 12항에 있어서,
상기 체인 아이디를 생성하는 단계는,
상기 파일의 파일명을 이용하여 고유한 체인 아이디를 생성하는 단계인 것을 특징으로 하는 방법.
13. The method of claim 12,
The step of generating the chain ID comprises:
And generating a unique chain ID using the file name of the file.
제 12항에 있어서,
상기 체인 정보를 조회하는 단계는,
상기 체인 테이블로부터 상기 체인 아이디, 루트 디렉토리 및 실행 상태를 포함하는 상기 체인 정보를 조회하는 단계인 것을 특징으로 하는 방법.
13. The method of claim 12,
The step of querying the chain information comprises:
And querying the chain information including the chain ID, the root directory and the execution state from the chain table.
제 15항에 있어서,
상기 체인 정보를 조회하는 단계는,
상기 체인 정보의 조회가 실패될 경우, 상기 체인 아이디를 갖는 블록 체인의 생성 및 실행을 요청하는 상기 체인 명령을 상기 노드 단말로 전송하고, 상기 노드 단말로부터 상기 체인 명령의 실행 결과를 전송받고, 전송된 실행 결과를 이용하여 상기 체인 정보를 생성하고, 생성된 체인 정보를 상기 체인 테이블에 저장하는 단계인 것을 특징으로 하는 방법.
16. The method of claim 15,
The step of querying the chain information comprises:
Transmitting a chain command requesting generation and execution of a block chain having the chain ID to the node terminal when the inquiry of the chain information fails, receiving the execution result of the chain command from the node terminal, Generating the chain information using the execution result, and storing the generated chain information in the chain table.
제 15항에 있어서,
상기 체인 정보를 조회하는 단계는,
조회된 실행 상태가 실행 중이 아닐 경우, 상기 체인 아이디를 갖는 블록 체인의 실행을 요청하는 상기 체인 명령을 상기 노드 단말로 전송하고, 상기 노드 단말로부터 상기 체인 명령의 실행 결과를 전송받고, 전송된 실행 결과를 이용하여 상기 실행 상태를 실행 중인 것으로 업데이트하는 단계인 것을 특징으로 하는 방법.
16. The method of claim 15,
The step of querying the chain information comprises:
The chain command for requesting execution of a block chain having the chain ID is transmitted to the node terminal, the execution result of the chain command is received from the node terminal, And using the result to update the execution state to that being executed.
제 12항에 있어서,
상기 노드 단말은,
상기 장치로부터 체인 명령 및 데이터 명령을 수신하여 처리하는 마이닝 API 단말 및 상기 장치로부터 체인 명령을 수신하여 처리하고, 상기 마이닝 API 단말의 데이터 명령이 동기화 처리되는 데이터 동기화 단말로 구성되고,
상기 블록 체인에 저장하는 단계는,
상기 마이닝 API 단말이 장치로부터 상기 체인 정보 및 파일 아이디를 포함하는 데이터 명령을 전송받고, 전송받은 데이터 명령의 실행에 의해 블록 체인에 상기 파일을 저장하는 단계;
상기 데이터 동기화 단말이 상기 마이닝 API 단말에 연결된 포트를 통해 전송된 데이터 명령의 동기화 실행에 의해 블록 체인에 상기 파일을 저장하는 단계; 및
상기 마이닝 API 단말이 실행된 데이터 명령에 의한 상기 저장 결과를 장치로 전송하는 단계
를 포함하는 것을 특징으로 하는 방법.
13. The method of claim 12,
The node terminal,
A mining API terminal for receiving and processing a chain command and a data command from the device, and a data synchronization terminal for receiving and processing a chain command from the device and synchronizing the data command of the mining API terminal,
Wherein the step of storing in the block chain comprises:
Receiving the data command including the chain information and the file ID from the device, and storing the file in the block chain by executing the transmitted data command;
Storing the file in a block chain by synchronizing a data command transmitted through a port connected to the mining API terminal by the data synchronization terminal; And
Transmitting the result of the storing by the data command in which the mining API terminal is executed to the device
&Lt; / RTI &gt;
제 12항에 있어서,
상기 매핑 정보를 저장하는 단계는,
상기 저장 결과의 파일 아이디, 블록 체인에 의해 저장시 생성된 트랜잭션 아이디 및 저장 시간을 포함하는 매핑 정보를 상기 매핑 테이블에 저장하는 단계인 것을 특징으로 하는 방법.
13. The method of claim 12,
Wherein the storing the mapping information comprises:
Storing the mapping information including the file ID of the storage result, the transaction ID generated at the time of storage by the block chain, and the storage time in the mapping table.
제 12항에 있어서,
상기 매핑 정보를 저장하는 단계 이후로,
스케쥴러에 의해 설정된 조건이 만족되면, 조건이 만족된 블록 체인 및 데이터를 삭제하는 단계를 포함하는 것을 특징으로 하는 방법.
13. The method of claim 12,
After storing the mapping information,
And if the condition set by the scheduler is satisfied, deleting the block chain and data in which the condition is satisfied.
복수의 노드 단말들이 데이터를 동기화하여 저장하기 위해 형성한 블록 체인 및 상기 블록 체인의 데이터를 관리하는 장치가 데이터 파일을 조회하는 방법에 있어서,
사용자 단말로부터 조회 대상의 파일의 아이디를 입력받는 단계;
입력된 파일 아이디를 키로 하여 매핑 테이블로부터 매핑 정보를 조회하는 단계;
조회된 매핑 정보에 따라 상기 파일의 조회를 요청하는 데이터 명령을 생성하고, 상기 노드 단말로 생성된 데이터 명령을 전송하는 단계;
상기 노드 단말로부터 조회된 데이터 파일을 수신하는 단계; 및
수신된 파일을 상기 사용자 단말로 전송하는 단계
를 포함하는 방법.
CLAIMS 1. A method of querying a data file by a block chain formed by a plurality of node terminals for storing and synchronizing data and a device for managing data in the block chain,
Receiving an ID of a file to be collated from a user terminal;
Querying the mapping information from the mapping table using the input file ID as a key;
Generating a data command for requesting inquiry of the file according to the inquired mapping information, and transmitting a data command generated in the node terminal;
Receiving a queried data file from the node terminal; And
Transmitting the received file to the user terminal
&Lt; / RTI &gt;
KR1020170009285A 2017-01-19 2017-01-19 Apparatus for managing data using block chain and method thereof KR102026225B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020170009285A KR102026225B1 (en) 2017-01-19 2017-01-19 Apparatus for managing data using block chain and method thereof
PCT/KR2017/015345 WO2018135766A1 (en) 2017-01-19 2017-12-22 Device and method for managing data by using block chain
KR1020190115757A KR102475435B1 (en) 2017-01-19 2019-09-20 Apparatus for managing data using block chain and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170009285A KR102026225B1 (en) 2017-01-19 2017-01-19 Apparatus for managing data using block chain and method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190115757A Division KR102475435B1 (en) 2017-01-19 2019-09-20 Apparatus for managing data using block chain and method thereof

Publications (2)

Publication Number Publication Date
KR20180085570A true KR20180085570A (en) 2018-07-27
KR102026225B1 KR102026225B1 (en) 2019-09-27

Family

ID=62908775

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170009285A KR102026225B1 (en) 2017-01-19 2017-01-19 Apparatus for managing data using block chain and method thereof

Country Status (2)

Country Link
KR (1) KR102026225B1 (en)
WO (1) WO2018135766A1 (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102002509B1 (en) * 2019-04-04 2019-07-22 주식회사 한국정보보호경영연구소 Privite blockchain system including notarizing center and notarial method thereof
CN110288445A (en) * 2019-06-28 2019-09-27 杭州复杂美科技有限公司 Decentralization storage method, equipment and storage medium
KR102066439B1 (en) * 2018-08-14 2020-01-15 주식회사 한컴지엠디 Digital data management system and method for managing the same
KR20200013886A (en) * 2018-07-31 2020-02-10 전자부품연구원 Device for generating Hash chain and Method for generating Hash chain
KR20200019543A (en) * 2018-08-14 2020-02-24 주식회사 와이즈웨일 Information flow management System among users and method thereof
KR20200021194A (en) 2018-08-20 2020-02-28 주식회사 원더풀플랫폼 Smart contract method and system based block chain
KR102083757B1 (en) 2019-05-17 2020-03-02 김성완 Node device constituting a block-chain network and an operation method of the node device
WO2020045823A1 (en) * 2018-08-30 2020-03-05 에이치닥테크놀로지 주식회사 한국영업소 Smart contract system using virtual machine and processing method thereof
KR20200048676A (en) * 2018-10-30 2020-05-08 삼성에스디에스 주식회사 Method for managing data based on blockchain, apparatus and system for the same
KR20200048458A (en) 2018-10-30 2020-05-08 서강대학교산학협력단 Method for managing wallet address of blockchain system and processing transaction based on domain
KR20200048440A (en) * 2018-10-30 2020-05-08 삼성에스디에스 주식회사 System for providing retrieval service based on blockchain and method of the same
WO2020096109A1 (en) * 2018-11-07 2020-05-14 주식회사 디지털존 Method, server, and system for managing distribution of business plan on basis of blockchain
WO2020096072A1 (en) * 2018-11-05 2020-05-14 라인플러스 주식회사 Method and system for efficiently processing, in block-chain, high transaction throughput required by dapp
KR102089912B1 (en) * 2019-11-13 2020-05-26 주식회사 스마트엠투엠 Method and system for managing mobile devices based on private blockchain
KR20200084136A (en) * 2019-01-02 2020-07-10 주식회사 체커 System for auditing data access based on block chain and the method thereof
KR20200093484A (en) * 2020-07-20 2020-08-05 주식회사 지비시코리아 System Providing Mergers and Acquisitions Service based on Block Chain using heterogeneous virtual currency and Method for operating the same
KR20200093483A (en) * 2020-07-20 2020-08-05 주식회사 지비시코리아 System Providing Mergers and Acquisitions Service based on Block Chain using multi-chain layer and Method for operating the same
KR102145813B1 (en) * 2019-12-11 2020-08-19 주식회사 에스비이엔씨 Home Appliances Remote Control Method by Using Block Chain and Method thereof
KR20200100471A (en) * 2019-02-18 2020-08-26 아주대학교산학협력단 Blockchain Network Node and Method for Controlling Access
KR102145812B1 (en) * 2019-12-11 2020-08-28 주식회사 에스비이엔씨 Home Appliances Remote Control System by Using Block Chain and Method thereof
KR20200122723A (en) * 2019-04-18 2020-10-28 주식회사 웨이투빗 Method and device for restoring blockchain network with its credibility on backup data maintained by using delayed synchronization
KR20200122724A (en) * 2019-04-18 2020-10-28 주식회사 웨이투빗 Method and device for restoring blockchain network with its credibility on backup data maintained and minimizing resource usage by using delayed synchronization recycling nodes
KR20200125065A (en) * 2019-04-25 2020-11-04 주식회사 웨이투빗 Method and device for providing blockchain capable of optimizing storages of each node included therein
KR102198256B1 (en) * 2020-06-04 2021-01-04 주식회사 엘커넥티드 Wall-Pad and Smart Home System Including the Same
KR20210002574A (en) * 2018-09-30 2021-01-08 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Data backup methods, storage media and computing devices
KR20210013915A (en) 2019-07-29 2021-02-08 고려대학교 산학협력단 Blockchain system for transaction scheduling and method for transaction scheduling using the same
KR20210015006A (en) * 2019-07-31 2021-02-10 김태욱 System for processing financial information using blockchain platform
KR20210019771A (en) * 2019-08-13 2021-02-23 건국대학교 산학협력단 Apparatus and method for managing data using blockchain
KR20210032168A (en) 2019-09-16 2021-03-24 손종희 Apparatus and method for managing electronic receipt based on block chain
KR20210036700A (en) 2019-09-26 2021-04-05 (주)하이퍼서트 Blockchain system for supporting change of plain text data included in transaction
KR20210040624A (en) 2019-10-04 2021-04-14 주식회사 더리얼마케팅 Apparatus and method for storaging electronic receipt based on block chain
KR20210047503A (en) * 2019-10-22 2021-04-30 한국항공대학교산학협력단 Block chain data mapping method and node device using distributed file system to omit block sync process and to provide remote storage
WO2021118614A1 (en) * 2019-12-11 2021-06-17 The Bank Of New York Mellon Ring chain architecture
KR20210074938A (en) * 2019-12-12 2021-06-22 주식회사 스마트엠투엠 METHOD AND SYSTEM FOR AUTHENTICATING TOKEN FOR IoT DEVICE BASED ON PRIVATE BLOCKCHAIN
KR102544008B1 (en) * 2022-11-30 2023-06-15 주식회사 엔터프라이즈블록체인 Electronic device including aggregator manager managing a plurality of aggregators and method thereof

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102475435B1 (en) * 2017-01-19 2022-12-06 주식회사 케이티 Apparatus for managing data using block chain and method thereof
CN109347935B (en) * 2018-09-30 2021-08-03 珠海信达九州科技有限公司 Method for realizing real-time communication message synchronization based on block chain
CN109766342B (en) * 2018-12-28 2023-05-30 国云科技股份有限公司 Data storage and query method based on block chain
CN110190963B (en) * 2019-04-04 2020-09-01 阿里巴巴集团控股有限公司 Monitoring method, device and equipment for time service certificate generation request
US10979233B2 (en) 2019-04-04 2021-04-13 Advanced New Technologies Co., Ltd. Monitoring time certificate generation requests
CN110310202A (en) * 2019-05-20 2019-10-08 平安科技(深圳)有限公司 Distributed storage method, device, equipment and storage medium based on intelligent contract
CN110489486B (en) * 2019-08-02 2020-12-18 腾讯科技(深圳)有限公司 Method, seed node and medium for generating block chain network
CN110532198B (en) * 2019-09-09 2023-08-08 成都西山居互动娱乐科技有限公司 Storage space allocation method and device
CN110609839B (en) * 2019-09-17 2021-05-25 北京海益同展信息科技有限公司 Method, device and equipment for processing block chain data and readable storage medium
TWI723622B (en) * 2019-11-08 2021-04-01 許毓展 Data management method and system capable of safely accessing and deleting data
WO2021095890A1 (en) * 2019-11-11 2021-05-20 주식회사 빅스터 Security enhanced blockchain system based on data double encryption and decryption
KR102125042B1 (en) * 2019-11-12 2020-06-19 주식회사 이노티움 Node device constituting a block-chain network and an operation method of the node device
KR102274493B1 (en) * 2019-11-15 2021-07-07 주식회사 이노티움 Node device constituting a block-chain network and an operation method of the node device
CN111813866B (en) * 2020-07-30 2021-03-16 河南中盾云安信息科技有限公司 Improved block chain account book synchronization method
CN113852687B (en) * 2021-09-24 2023-12-01 成都质数斯达克科技有限公司 File transmission method between block chain nodes

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101590076B1 (en) * 2015-11-18 2016-02-01 주식회사 웨이브스트링 Method for managing personal information
KR101628005B1 (en) * 2015-02-05 2016-06-13 주식회사 코인플러그 Copyright detection system that is based on the block chain
KR101637854B1 (en) * 2015-10-16 2016-07-08 주식회사 코인플러그 Certificate issuance system and method based on block chain, certificate authentication system and method based on block chain
KR101637868B1 (en) 2016-02-22 2016-07-08 주식회사 코인플러그 Financial institution document verification system that is based on the block chain
US20170005804A1 (en) * 2015-07-02 2017-01-05 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107615317A (en) * 2015-03-31 2018-01-19 纳斯达克公司 The system and method for block chain transaction record

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101628005B1 (en) * 2015-02-05 2016-06-13 주식회사 코인플러그 Copyright detection system that is based on the block chain
US20170005804A1 (en) * 2015-07-02 2017-01-05 Nasdaq, Inc. Systems and methods of secure provenance for distributed transaction databases
KR101637854B1 (en) * 2015-10-16 2016-07-08 주식회사 코인플러그 Certificate issuance system and method based on block chain, certificate authentication system and method based on block chain
KR101590076B1 (en) * 2015-11-18 2016-02-01 주식회사 웨이브스트링 Method for managing personal information
KR101637868B1 (en) 2016-02-22 2016-07-08 주식회사 코인플러그 Financial institution document verification system that is based on the block chain

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200013886A (en) * 2018-07-31 2020-02-10 전자부품연구원 Device for generating Hash chain and Method for generating Hash chain
KR102066439B1 (en) * 2018-08-14 2020-01-15 주식회사 한컴지엠디 Digital data management system and method for managing the same
KR20200019543A (en) * 2018-08-14 2020-02-24 주식회사 와이즈웨일 Information flow management System among users and method thereof
KR20200021194A (en) 2018-08-20 2020-02-28 주식회사 원더풀플랫폼 Smart contract method and system based block chain
WO2020045823A1 (en) * 2018-08-30 2020-03-05 에이치닥테크놀로지 주식회사 한국영업소 Smart contract system using virtual machine and processing method thereof
KR20200026366A (en) * 2018-08-30 2020-03-11 에이치닥 테크놀로지 아게 Smart Contract System in a virtual environment and processing method thereof
KR20210002574A (en) * 2018-09-30 2021-01-08 텐센트 테크놀로지(센젠) 컴퍼니 리미티드 Data backup methods, storage media and computing devices
KR20200048676A (en) * 2018-10-30 2020-05-08 삼성에스디에스 주식회사 Method for managing data based on blockchain, apparatus and system for the same
KR20200048458A (en) 2018-10-30 2020-05-08 서강대학교산학협력단 Method for managing wallet address of blockchain system and processing transaction based on domain
KR20200048440A (en) * 2018-10-30 2020-05-08 삼성에스디에스 주식회사 System for providing retrieval service based on blockchain and method of the same
WO2020096072A1 (en) * 2018-11-05 2020-05-14 라인플러스 주식회사 Method and system for efficiently processing, in block-chain, high transaction throughput required by dapp
WO2020096109A1 (en) * 2018-11-07 2020-05-14 주식회사 디지털존 Method, server, and system for managing distribution of business plan on basis of blockchain
KR20200084136A (en) * 2019-01-02 2020-07-10 주식회사 체커 System for auditing data access based on block chain and the method thereof
KR20200100471A (en) * 2019-02-18 2020-08-26 아주대학교산학협력단 Blockchain Network Node and Method for Controlling Access
KR102002509B1 (en) * 2019-04-04 2019-07-22 주식회사 한국정보보호경영연구소 Privite blockchain system including notarizing center and notarial method thereof
US11436198B2 (en) 2019-04-18 2022-09-06 Metabora Co., Ltd. Method and device for restoring blockchain network with its credibility on backup data maintained by using delayed synchronization
KR20200122723A (en) * 2019-04-18 2020-10-28 주식회사 웨이투빗 Method and device for restoring blockchain network with its credibility on backup data maintained by using delayed synchronization
KR20200122724A (en) * 2019-04-18 2020-10-28 주식회사 웨이투빗 Method and device for restoring blockchain network with its credibility on backup data maintained and minimizing resource usage by using delayed synchronization recycling nodes
US11424912B2 (en) 2019-04-25 2022-08-23 Metabora Co., Ltd. Method and device for providing blockchain network capable of optimizing storages of respective nodes included therein
KR20200125065A (en) * 2019-04-25 2020-11-04 주식회사 웨이투빗 Method and device for providing blockchain capable of optimizing storages of each node included therein
KR102083757B1 (en) 2019-05-17 2020-03-02 김성완 Node device constituting a block-chain network and an operation method of the node device
CN110288445B (en) * 2019-06-28 2024-03-05 杭州复杂美科技有限公司 Decentralised storage method, device and storage medium
CN110288445A (en) * 2019-06-28 2019-09-27 杭州复杂美科技有限公司 Decentralization storage method, equipment and storage medium
KR20210013915A (en) 2019-07-29 2021-02-08 고려대학교 산학협력단 Blockchain system for transaction scheduling and method for transaction scheduling using the same
KR20210015006A (en) * 2019-07-31 2021-02-10 김태욱 System for processing financial information using blockchain platform
KR20210019771A (en) * 2019-08-13 2021-02-23 건국대학교 산학협력단 Apparatus and method for managing data using blockchain
KR20210032168A (en) 2019-09-16 2021-03-24 손종희 Apparatus and method for managing electronic receipt based on block chain
KR20210036700A (en) 2019-09-26 2021-04-05 (주)하이퍼서트 Blockchain system for supporting change of plain text data included in transaction
KR20210040624A (en) 2019-10-04 2021-04-14 주식회사 더리얼마케팅 Apparatus and method for storaging electronic receipt based on block chain
KR20210047503A (en) * 2019-10-22 2021-04-30 한국항공대학교산학협력단 Block chain data mapping method and node device using distributed file system to omit block sync process and to provide remote storage
KR102089912B1 (en) * 2019-11-13 2020-05-26 주식회사 스마트엠투엠 Method and system for managing mobile devices based on private blockchain
WO2021096001A1 (en) * 2019-11-13 2021-05-20 주식회사 스마트엠투엠 Private blockchain-based mobile device management method and system
WO2021118614A1 (en) * 2019-12-11 2021-06-17 The Bank Of New York Mellon Ring chain architecture
KR102145813B1 (en) * 2019-12-11 2020-08-19 주식회사 에스비이엔씨 Home Appliances Remote Control Method by Using Block Chain and Method thereof
US11323246B2 (en) 2019-12-11 2022-05-03 The Bank Of New York Mellon Ring chain architecture
KR102145812B1 (en) * 2019-12-11 2020-08-28 주식회사 에스비이엔씨 Home Appliances Remote Control System by Using Block Chain and Method thereof
KR20210074938A (en) * 2019-12-12 2021-06-22 주식회사 스마트엠투엠 METHOD AND SYSTEM FOR AUTHENTICATING TOKEN FOR IoT DEVICE BASED ON PRIVATE BLOCKCHAIN
KR102198256B1 (en) * 2020-06-04 2021-01-04 주식회사 엘커넥티드 Wall-Pad and Smart Home System Including the Same
KR20200093483A (en) * 2020-07-20 2020-08-05 주식회사 지비시코리아 System Providing Mergers and Acquisitions Service based on Block Chain using multi-chain layer and Method for operating the same
KR20200093484A (en) * 2020-07-20 2020-08-05 주식회사 지비시코리아 System Providing Mergers and Acquisitions Service based on Block Chain using heterogeneous virtual currency and Method for operating the same
KR102544008B1 (en) * 2022-11-30 2023-06-15 주식회사 엔터프라이즈블록체인 Electronic device including aggregator manager managing a plurality of aggregators and method thereof

Also Published As

Publication number Publication date
KR102026225B1 (en) 2019-09-27
WO2018135766A1 (en) 2018-07-26

Similar Documents

Publication Publication Date Title
KR102026225B1 (en) Apparatus for managing data using block chain and method thereof
US20220407725A1 (en) File storage method, terminal, and storage medium
US10880287B2 (en) Out of box experience application API integration
US11038891B2 (en) Decentralized identity management system
JP6900266B2 (en) Operation management method, operation management system, and operation management program
JP6774499B2 (en) Providing access to hybrid applications offline
EP3235213B1 (en) No password user account access
KR102475435B1 (en) Apparatus for managing data using block chain and method thereof
EP3350723B1 (en) Hosted file sync with stateless sync nodes
CN103595730A (en) Ciphertext cloud storage method and system
CN110235118B (en) Optimizing content storage through stubbing
CN102170440A (en) Method suitable for safely migrating data between storage clouds
JP2016527603A (en) Light installer
US11627122B2 (en) Inter-system linking method and node
US20170192764A1 (en) Automated application installation
US20170048271A1 (en) Random identifier generation for offline database
CN113312656B (en) Data rotation method, device, equipment and system
KR101638689B1 (en) System and method for providing client terminal to user customized synchronization service
US20220311595A1 (en) Reducing transaction aborts in execute-order-validate blockchain models
CN116975158B (en) Request processing method, apparatus, computer device and storage medium
US20240086559A1 (en) Permission synchronization across computing sites
KR20160025488A (en) System and method for providing client terminal to user customized synchronization service

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