KR20210050846A - System for managing data for documents based on blockchain system - Google Patents

System for managing data for documents based on blockchain system Download PDF

Info

Publication number
KR20210050846A
KR20210050846A KR1020190135365A KR20190135365A KR20210050846A KR 20210050846 A KR20210050846 A KR 20210050846A KR 1020190135365 A KR1020190135365 A KR 1020190135365A KR 20190135365 A KR20190135365 A KR 20190135365A KR 20210050846 A KR20210050846 A KR 20210050846A
Authority
KR
South Korea
Prior art keywords
document data
storage unit
document
predetermined
sub
Prior art date
Application number
KR1020190135365A
Other languages
Korean (ko)
Other versions
KR102273960B1 (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 KR1020190135365A priority Critical patent/KR102273960B1/en
Publication of KR20210050846A publication Critical patent/KR20210050846A/en
Application granted granted Critical
Publication of KR102273960B1 publication Critical patent/KR102273960B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/93Document management systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/278Data partitioning, e.g. horizontal or vertical partitioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • H04L2209/38

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Hardware Design (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Power Engineering (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a system for managing an electronic document based on a blockchain technology. More specifically, the present invention relates to a system for managing document data based on the block chain technology comprising: a plurality of main nodes participating in the main blockchain; and a storage part for storing document data, wherein the predetermined main node transfers a predetermined document data to the storage part when a transaction for the predetermined document data is made in a predetermined main node among the plurality of main nodes, and the storage part stores the received predetermined document data. Therefore, the present invention is capable of providing a system with improved reliability.

Description

블록체인 기술에 기초하여 문서 데이터를 관리하기 위한 시스템{SYSTEM FOR MANAGING DATA FOR DOCUMENTS BASED ON BLOCKCHAIN SYSTEM}System for managing document data based on blockchain technology {SYSTEM FOR MANAGING DATA FOR DOCUMENTS BASED ON BLOCKCHAIN SYSTEM}

본 발명은 블록체인 기술에 기초하여 문서 데이터를 관리하기 위한 시스템에 관한 것으로, 보다 구체적으로는 문서에 대한 위변조 위험성을 낮추어 신뢰성을 향상시키면서도 추후 문서의 파기가 용이한 문서 관리 시스템에 관한 것이다.The present invention relates to a system for managing document data based on a block chain technology, and more specifically, to a document management system that improves reliability by lowering the risk of forgery and alteration of a document, and facilitates future destruction of documents.

블록체인 기술이란, 네트워크에 참여하는 모든 사용자가 관리 대상이 되는 모든 데이터를 분산하여 저장하는 데이터 분산처리기술을 말한다. 거래 정보가 담긴 원장(原帳)을 거래 주체나 특정 기관에서 보유하는 것이 아니라 네트워크 참여자 모두가 나누어 가지는 기술이라는 점에서 '분산원장기술(DLC;distributed ledger technology)' 또는 '공공거래장부'라고도 한다. 블록체인은 거래 내용이 담긴 블록(Block)을 사슬처럼 연결(chain)한 것이라 하여 붙여진 명칭이다.Blockchain technology refers to a data distribution processing technology that distributes and stores all the data that are subject to management by all users participating in the network. It is also called'distributed ledger technology (DLC)' or'public transaction ledger' in that the ledger containing transaction information is not owned by the transaction entity or a specific institution, but is shared by all network participants. . Blockchain is a name given as a chain of blocks containing transaction details.

이러한 블록체인은 퍼블릭 블록체인(Public blockchain)과 프라이빗 블록체인(Private blockchain)으로 구분될 수 있다. 퍼블릭 블록체인은 앞에서 설명한 공공거래장부에 해당하며, 통상 블록체인이라 하면 퍼블릭 블록체인을 지칭한다. 프라이빗 블록체인은 이와 상대적 개념으로, 주로 기업에서 활용한다 하여 엔터프라이즈 블록체인(Enterprise blockchain)이라고도 한다. 여러 기업(또는 기관)이 공동으로 참여하는 컨소시엄 블록체인(Consortium blockchain)도 넓은 의미에서 프라이빗 블록체인의 범주에 속한다.These blockchains can be divided into public blockchains and private blockchains. The public blockchain corresponds to the public transaction ledger described above, and generally refers to the public blockchain when it comes to blockchain. Private blockchain is a relative concept, and is also referred to as enterprise blockchain because it is mainly used by companies. Consortium blockchain, in which several companies (or institutions) jointly participate, also belongs to the category of private blockchain in a broad sense.

누구에게나 개방되고 누구나 트랜잭션을 생성할 수 있는 퍼블릭 블록체인과 달리, 프라이빗 블록체인은 서비스 제공자(기업 또는 기관)의 승인을 받아야만 참여할 수 있고 법적 책임을 지는 기관만 트랜잭션을 생성할 수 있다. 또한 트랜잭션 내역이 모두에게 공개되어 네트워크에 참여한 모든 노드(Node)가 이를 검증하고 거래를 승인하는 퍼블릭 블록체인과는 달리, 프라이빗 블록체인에서는 승인된 기관만 트랜잭션을 검증하고 거래를 승인한다.Unlike public blockchains, which are open to anyone and allow anyone to create transactions, private blockchains can participate only with the approval of a service provider (corporate or institution), and only legally responsible organizations can create transactions. In addition, unlike the public blockchain, in which transaction details are open to all, and all nodes participating in the network verify it and approve the transaction, in the private blockchain, only authorized organizations verify the transaction and approve the transaction.

퍼블릭 블록체인은 누구나 참여할 수 있고 모든 참여자의 상호 검증을 거쳐 신뢰도가 높지만, 모든 참여자의 거래 기록을 남기고 이를 공유하느라 처리 속도가 느리다는 단점이 있다. 이에 비하여 프라이빗 블록체인은 승인 받은 노드만 참여하고, 다른 노드의 검증을 구할 필요가 없기 때문에 처리 속도가 훨씬 빠르다. 하지만 프라이빗 블록체인의 사용자는 서비스 제공자에게 전적으로 의존하여야 하기 때문에 퍼블릭 블록체인에 비하여 신뢰성에 한계가 있다.The public blockchain has a high reliability through mutual verification of all participants, but it has the disadvantage that the processing speed is slow to record and share the transaction records of all participants. In contrast, the private blockchain is much faster because only authorized nodes participate and there is no need to seek verification of other nodes. However, since the users of the private blockchain must completely rely on the service provider, the reliability is limited compared to the public blockchain.

이러한 블록체인은 다양한 산업분야에 활용될 수 있으며, 특히 위변조에 대한 신뢰성이 확보되어야 하는 분야에 가장 적합할 것이다. 사용자에 대한 인증이나 문서의 제 증명 등의 증명 업무는, 위조나 변조의 위험에 지속적으로 노출될 수밖에 없는 업무로서, 신뢰성 확보가 다른 산업 분야의 업무들 보다 시급할 것이다.Such a blockchain can be used in various industrial fields, and it will be most suitable especially for fields where reliability against forgery and alteration must be secured. Verification work such as authentication for users or verification of documents is inevitable to be continuously exposed to the risk of forgery or alteration, and securing reliability will be more urgent than work in other industries.

블록체인 기술은 기존 데이터를 삭제하거나 수정할 수 없기 때문에 완전무결에 가까운 신뢰성을 가질 수 있지만, 이로부터 초래되는 단점 역시 존재한다. 예를 들어 개인적인 정보를 담고 있는 문서들은 용도에 맞게 사용이 된 후 파기되어야 하지만, 블록체인 기술에 기반할 경우 발행된 문서의 파기가 불가능해지는 것이다. 즉, 한 번 발행된 문서는, 해당 시스템 자체를 중단시키지 않는 이상, 제3자에 의해서 언제든지 열람 가능한 상태로 유지된다는 의미이다.Blockchain technology can have near-integrity reliability because it cannot delete or modify existing data, but there are also disadvantages resulting from this. For example, documents containing personal information should be destroyed after being used for a purpose, but if it is based on blockchain technology, the destruction of issued documents becomes impossible. In other words, once issued, the document is maintained in a state that can be viewed at any time by a third party, unless the system itself is interrupted.

따라서, 블록체인 시스템에 기반하여 문서 자체의 위변조 위험으로부터 신뢰성을 향상시키되, 문서의 파기가 가능한 시스템에 대한 연구가 요구되는 실정이다.Therefore, there is a need for research on a system that can destroy documents while improving reliability from the risk of forgery and alteration of documents based on a blockchain system.

본 발명은 전술한 문제 및 다른 문제를 해결하는 것을 목적으로 한다. 또 다른 목적은 위변조 위험으로부터 신뢰성이 향상된 문서 발행 시스템을 제공하는 것을 그 목적으로 한다.It is an object of the present invention to solve the above and other problems. Another object is to provide a document issuing system with improved reliability from the risk of forgery and alteration.

또 다른 목적은 발행된 문서의 파기가 용이한 문서 발행 시스템을 제공하는 것을 그 목적으로 한다.Another object is to provide a document issuing system that facilitates destruction of published documents.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems that are not mentioned will be clearly understood by those of ordinary skill in the technical field to which the present invention belongs from the following description. I will be able to.

상기 또는 다른 목적을 달성하기 위해 본 발명의 일 측면에 따르면, 블록체인 기술에 기초하여 문서 데이터를 관리하기 위한 시스템에 있어서, 메인 블록체인에 참여하는 복수 개의 메인 노드; 및 문서 데이터를 저장하기 위한 저장부를 포함하되, 상기 복수 개의 메인 노드 중 소정 메인 노드에서 소정 문서 데이터에 대한 트랜잭션이 이루어지면, 상기 소정 메인 노드는 상기 소정 문서 데이터를 상기 저장부에 전달하며, 상기 저장부는, 상기 전달받은 소정 문서 데이터를 저장하는 것을 특징으로 하는, 문서 데이터를 관리하기 위한 시스템을 제공한다.According to an aspect of the present invention to achieve the above or other objects, there is provided a system for managing document data based on a blockchain technology, comprising: a plurality of main nodes participating in a main blockchain; And a storage unit for storing document data, wherein when a transaction for predetermined document data is made in a predetermined main node among the plurality of main nodes, the predetermined main node transfers the predetermined document data to the storage unit, and the The storage unit provides a system for managing document data, characterized in that the received predetermined document data is stored.

이때 상기 저장부는, 문서 데이터와 상기 문서 데이터를 지시하는 키값(key value)를 매칭시키는 방식으로 복수 개의 문서 데이터를 저장하며, 상기 저장부에 저장되어 있는 문서 데이터에 대한 열람 요청을 수신하면, 상기 수신된 열람 요청에 포함되어 있는 키값에 매칭되어 저장된 문서 데이터를 회신하여 줄 수 있다.At this time, the storage unit stores a plurality of document data in a manner that matches the document data with a key value indicating the document data, and when receiving a request to view the document data stored in the storage unit, the The stored document data matched to the key value included in the received view request may be returned.

상기 저장부는 상기 저장부에 저장되어 있는 문서 데이터 중 어느 하나에 대한 파기 요청이 수신되면, 상기 파기 요청된 문서 데이터에 매칭되어 저장된 키값을 삭제할 수 있다.When a request to destroy any one of the document data stored in the storage unit is received, the storage unit may delete a key value matched to the requested document data and stored.

상기 저장부는, 서브 블록체인에 참여하는 복수 개의 서브 노드를 포함하고, 상기 복수 개의 서브 노드는 복수 개의 서브 블록을 형성할 수 있다.The storage unit may include a plurality of sub-nodes participating in the sub-blockchain, and the plurality of sub-nodes may form a plurality of sub-blocks.

상기 저장부가 상기 전달 받은 소정 문서 데이터를 저장하는데 있어서, 상기 저장하고자 하는 소정 문서 데이터를 복수 개의 데이터로 쪼개고, 상기 복수 개의 서브 블록을 형성할 때, 상기 쪼개진 복수 개의 데이터를 상기 복수 개의 서브 블록에 나누어 저장할 수 있다.When the storage unit stores the received predetermined document data, when the predetermined document data to be stored is divided into a plurality of data and the plurality of sub-blocks are formed, the divided plurality of data is transferred to the plurality of sub-blocks. Can be divided and stored.

상기 소정 문서 데이터에 대한 트랜잭션은, 이메일의 송수신에 대한 트랜잭션이고, 상기 소정 문서 데이터는 상기 송수신되는 이메일의 첨부파일일 수 있다.The transaction for the predetermined document data is a transaction for transmission and reception of an e-mail, and the predetermined document data may be an attachment file of the transmitted and received e-mail.

상기 소정 문서 데이터에 대한 트랜잭션은, 전자 증명서 파일의 발급, 유통, 파기 중 적어도 하나에 대한 트랜잭션이고, 상기 소정 문서 데이터는 상기 전자 증명서 파일일 수 있다.The transaction for the predetermined document data is a transaction for at least one of issuance, distribution, and destruction of an electronic certificate file, and the predetermined document data may be the electronic certificate file.

상기 또는 다른 목적을 달성하기 위해 본 발명의 다른 측면에 따르면, 블록체인 기술에 기초하여 문서 파일을 관리하기 위하여 메인 블록체인에 참여하는 복수 개의 메인 노드 및 문서 데이터를 저장하기 위한 저장부를 포함하는 시스템의 제어 방법에 있어서, 상기 복수 개의 메인 노드 중 소정 메인 노드에서 소정 문서 데이터에 대한 트랜잭션이 이루어지면, 상기 소정 메인 노드는 상기 소정 문서 데이터를 상기 저장부에 전달하는 단계; 및 상기 저장부가 상기 전달받은 소정 문서 데이터를 저장하는 단계를 포함하는 것을 특징으로 하는, 문서 데이터를 관리하기 위한 시스템의 제어 방법을 제공한다.In order to achieve the above or other objects, according to another aspect of the present invention, a system including a storage unit for storing document data and a plurality of main nodes participating in the main blockchain to manage document files based on blockchain technology In the control method of, when a transaction for predetermined document data is made in a predetermined main node among the plurality of main nodes, the predetermined main node transmitting the predetermined document data to the storage unit; And storing the received predetermined document data by the storage unit. A method of controlling a system for managing document data is provided.

본 발명에 따른 문서 관리 시스템의 효과에 대해 설명하면 다음과 같다.The effect of the document management system according to the present invention will be described as follows.

본 발명의 실시 예들 중 적어도 하나에 의하면, 문서의 위변조 위험으로 부터 보다 신뢰성이 향상된 문서 관리 시스템을 제공할 수 있다는 장점이 있다.According to at least one of the embodiments of the present invention, there is an advantage in that it is possible to provide a document management system with improved reliability from the risk of forgery and alteration of documents.

또한, 본 발명의 실시 예들 중 적어도 하나에 의하면, 블록체인 기술을 기반으로 하더라도 발행된 문서가 용도에 맞게 사용된 이후 파기 시킬 수 있는 문서 관리 시스템을 제공할 수 있다는 장점이 있다.In addition, according to at least one of the embodiments of the present invention, even if it is based on blockchain technology, there is an advantage in that it is possible to provide a document management system capable of destroying an issued document after it is used for a purpose.

본 발명의 적용 가능성의 추가적인 범위는 이하의 상세한 설명으로부터 명백해질 것이다. 그러나 본 발명의 사상 및 범위 내에서 다양한 변경 및 수정은 당업자에게 명확하게 이해될 수 있으므로, 상세한 설명 및 본 발명의 바람직한 실시 예와 같은 특정 실시 예는 단지 예시로 주어진 것으로 이해되어야 한다.Further scope of the applicability of the present invention will become apparent from the detailed description below. However, since various changes and modifications within the spirit and scope of the present invention can be clearly understood by those skilled in the art, specific embodiments such as the detailed description and preferred embodiments of the present invention should be understood as being given by way of example only.

도 1은 본 발명의 일실시예에 따른 블록체인의 구조를 도시하는 도면이다.
도 2는 본 발명의 일실시예에 따른 메인 블록체인과 서브 블록체인의 확장 관계를 설명하는 도면이다.
도 3은 본 발명의 일실시예에 따른 문서 관리 시스템의 순서도를 도시한다.
도 4는 본 발명의 일실시예에 따른 발급된 문서를 확인하기 위한 순서를 도시하는 도면이다.
도 5는 본 발명의 일실시예에 따른 발급된 문서의 파기 절차를 도시하는 순서도이다.
도 6은 본 발명의 제2실시예에 따른 문서 관리 시스템의 순서도를 도시한다.
도 7는 본 발명의 일실시예에 따른 발급된 문서를 확인하기 위한 순서를 도시하는 도면이다.
도 8은 본 발명의 제2실시예에 따른 발급된 문서의 파기 절차를 도시하는 순서도이다.
1 is a diagram showing the structure of a block chain according to an embodiment of the present invention.
2 is a diagram illustrating an extension relationship between a main block chain and a sub block chain according to an embodiment of the present invention.
3 is a flowchart of a document management system according to an embodiment of the present invention.
4 is a diagram showing a procedure for checking an issued document according to an embodiment of the present invention.
5 is a flowchart illustrating a procedure for destroying an issued document according to an embodiment of the present invention.
6 is a flowchart of a document management system according to a second embodiment of the present invention.
7 is a diagram illustrating a procedure for confirming an issued document according to an embodiment of the present invention.
8 is a flowchart showing a procedure for destroying an issued document according to the second embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, exemplary embodiments disclosed in the present specification will be described in detail with reference to the accompanying drawings, but identical or similar elements are denoted by the same reference numerals regardless of reference numerals, and redundant descriptions thereof will be omitted. The suffixes "module" and "unit" for constituent elements used in the following description are given or used interchangeably in consideration of only the ease of writing the specification, and do not themselves have a distinct meaning or role from each other. In addition, in describing the embodiments disclosed in the present specification, when it is determined that a detailed description of related known technologies may obscure the subject matter of the embodiments disclosed in the present specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are for easy understanding of the embodiments disclosed in the present specification, and the technical idea disclosed in the present specification is not limited by the accompanying drawings, and all changes included in the spirit and scope of the present invention It should be understood to include equivalents or substitutes.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including ordinal numbers such as first and second may be used to describe various elements, but the elements are not limited by the terms. The above terms are used only for the purpose of distinguishing one component from another component.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.When a component is referred to as being "connected" or "connected" to another component, it is understood that it may be directly connected or connected to the other component, but other components may exist in the middle. It should be. On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in the middle.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. Singular expressions include plural expressions unless the context clearly indicates otherwise.

본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In this application, terms such as "comprises" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or addition of elements or numbers, steps, actions, components, parts, or combinations thereof does not preclude in advance.

블록체인 기술은, 현재 금융 시스템에서 활발하게 사용되고 있다. 이하에서, 금융 시스템에서 적용되고 있는 방식에 대하여 설명한다.Blockchain technology is currently being actively used in financial systems. Hereinafter, a method applied in the financial system will be described.

블록체인은 금융기관 등에서 모든 거래를 담보하고 관리하는 기존의 금융 시스템에서 벗어나 P2P(Peer to Peer;개인 대 개인) 거래를 지향하는, 탈(脫)중앙화를 핵심 개념으로 한다. P2P란 서버나 클라이언트 없이 개인 컴퓨터 사이를 연결하는 통신망을 말하며, 연결된 각각의 컴퓨터가 서버이자 클라이언트 역할을 하며 정보를 공유하는 방식이다.Blockchain is a core concept of decentralization, which aims for P2P (Peer to Peer) transactions, away from the existing financial system that secures and manages all transactions in financial institutions. P2P refers to a communication network that connects personal computers without a server or client, and each connected computer acts as a server and a client to share information.

기존 금융 시스템에서는 금융회사들이 중앙 서버에 거래 기록을 보관해 온 반면, P2P 방식을 기반으로 하는 블록체인에서는 거래 정보를 블록에 담아 차례대로 연결하고 이를 모든 참여자가 공유한다.In the existing financial system, financial companies have kept transaction records on a central server, whereas in a blockchain based on the P2P method, transaction information is stored in blocks and connected in sequence, which is shared by all participants.

금융 시스템에서 거래 과정(트랜잭션, transaction)에 대한 블록체인 기술의 처리는, 다음과 같이 이루어진다. ① A가 B에게 송금 희망 등의 거래 요청을 한다. ② 해당 거래 정보가 담긴 블록이 생성된다. ③ 블록이 네트워크상의 모든 참여자에게 전송되면, 참여자들은 거래 정보의 유효성을 상호 검증한다. ④ 참여자 과반수의 데이터와 일치하는 거래 내역은 정상 장부로 확인하는 방식으로 검증이 완료된 블록은 이전 블록에 연결되고, 그 사본이 만들어져 각 사용자의 컴퓨터에 분산 저장된다. ⑤ A가 B에게 송금하여 거래가 완료된다. 이때 기설정된 주기 내에(예를 들면 약 10분) 발생된 모든 트랜잭션을 하나의 블록으로 생성할 수 있다.Blockchain technology processing for the transaction process (transaction, transaction) in the financial system is performed as follows. ① A requests for a transaction, such as a request for remittance, to B. ② A block containing the transaction information is created. ③ When the block is transmitted to all participants on the network, the participants mutually verify the validity of the transaction information. ④ The transaction details that match the data of the majority of participants are checked with the normal ledger, and the verified block is linked to the previous block, and a copy is made and distributed and stored on each user's computer. ⑤ A transfers money to B and the transaction is completed. At this time, all transactions that have occurred within a preset period (for example, about 10 minutes) can be generated as one block.

이와 같은 과정에 의해서, 참여자 과반수의 데이터와 일치하는지 여부를 확인함으로서 블록의 생성 시에도 그 신뢰성을 확보할 수 있을 뿐만 아니라, 완성된 블록들의 사본을 각 컴퓨터(노드)에 개별적으로 저장하여 위변조를 실질적으로 불가능하게 한다.Through this process, by checking whether the data of the majority of participants match or not, it is possible to secure the reliability even when the block is created, as well as to prevent forgery by storing a copy of the completed blocks individually in each computer (node). Makes it practically impossible.

본 발명에서의 증명 시스템은, 위와 같이 금융 시스템에서 활용하는 거래의 증명 대신, 문서 데이터와 관련되는 다양한 동작(이하, 블록체인에 기록되는 모든 동작을 트랜잭션이라 호칭한다)에 적용하고자 하는 것이다.The proof system in the present invention is intended to be applied to various operations related to document data (hereinafter, all operations recorded in the blockchain are referred to as transactions), instead of proof of transactions used in the financial system as described above.

이하, 블록체인 관련 용어에 대하여 설명한다.Hereinafter, terms related to blockchain will be described.

· 블록(block)· Block

블록은 데이터를 저장하는 단위로, 바디(body)와 헤더(header)로 구분된다. 바디에는 거래 내용이, 헤더에는 머클해시(머클루트)나 넌스(nounce, 암호화와 관련되는 임의의 수) 등의 암호코드가 담겨 있다. 블록은 약 10분을 주기로 생성되며, 거래 기록을 끌어 모아 블록을 만들어 신뢰성을 검증하면서 이전 블록에 연결하여 블록체인 형태가 된다. 여기서 처음 시작된 블록을 제네시스 블록이라고 부른다. 즉, 제네시스 블록은 그 앞에 어떤 블록도 생성되지 않은 최초의 블록을 말한다. A block is a unit that stores data and is divided into a body and a header. The body contains the transaction details, and the header contains encryption codes such as merkle hash (merclout) and nonce (an arbitrary number related to encryption). Blocks are created every about 10 minutes, and they are connected to the previous block to form a block chain while collecting transaction records and creating blocks to verify reliability. The block that starts here is called the genesis block. In other words, the genesis block refers to the first block in which no block has been created before it.

· 노드(node)· Node

블록체인은 중앙 집중형 서버에 거래 기록을 보관, 관리하지 않고 거래에 참여하는 개개인의 서버들이 모여 네트워크를 유지 및 관리한다. 이 개개인의 서버, 즉 참여자를 노드라고 한다. 중앙 관리자가 없기 때문에 블록을 배포하는 노드의 역할이 중요하며, 참여하는 노드들 가운데 절반 이상의 동의가 있어야 새 블록이 생성된다. 노드들은 블록체인을 컴퓨터에 저장해 놓고 있는데, 일부 노드가 해킹을 당해 기존 내용이 틀어져도 다수의 노드에게 데이터가 남아 있어 계속적으로 데이터를 보존할 수 있다.Blockchain does not store and manage transaction records on a centralized server, but individual servers participating in transactions gather to maintain and manage the network. This individual server, or participant, is called a node. Since there is no central manager, the role of the node distributing blocks is important, and a new block is created only when more than half of the participating nodes agree. Nodes store the blockchain in their computers, and even if some nodes are hacked and the existing contents are changed, data remains in multiple nodes, so data can be preserved continuously.

· 해시함수· Hash function

어떤 데이터를 입력해도 같은 길이의 결과를 도출하는 함수이다. 도출되는 결과가 중복될 가능성이 낮고, 결과 값으로 입력 값을 역으로 추정하기 어렵다. 이 때문에 해시 값을 비교하면 데이터의 변경이 발생했는지 파악할 수 있다. 해시함수는 SHA(Secure Hash Algorithm)-1이 처음 고안된 후 더 발전된 형태의 SHA-2(SHA 256)가 나왔는데, 이것을 블록체인에서 사용하고 있다. SHA-2는 어떤 길이의 값을 입력해도 결과가 256비트로 도출된다.It is a function that produces a result of the same length no matter what data is entered. It is unlikely that the resulting result will be duplicated, and it is difficult to inversely estimate the input value as the result value. For this reason, by comparing the hash values, it is possible to determine whether data has been changed. As for the hash function, SHA-2 (SHA 256) in a more advanced form came out after SHA (Secure Hash Algorithm)-1 was first devised, which is being used in the blockchain. SHA-2 results in 256 bits no matter what length value is entered.

도 1은 본 발명의 일실시예에 따른 블록체인의 구조를 도시하는 도면이다. 도 2는 본 발명의 일실시예에 따른 메인 블록체인과 서브 블록체인의 확장 관계를 설명하는 도면이다.1 is a diagram showing the structure of a block chain according to an embodiment of the present invention. 2 is a diagram illustrating an extension relationship between a main block chain and a sub block chain according to an embodiment of the present invention.

본 발명의 일실시예에 따른 증명 시스템은, 적어도 두 개의 메인 노드(111-1 ~ 111-3)가 참여하는 메인 블록체인(110) 및 저장부(190)를 포함할 수 있다. 또한, 본 발명의 일실시예에 따르면, 상기 저장부(190)는 적어도 두 개의 서브 노드(121-1 ~ 121-4)가 참여하는 서브 블록체인(120)을 포함하도록 구성될 수 있다.The proof system according to an embodiment of the present invention may include a main blockchain 110 and a storage unit 190 in which at least two main nodes 111-1 to 111-3 participate. In addition, according to an embodiment of the present invention, the storage unit 190 may be configured to include a sub-blockchain 120 in which at least two sub-nodes 121-1 to 121-4 participate.

메인 블록체인(110)은 상기 메인 트랜잭션에 기초하여 기설정된 주기로 메인 블록을 형성하고, 상기 서브 블록체인(120)은 상기 서브 트랜잭션에 기초하여 기설정된 주기로 서브 블록을 형성할 수 있을 것이다. 즉, 메인 블록체인(110)과 서브 블록체인(120)간에 생성되는 블록 간에는 서로 연결되거나 검증 절차가 이루어지지 않는다.The main block chain 110 may form a main block at a preset cycle based on the main transaction, and the sub block chain 120 may form a sub block at a preset cycle based on the sub transaction. That is, blocks generated between the main blockchain 110 and the sub-blockchain 120 are not connected to each other or a verification procedure is performed.

이와 같이 블록 간에 관계는 차단되어 있는 대신, 메인 블록체인(110)과 서브 블록체인(120)은, 연결 노드에 의해서 데이터가 송수신될 수 있다. 메인 블록체인(110)에 참여하는 메인 노드(111-1 ~ 111-3) 중에서 적어도 하나는 메인 연결 노드(111-3)이고, 서브 블록체인(120)에 참여하는 서브 노드(121-1 ~ 121-4) 중에서 적어도 하나는 서브 연결 노드(121-1)이며, 메인 및 서브 연결 노드(111-3, 121-1)는, 상기 메인 및 서브 블록 체인을 서로 연결하기 위하여 구비된다.In this way, the relationship between the blocks is blocked, but the main blockchain 110 and the sub-blockchain 120 may transmit and receive data by a connection node. At least one of the main nodes 111-1 to 111-3 participating in the main blockchain 110 is the main connection node 111-3, and the sub-nodes 121-1 to participating in the sub-blockchain 120 At least one of 121-4) is a sub-connection node 121-1, and the main and sub-connection nodes 111-3 and 121-1 are provided to connect the main and sub-block chains to each other.

이때 서로 연결된다는 것은, 데이터를 주고받는 것을 의미할 수 있다. 본 발명의 일실시예에서는, 특정 조건 하에서만(특정 상황에서만) 상기 연결 노드들 간에 데이터를 주고받도록 제안한다. 예를 들어 본 발명의 일실시예에서는, 문서 데이터를 저장하거나 파기시키기 위하여 데이터를 주고받을 수 있다.In this case, being connected to each other may mean exchanging data. In one embodiment of the present invention, it is proposed to exchange data between the connection nodes only under a specific condition (only in a specific situation). For example, in an embodiment of the present invention, data may be exchanged to store or destroy document data.

이와 같이, 메인 블록체인(110)과 서브 블록체인(120)이 분리되는 이유는, 문서 관리 시스템에 대한 보안성을 향상시키기 위함이다. 블록체인 기술에 의하면 모든 트랜잭션이 공중(public)에게 공개될 수 있는데, 추후 파기되어야 하는 문서의 경우에는 문서의 내용 자체가 공중(public)에 무분별하게 공개되어서는 안되기 때문이다.In this way, the main block chain 110 and the sub block chain 120 are separated to improve security for the document management system. According to the blockchain technology, all transactions can be disclosed to the public, because in the case of documents that must be destroyed in the future, the contents of the document itself should not be indiscriminately disclosed to the public.

더 나아가, 서브 블록체인(120)은 블록체인 자체 개수의 확장이 가능하다. 도 2에 도시된 바와 같이, 하나의 메인 블록체인(110)에 복수 개의 서브 블록체인(120-1, 120-2, 120-3, ...)이 연결되어 동작할 수 있다. 이때, 메인 블록체인(110)의 메인 연결 노드(111-3)는, 복수 개의 서브 연결 노드(도 2에서의 121-1, 130-1, 130-2)들과 '1 to many' 관계로 연결될 수 있을 것이다.Furthermore, the sub-blockchain 120 can expand the number of blockchains themselves. As shown in FIG. 2, a plurality of sub-blockchains 120-1, 120-2, 120-3, ... may be connected to one main blockchain 110 to operate. At this time, the main connection node 111-3 of the main blockchain 110 is in a '1 to many' relationship with a plurality of sub-connection nodes (121-1, 130-1, 130-2 in FIG. 2). Will be able to connect.

이하에서는, 본 발명의 이러한 구조에 기초하여 문서 데이터의 저장 및 파기를 수행하는 구체적인 방법에 대해서 설명한다.Hereinafter, a specific method of storing and destroying document data based on this structure of the present invention will be described.

본 발명의 일실시예에 따른 문서 관리 시스템은, 메인 블록체인에 참여하는 복수 개의 메인 노드; 및 문서 데이터를 저장하기 위한 저장부를 포함하되, 상기 복수 개의 메인 노드 중 소정 메인 노드에서 소정 문서 데이터에 대한 트랜잭션이 생성되면, 상기 소정 메인 노드는 상기 소정 문서 데이터를 상기 저장부에 전달하며, 상기 저장부는, 상기 전달받은 소정 문서 데이터를 저장한다.Document management system according to an embodiment of the present invention, a plurality of main nodes participating in the main block chain; And a storage unit for storing document data, wherein when a transaction for predetermined document data is generated in a predetermined main node among the plurality of main nodes, the predetermined main node transmits the predetermined document data to the storage unit, and the The storage unit stores the received predetermined document data.

여기서 문서 데이터란, 전자적 형태의 문서를 이루기 위한 데이터를 의미한다. 이러한 문서 데이터는, 열람자에게 표시되기 위한 정보(표시되는 텍스트)와 관련된 텍스트 데이터 및 열람자에게 표시되지는 않지만 문서와 관련되는 메타데이터(예를 들어, 문서 생성일시 정보 또는 문서 발급주체 정보 등)를 포함할 수 있을 것이다.Here, the document data means data for forming an electronic document. Such document data includes text data related to information (displayed text) to be displayed to the viewer, and metadata related to the document (e.g., document creation date and time information or document issuer information) that is not displayed to the viewer. Could be included.

문서 데이터는 파일 형태로 저장되는 다양한 형태를 모두 포함할 수 있으며, 예를 들면 전자적 형태로 제공되는 출산 증명서, 졸업 증명서, 인턴 수료 증명서나 성적 증명서 등을 포함할 수 있으며, 그 데이터를 저장하는 포맷 역시 pdf, docx 또는 hwp 등 다양한 형태를 모두 포함할 것이다.Document data can include all of the various formats stored in the form of a file, for example, a birth certificate, graduation certificate, internship certificate or transcript provided in an electronic format, and a format for storing the data It will also include all of the various formats, such as pdf, docx or hwp.

문서 데이터에 대한 트랜잭션이란, 위와 같은 문서 데이터와 관련되는 다양한 과정이나 동작을 블록체인의 블록으로 생성하는 것을 의미한다.Transaction on document data means creating various processes or actions related to the above document data as blocks of the blockchain.

본 발명의 일실시예에 따른 문서 데이터에 대한 트랜잭션은, 첨부파일(전자적 형태의 문서)을 포함하는 이메일을 송신하는 경우, 송신된 이메일 관련 정보가 담긴 블록을 생성하는 것을 포함한다. 이때 문서 데이터는, 첨부파일에 대한 데이터를 의미할 것이다.A transaction for document data according to an embodiment of the present invention includes generating a block containing information related to the transmitted e-mail when transmitting an e-mail including an attached file (an electronic document). In this case, the document data will mean data on the attached file.

본 발명의 다른 실시예에 따른 문서 데이터에 대한 트랜잭션은, 문서 발급 관련 정보가 담긴 블록을 생성하는 것을 포함할 수 있다. 문서 발급이란, 예를 들면 문서 발급 기관(학적 증명 시스템)에 성적 증명서나 졸업 증명서 등을 요청하는 경우, 문서 발급 기관에서 이루어지는 발급 관련 일련을 과정을 의미할 것이다. 즉 이때 문서 데이터는, 발급이 완료된 전자 문서에 대한 데이터를 의미할 것이다.A transaction for document data according to another embodiment of the present invention may include generating a block containing document issuance related information. Document issuance, for example, when requesting a transcript or graduation certificate from a document issuing agency (academic certification system) will mean a series of issuance-related processes performed by the document issuing agency. That is, at this time, the document data will mean data on the electronic document that has been issued.

위와 같이 이메일을 보내거나 문서 발급에 대한 위변조 위험으로부터 신뢰성을 확보하기 위하여 블록체인의 블록으로 기록(생성)하고자 하지만, 상술한 바와 같이 이메일의 첨부문서나 발급된 증명서의 경우 추후 파기가 가능해야 할 것이다. 왜냐하면, 이러한 문서들에는 개인적인 정보들이 담겨있기 때문이다. 하지만, 문서 데이터 자체를 포함하여 블록을 생성할 경우 누구나 그 블록에 접근하여 열람할 수 있기 때문에, 그 문서에 포함되어 있는 개인적인 정보들은 보호될 수 없다.As described above, in order to secure reliability from the risk of forgery or falsification of document issuance or sending e-mail, it is intended to be recorded (created) in blocks of the block chain, but as described above, in the case of an e-mail attachment or issued certificate, it must be possible to destroy it later. will be. Because these documents contain personal information. However, if a block is created including the document data itself, since anyone can access and read the block, personal information included in the document cannot be protected.

그렇기 때문에 본 발명에서는, 메인 블록체인(110)가 문서 데이터에 대한 트랜잭션을 수행할 때, 생성되는 블록에 문서 데이터가 포함되지 않도록 제안하는 것이다.Therefore, in the present invention, when the main blockchain 110 performs a transaction on document data, it is proposed that the document data is not included in the generated block.

예를 들어, 첨부파일을 포함하는 이메일 전송에 대한 트랜잭션을 수행할 때, 메인 블록체인(110)은 전송 일시 정보, 첨부파일 유무 정보, 첨부파일명 정보, 송신인 정보, 수신인 정보, 제목 정보나 본문 정보 등 이메일 전송에 관련된 정보들이 담긴 블록을 생성할 수 있다. 하지만, 해당 블록에는 첨부파일 자체의 문서 데이터는 포함되지 않는다는 것이다.For example, when performing a transaction for sending an e-mail including an attachment, the main blockchain 110 includes information on the date of transmission, information on the presence or absence of an attachment, information on the attachment file name, information on the sender, information on the recipient, subject information, or body text. Blocks containing information related to e-mail transmission, such as information, can be created. However, the block does not contain the document data of the attachment itself.

이러한 첨부파일은 저장부(190)로 전달되어 저장부(190)에 의해 저장될 수 있다.These attached files may be transferred to the storage unit 190 and stored by the storage unit 190.

도 3은 본 발명의 일실시예에 따른 문서 관리 시스템의 순서도를 도시한다. 도 3 내지 도 5에서는 문서를 발급하는 경우를 예시로 설명하고 있으나, 이에 한정되지 않고 문서 데이터와 관련되는 다양한 트랜잭션에 본 발명이 적용 가능함은 자명할 것이다. 즉, 도 3 내지 도 5의 절차가 첨부파일을 포함한 이메일 전송에 대한 트랜잭션에도 동일하게 적용될 수 있다.3 is a flowchart of a document management system according to an embodiment of the present invention. 3 to 5 illustrate a case of issuing a document as an example, it will be apparent that the present invention is applicable to various transactions related to document data, but is not limited thereto. That is, the procedures of FIGS. 3 to 5 may be equally applied to a transaction for e-mail transmission including an attachment file.

S301 단계에서 요청인(390)은 문서 발급 서버(392)에 문서 발급 요청을 한다. 예를 들면, 대학생이 학적 증명 시스템에 자신의 성적 증명서 발급을 요청한다.In step S301, the requester 390 makes a document issuing request to the document issuing server 392. For example, a university student asks the student registration system to issue his or her transcript.

문서 발급 서버(392)는 문서 발급에 필요한 과정을 수행(S302 단계)한 후, 발급된 문서를 요청인(390)에게 회신해 줄 수 있다(S303 단계). 발급된 문서의 회신은, 발급된 문서의 파일 자체를 회신해 줄 수도 있으며, 파일을 다운로드 받을 수 있는 URL 링크를 전달한 후 요청인(390)이 해당 URL 링크를 통하여 해당 파일을 다운 받을 수 있도록 전달할 수도 있을 것이다. 요청인(390)에게 발급된 문서를 회신하는 방법은 본 발명의 내용을 한정하지 않으며, 다양한 방법으로 발급된 문서를 전달할 수 있을 것이다.The document issuing server 392 may return the issued document to the requester 390 after performing the process required for issuing the document (step S302) (step S303). In response to the issued document, the file itself of the issued document can be returned, and after the URL link to download the file is delivered, the requester 390 is delivered so that the file can be downloaded through the URL link. It might be possible. The method of returning the issued document to the requester 390 does not limit the content of the present invention, and the issued document may be delivered in various ways.

그 후, 문서 발급 서버(392)는, 메인 블록체인(110)(또는 복수 개의 메인 노드 중 하나)에 발급된 문서를 전달(S304 단계)한다. 이때 S304 단계에서 메인 블록체인(110)에서 트랜잭션을 수행하기 위한 정보 역시 함께 전달할 수 있다.After that, the document issuing server 392 delivers the issued document to the main blockchain 110 (or one of a plurality of main nodes) (step S304). At this time, information for performing a transaction in the main blockchain 110 may also be transmitted in step S304.

전달받은 정보에 기초하여 메인 블록체인(110) 문서 발급에 관한 트랜잭션을 수행(S305 단계)한다. 즉, 문서 발급에 관련된 정보(발급 요청인 정보, 발급 일시 정보나 발급 주체 정보 등)를 담은 메인 블록을 생성할 수 있다. 이때 발급된 문서의 문서 데이터 자체는, 생성된 메인 블록에 포함되지 않고 저장부(190)로 전달(S306 단계)되어, 저장부(190)에서 저장(S307 단계)될 수 있다.Based on the received information, the main blockchain 110 performs a transaction related to the document issuance (step S305). That is, a main block containing information related to document issuance (issuance requester information, issuance date and time information, issuer information, etc.) can be created. At this time, the document data of the issued document itself is not included in the generated main block, but is transferred to the storage unit 190 (step S306), and may be stored in the storage unit 190 (step S307).

S305 단계에서 문서 발급에 관한 트랜잭션이 수행되었기 때문에, 해당 문서의 발급 여부에 대해서는 위변조가 불가능할 것이다. 즉, 발급된 문서의 진위여부를 확인할 때, 메인 블록에 저장되어 있는 정보를 확인하여 해당 문서가 실질적으로 발급이 제대로 이루어졌는지 확인을 할 수 있다는 것이다. 반면 해당 메인 블록에는 문서 데이터 자체는 저장되어 있지 않는다.Since the transaction related to the issuance of the document has been performed in step S305, it will not be possible to forgery whether or not the document is issued. In other words, when checking the authenticity of an issued document, it is possible to check the information stored in the main block to confirm that the document was actually issued properly. On the other hand, the document data itself is not stored in the main block.

문서 데이터 자체는 저장하지 않는 대신, 본 발명의 일실시예에서는 메인 블록에 문서 데이터를 식별(지시)하기 위한 키값(key value)를 포함하도록 제안한다. 또한, 저장부(190)에 해당 문서 데이터가 저장될 때, 해당 키값과 매칭되는 형태로 저장될 수 있다. 추후 해당 문서 데이터를 열람하기 위함이다. 이를 위해 S306 단계에서, 문서 데이터와 함께 해당 키값을 함께 전달할 수 있을 것이다.Instead of storing the document data itself, an embodiment of the present invention proposes to include a key value for identifying (indicating) the document data in the main block. In addition, when the document data is stored in the storage unit 190, it may be stored in a form matching the corresponding key value. This is to view the document data later. To this end, in step S306, the key value may be transmitted together with the document data.

즉, 메인 블록에 저장되어 있는 키값과 저장부(190)에 키값이 삭제되지 않는 한, 발급된 문서 확인(또는 발급된 문서에 대한 트랜잭션의 위변조 확인) 시 키값을 이용하여 그 발급된 문서를 저장부(190)에서 확인 및 열람할 수 있을 것이다. 이와 같은 발급된 문서 확인/열람의 구체적인 과정에 대해서 도 4의 순서도를 참조하여 설명한다.That is, as long as the key value stored in the main block and the key value are not deleted in the storage unit 190, the issued document is stored using the key value when checking the issued document (or checking forgery of the issued document). It will be able to be checked and viewed in section 190. A detailed process of checking/reading the issued document will be described with reference to the flowchart of FIG. 4.

도 4는 본 발명의 일실시예에 따른 발급된 문서를 확인하기 위한 순서를 도시하는 도면이다.4 is a diagram showing a procedure for checking an issued document according to an embodiment of the present invention.

문서 확인 요청인(490)은 문서 확인 서버(492)에 문서 발급이 이루어진 것이 맞는지 문서 발급 확인 요청(S401 단계)을 한다. 예를 들어, 문서 발급 확인 요청은, 문서 자체에 대한 진위 확인(위변조 확인)일 수도 있고, 문서의 발급 행위(발급 요청자나 발급 일시에 대한)에 대한 진위 확인을 포함할 수도 있을 것이다. 문서 확인 서버(492)는, 도 3의 문서 발급 서버(392)와 같은 구성일 수도 있고, 별도로 구성될 수도 있을 것이다.The document confirmation requester 490 makes a document issuance confirmation request (step S401) to the document confirmation server 492 whether the document issuance is correct. For example, the request for confirmation of issuance of a document may be a verification of the authenticity of the document itself (forgery verification), or may include a verification of the authenticity of the issuance of the document (regarding the issuer or date of issuance). The document confirmation server 492 may have the same configuration as the document issuing server 392 of FIG. 3 or may be configured separately.

이어서, 문서 확인 서버(492)는 메인 블록체인(110)(또는 복수 개의 메인 노드 중 하나)에 상기 문서 발급 확인 요청을 전달(S402 단계)한다. 메인 블록체인(110)은, 해당 요청에 대응하는 메인 블록을 조회(S403 단계)한다. 즉, 해당 트랜잭션이 포함되어 있는 메인 블록을 조회하고, 그 메인 블록에 저장되어 있는 정보(문서 발급 정보)를 확인할 수 있을 것이다. 특히, 문서 발급 정보와 함께 문서 자체를 확인하기 위한 키값을 조회할 수 있다.Subsequently, the document confirmation server 492 transmits the document issuance confirmation request to the main blockchain 110 (or one of a plurality of main nodes) (step S402). The main block chain 110 inquires the main block corresponding to the request (step S403). That is, it will be possible to search the main block containing the transaction and check the information (document issuance information) stored in the main block. In particular, it is possible to inquire the key value for confirming the document itself along with the document issuance information.

메인 블록체인(110)은, 조회된 키값(450)을 기초로 상기 저장부(190)에 저장되어 있는 문서 열람을 요청(S404 단계)한다. 즉, 메인 블록 자체에는 문서 데이터가 저장되어 있지 않으므로, 저장부(190)에 저장되어 있는 문서 데이터를 확인하고자 열람을 요청하는 것이다. 이때 열람 요청에는, 열람하고자 하는 문서에 대응하는 키값(450)을 포함할 수 있다.The main blockchain 110 requests to view the document stored in the storage unit 190 based on the inquired key value 450 (step S404). That is, since document data is not stored in the main block itself, a read is requested to check the document data stored in the storage unit 190. In this case, the view request may include a key value 450 corresponding to the document to be viewed.

저장부(190)는 열람 요청에 포함되어 있는 키값(450)을 기초로, 저장되어 있는 문서 데이터를 검색(S405 단계)한다. 즉, 키값(450)에 대응되어 저장되어 있는 문서 데이터(451)를 확인(452)하는 것이다. 그리고 저장부(190)는 검색된 문서 데이터(451)를 메인 블록체인(110)에 회신(S406 단계)해 줄 수 있다.The storage unit 190 searches for stored document data based on the key value 450 included in the view request (step S405). That is, the document data 451 stored in correspondence with the key value 450 is checked (452). In addition, the storage unit 190 may return the retrieved document data 451 to the main blockchain 110 (step S406).

메인 블록체인(110)은 상기 S403 단계에서 확인한 문서 발급 정보와 함께 문서 데이터(451)를 회신(S407 단계)해 줄 수 있다. 즉, 문서 확인 요청인(490)은, 해당 문서 발급에 대한 정보 뿐만 아니라 발급된 문서의 문서 데이터까지 확인/열람 가능하며, 확인된 정보는 블록체인에 저장되어 있는 정보로서 그 신뢰성을 의심할 수 없을 것이다. 이와 같이 문서 발급에 대한 정보와 발급된 문서 데이터의 확인 시, 해당 문서 발급 여부에 대한 확인뿐만 아니라 발급된 문서 자체에 대한 위변조 여부를 명확하게 확인할 수 있을 것이다.The main blockchain 110 may return the document data 451 together with the document issuance information checked in step S403 (step S407). That is, the document confirmation requester 490 can check/read not only the information on the issuance of the document, but also the document data of the issued document, and the confirmed information is information stored in the blockchain and can doubt its reliability. There won't be. In this way, when checking the document issuance information and the issued document data, it will be possible to clearly check whether the issued document itself has been forged or altered, as well as whether or not the document has been issued.

상술한 바와 같이, 상기 문서 데이터에는 개인적인 정보가 저장되어 있을 수 있다. 따라서, 요청인(390)의 요청이나 특정 조건이 만족되면, 발급된 문서에 대한 파기 절차가 필요할 것이다. 즉, 발급된 문서는, 용도에 맞게 사용된 이후 파기되어야 할 것이다. 이를 위해서 본 발명에서는, 상기 과정 중에서 저장부(190)에 저장된 키값(450)을 삭제하는 방법을 제안한다.As described above, personal information may be stored in the document data. Therefore, if the request of the requester 390 or a specific condition is satisfied, a procedure for destroying the issued document will be required. In other words, the issued document will have to be destroyed after it is used for its purpose. To this end, the present invention proposes a method of deleting the key value 450 stored in the storage unit 190 during the above process.

상기 과정 중에서 저장부(190)에 저장되어 있는 문서 데이터(451)는, 키값(450)을 통하여 검색이 가능하였다. 만약 키값(450)이 삭제되어 있는 상태에서 도 4에서와 동일한 과정이 수행될 경우, 문서 데이터(451)는 조회되거나 열람할 수 없을 것이다. 본 발명의 일실시예에서는, 이와 같은 방법을 통하여 문서 데이터(451) 자체를 파기하지는 않지만, 실질적으로 조회나 열람할 수 없게 하여 실질적인 파기 효과를 내도록 제안하는 것이다.During the above process, the document data 451 stored in the storage unit 190 can be searched through the key value 450. If the same process as in FIG. 4 is performed while the key value 450 is deleted, the document data 451 may not be searched or viewed. In one embodiment of the present invention, although the document data 451 itself is not destroyed through such a method, it is proposed that the document data 451 is not substantially inquired or viewed, thereby producing a substantial destruction effect.

발급된 문서의 파기 절차에 대해서 이하 도 5를 참조하여 설명한다.A procedure for destroying the issued document will be described below with reference to FIG. 5.

도 5는 본 발명의 일실시예에 따른 발급된 문서의 파기 절차를 도시하는 순서도이다.5 is a flowchart illustrating a procedure for destroying an issued document according to an embodiment of the present invention.

S501 단계에서 파기 요청인(590)은 문서 파기 서버(592)에 파기 요청을 한다. 그리고 문서 파기 서버(592)는 해당 요청을 메인 블록체인(110)에 전달한다. 이때 문서 파기 서버(592)는, 문서 확인 서버(492)나 문서 발급 서버(392)와 동일한 구성일 수도 있고 개별적인 구성일 수도 있을 것이다.In step S501, the destruction requester 590 makes a request for destruction to the document destruction server 592. In addition, the document destruction server 592 transmits the request to the main blockchain 110. At this time, the document destruction server 592 may have the same configuration as the document verification server 492 or the document issuing server 392 or may be a separate configuration.

메인 블록체인(110)은 파기 요청에 해당하는 문서에 대한 키값을 메인 블록에서 조회(S503 단계)한다. 조회된 키값(550)은 문서 파기 요청(S504 단계)와 함께 저장부(190)에 전달된다. 저장부는 문서 파기 요청이 수신되면 저장되어 있는 키값(550)을 검색(552)하고, 해당되는 데이터의 키값(550) 및 문서 데이터(551) 중 적어도 하나를 삭제(S505 단계)한다.The main blockchain 110 inquires the key value for the document corresponding to the destruction request in the main block (step S503). The inquired key value 550 is transmitted to the storage unit 190 together with the document destruction request (step S504). When the request to destroy the document is received, the storage unit searches 552 for the stored key value 550 and deletes at least one of the key value 550 and the document data 551 of the corresponding data (step S505).

저장부(190)는 키값(550) 및 문서 데이터(551) 중 적어도 하나가 삭제되면, 메인 블록체인(110), 문서 파기 서버(592)를 통하여 파기 요청인(590)에게 문서 파기가 완료되었음을 회신(S506 단계)해 줄 수 있다.When at least one of the key value 550 and the document data 551 is deleted, the storage unit 190 tells the requester 590 that the document destruction is completed through the main blockchain 110 and the document destruction server 592. You can reply (step S506).

이와 같이 키값(550) 및 문서 데이터(551) 중 적어도 하나가 삭제되면, 메인 블록체인(110)에 참여하고 있는 다른 노드에서 조회를 하고자 하더라도 조회/열람이 불가능하기 때문에, 실질적으로 해당 문서가 파기된 것과 같은 효과를 낼 수 있을 것이다.When at least one of the key value 550 and the document data 551 is deleted as described above, the document is virtually destroyed even if the other node participating in the main blockchain 110 does not allow inquiries/reviews. You will be able to achieve the same effect as you did.

한편, 본 발명의 일실시예에서는 저장부(190)가 서브 블록체인(120)을 기초로 구성되도록 제안한다. 즉, 문서를 저장할 때 단순 스토리지에 저장하는 것이 아니라, 서브 노드(121-1, 121-2, ...)에 서브 블록 형태로 저장할 수 있을 것이다. 왜냐하면, 블록 형태로 저장될 경우 보다 신뢰성이 높아지기 때문이다.Meanwhile, in an embodiment of the present invention, it is proposed that the storage unit 190 is configured based on the sub-blockchain 120. That is, when storing a document, it may be stored in sub-nodes 121-1, 121-2, ... in the form of sub-blocks, rather than simply storing them in storage. This is because the reliability is higher when stored in a block form.

즉, 상기 저장부(190)는 서브 블록체인(120)에 참여하는 복수 개의 서브 노드(121-1, 121-2, ...)를 포함하고, 복수 개의 서브 노드(121-1, 121-2, ...)에서 생성하는 서브 블록에 문서 데이터를 저장할 수 있다.That is, the storage unit 190 includes a plurality of sub-nodes 121-1, 121-2, ... participating in the sub-blockchain 120, and a plurality of sub-nodes 121-1, 121- 2, ...) can store document data in the generated sub-block.

블록체인 시스템에서 블록을 생성할 때에 항상 모든 노드들로부터 검증절차를 거쳐야 한다. 따라서, 특정 노드에서의 절차가 지연될 경우, 블록체인 시스템 전체의 절차가 지연된다. 즉, 특정 노드에서 너무 큰 용량의 데이터를 블록에 저장하고자 할 경우, 블록체인 시스템 전체의 지연을 초래할 위험성이 존재한다.When creating a block in a blockchain system, it must always go through a verification procedure from all nodes. Therefore, if the procedure in a specific node is delayed, the procedure of the entire blockchain system is delayed. In other words, if a specific node tries to store too much data in a block, there is a risk of causing a delay in the entire blockchain system.

따라서, 본 발명에서는 저장하고자 하는 문서 데이터를 복수 개의 조각 데이터로 쪼개고, 복수 개의 조각 데이터를 복수 개의 서브 블록에 나누어 저장하도록 제안한다.Accordingly, in the present invention, it is proposed to divide the document data to be stored into a plurality of piece data, and to divide and store the plurality of piece data into a plurality of sub-blocks.

예를 들어, 저장하고자 하는 문서 데이터를 제 1 내지 제 3 조각 데이터로 쪼개고, 이 조각 데이터를 제 1 내지 제 3 서브 노드(121-1 내지 121-3)에서 각각 제 1 내지 제 3 서브 블록으로 저장하는 것이다.For example, the document data to be stored is divided into first to third piece data, and the piece data is divided into first to third sub-blocks in the first to third sub-nodes 121-1 to 121-3, respectively. To save.

이와 같이 나누어서 저장된다면, 어느 하나의 서브 노드에 의한 지연으로 전체 서브 블록체인(120)이 지연되는 경우가 줄어들 것이다.If it is divided and stored in this way, the case that the entire sub-blockchain 120 is delayed due to a delay by any one sub-node will be reduced.

한편, 블록체인의 기술적인 사상(컨셉) 상, 노드를 통하여 수신된 어떤 종류의 데이터 건 다른 장치로 다시 전달(반출)하는 것은 금지된다. 즉, 일반적으로 사용되는 블록체인 시스템 상에서, 시스템 상에 기설정된 쿼리에 대한 응답 외에 데이터를 전달하는 행위는 허용되지 않는다는 것이다.On the other hand, due to the technical idea (concept) of the blockchain, it is forbidden to transfer (export) any kind of data received through a node back to another device. In other words, on a commonly used blockchain system, an act of transmitting data other than a response to a pre-set query on the system is not allowed.

따라서, 이하의 실시예에서는 위와 같은 블록체인 사상에 부합될 수 있는 실시예에 대해 설명한다.Therefore, in the following embodiment, an embodiment that can conform to the above block chain idea will be described.

도 6은 본 발명의 제2실시예에 따른 문서 관리 시스템의 순서도를 도시한다. 도 6 내지 도 8에서 역시 문서를 발급하는 경우를 예시로 설명하고 있으나, 이에 한정되지 않고 문서 데이터와 관련되는 다양한 트랜잭션에 제2실시예의 적용 가능함은 자명할 것이다.6 is a flowchart of a document management system according to a second embodiment of the present invention. In FIGS. 6 to 8, a case of issuing a document is also described as an example, but it will be apparent that the second embodiment is applicable to various transactions related to document data, but is not limited thereto.

S601 단계에서 요청인(390)은 문서 발급 서버(392)에 문서 발급 요청을 한다. 예를 들면, 대학생이 학적 증명 시스템에 자신의 성적 증명서 발급을 요청한다.In step S601, the requester 390 makes a document issuing request to the document issuing server 392. For example, a university student asks the student registration system to issue his or her transcript.

문서 발급 서버(392)는 문서 발급에 필요한 과정을 수행(S602 단계)한 후, 발급된 문서를 요청인(390)에게 회신해 줄 수 있다(S603 단계). 발급된 문서의 회신은, 발급된 문서의 파일 자체를 회신해 줄 수도 있으며, 파일을 다운로드 받을 수 있는 URL 링크를 전달한 후 요청인(390)이 해당 URL 링크를 통하여 해당 파일을 다운 받을 수 있도록 전달할 수도 있을 것이다. 요청인(390)에게 발급된 문서를 회신하는 방법은 본 발명의 내용을 한정하지 않으며, 다양한 방법으로 발급된 문서를 전달할 수 있을 것이다.The document issuing server 392 may return the issued document to the requester 390 after performing the process required for issuing the document (step S602) (step S603). In response to the issued document, the file itself of the issued document can be returned, and after the URL link to download the file is delivered, the requester 390 is delivered so that the file can be downloaded through the URL link. It might be possible. The method of returning the issued document to the requester 390 does not limit the content of the present invention, and the issued document may be delivered in various ways.

그 후, 문서 발급 서버(392)는, 저장부(190)에 발급된 문서를 전달(S604 단계)한다. 이때 S604 단계에서 메인 블록체인(110)에서 트랜잭션을 수행하기 위한 정보 역시 함께 전달할 수 있다.After that, the document issuing server 392 delivers the issued document to the storage unit 190 (step S604). At this time, information for performing a transaction in the main blockchain 110 may also be delivered in step S604.

저장부(190)는, 전달받은 문서를 저장(S605)하고 수신 받은 트랜잭션 정보를 메인 블록체인(110)(또는 복수 개의 메인 노드 중 하나)에 트랜잭션 정보를 전달(S606 단계)한다. 이때 키값과 매칭되는 형태로 저장부(190)에 저장될 수 있음은 상술한 바와 같을 것이다.The storage unit 190 stores the received document (S605) and transfers the received transaction information to the main blockchain 110 (or one of a plurality of main nodes) (step S606). At this time, it will be the same as described above that it may be stored in the storage unit 190 in a form matching the key value.

S607 단계에서 메인 블록체인(110)은 전달받은 정보에 기초하여 문서 발급에 관한 트랜잭션을 수행(S607 단계)한다. 즉, 문서 발급에 관련된 정보(발급 요청인 정보, 발급 일시 정보나 발급 주체 정보 등)를 담은 메인 블록을 생성할 수 있다.In step S607, the main blockchain 110 performs a transaction related to issuing a document based on the received information (step S607). That is, a main block containing information related to document issuance (issuance requester information, issuance date and time information, issuer information, etc.) can be created.

S607 단계에서 문서 발급에 관한 트랜잭션이 수행되었기 때문에, 해당 문서의 발급 여부에 대해서는 위변조가 불가능할 것이다. 즉, 발급된 문서의 진위여부를 확인할 때, 메인 블록에 저장되어 있는 정보를 확인하여 해당 문서가 실질적으로 발급이 제대로 이루어졌는지 확인을 할 수 있다는 것이다. 반면 해당 메인 블록에는 문서 데이터 자체는 저장되어 있지 않는다(대신 저장부(190)에 저장).Since the transaction related to the issuance of the document was performed in step S607, it will not be possible to forge or alter the issuance of the document. In other words, when checking the authenticity of an issued document, it is possible to check the information stored in the main block to confirm that the document was actually issued properly. On the other hand, the document data itself is not stored in the corresponding main block (instead of stored in the storage unit 190).

문서 데이터 자체는 저장하지 않는 대신, 본 발명의 제2실시예에서도 역시 메인 블록에 문서 데이터를 식별(지시)하기 위한 키값(key value)를 포함하도록 제안한다. 저장부(190)에 해당 문서 데이터가 저장될 때, 해당 키값과 매칭되는 형태로 저장되며, 이는 추후 해당 문서 데이터를 열람하기 위함이다. 이를 위해 상술한 S606 단계에서 저장부(190)는, 대응되는 키값을 트랜잭션 정보와 함께 해당 키값을 함께 전달할 수 있을 것이다. 즉, 트랜잭션 정보에 대응되는 키값이 포함된 상태로 전달될 수 있다.Instead of storing the document data itself, the second embodiment of the present invention also proposes to include a key value for identifying (indicating) the document data in the main block. When the document data is stored in the storage unit 190, it is stored in a form matching the key value, and this is for viewing the document data later. To this end, in step S606 described above, the storage unit 190 may transmit the corresponding key value together with the transaction information. That is, the key value corresponding to the transaction information may be transmitted in a state that is included.

도 7는 본 발명의 일실시예에 따른 발급된 문서를 확인하기 위한 순서를 도시하는 도면이다.7 is a diagram illustrating a procedure for confirming an issued document according to an embodiment of the present invention.

문서 확인 요청인(490)은 문서 확인 서버(492)에 문서 발급이 이루어진 것이 맞는지 문서 발급 확인 요청(S701 단계)을 한다. 예를 들어, 문서 발급 확인 요청은, 문서 자체에 대한 진위 확인(위변조 확인)일 수도 있고, 문서의 발급 행위(발급 요청자나 발급 일시에 대한)에 대한 진위 확인을 포함할 수도 있을 것이다. 문서 확인 서버(492)는, 도 3의 문서 발급 서버(392)와 같은 구성일 수도 있고, 별도로 구성될 수도 있을 것이다.The document confirmation requester 490 makes a document issuance confirmation request (step S701) to the document confirmation server 492 whether the document issuance is correct. For example, the request for confirmation of issuance of a document may be a verification of the authenticity of the document itself (forgery verification), or may include a verification of the authenticity of the issuance of the document (regarding the issuer or date of issuance). The document confirmation server 492 may have the same configuration as the document issuing server 392 of FIG. 3 or may be configured separately.

이어서, 문서 확인 서버(492)는 메인 블록체인(110)(또는 복수 개의 메인 노드 중 하나)에 상기 문서 발급 확인 요청을 전달(S702 단계)한다. 메인 블록체인(110)은, 해당 요청에 대응하는 메인 블록을 조회(S703 단계)한다. 즉, 해당 트랜잭션이 포함되어 있는 메인 블록을 조회하고, 그 메인 블록에 저장되어 있는 정보(문서 발급 정보)를 확인할 수 있을 것이다. 특히, 문서 발급 정보와 함께 문서 자체를 확인하기 위한 키값을 조회할 수 있다.Subsequently, the document confirmation server 492 transmits the document issuance confirmation request to the main blockchain 110 (or one of a plurality of main nodes) (step S702). The main block chain 110 inquires the main block corresponding to the request (step S703). That is, it will be possible to search the main block containing the transaction and check the information (document issuance information) stored in the main block. In particular, it is possible to inquire the key value for confirming the document itself along with the document issuance information.

메인 블록체인(110)은, 조회된 문서 발급 정보 및 키값(450)을 문서 확인 서버(492)에 회신(S704 단계)해 줄 수 있다. 그리고, 저장부(190)에 회신 받은 키값(450)을 기초로 문서 열람 요청(S705 단계)할 수 있다. 즉, 문서 열람 요청 상에는 상기 메인 블록체인(110)으로부터 회신 받은 키값(450)을 포함할 수 있다.The main blockchain 110 may return the inquired document issuance information and the key value 450 to the document verification server 492 (step S704). Further, a document access request (step S705) may be made based on the key value 450 returned to the storage unit 190. That is, the key value 450 returned from the main blockchain 110 may be included in the document view request.

저장부(190)는 열람 요청에 포함되어 있는 키값(450)을 기초로, 저장되어 있는 문서 데이터를 검색(S706 단계)한다. 즉, 키값(450)에 대응되어 저장되어 있는 문서 데이터(451)를 확인(452)하는 것이다. 그리고 저장부(190)는 검색된 문서 데이터(451)를 문서 확인 서버(492)에 회신(S707 단계)해 줄 수 있다.The storage unit 190 searches for stored document data based on the key value 450 included in the view request (step S706). That is, the document data 451 stored in correspondence with the key value 450 is checked (452). In addition, the storage unit 190 may return the retrieved document data 451 to the document verification server 492 (step S707).

문서 확인 서버(492)는, S704 단계에서 회신 받은 문서 발급 정보와 함께 상기 S707 단계에서 회신 받은 문서 데이터(451)를 함께 문서 확인 요청인(490)에게 전달할 수 있다. 이에 따라 문서 확인 요청인(490)은, 해당 문서 발급에 대한 정보 뿐만 아니라 발급된 문서의 문서 데이터까지 확인/열람 가능하며, 확인된 정보는 블록체인에 저장되어 있는 정보로서 그 신뢰성을 의심할 수 없을 것이다. 이와 같이 문서 발급에 대한 정보와 발급된 문서 데이터의 확인 시, 해당 문서 발급 여부에 대한 확인뿐만 아니라 발급된 문서 자체에 대한 위변조 여부를 명확하게 확인할 수 있을 것이다.The document verification server 492 may transmit the document data 451 returned in step S707 together with the document issuance information returned in step S704 to the document verification requester 490. Accordingly, the document verification requester 490 can check/read not only the information on the issuance of the document, but also the document data of the issued document, and the verified information is information stored in the blockchain and can doubt its reliability. There won't be. In this way, when checking the document issuance information and the issued document data, it will be possible to clearly check whether the issued document itself has been forged or altered, as well as whether or not the document has been issued.

본 발명의 제2실시예에서도 마찬가지로 개인적인 정보의 보호를 위하여 발급된 문서의 파기 시, 키값(450)을 삭제하는 방식을 제안한다. 본 발명의 제2실시예에서도 마찬가지로, 이와 같은 방법을 통하여 문서 데이터(451) 자체를 파기하지는 않지만, 실질적으로 조회나 열람할 수 없게 하여 실질적인 파기 효과를 낼 수 있을 것이다.Likewise in the second embodiment of the present invention, for the protection of personal information, a method of deleting the key value 450 when the issued document is destroyed is proposed. Likewise in the second embodiment of the present invention, the document data 451 itself is not destroyed through such a method, but the document data 451 cannot be viewed or viewed substantially, thereby providing a substantial destruction effect.

발급된 문서의 파기 절차에 대해서 이하 도 8을 참조하여 설명한다.A procedure for destroying the issued document will be described below with reference to FIG. 8.

도 8은 본 발명의 제2실시예에 따른 발급된 문서의 파기 절차를 도시하는 순서도이다.8 is a flowchart showing a procedure for destroying an issued document according to the second embodiment of the present invention.

S801 단계에서 파기 요청인(590)은 문서 파기 서버(592)에 파기 요청을 한다. 그리고 문서 파기 서버(592)는 해당 요청을 메인 블록체인(110)에 전달한다. 이때 문서 파기 서버(592)는, 문서 확인 서버(492)나 문서 발급 서버(392)와 동일한 구성일 수도 있고 개별적인 구성일 수도 있을 것이다.In step S801, the destruction requester 590 makes a request for destruction to the document destruction server 592. In addition, the document destruction server 592 transmits the request to the main blockchain 110. At this time, the document destruction server 592 may have the same configuration as the document verification server 492 or the document issuing server 392 or may be a separate configuration.

메인 블록체인(110)은 파기 요청에 해당하는 문서에 대한 키값을 메인 블록에서 조회(S803 단계)한다. 조회된 키값(550)은 파기 서버(592)에 회신(S804 단계)된다.The main blockchain 110 inquires the key value for the document corresponding to the destruction request in the main block (step S803). The inquired key value 550 is returned to the destruction server 592 (step S804).

문서 파기 서버(592)는, 저장부(190)에게 파기 요청(S805 단계)하면서 전달 받은 키값(550)을 함께 전달한다. 즉 파기 요청에는 파기하고자 하는 문서에 대응하는 키값(550)이 포함되어 있을 것이다.The document destruction server 592 transmits the key value 550 received while requesting destruction to the storage unit 190 (step S805). That is, in the request for destruction, the key value 550 corresponding to the document to be destroyed will be included.

저장부는 문서 파기 요청이 수신되면 저장되어 있는 키값(550)을 검색(552)하고, 해당 키값(550) 및 문서 데이터(551) 중 적어도 하나를 삭제(S806 단계)한다.When the request to destroy the document is received, the storage unit searches 552 for the stored key value 550 and deletes at least one of the key value 550 and the document data 551 (step S806).

저장부(190)는 키값(550) 및 문서 데이터(551) 중 적어도 하나가 삭제되면, 저장부(190), 문서 파기 서버(592)를 통하여 파기 요청인(590)에게 문서 파기가 완료되었음을 회신(S807 단계)해 줄 수 있다.When at least one of the key value 550 and the document data 551 is deleted, the storage unit 190 returns to the requester 590 that the document destruction is completed through the storage unit 190 and the document destruction server 592 (Step S807) You can do it.

이와 같이 키값(550) 및 문서 데이터(551) 중 적어도 하나가 삭제되면, 메인 블록체인(110)에 참여하고 있는 다른 노드에서 조회를 하고자 하더라도 조회/열람이 불가능하기 때문에, 실질적으로 해당 문서가 파기된 것과 같은 효과를 낼 수 있을 것이다.When at least one of the key value 550 and the document data 551 is deleted as described above, the document is virtually destroyed even if the other node participating in the main blockchain 110 does not allow inquiries/views. You will be able to achieve the same effect as you did.

이상으로 본 발명에 따른 문서 관리 시스템의 실시예를 설시하였으나 이는 적어도 하나의 실시예로서 설명되는 것이며, 이에 의하여 본 발명의 기술적 사상과 그 구성 및 작용이 제한되지는 아니하는 것으로, 본 발명의 기술적 사상의 범위가 도면 또는 도면을 참조한 설명에 의해 한정/제한되지는 아니하는 것이다. 또한 본 발명에서 제시된 발명의 개념과 실시예가 본 발명의 동일 목적을 수행하기 위하여 다른 구조로 수정하거나 설계하기 위한 기초로써 본 발명이 속하는 기술분야의 통상의 지식을 가진 자에 의해 사용되어질 수 있을 것인데, 본 발명이 속하는 기술분야의 통상의 지식을 가진 자에 의한 수정 또는 변경된 등가 구조는 청구범위에서 기술되는 본 발명의 기술적 범위에 구속되는 것으로서, 청구범위에서 기술한 발명의 사상이나 범위를 벗어나지 않는 한도 내에서 다양한 변화, 치환 및 변경이 가능한 것이다.The embodiments of the document management system according to the present invention have been described above, but this is described as at least one embodiment, and the technical idea of the present invention and its configuration and operation are not limited thereto. The scope of the idea is not limited/limited by the drawings or the description referring to the drawings. In addition, the concepts and embodiments of the invention presented in the present invention may be used by those of ordinary skill in the art as a basis for modifying or designing a different structure in order to perform the same object of the present invention. , Modified or changed equivalent structure by a person of ordinary skill in the technical field to which the present invention belongs is bound by the technical scope of the present invention described in the claims, and does not depart from the spirit or scope of the invention described in the claims. Various changes, substitutions and changes are possible within the limit.

Claims (19)

블록체인 기술에 기초하여 문서 데이터를 관리하기 위한 시스템에 있어서,
메인 블록체인에 참여하는 복수 개의 메인 노드; 및
문서 데이터를 저장하기 위한 저장부를 포함하되,
상기 복수 개의 메인 노드 중 소정 메인 노드에서 소정 문서 데이터에 대한 트랜잭션이 이루어지면, 상기 소정 메인 노드는 상기 소정 문서 데이터를 상기 저장부에 전달하며,
상기 저장부는, 상기 전달받은 소정 문서 데이터를 저장하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
In a system for managing document data based on blockchain technology,
A plurality of main nodes participating in the main blockchain; And
Including a storage unit for storing document data,
When a transaction for predetermined document data is made in a predetermined main node among the plurality of main nodes, the predetermined main node transfers the predetermined document data to the storage unit,
The storage unit, characterized in that to store the received predetermined document data,
A system for managing document data.
제 1 항에 있어서,
상기 저장부는,
문서 데이터와 상기 문서 데이터를 지시하는 키값(key value)를 매칭시키는 방식으로 복수 개의 문서 데이터를 저장하며,
상기 저장부에 저장되어 있는 문서 데이터에 대한 열람 요청을 수신하면, 상기 수신된 열람 요청에 포함되어 있는 키값에 매칭되어 저장된 문서 데이터를 회신하여 주는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 1,
The storage unit,
Stores a plurality of document data in a manner that matches the document data with a key value indicating the document data,
Receiving a request to view the document data stored in the storage unit, characterized in that to return the stored document data matched with the key value included in the received view request,
A system for managing document data.
제 2 항에 있어서,
상기 저장부는 상기 저장부에 저장되어 있는 문서 데이터 중 어느 하나에 대한 파기 요청이 수신되면, 상기 파기 요청된 문서 데이터에 매칭되어 저장된 키값 및 문서 데이터 중 적어도 하나를 삭제하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 2,
The storage unit, when a request for destruction of any one of the document data stored in the storage unit is received, deletes at least one of a key value and document data stored in matching with the requested document data,
A system for managing document data.
제 1 항에 있어서, 상기 저장부는,
서브 블록체인에 참여하는 복수 개의 서브 노드를 포함하고,
상기 복수 개의 서브 노드는 복수 개의 서브 블록을 형성하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 1, wherein the storage unit,
Including a plurality of sub-nodes participating in the sub-blockchain,
The plurality of sub-nodes, characterized in that to form a plurality of sub-blocks,
A system for managing document data.
제 4 항에 있어서,
상기 저장부가 상기 전달 받은 소정 문서 데이터를 저장하는데 있어서,
상기 저장하고자 하는 소정 문서 데이터를 복수 개의 데이터로 쪼개고,
상기 복수 개의 서브 블록을 형성할 때, 상기 쪼개진 복수 개의 데이터를 상기 복수 개의 서브 블록에 나누어 저장하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 4,
In the storage unit to store the received predetermined document data,
Splitting the predetermined document data to be stored into a plurality of data,
When forming the plurality of sub-blocks, characterized in that the divided plurality of data is divided and stored in the plurality of sub-blocks,
A system for managing document data.
제 1 항에 있어서,
상기 소정 문서 데이터에 대한 트랜잭션은,
이메일의 송수신에 대한 트랜잭션이고,
상기 소정 문서 데이터는 상기 송수신되는 이메일의 첨부파일인 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 1,
The transaction for the predetermined document data,
It is a transaction for sending and receiving emails,
The predetermined document data is characterized in that the attachment of the transmitted and received e-mail,
A system for managing document data.
제 1 항에 있어서,
상기 소정 문서 데이터에 대한 트랜잭션은,
전자 증명서 파일의 발급, 유통, 파기 중 적어도 하나에 대한 트랜잭션이고,
상기 소정 문서 데이터는 상기 전자 증명서 파일인 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 1,
The transaction for the predetermined document data,
It is a transaction for at least one of issuance, distribution, and destruction of an electronic certificate file,
Wherein the predetermined document data is the electronic certificate file,
A system for managing document data.
블록체인 기술에 기초하여 문서 파일을 관리하기 위하여 메인 블록체인에 참여하는 복수 개의 메인 노드 및 문서 데이터를 저장하기 위한 저장부를 포함하는 시스템의 제어 방법에 있어서,
상기 복수 개의 메인 노드 중 소정 메인 노드에서 소정 문서 데이터에 대한 트랜잭션이 이루어지면, 상기 소정 메인 노드는 상기 소정 문서 데이터를 상기 저장부에 전달하는 단계; 및
상기 저장부가 상기 전달받은 소정 문서 데이터를 저장하는 단계를 포함하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
In the control method of a system including a storage unit for storing document data and a plurality of main nodes participating in the main blockchain to manage document files based on blockchain technology,
Transmitting, by the predetermined main node, the predetermined document data to the storage unit when a transaction for predetermined document data is made in a predetermined main node among the plurality of main nodes; And
And storing the received predetermined document data by the storage unit,
A control method of a system for managing document data.
제 8 항에 있어서,
상기 저장하는 단계는,
문서 데이터와 상기 문서 데이터를 지시하는 키값(key value)를 매칭시키는 방식으로 복수 개의 문서 데이터를 저장하며,
상기 저장부에 저장되어 있는 문서 데이터에 대한 열람 요청을 수신하면, 상기 수신된 열람 요청에 포함되어 있는 키값에 매칭되어 저장된 문서 데이터를 회신하는 단계를 더 포함하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 8,
The storing step,
Stores a plurality of document data in a manner that matches the document data with a key value indicating the document data,
Receiving a view request for the document data stored in the storage unit, further comprising the step of returning the stored document data matched with the key value included in the received view request,
A control method of a system for managing document data.
제 9 항에 있어서,
상기 저장부에 저장되어 있는 문서 데이터 중 어느 하나에 대한 파기 요청이 수신되면, 상기 저장부가 상기 파기 요청된 문서 데이터에 매칭되어 저장된 키값 및 문서 데이터 중 적어도 하나를 삭제하는 단계를 더 포함하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 9,
When a request for destruction of any one of the document data stored in the storage unit is received, the storage unit deletes at least one of the key value and document data stored by matching the document data requested for destruction. Made by,
A control method of a system for managing document data.
제 8 항에 있어서,
상기 저장부는, 서브 블록체인에 참여하는 복수 개의 서브 노드를 포함하고,
상기 저장하는 단계는 상기 복수 개의 서브 노드는 복수 개의 서브 블록을 형성하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 8,
The storage unit includes a plurality of sub-nodes participating in the sub-blockchain,
The storing step is characterized in that the plurality of sub-nodes form a plurality of sub-blocks,
A control method of a system for managing document data.
제 11 항에 있어서,
상기 저장부가 상기 전달받은 소정 문서 데이터를 저장하는 단계에 있어서,
상기 저장하고자 하는 소정 문서 데이터를 복수 개의 데이터로 쪼개는 단계; 및
상기 복수 개의 서브 블록을 형성할 때, 상기 쪼개진 복수 개의 데이터를 상기 복수 개의 서브 블록에 나누어 저장하는 단계를 포함하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 11,
In the step of storing the received predetermined document data by the storage unit,
Dividing the predetermined document data to be stored into a plurality of data; And
When forming the plurality of sub-blocks, it characterized in that it comprises the step of storing the divided plurality of data divided into the plurality of sub-blocks,
A control method of a system for managing document data.
제 8 항에 있어서,
상기 소정 문서 데이터에 대한 트랜잭션은,
이메일의 송수신에 대한 트랜잭션이고,
상기 소정 문서 데이터는 상기 송수신되는 이메일의 첨부파일인 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 8,
The transaction for the predetermined document data,
It is a transaction for sending and receiving emails,
The predetermined document data is characterized in that the attachment of the transmitted and received e-mail,
A control method of a system for managing document data.
제 8 항에 있어서,
상기 소정 문서 데이터에 대한 트랜잭션은,
전자 증명서 파일의 발급, 유통, 파기 중 적어도 하나에 대한 트랜잭션이고,
상기 소정 문서 데이터는 상기 전자 증명서 파일인 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템의 제어 방법.
The method of claim 8,
The transaction for the predetermined document data,
It is a transaction for at least one of issuance, distribution, and destruction of an electronic certificate file,
Wherein the predetermined document data is the electronic certificate file,
A control method of a system for managing document data.
블록체인 기술에 기초하여 문서 데이터를 관리하기 위한 시스템에 있어서,
메인 블록체인에 참여하는 복수 개의 메인 노드; 및
문서 데이터를 저장하기 위한 저장부를 포함하되,
상기 저장부는 상기 메인 블록체인 상에서 수행될 소정 문서 데이터에 대한 트랜잭션에 관한 정보를 수신 받으면, 상기 소정 문서 데이터를 저장하고 상기 트랜잭션에 관한 정보는 상기 메인 블록체인에 전달하며,
상기 복수 개의 메인 노드 중 소정 메인 노드는, 상기 전달받은 트랜잭션에 관한 정보에 기초하여 트랜잭션을 수행하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
In a system for managing document data based on blockchain technology,
A plurality of main nodes participating in the main blockchain; And
Including a storage unit for storing document data,
When the storage unit receives information on a transaction for predetermined document data to be performed on the main blockchain, it stores the predetermined document data and transmits the information on the transaction to the main blockchain,
A predetermined main node among the plurality of main nodes is characterized in that to perform a transaction based on the information on the received transaction,
A system for managing document data.
제 15 항에 있어서,
상기 저장부는,
문서 데이터와 상기 문서 데이터를 지시하는 키값(key value)를 매칭시키는 방식으로 복수 개의 문서 데이터를 저장하며,
상기 저장부에 저장되어 있는 문서 데이터에 대한 열람 요청을 수신하면, 상기 수신된 열람 요청에 포함되어 있는 키값에 매칭되어 저장된 문서 데이터를 회신하여 주는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 15,
The storage unit,
Stores a plurality of document data in a manner that matches the document data with a key value indicating the document data,
Receiving a request to view the document data stored in the storage unit, characterized in that to return the stored document data matched with the key value included in the received view request,
A system for managing document data.
제 16 항에 있어서,
상기 저장부는 상기 저장부에 저장되어 있는 문서 데이터 중 어느 하나에 대한 파기 요청이 수신되면, 상기 파기 요청된 문서 데이터에 매칭되어 저장된 키값을 삭제하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 16,
The storage unit, when a request for destruction of any one of the document data stored in the storage unit is received, deletes a key value matched with the requested document data and stored,
A system for managing document data.
제 15 항에 있어서, 상기 저장부는,
서브 블록체인에 참여하는 복수 개의 서브 노드를 포함하고,
상기 복수 개의 서브 노드는 복수 개의 서브 블록을 형성하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 15, wherein the storage unit,
Including a plurality of sub-nodes participating in the sub-blockchain,
The plurality of sub-nodes, characterized in that to form a plurality of sub-blocks,
A system for managing document data.
제 18 항에 있어서,
상기 저장부가 상기 전달 받은 소정 문서 데이터를 저장하는데 있어서,
상기 저장하고자 하는 소정 문서 데이터를 복수 개의 데이터로 쪼개고,
상기 복수 개의 서브 블록을 형성할 때, 상기 쪼개진 복수 개의 데이터를 상기 복수 개의 서브 블록에 나누어 저장하는 것을 특징으로 하는,
문서 데이터를 관리하기 위한 시스템.
The method of claim 18,
In the storage unit to store the received predetermined document data,
Splitting the predetermined document data to be stored into a plurality of data,
When forming the plurality of sub-blocks, characterized in that the divided plurality of data is divided and stored in the plurality of sub-blocks,
A system for managing document data.
KR1020190135365A 2019-10-29 2019-10-29 System for managing data for documents based on blockchain system KR102273960B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190135365A KR102273960B1 (en) 2019-10-29 2019-10-29 System for managing data for documents based on blockchain system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190135365A KR102273960B1 (en) 2019-10-29 2019-10-29 System for managing data for documents based on blockchain system

Publications (2)

Publication Number Publication Date
KR20210050846A true KR20210050846A (en) 2021-05-10
KR102273960B1 KR102273960B1 (en) 2021-07-08

Family

ID=75917223

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190135365A KR102273960B1 (en) 2019-10-29 2019-10-29 System for managing data for documents based on blockchain system

Country Status (1)

Country Link
KR (1) KR102273960B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102523014B1 (en) * 2022-12-29 2023-04-18 주식회사 웨이브릴 Online transaction document management method and device, system using artificial intelligence and blockchain

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190105955A (en) * 2018-03-07 2019-09-18 주식회사 한글과컴퓨터 Apparatus for managing electronic document using blockchain and operating method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190105955A (en) * 2018-03-07 2019-09-18 주식회사 한글과컴퓨터 Apparatus for managing electronic document using blockchain and operating method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102523014B1 (en) * 2022-12-29 2023-04-18 주식회사 웨이브릴 Online transaction document management method and device, system using artificial intelligence and blockchain

Also Published As

Publication number Publication date
KR102273960B1 (en) 2021-07-08

Similar Documents

Publication Publication Date Title
KR102166233B1 (en) Certificate issuance system based on blockchain technology and control method thereof
KR102147083B1 (en) Certificate verification system based on blockchain technology and control method thereof
JP7241216B2 (en) Computer-implemented method and system for validating tokens for blockchain-based cryptocurrencies
US10942994B2 (en) Multicomputer processing for data authentication using a blockchain approach
US10846416B2 (en) Method for managing document on basis of blockchain by using UTXO-based protocol, and document management server using same
US11159537B2 (en) Multicomputer processing for data authentication and event execution using a blockchain approach
KR101882805B1 (en) Method for blockchain based management of documents in use of merkle tree structure on the basis of unspent transaction output protocol and document management server using the same
CN109845220A (en) For providing the method and apparatus of block chain participant's identity binding
Baird et al. Hedera: A governing council & public hashgraph network
US20080005024A1 (en) Document authentication system
WO2018043599A1 (en) Information sharing system
KR102137115B1 (en) System and method for certificate easily submission service support
JP7114078B2 (en) Electronic authentication method and program
Galiev et al. Archain: A novel blockchain based archival system
KR102079354B1 (en) User authentication system based on blockchain technology and control method thereof
US11232234B2 (en) Method for sharing and verifying blocks and electronic documents between nodes in blockchain
KR102220599B1 (en) Blockchain system for combined authentication and control method thereof
Purba et al. Application of Blockchain technology to prevent the potential of plagiarism in scientific publication
KR102147085B1 (en) Online document managing system based on blockchain technology capable of destroying the online document and control method thereof
Yang et al. An electronic medical record management system based on smart contracts
KR20240038669A (en) System and method for managing rdbms-based distributed ledger
KR102273960B1 (en) System for managing data for documents based on blockchain system
KR102240540B1 (en) Email transceive system based on blockchain system for high reliability document distribution
KR102525795B1 (en) Did-based document management server, system, and control method thereof
KR20220120142A (en) Methods and systems for performing notarization of electronic documents based on blockchain distributed ledger

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right