KR102342542B1 - Apparatus and method for verifying a document by using blockchain - Google Patents

Apparatus and method for verifying a document by using blockchain Download PDF

Info

Publication number
KR102342542B1
KR102342542B1 KR1020200070401A KR20200070401A KR102342542B1 KR 102342542 B1 KR102342542 B1 KR 102342542B1 KR 1020200070401 A KR1020200070401 A KR 1020200070401A KR 20200070401 A KR20200070401 A KR 20200070401A KR 102342542 B1 KR102342542 B1 KR 102342542B1
Authority
KR
South Korea
Prior art keywords
document
electronic document
electronic
hash value
output
Prior art date
Application number
KR1020200070401A
Other languages
Korean (ko)
Other versions
KR20210153408A (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 KR1020200070401A priority Critical patent/KR102342542B1/en
Publication of KR20210153408A publication Critical patent/KR20210153408A/en
Application granted granted Critical
Publication of KR102342542B1 publication Critical patent/KR102342542B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • 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/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • 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

Abstract

본 발명은 블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치에 관한 것이다. 본 발명의 문서를 검증하기 위한 방법은 문서를 검증하기 위한 방법은 적어도 하나의 사용자의 요청에 따라 작성된 전자문서를 전처리하여 정규화 전자문서로 변환하는 단계, 변환된 정규화 전자문서를 기초로 문서 해시값을 생성하는 단계, 및 문서 해시값을 블록체인으로 전송하는 단계를 포함하여, 전자문서의 원본이 훼손되거나 유실되더라도 출력된 문서의 해시값을 기초로, 전자문서와 출력 문서의 동일성 여부를 용이하게 판단하고 출력 문서의 변조 또는 진위 여부를 용이하게 검증할 수 있다.The present invention relates to a method and apparatus for verifying a document using a blockchain. The method for verifying a document of the present invention includes the steps of pre-processing an electronic document created at the request of at least one user and converting it into a normalized electronic document, a document hash value based on the converted normalized electronic document Even if the original of the electronic document is damaged or lost, including the steps of generating a It is possible to judge and easily verify whether the output document is falsified or authentic.

Description

블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치{APPARATUS AND METHOD FOR VERIFYING A DOCUMENT BY USING BLOCKCHAIN}Method and device for verifying documents using blockchain

본 발명은 블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치에 관한 것으로, 보다 상세하게는 출력 문서를 전처리하고 블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치에 관한 것이다.The present invention relates to a method and apparatus for verifying a document using a block chain, and more particularly, to a method and apparatus for preprocessing an output document and verifying a document using a block chain.

통신 기술과 다양한 어플리케이션이 발달함에 따라, 다양한 종류의 전자문서를 작성해주는 서비스가 개발되고 있다. 구체적으로, 계약서와 같이 당사자들이 만나서 직접 작성해야 하는 문서도 온라인 상에서 작성되어 저장될 수 있다. 그러나, 계약서와 같은 전자문서들은 계약 당사자간에 민감한 사항들을 많이 포함하고 있어서, 계약서 상의 내용들이 정확하게 기재되었는지, 계약서가 원본인지 사본인지, 또는 계약서의 진위여부 등이 매우 중요하다.As communication technology and various applications develop, services for creating various types of electronic documents are being developed. Specifically, documents such as a contract that the parties have to meet and fill out in person may also be created and stored online. However, since electronic documents such as contracts contain a lot of sensitive matters between the contracting parties, it is very important whether the contents of the contract are accurately described, whether the contract is an original or a copy, or the authenticity of the contract.

최근 블록체인 기술이 발달함에 따라 다양한 분야에서 널리 개발되고 사용되고 있다. 특히, 블록체인은 해킹이 극히 어려운 장점을 바탕으로, 높은 신뢰도와 안정성을 필요로 하는 금융 서비스나 개인의 민감한 정보를 주고받는 것과 같이 사적인 재산에 대한 정보 교환 및 저장을 위한 기술로 각광받고 있다. 이에, 블록체인 기술은 사적이고 민감한 내용을 포함하고 있는 전자문서를 교환하고 저장하는 데에도 사용될 수 있다.With the recent development of blockchain technology, it has been widely developed and used in various fields. In particular, based on the advantage of being extremely difficult to hack, block chain is in the spotlight as a technology for exchanging and storing information about private property, such as financial services that require high reliability and stability or exchanging personal sensitive information. Accordingly, blockchain technology can also be used to exchange and store electronic documents containing private and sensitive content.

그러나, 블록체인에 전자문서를 저장하는 경우, 블록체인에 연결된 모든 사람이 전자문서의 내용을 모두 볼 수 있으므로, 사적이고 민감한 내용을 포함하고 있는 전자문서를 그대로 블록체인에 저장할 수는 없다. 이에, 전자문서를 블록체인에 저장하기 위해서는 전자문서를 간단하게 암호화하여 저장해야 한다. However, when an electronic document is stored in the block chain, anyone connected to the block chain can see all the contents of the electronic document, so it is impossible to store the electronic document containing private and sensitive contents in the block chain as it is. Therefore, in order to store the electronic document in the block chain, it is necessary to simply encrypt the electronic document and store it.

한편, 일부 특별한 상황에서는 작성된 전자문서에 오류가 발생하여 전자문서 파일이 훼손되거나 전자문서를 저장한 데이터베이스나 서버에 문제가 발생하여 전자문서가 유실되거나 해킹 등에 의해 변조될 수 있다. 또는, 전자문서 서비스를 제공하는 사업자가 서비스를 종료하는 등 전자문서를 더 이상 관리하지 못하는 경우 전자문서의 존재와 신뢰성에 문제가 발생할 수 있다.On the other hand, in some special circumstances, an error occurs in the created electronic document, and the electronic document file is damaged, or a problem occurs in the database or server that stores the electronic document, and the electronic document may be lost or altered by hacking. Alternatively, when a service provider providing an electronic document service can no longer manage the electronic document, such as terminating the service, a problem may occur in the existence and reliability of the electronic document.

이러한 경우, 블록체인에 저장된 암호화된 전자문서가 개인이나 전자문서를 저장하고 있는 서버가 갖고 있는 전자문서와 동일한 문서인지를 검증하거나, 전자문서의 내용이 변경되지 않았음을 확인하는 전자문서의 유효성을 입증하기 위해서는 블록체인에 저장된 암호화된 전자문서와 비교가 필요하다. 그러나, 암호화된 전자문서와 훼손, 유실 또는 변조된 전자문서의 동일성이나 유효성을 입증하는 것이 매우 어렵다는 문제점이 존재한다. In this case, the validity of the electronic document to verify that the encrypted electronic document stored in the block chain is the same as the electronic document owned by the individual or the server storing the electronic document, or to confirm that the contents of the electronic document have not been changed In order to prove it, it is necessary to compare it with an encrypted electronic document stored in the block chain. However, there is a problem in that it is very difficult to prove the identity or validity of the encrypted electronic document and the damaged, lost or altered electronic document.

따라서, 상술한 문제점을 해결하기 위한 기술이 필요하게 되었다.Accordingly, there is a need for a technique for solving the above-described problems.

한편, 전술한 배경기술은 발명자가 본 발명의 도출을 위해 보유하고 있었거나, 본 발명의 도출 과정에서 습득한 기술 정보로서, 반드시 본 발명의 출원 전에 일반 공중에게 공개된 공지기술이라 할 수는 없다.On the other hand, the above-mentioned background art is technical information that the inventor possessed for the purpose of derivation of the present invention or acquired during the derivation process of the present invention, and it cannot be said that it is necessarily known technology disclosed to the general public before the filing of the present invention. .

한국공개특허 제10-2010-0074160호 (2010.07.01)Korea Patent Publication No. 10-2010-0074160 (2010.07.01)

본 발명이 해결하고자 하는 과제는 전자문서의 텍스트만을 기반으로 하는 전처리 과정을 통해 블록체인에 저장할 해시값을 용이하게 암호화할 수 있는, 블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치를 제공하는 것이다.The problem to be solved by the present invention is to provide a method and apparatus for verifying a document using a block chain that can easily encrypt a hash value to be stored in a block chain through a pre-processing process based only on the text of an electronic document will be.

또한, 본 발명이 해결하고자 하는 다른 과제는 전자문서의 원본이 훼손되거나 유실되더라도 출력된 문서로부터 도출된 해시값을 기초로, 전자문서와 출력 문서의 동일성 여부를 용이하게 판단하고 출력 문서의 변조 또는 진위 여부를 용이하게 검증할 수 있는, 블록체인을 사용하여 문서를 검증하기 위한 방법 및 장치를 제공하는 것이다.In addition, another problem to be solved by the present invention is that even if the original of the electronic document is damaged or lost, based on the hash value derived from the output document, it is easy to determine whether the electronic document and the output document are the same, and falsification or It is to provide a method and apparatus for verifying a document using a blockchain, which can be easily verified for authenticity.

본 발명의 과제들은 이상에서 언급한 과제들로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당업자에게 명확하게 이해될 수 있을 것이다.The problems of the present invention are not limited to the problems mentioned above, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

전술한 바와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법은 적어도 하나의 사용자의 요청에 따라 작성된 전자문서를 전처리하여 정규화 전자문서로 변환하는 단계, 변환된 정규화 전자문서를 기초로 문서 해시값을 생성하는 단계, 및 문서 해시값을 블록체인으로 전송하는 단계를 포함한다.In order to solve the above problems, a method for verifying a document according to an embodiment of the present invention includes the steps of pre-processing an electronic document created at the request of at least one user and converting it into a normalized electronic document, the converted normalized electronic document generating a document hash value based on the document, and transmitting the document hash value to a blockchain.

본 발명의 다른 특징에 따르면, 정규화 전자문서로 변환하는 단계는, 전자문서를 유니코드 변환 포맷을 이용하여 변환하는 단계, 및 전자문서 내의 공백문자 및 특수문자를 아스키 코드로 변환하는 단계를 포함할 수 있다.According to another aspect of the present invention, the converting into a normalized electronic document may include converting the electronic document using a Unicode conversion format, and converting whitespace and special characters in the electronic document into ASCII codes. can

본 발명의 또 다른 특징에 따르면, 정규화 전자문서로 변환하는 단계는, 아스키 코드로 변환하는 단계 이전에, 전자문서 내에서 탭(tab)문자를 하나의 공백문자로 변환하는 단계, 전자문서 내에서 연속 공백문자를 하나의 공백문자로 축소하는 단계, 전자문서 내에서 마침표 뒤의 공백문자를 제거하는 단계, 및 전자문서 내에서 개행문자를 제거하는 단계 중 적어도 하나를 포함할 수 있다.According to another feature of the present invention, the step of converting to a normalized electronic document includes, before the step of converting to ASCII code, converting a tab character into a single space character in the electronic document, within the electronic document The method may include at least one of reducing consecutive blank characters to one blank character, removing blank characters after a period in the electronic document, and removing newline characters in the electronic document.

본 발명의 또 다른 특징에 따르면, 문서를 검증하기 위한 방법은 적어도 하나의 사용자가 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하는 단계, 변환된 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하는 단계, 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브(retrieve)하는 단계, 및 리트리브된 문서 해시값을 출력 문서 해시값과 비교하는 단계를 더 포함할 수 있다.According to another feature of the present invention, a method for verifying a document includes the steps of pre-processing an output document that is a result of outputting an electronic document by at least one user and converting it into a normalized output document, and outputting based on the converted normalized output document The method may further include generating a document hash value, retrieving a document hash value corresponding to the output document from the block chain, and comparing the retrieved document hash value with the output document hash value.

전술한 바와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치는, 프로세서, 및 컴퓨터 판독가능 명령어들을 저장하는 메모리를 포함하며, 명령어들은, 프로세서에 의해 실행될 때, 장치로 하여금: 적어도 하나의 사용자의 요청에 따라 작성된 전자문서를 전처리하여 정규화 전자문서로 변환하게 하고, 변환된 정규화 전자문서를 기초로 문서 해시값을 생성하게 하고, 문서 해시값을 블록체인으로 전송하게 한다.In order to solve the problems as described above, an apparatus for verifying a document according to an embodiment of the present invention includes a processor and a memory storing computer readable instructions, the instructions, when executed by the processor, the apparatus to: preprocess the electronic document created at the request of at least one user and convert it into a normalized electronic document, generate a document hash value based on the converted normalized electronic document, and transmit the document hash value to the block chain do.

본 발명의 다른 특징에 따르면, 정규화 전자문서는, 전자문서를 유니코드 변환 포맷을 이용하여 변환하고, 전자문서 내의 공백문자 및 특수문자를 아스키 코드로 변환함으로써 생성될 수 있다.According to another feature of the present invention, the normalized electronic document may be generated by converting the electronic document using a Unicode conversion format and converting whitespace and special characters in the electronic document into ASCII codes.

본 발명의 또 다른 특징에 따르면, 명령어들은, 프로세서에 의해 실행될 때, 장치로 하여금: 전자문서를 유니코드 변환 포맷을 이용하여 변환한 이후, 전자문서 내에서 탭(tab)문자를 하나의 공백문자로 변환하거나, 전자문서 내에서 연속 공백문자를 하나의 공백문자로 축소하거나, 전자문서 내에서 마침표 뒤의 공백문자를 제거하거나, 전자문서 내에서 개행문자를 제거하게 할 수 있다.According to another feature of the present invention, the instructions, when executed by the processor, cause the apparatus to: convert the electronic document using a Unicode conversion format, and then replace a tab character with a single space character within the electronic document. , reduce consecutive whitespace characters to a single whitespace character in the electronic document, remove the space character after the period in the electronic document, or remove the newline character in the electronic document.

본 발명의 또 다른 특징에 따르면, 명령어들은, 프로세서에 의해 실행될 때, 장치로 하여금: 적어도 하나의 사용자가 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하게 하고, 변환된 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하게 하고, 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브하게 하고, 리트리브된 문서 해시값을 출력 문서 해시값과 비교하게 하는 명령어들을 더 포함할 수 있다.According to another feature of the present invention, the instructions, when executed by the processor, cause the apparatus to: preprocess an output document that is a result of outputting an electronic document by at least one user and convert it into a normalized output document, It may further include instructions to generate an output document hash value based on the output document, retrieve a document hash value corresponding to the output document from the blockchain, and compare the retrieved document hash value with the output document hash value have.

전술한 바와 같은 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 문서를 검증하기 위한 장치는, 프로세서, 및 컴퓨터 판독가능 명령어들을 저장하는 메모리를 포함하며, 명령어들은, 프로세서에 의해 실행될 때, 장치로 하여금: 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하게 하고, 변환된 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하게 하고, 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브하게 하고, 리트리브된 문서 해시값을 출력 문서 해시값과 비교하게 한다.In order to solve the above problems, an apparatus for verifying a document according to another embodiment of the present invention includes a processor, and a memory storing computer readable instructions, the instructions, when executed by the processor, the apparatus Let: preprocess the output document, which is the result of outputting the electronic document, to convert it into a normalized output document, generate an output document hash value based on the converted normalized output document, and block the document hash value corresponding to the output document Retrieve from the chain, and compare the retrieved document hash value with the output document hash value.

전술한 바와 같은 과제를 해결하기 위하여 본 발명의 일 실시예에 따른 문서를 전처리하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체는, 적어도 하나의 사용자의 요청에 따라 작성된 전자문서를 전처리하여 정규화 전자문서로 변환하고, 변환된 정규화 전자문서를 기초로 문서 해시값을 생성하고, 문서 해시값을 블록체인으로 전송한다.In order to solve the above problems, a computer-readable recording medium storing instructions for providing a method for pre-processing a document according to an embodiment of the present invention pre-processes an electronic document created at the request of at least one user to convert it into a normalized electronic document, generate a document hash value based on the converted normalized electronic document, and transmit the document hash value to the block chain.

전술한 바와 같은 과제를 해결하기 위하여 본 발명의 다른 실시예에 따른 문서를 검증하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체는, 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하고, 변환된 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하고, 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브하고, 리트리브된 문서 해시값을 출력 문서 해시값과 비교한다.In order to solve the above problems, a computer-readable recording medium storing instructions for providing a method for verifying a document according to another embodiment of the present invention is normalized by pre-processing an output document that is a result of outputting an electronic document Convert to an output document, generate an output document hash value based on the converted normalized output document, retrieve a document hash value corresponding to the output document from the blockchain, and compare the retrieved document hash value with the output document hash value .

본 발명의 과제 해결 수단 중 어느 하나에 의하면, 본 발명의 일 실시예는 전자문서의 텍스트만을 기반으로 하는 전처리 과정을 통해 블록체인에 저장할 해시값을 용이하게 암호화할 수 있다.According to any one of the problem solving means of the present invention, an embodiment of the present invention can easily encrypt a hash value to be stored in the block chain through a pre-processing process based on only the text of the electronic document.

또한, 본 발명의 과제 해결 수단 중 어느 하나에 의하면, 본 발명의 다른 실시예는 전자문서의 원본이 훼손되거나 유실되더라도 출력된 문서로부터 도출된 해시값을 기초로, 전자문서와 출력 문서의 동일성 여부를 용이하게 판단하고 출력 문서의 변조 또는 진위 여부를 용이하게 검증할 수 있다.In addition, according to any one of the problem solving means of the present invention, in another embodiment of the present invention, even if the original of the electronic document is damaged or lost, based on the hash value derived from the output document, whether the electronic document and the output document are the same can be easily determined and whether the output document is falsified or authentic can be easily verified.

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

도 1은 본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치와 사용자, 블록체인 및 문서 작성 서비스를 제공하는 서버와의 관계를 개략적으로 도시한 것이다.
도 2는 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에 따른 절차를 도시한 순서도이다.
도 3은 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에 따른 일부 절차를 보다 구체적으로 도시한 순서도이다.
도 4는 본 발명의 다른 실시예에 따른 문서를 검증하기 위한 방법에 의해 해시값을 이용하여 검증하는 과정을 예시적으로 도시한 것이다.
도 5는 본 발명의 다른 실시예에 따른 문서를 검증하기 위한 방법에 따른 절차를 도시한 순서도이다.
1 schematically shows the relationship between an apparatus for verifying a document according to an embodiment of the present invention, a user, a block chain, and a server providing a document creation service.
2 is a flowchart illustrating a procedure according to a method for verifying a document according to an embodiment of the present invention.
3 is a flowchart illustrating in more detail some procedures according to a method for verifying a document according to an embodiment of the present invention.
4 exemplarily illustrates a process of verifying a document using a hash value by a method for verifying a document according to another embodiment of the present invention.
5 is a flowchart illustrating a procedure according to a method for verifying a document according to another embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. Advantages and features of the present invention and methods of achieving them will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in a variety of different forms, and only these embodiments allow the disclosure of the present invention to be complete, and common knowledge in the technical field to which the present invention belongs It is provided to fully inform the possessor of the scope of the invention, and the present invention is only defined by the scope of the claims.

본 발명의 실시예를 설명하기 위한 도면에 개시된 형상, 크기, 비율, 각도, 개수 등은 예시적인 것이므로 본 발명이 도시된 사항에 한정되는 것은 아니다. 또한, 본 발명을 설명함에 있어서, 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다. 본 명세서 상에서 언급된 '포함한다', '갖는다', '이루어진다' 등이 사용되는 경우 '~만'이 사용되지 않는 이상 다른 부분이 추가될 수 있다. 구성요소를 단수로 표현한 경우에 특별히 명시적인 기재 사항이 없는 한 복수를 포함하는 경우를 포함한다. The shapes, sizes, proportions, angles, numbers, etc. disclosed in the drawings for explaining the embodiments of the present invention are illustrative and the present invention is not limited to the illustrated matters. In addition, in describing the present invention, if it is determined that a detailed description of a related known technology may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. When 'including', 'having', 'consisting', etc. mentioned in this specification are used, other parts may be added unless 'only' is used. When a component is expressed in the singular, cases including the plural are included unless otherwise explicitly stated.

구성요소를 해석함에 있어서, 별도의 명시적 기재가 없더라도 오차 범위를 포함하는 것으로 해석한다.In interpreting the components, it is interpreted as including an error range even if there is no separate explicit description.

비록 제1, 제2 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않는다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있다.Although first, second, etc. are used to describe various elements, these elements are not limited by these terms. These terms are only used to distinguish one component from another. Accordingly, the first component mentioned below may be the second component within the spirit of the present invention.

별도로 명시하지 않는 한 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다. Unless otherwise specified, like reference numerals refer to like elements throughout.

본 발명의 여러 실시예들의 각각 특징들이 부분적으로 또는 전체적으로 서로 결합 또는 조합 가능하며, 당업자가 충분히 이해할 수 있듯이 기술적으로 다양한 연동 및 구동이 가능하며, 각 실시예들이 서로에 대하여 독립적으로 실시 가능할 수도 있고 연관 관계로 함께 실시 가능할 수도 있다.Each feature of the various embodiments of the present invention may be partially or wholly combined or combined with each other, and as those skilled in the art will fully understand, technically various interlocking and driving are possible, and each embodiment may be implemented independently of each other, It may be possible to implement together in a related relationship.

이하, 본 명세서에서 사용되는 용어에 대해 정의한다.Hereinafter, terms used in this specification are defined.

본 명세서에서 전자문서란, 컴퓨터 등과 같은 정보처리 능력을 가진 장치에 의하여 전자적인 형태로 작성되어, 송수신 또는 저장되는 문서를 의미한다. 구체적으로, 전자문서는 워드 프로세서 등과 같은 문서 작성 프로그램으로 작성된 파일로 존재할 수 있다. 특히, 전자문서는 문서 형식의 파일이나 위변조를 방지하기 위한 이미지 형식의 파일로도 존재할 수 있으며, 정보통신망을 통해 송신 및 수신될 수 있고 전자 장치 등에 저장될 수도 있다. 예를 들어, 전자문서는 계약 당사자가 합의한 내용을 전자 장치를 통해 작성하여 생성한 전자 계약서일 수 있으며, 이러한 전자 계약서는 문서 작성 서비스를 통해 작성되어 계약 당사자가 전자로 서명한 데이터를 더 포함할 수도 있다.In the present specification, an electronic document means a document that is created in an electronic form by a device having information processing capability, such as a computer, and transmitted/received or stored. Specifically, the electronic document may exist as a file created by a document creation program such as a word processor. In particular, the electronic document may exist as a document-type file or an image-type file for preventing forgery, and may be transmitted and received through an information and communications network, and may be stored in an electronic device or the like. For example, the electronic document may be an electronic contract generated by writing the contents agreed by the contracting parties through an electronic device, and such an electronic contract may further include data created through a document preparation service and electronically signed by the contracting party. may be

본 명세서에서 정규화 전자문서란, 전자문서가 임의의 전처리 과정을 통하여 변환된 문서로서, 문서의 암호화에 의한 해시값을 구하기 위해 전처리된 전자문서를 의미한다.As used herein, a normalized electronic document is a document in which an electronic document is converted through an arbitrary pre-processing process, and refers to an electronic document pre-processed to obtain a hash value by encryption of the document.

본 명세서에서 문서 해시값이란, 정규화된 전자문서를 암호화를 위한 해시함수에 적용하여 도출된 해시값을 의미한다. 본 발명의 일 실시예에 따르면, 전처리된 정규화 전자문서는 해시함수를 통해 하나의 해시값만을 갖게 된다. In the present specification, the document hash value means a hash value derived by applying a normalized electronic document to a hash function for encryption. According to an embodiment of the present invention, the preprocessed normalized electronic document has only one hash value through a hash function.

본 명세서에서 출력 문서란, 생성된 전자문서를 실제로 종이로 출력하거나 텍스트를 포함하는 문서 파일 기반의 전자문서를 이미지 파일의 형태(예를 들어, PDF 파일)로 변환한 문서를 의미한다. In the present specification, an output document refers to a document in which a generated electronic document is actually output on paper or an electronic document based on a document file including text is converted into an image file (eg, a PDF file).

이하 첨부된 도면을 참조하여, 본 발명을 상세히 설명하기로 한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치와 사용자, 블록체인 및 문서 작성 서비스를 제공하는 서버와의 관계를 개략적으로 도시한 것이다.1 schematically shows the relationship between an apparatus for verifying a document according to an embodiment of the present invention, a user, a block chain, and a server providing a document creation service.

먼저, 도1을 참조하면, 문서를 검증하기 위한 장치(100)는 전처리 모듈(110) 및 검증 모듈(120)을 포함한다. 도 1에서는 설명의 편의를 위해 전처리 모듈(110) 및 검증 모듈(120)이 물리적으로 분리된 것처럼 도시되었으나, 문서를 검증하기 위한 장치(100)에서 전처리 모듈(110) 및 검증 모듈(120)은 실시예에 따라 하나의 모듈이나 장치로 통합될 수도 있으며, 도시된 것과 같이 분리될 수도 있다.First, referring to FIG. 1 , the apparatus 100 for verifying a document includes a pre-processing module 110 and a verification module 120 . 1, the preprocessing module 110 and the verification module 120 are shown as physically separated for convenience of explanation, but in the apparatus 100 for verifying a document, the preprocessing module 110 and the verification module 120 are Depending on the embodiment, it may be integrated into one module or device, or may be separated as shown.

본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치(100)는 해시값을 생성하여 블록체인(200)으로 송신할 수 있고 블록체인(200)으로부터 해시값을 수신할 수 있다. 또한, 문서를 검증하기 위한 장치(100)는 문서 작성 서비스 서버(300)와 다양한 데이터를 주고받을 수 있다. 구체적으로, 문서를 검증하기 위한 장치(100)는 문서 작성 서비스 서버(300)로부터 전자문서를 수신하여 전처리 모듈(110)을 통해 전자문서를 전처리하여 정규화 전자문서로 변환하고, 이러한 정규화 전자문서를 기초로 문서 해시값을 생성하여 블록체인(200)으로 송신한다. 또한, 문서를 검증하기 위한 장치(100)는 블록체인(200)으로부터 문서 해시값을 수신하여 검증 모듈(120)을 통해 출력 문서(400)의 해시값과 문서 해시값을 비교하여 출력 문서(400)의 진위 여부를 검증한다.The apparatus 100 for verifying a document according to an embodiment of the present invention may generate a hash value and transmit it to the block chain 200 , and may receive the hash value from the block chain 200 . Also, the apparatus 100 for verifying a document may exchange various data with the document preparation service server 300 . Specifically, the device 100 for verifying the document receives the electronic document from the document preparation service server 300, pre-processes the electronic document through the pre-processing module 110, converts it into a normalized electronic document, and converts this normalized electronic document Based on the generated document hash value, it is transmitted to the block chain 200 . In addition, the device 100 for verifying the document receives the document hash value from the block chain 200 and compares the hash value of the output document 400 with the document hash value through the verification module 120 to the output document 400 ) to verify the authenticity of

블록체인(200)은 문서를 검증하기 위한 장치(100)로부터 문서 해시값을 수신하여 저장할 수 있고, 문서를 검증하기 위한 장치(100)로부터 문서 해시값에 대한 리트리브(retrieve) 요청이 있는 경우 문서 해시값을 문서를 검증하기 위한 장치(100)로 송신할 수 있다.The block chain 200 may receive and store the document hash value from the device 100 for verifying the document, and when there is a request to retrieve the document hash value from the device 100 for verifying the document, the document The hash value may be transmitted to the device 100 for verifying the document.

문서 작성 서비스 서버(300)는 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 작성된 전자문서를 저장하고, 이러한 전자문서의 원본 또는 사본을 사용자에게 제공하거나 출력을 가능하게 하는 서비스를 제공할 수 있다. 예를 들어, 두 명의 계약 당사자가 각자의 단말기(501, 502)를 통해 전자 계약서 작성을 요청하면, 문서 작성 서비스 서버(300)는 공통적인 계약 사항을 포함하고 계약 당사자마다 특약 사항을 수신하여 전자 계약서를 자동으로 작성해줄 수 있다. 또한, 이러한 문서 작성 서비스 서버(300)는 작성한 전자 계약서를 저장하고, 전자 계약서의 사본을 사용자에게 파일의 형태로 제공하거나 종이로 출력할 수 있는 서비스를 제공할 수 있다.The document preparation service server 300 creates the requested electronic document or stores the created electronic document when at least one user requests the creation of a document of desired content, and provides an original or a copy of the electronic document to the user or outputs the electronic document We can provide services that make this possible. For example, when two contracting parties request the creation of an electronic contract through their respective terminals 501 and 502, the document preparation service server 300 includes a common contractual matter and receives a special contract for each contracting party. We can create contracts automatically. In addition, the document preparation service server 300 may store the created electronic contract, and provide a copy of the electronic contract to the user in the form of a file or provide a service for printing out the electronic contract.

이에, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치(100)는 전자문서를 전처리하여 하나의 문서 해시값을 생성할 수 있는 정규화 전자문서를 생성할 수 있고, 이러한 문서 해시값은 블록체인(200)에 저장되었다가 요청이 있는 경우 출력 문서 해시값과의 비교를 통해 출력 문서의 진위 여부, 원본 여부 또는 위변조 여부를 검증할 수 있다. 특히, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 장치(100)는 전자문서의 전처리를 통해 하나의 전자문서에 대응해서 단 하나의 문서 해시값만을 생성하므로, 신속하고 매우 정확하게 출력 문서를 검증할 수 있다.Accordingly, the apparatus 100 for verifying a document according to an embodiment of the present invention may generate a normalized electronic document capable of generating one document hash value by pre-processing the electronic document, and this document hash value is a block If it is stored in the chain 200 and there is a request, it is possible to verify whether the output document is authentic, original, or forged through comparison with the output document hash value. In particular, the apparatus 100 for verifying a document according to an embodiment of the present invention generates only one document hash value in response to one electronic document through pre-processing of the electronic document, so that the output document can be quickly and very accurately printed. can be verified.

문서를 검증하기 위한 장치(100)를 통한 구체적인 문서를 검증하기 위한 방법은 이하 도 2 내지 도 4를 참조하여 설명하도록 한다.A method for verifying a specific document through the apparatus 100 for verifying a document will be described below with reference to FIGS. 2 to 4 .

도 2는 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에 따른 절차를 도시한 순서도이다. 도 3은 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에 따른 일부 절차를 보다 구체적으로 도시한 순서도이다. 설명의 편의를 위해 도 1을 참조하여 설명한다.2 is a flowchart illustrating a procedure according to a method for verifying a document according to an embodiment of the present invention. 3 is a flowchart illustrating in more detail some procedures according to a method for verifying a document according to an embodiment of the present invention. For convenience of description, it will be described with reference to FIG. 1 .

본 발명에 따른 문서를 검증하기 위한 방법은 적어도 하나의 사용자의 요청에 따라 작성된 전자문서를 전처리하여 정규화 전자문서로 변환하는 단계(S10)를 포함한다. A method for verifying a document according to the present invention includes a step (S10) of pre-processing an electronic document created at the request of at least one user and converting it into a normalized electronic document.

도 1 및 도 2를 참조하면, 적어도 하나의 사용자인 계약 당사자는 문서 작성 서비스 서버(300)를 통해 전자문서인 전자 계약서를 작성하였고, 이러한 전자 계약서는 문서 작성 서비스 서버(300)로부터 문서를 검증하기 위한 장치(100)로 전송될 수 있으며, 문서를 검증하기 위한 장치(100)는 다양한 전자 계약서를 저장할 수 있다. 이와 같이, 문서를 검증하기 위한 장치(100)는 이미 작성된 전자문서를 문서 작성 서비스 서버(300)로부터 수신하거나 이미 작성된 전자문서를 사용자로부터 직접 전달받을 수도 있다.1 and 2 , at least one user, a contracting party, has created an electronic contract, which is an electronic document, through the document preparation service server 300 , and this electronic contract verifies the document from the document preparation service server 300 . It may be transmitted to the device 100 for performing the document verification, and the device 100 for verifying the document may store various electronic contracts. As such, the apparatus 100 for verifying a document may receive an already created electronic document from the document preparation service server 300 or may receive an already created electronic document directly from a user.

이에, 문서를 검증하기 위한 장치(100)는 이미 작성된 전자문서를 임의의 전처리 과정을 통해 정규화 전자문서로 변환한다. 구체적으로, 문서를 검증하기 위한 장치(100)는 하나의 특정 전자문서에 대해서는 하나의 문서 해시값만이 생성될 수 있도록 전자문서를 특정한 전처리 과정을 통해 정규화 전자문서로 변환한다. 문서를 검증하기 위한 장치(100)가 전자문서를 전처리하는 구체적인 과정에 대해서는 도 3을 참조하여 후술한다.Accordingly, the apparatus 100 for verifying a document converts an already created electronic document into a normalized electronic document through an arbitrary pre-processing process. Specifically, the apparatus 100 for verifying a document converts an electronic document into a normalized electronic document through a specific pre-processing process so that only one document hash value can be generated for one specific electronic document. A detailed process of pre-processing an electronic document by the apparatus 100 for verifying a document will be described later with reference to FIG. 3 .

도 3을 참조하면, 문서를 검증하기 위한 장치(100)에서 전자문서를 전처리하여 정규화 전자문서로 변환하는 단계(S10)는 전자문서를 유니코드 변환 포맷을 이용하여 변환하는 단계(S11) 및 전자문서 내의 공백문자 및 특수문자를 아스키(ASCII) 코드로 변환하는 단계(S13)를 포함한다.Referring to FIG. 3 , the step (S10) of pre-processing the electronic document in the apparatus 100 for verifying the document and converting the electronic document into a normalized electronic document is the step of converting the electronic document using a Unicode conversion format (S11) and the electronic document and converting whitespace characters and special characters in the document into ASCII codes (S13).

전자문서를 유니코드 변환 포맷을 이용하여 변환하는 단계(S11)에서는 다양한 유니코드 변환 포맷이 사용될 수 있다. 유니코드 변환 포맷은 UTF(Unicode Transformation Format)-8 및 UTF-16 등과 같이 다양한 변환 포맷을 포함한다. 이러한 유니코드 변환 포맷은 세계의 다양한 문자들을 유니코드로 변환할 수 있다. 특히, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에서는 UTF-8이 전자문서를 변환하는 유니코드 변환 포맷으로 사용될 수 있다. 이와 같이, 전자문서가 유니코드 변환 포맷을 통해 변환되면, 문서를 검증하기 위한 장치(100)는 전자문서 내의 공백문자 및 특수문자를 아스키 코드로 변환할 수 있다. In the step (S11) of converting the electronic document using the Unicode conversion format, various Unicode conversion formats may be used. The Unicode transformation format includes various transformation formats such as Unicode Transformation Format (UTF)-8 and UTF-16. This Unicode conversion format can convert various characters in the world into Unicode. In particular, in the method for verifying a document according to an embodiment of the present invention, UTF-8 may be used as a Unicode conversion format for converting an electronic document. As such, when the electronic document is converted through the Unicode conversion format, the apparatus 100 for verifying the document may convert whitespace and special characters in the electronic document into ASCII codes.

본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에서 정규화 전자문서로 변환하는 단계(S10)는, 아스키 코드로 변환하는 단계(S13) 이전에, 전자문서 내에서 탭(tab)문자를 하나의 공백문자로 변환하는 단계, 전자문서 내에서 연속 공백문자를 하나의 공백문자로 축소하는 단계, 전자문서 내에서 마침표 뒤의 공백문자를 제거하는 단계, 및 전자문서 내에서 개행문자를 제거하는 단계 중 적어도 하나를 포함할 수 있다(S12). 즉, 문서를 검증하기 위한 장치(100)는, 유니코드 변환 포맷을 통해 변환된 전자문서 내에 탭(tab)문자, 연속 공백문자, 개행문자가 존재하거나 마침표 뒤에 공백문자가 존재하는 경우, 탭문자 또는 연속 공백문자는 하나의 공백문자로 변환하거나 축소할 수 있고, 마침표 뒤의 공백문자와 개행문자를 제거할 수 있다. In the method for verifying a document according to an embodiment of the present invention, the step (S10) of converting to a normalized electronic document includes one tab character in the electronic document before the step (S13) of converting to an ASCII code. converting consecutive whitespace characters to a single whitespace character in the electronic document, removing the whitespace character after the period in the electronic document, and removing newline characters in the electronic document It may include at least one of (S12). That is, the apparatus 100 for verifying the document includes a tab character, a continuous space character, a newline character, or a space character after a period, a tab character or a newline character in the electronic document converted through the Unicode conversion format. Consecutive whitespace characters can be converted or shortened to a single whitespace character, and whitespace and newline characters after periods can be removed.

이와 같이, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법은, 작성된 전자문서를 유니코드 변환 포맷을 이용하고, 불필요한 공백문자나 개행문자를 제거하거나 간략하게 축소되거나 정리된 공백문자 및 특수문자를 아스키 코드로 변환함으로써, 전자문서에서 검증에 필요한 텍스트(text)만을 용이하게 추출해 낼 수 있다. 나아가, 이러한 문서를 검증하기 위한 방법은, 전자문서의 검증에 필요한 텍스트만을 추출해냄으로써, 하나의 전자문서에 대응하는 단 하나의 문서 해시값만을 용이하게 도출해낼 수도 있다. As such, the method for verifying a document according to an embodiment of the present invention uses a Unicode conversion format for a created electronic document, and removes unnecessary blank characters or newline characters, or simply reduces or summarizes blank characters and special characters. By converting characters into ASCII codes, only text necessary for verification can be easily extracted from an electronic document. Furthermore, in the method for verifying such a document, only one document hash value corresponding to one electronic document may be easily derived by extracting only text necessary for verification of the electronic document.

도 2를 참조하면, 문서를 검증하기 위한 장치(100)는 전자문서를 전처리하여 변환된 정규화 전자문서를 기초로 문서 해시값을 생성한다(S20). 구체적으로, 문서를 검증하기 위한 장치(100)는 전처리 모듈(110)에서 변환된 정규화 전자문서에 임의의 해시함수를 적용하여 해당 전자문서에 대응하는 단 하나의 문서 해시값을 생성할 수 있다. 즉, 변환된 정규화 전자문서는 최소한의 공백문자와 텍스트만을 아스키 코드로 변환한 것이므로, 전처리 모듈(110)이 변환된 정규화 전자문서에 해시함수를 적용하는 경우, 예외적인 상황이 거의 존재하지 않아 단 하나의 문서 해시값이 도출될 수 있습니다. 이에, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법에 의해 생성된 문서 해시값은 하나의 전자문서에 1대1로 대응하도록 생성될 수 있다.Referring to FIG. 2 , the apparatus 100 for verifying a document generates a document hash value based on the converted normalized electronic document by preprocessing the electronic document ( S20 ). Specifically, the apparatus 100 for verifying a document may generate a single document hash value corresponding to the electronic document by applying an arbitrary hash function to the normalized electronic document converted by the preprocessing module 110 . That is, since the converted normalized electronic document is a result of converting only the minimum number of whitespace characters and text into ASCII codes, when the preprocessing module 110 applies a hash function to the converted normalized electronic document, there is almost no exceptional situation. One document hash value can be derived. Accordingly, a document hash value generated by the method for verifying a document according to an embodiment of the present invention may be generated to correspond to one electronic document in a one-to-one manner.

도 1 및 도 2를 참조하면, 문서를 검증하기 위한 장치(100)는 하나의 전자문서에 대응하여 생성된 단 하나의 문서 해시값을 블록체인(200)에 저장하기 위해 블록체인(200)으로 전송한다(S30). 이와 같이, 문서를 검증하기 위한 장치(100)는 생성된 문서 해시값을 블록체인(200)에 저장함으로써, 문서 해시값이 외부의 개입으로 인해 변경, 훼손되거나 유실되는 것을 억제할 수 있다. 이에, 문서를 검증하기 위한 장치(100)는 전자문서에 대응하여 생성된 문서 해시값을 안전하게 블록체인(200)에 저장함으로써 추후 출력 문서 해시값과 비교하는 경우 최초로 생성된 문서 해시값을 안전하게 리트리브(retrieve)할 수 있다. 즉, 본 발명의 일 실시예에 따른 문서를 검증하기 위한 방법을 통해 생성된 문서 해시값은 검증에 사용되기 이전까지 블록체인(200)에 안전하게 보관될 수 있다. 이후 블록체인(200)에 저장된 문서 해시값을 사용하여 출력 문서의 원본 또는 진위 여부를 검증하는 방법에 대해서는 도 4를 참조하여 후술한다.1 and 2, the device 100 for verifying a document is a block chain 200 to store only one document hash value generated in response to one electronic document in the block chain 200. transmit (S30). In this way, the device 100 for verifying a document stores the generated document hash value in the block chain 200, thereby suppressing the document hash value from being changed, damaged, or lost due to external intervention. Accordingly, the device 100 for verifying the document safely retrieves the initially generated document hash value when comparing it with the output document hash value later by safely storing the document hash value generated in response to the electronic document in the block chain 200 can be retrieved. That is, the document hash value generated through the method for verifying a document according to an embodiment of the present invention may be safely stored in the block chain 200 until used for verification. Thereafter, a method of verifying the original or authenticity of the output document using the document hash value stored in the block chain 200 will be described later with reference to FIG. 4 .

도 4는 본 발명의 다른 실시예에 다른 문서를 검증하기 위한 방법에 의해 해시값을 이용하여 검증하는 과정을 예시적으로 도시한 것이다. 도 5는 본 발명의 다른 실시예에 따른 문서를 검증하기 위한 방법에 따른 절차를 도시한 순서도이다. 설명의 편의를 위해 도 1을 참조하여 설명한다.4 exemplarily illustrates a process of verifying using a hash value by a method for verifying a document according to another embodiment of the present invention. 5 is a flowchart illustrating a procedure according to a method for verifying a document according to another embodiment of the present invention. For convenience of description, it will be described with reference to FIG. 1 .

도 4 및 도 5를 참조하면, 문서를 검증하기 위한 장치(100)는 적어도 하나의 사용자로부터 전자문서를 출력한 결과물인 출력 문서(400)를 수신할 수 있다. 문서를 검증하기 위한 장치(100)는 수신한 출력 문서(400)를 전처리하여 정규화 출력 문서(410)로 변환한다(S40). 실시예에 따라 출력 문서(400)를 전처리하여 정규화 출력 문서로 변환하는 과정은 문서를 검증하기 위한 장치(100)가 전자문서를 전처리하여 정규화 전자문서로 변환하는 과정과 전부 또는 일부가 상이할 수도 있으나, 본 발명의 일 실시예에 따르면, 출력 문서(400)를 전처리하여 정규화 출력 문서(410)로 변환하는 과정은 문서를 검증하기 위한 장치(100)가 전자문서를 전처리하여 정규화 전자문서로 변환하는 과정과 실질적으로 동일할 수 있다. 이에, 문서를 검증하기 위한 장치(100)가 출력 문서(400)를 전처리하여 정규화 출력 문서(410)로 변환하는 과정에서 중복되는 내용에 대해서는 설명을 생략한다. 4 and 5 , the apparatus 100 for verifying a document may receive an output document 400 that is a result of outputting an electronic document from at least one user. The apparatus 100 for verifying a document pre-processes the received output document 400 and converts it into a normalized output document 410 (S40). According to an embodiment, the process of pre-processing the output document 400 to convert it into a normalized output document may be entirely or partially different from the process in which the apparatus 100 for verifying the document pre-processes the electronic document and converts it into a normalized electronic document. However, according to an embodiment of the present invention, in the process of pre-processing the output document 400 and converting it into the normalized output document 410, the apparatus 100 for verifying the document pre-processes the electronic document and converts it into a normalized electronic document The process may be substantially the same as Accordingly, descriptions of overlapping contents in the process in which the apparatus 100 for verifying a document pre-processes the output document 400 and converts it into the normalized output document 410 will be omitted.

도 4를 참조하면, 사용자가 전자문서를 출력한 결과물인 출력 문서(400)는 종이에 실제 출력되거나 PDF파일과 같이 문서를 이미지화한 파일일 수 있다. 이러한 출력 문서(400)는 유니코드 변환 포맷(예를 들어, UTF-8 변환)을 이용하고, 아스키 코드로 변환하여 정규화 출력 문서(410)로 변환된다. 이와 같이, 정규화 출력 문서(410)는 공백문자나 특수문자가 최소한으로 포함되어 있어, 해시함수를 적용하여 암호화하는 경우 하나의 출력 문서 해시값(420)으로 생성될 수 있다.Referring to FIG. 4 , an output document 400 , which is a result of the user outputting an electronic document, may be actually output on paper or a file in which a document is imaged such as a PDF file. The output document 400 uses a Unicode conversion format (eg, UTF-8 conversion), is converted into ASCII code, and is converted into a normalized output document 410 . As such, since the normalized output document 410 contains a minimum number of blank characters or special characters, when a hash function is applied and encrypted, one output document hash value 420 may be generated.

이어서, 문서를 검증하기 위한 장치(100)는 변환된 정규화 출력 문서(410)를 기초로 출력 문서 해시값(420)을 생성한다(S50). 마찬가지로, 출력 문서 해시값(420)을 생성하는 과정은 문서를 검증하기 위한 장치(100)가 정규화 전자문서를 기초로 문서 해시값을 생성하는 과정과 실질적으로 동일할 수 있으며, 변환된 정규화 출력 문서(410)에 동일한 해시함수를 적용하여 출력 문서 해시값(420)이 생성될 수 있다. 즉, 이미지, 공백문자 또는 특수문자가 최소한으로 포함되어 있는 정규화 출력 문서(410)는 해시함수를 통해 암호화되는 경우 단 하나의 해시값으로 도출될 수 있다.Next, the apparatus 100 for verifying the document generates an output document hash value 420 based on the converted normalized output document 410 ( S50 ). Similarly, the process of generating the output document hash value 420 may be substantially the same as the process of generating the document hash value based on the normalized electronic document by the apparatus 100 for verifying the document, and the converted normalized output document An output document hash value 420 may be generated by applying the same hash function to 410 . That is, when the normalized output document 410 containing the minimum number of images, blank characters, or special characters is encrypted through a hash function, it can be derived as a single hash value.

문서를 검증하기 위한 장치(100)는 출력 문서(400)의 원본이나 진위 여부를 검증하기 위해, 검증을 요청한 출력 문서(400)에 대응하는 문서 해시값(210)을 블록체인(200)으로부터 리트리브한다(S60). 이어서, 문서를 검증하기 위한 장치(100)는 리트리브된 문서 해시값(210)을 출력 문서 해시값(420)과 비교하여(S70), 출력 문서(400)가 기존에 작성된 전자문서에 대응하는지 여부를 검증한다. 문서 해시값(210)과 출력 문서 해시값(420)은 모두 동일한 해시함수를 이용하여 암호화되었고, 정규화 전자문서와 정규화 출력 문서로부터 각각 하나의 해시값만이 도출되므로, 전자문서와 출력 문서(400)가 동일한 문서인 경우에는 문서 해시값(210)과 출력 문서 해시값(420)이 일치해야 한다. 따라서, 문서 해시값(210)과 출력 문서 해시값(420)이 일치하는 경우, 문서를 검증하기 위한 장치(100)는 출력 문서(400)가 전자문서를 출력한 결과물이며 동일한 문서임을 검증할 수 있다. 만약 문서 해시값(210)과 출력 문서 해시값(420)이 불일치하는 경우, 문서를 검증하기 위한 장치(100)는 출력 문서(400)가 전자문서와 상이한 문서이거나 전자문서에서 일부가 변경되거나 훼손되었다고 판단할 수도 있다.The device 100 for verifying the document retrieves the document hash value 210 corresponding to the output document 400 requested for verification from the block chain 200 in order to verify the original or authenticity of the output document 400 . do (S60). Next, the apparatus 100 for verifying the document compares the retrieved document hash value 210 with the output document hash value 420 (S70), whether the output document 400 corresponds to an existing electronic document to verify Since both the document hash value 210 and the output document hash value 420 are encrypted using the same hash function, and only one hash value is derived from the normalized electronic document and the normalized output document, the electronic document and the output document 400 ) is the same document, the document hash value 210 and the output document hash value 420 must match. Therefore, when the document hash value 210 and the output document hash value 420 match, the device 100 for verifying the document can verify that the output document 400 is the result of outputting the electronic document and is the same document. have. If the document hash value 210 and the output document hash value 420 do not match, the device 100 for verifying the document determines that the output document 400 is a different document from the electronic document, or is partially changed or damaged in the electronic document. It may be judged that

이와 같이, 문서를 검증하기 위한 장치(100)는 블록체인(200)으로부터 전자문서의 해시값을 리트리브하므로, 문서 해시값이 변경되거나 훼손될 가능성은 현저히 낮아지고 이러한 문서 해시값은 출력된 문서의 해시값과 비교하여 검증할 수 있는 비교값으로서 신뢰도가 매우 높다. 또한, 문서를 검증하기 위한 장치(100)는 전자문서와 출력 문서로부터 해시값을 생성하기 위해 정규화 문서로 전처리하는 과정을 거침에 따라, 동일한 해시함수에 의해 다양한 해시값들이 발생할 수 있는 가능성을 낮추고 하나의 해시값만이 생성될 수 있다. In this way, since the device 100 for verifying a document retrieves the hash value of the electronic document from the block chain 200, the possibility that the hash value of the document is changed or damaged is significantly lowered, and this document hash value is the value of the output document. It is a comparison value that can be verified by comparing it with a hash value, and the reliability is very high. In addition, as the apparatus 100 for verifying a document goes through a process of pre-processing into a normalized document to generate a hash value from an electronic document and an output document, the possibility that various hash values may be generated by the same hash function is reduced and Only one hash value can be generated.

이에, 본 발명의 실시예에 따른 문서를 검증하기 위한 방법에 따르면, 신뢰도가 높은 전자문서의 해시값을 이용하여 검증결과에 대한 신뢰도가 향상될 수 있고, 출력 문서와 전자문서의 해시값 각각이 단 하나만 존재함에 따라, 검증 과정은 매우 간단하면서도 검증결과의 정확도는 크게 향상될 수 있다. 이와 같이 검증 결과의 높은 신뢰도와 정확도를 바탕으로, 전자문서를 작성해주는 서비스가 종료되거나, 또는 이러한 서비스를 제공해주고 전자문서를 저장해주는 서버가 파손이나 훼손되어 전자문서에 액세스할 수 없는 경우라도, 사용자가 전자문서를 출력한 결과물인 출력 문서를 소지하고 있는 경우에는, 검증된 출력 문서를 기초로 전자문서를 쉽게 복원할 수도 있다.Accordingly, according to the method for verifying a document according to an embodiment of the present invention, the reliability of the verification result can be improved by using the hash value of the highly reliable electronic document, and each hash value of the output document and the electronic document is As there is only one, the verification process is very simple and the accuracy of the verification result can be greatly improved. Based on the high reliability and accuracy of the verification result, even if the service that creates the electronic document is terminated, or the server that provides the service and stores the electronic document is damaged or damaged, and the electronic document cannot be accessed, When the user has an output document that is a result of outputting the electronic document, the electronic document may be easily restored based on the verified output document.

본 명세서에서, 각 블록 또는 각 단계는 특정된 논리적 기능(들)을 실행하기 위한 하나 이상의 실행 가능한 인스트럭션들을 포함하는 모듈, 세그먼트 또는 코드의 일부를 나타낼 수 있다. 또한, 몇 가지 대체 실시예들에서는 블록들 또는 단계들에서 언급된 기능들이 순서를 벗어나서 발생하는 것도 가능함을 주목해야 한다. 예컨대, 잇달아 도시되어 있는 두 개의 블록들 또는 단계들은 사실 실질적으로 동시에 수행되는 것도 가능하고 또는 그 블록들 또는 단계들이 때때로 해당하는 기능에 따라 역순으로 수행되는 것도 가능하다.In this specification, each block or each step may represent a module, segment, or part of code including one or more executable instructions for executing specified logical function(s). It should also be noted that it is also possible for the functions recited in blocks or steps to occur out of order in some alternative embodiments. For example, it is possible that two blocks or steps shown one after another may in fact be performed substantially simultaneously, or that the blocks or steps may sometimes be performed in the reverse order according to the corresponding function.

본 명세서에 개시된 실시예들과 관련하여 설명된 방법 또는 알고리즘의 단계는 프로세서에 의해 실행되는 하드웨어, 소프트웨어 모듈 또는 그 2 개의 결합으로 직접 구현될 수도 있다. 소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터, 하드 디스크, 착탈형 디스크, CD-ROM 또는 당업계에 알려진 임의의 다른 형태의 저장 매체에 상주할 수도 있다. 예시적인 저장 매체는 프로세서에 커플링되며, 그 프로세서는 저장 매체로부터 정보를 판독할 수 있고 저장 매체에 정보를 기입할 수 있다. 다른 방법으로, 저장 매체는 프로세서와 일체형일 수도 있다. 프로세서 및 저장 매체는 주문형 집적회로 (ASIC) 내에 상주할 수도 있다. ASIC는 사용자 단말기 내에 상주할 수도 있다. 다른 방법으로, 프로세서 및 저장 매체는 사용자 단말기 내에 개별 컴포넌트로서 상주할 수도 있다.The steps of a method or algorithm described in connection with the embodiments disclosed herein may be directly implemented in hardware, software module executed by a processor, or a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, the processor can read information from, and write information to, the storage medium. Alternatively, the storage medium may be integral with the processor. The processor and storage medium may reside within an application specific integrated circuit (ASIC). The ASIC may reside within the user terminal. Alternatively, the processor and storage medium may reside as separate components within the user terminal.

이상 첨부된 도면을 참조하여 본 발명의 실시예들을 더욱 상세하게 설명하였으나, 본 발명은 반드시 이러한 실시예로 국한되는 것은 아니고, 본 발명의 기술사상을 벗어나지 않는 범위 내에서 다양하게 변형실시될 수 있다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 한다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Although the embodiments of the present invention have been described in more detail with reference to the accompanying drawings, the present invention is not necessarily limited to these embodiments, and various modifications may be made within the scope without departing from the technical spirit of the present invention. . Therefore, the embodiments disclosed in the present invention are not intended to limit the technical spirit of the present invention, but to explain, and the scope of the technical spirit of the present invention is not limited by these embodiments. Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive. The protection scope of the present invention should be construed by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

100 문서를 검증하기 위한 장치
110 전처리 모듈
120 검증 모듈
200 블록체인
210 문서 해시값
300 문서 작성 서비스 서버
400 출력 문서
410 정규화 출력 문서
420 출력 문서 해시값
501 제1 사용자 단말기
502 제2 사용자 단말기
100 Device for verifying documents
110 preprocessing module
120 Validation Modules
200 blockchain
210 document hash value
300 document creation service server
400 output documents
410 Normalized Output Document
420 output document hash value
501 first user terminal
502 second user terminal

Claims (11)

문서를 검증하기 위한 장치에 의해 수행되는 문서를 검증하기 위한 방법으로서,
적어도 하나의 사용자의 요청에 따라 문서 작성 서비스 서버에서 작성되거나 이미 작성되어 상기 문서 작성 서비스 서버에 저장된 전자문서를 수신하는 단계;
수신된 상기 전자문서에 기재된 텍스트만을 추출하기 위해 상기 전자문서를 전처리하여 정규화 전자문서로 변환하는 단계;
변환된 상기 정규화 전자문서를 기초로 문서 해시값을 생성하는 단계; 및
상기 문서 해시값을 블록체인으로 전송하는 단계를 포함하고,
상기 정규화 전자문서는 상기 전자문서에서 검증에 필요한 텍스트만을 포함하고,
상기 문서 작성 서비스 서버는, 상기 문서를 검증하기 위한 장치와 상기 전자문서에 관련된 데이터를 주고받을 수 있도록 연결되고, 상기 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 이미 작성된 전자문서를 저장하는, 문서를 검증하기 위한 방법.
A method for verifying a document performed by a device for verifying a document, the method comprising:
receiving an electronic document prepared or already created in a document preparation service server according to a request of at least one user and stored in the document preparation service server;
converting the received electronic document into a normalized electronic document by pre-processing in order to extract only the text described in the electronic document;
generating a document hash value based on the converted normalized electronic document; and
transmitting the document hash value to a block chain;
The normalized electronic document includes only text necessary for verification in the electronic document,
The document preparation service server is connected to a device for verifying the document to exchange data related to the electronic document, and when the at least one user requests to create a document of desired content, the requested electronic document is created or a method for verifying documents, storing electronic documents that have already been created.
제1항에 있어서,
상기 정규화 전자문서로 변환하는 단계는,
상기 전자문서를 유니코드 변환 포맷을 이용하여 변환하는 단계; 및
상기 전자문서 내의 공백문자 및 특수문자를 아스키(ASCII) 코드로 변환하는 단계를 포함하는, 문서를 검증하기 위한 방법.
According to claim 1,
The step of converting to the normalized electronic document is,
converting the electronic document using a Unicode conversion format; and
A method for verifying a document, comprising converting whitespace and special characters in the electronic document into ASCII codes.
제2항에 있어서,
상기 정규화 전자문서로 변환하는 단계는,
상기 아스키 코드로 변환하는 단계 이전에,
상기 전자문서 내에서 탭(tab)문자를 하나의 공백문자로 변환하는 단계;
상기 전자문서 내에서 연속 공백문자를 하나의 공백문자로 축소하는 단계;
상기 전자문서 내에서 마침표 뒤의 공백문자를 제거하는 단계; 및
상기 전자문서 내에서 개행문자를 제거하는 단계 중 적어도 하나를 포함하는, 문서를 검증하기 위한 방법.
3. The method of claim 2,
The step of converting to the normalized electronic document is,
Before the step of converting to the ASCII code,
converting a tab character into a single blank character in the electronic document;
reducing consecutive blank characters into one blank character in the electronic document;
removing a space character after a period in the electronic document; and
and at least one of removing newline characters in the electronic document.
제1항에 있어서,
상기 적어도 하나의 사용자가 상기 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하는 단계;
변환된 상기 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하는 단계;
상기 출력 문서에 대응하는 문서 해시값을 상기 블록체인으로부터 리트리브(retrieve)하는 단계; 및
리트리브된 상기 문서 해시값을 상기 출력 문서 해시값과 비교하는 단계를 더 포함하는, 문서를 검증하기 위한 방법.
According to claim 1,
converting an output document that is a result of the at least one user outputting the electronic document into a normalized output document by preprocessing;
generating an output document hash value based on the converted normalized output document;
retrieving a document hash value corresponding to the output document from the block chain; and
and comparing the retrieved document hash value with the output document hash value.
문서를 검증하기 위한 장치로서,
프로세서; 및
컴퓨터 판독가능 명령어들을 저장하는 메모리를 포함하며,
상기 명령어들은, 상기 프로세서에 의해 실행될 때, 상기 장치로 하여금:
적어도 하나의 사용자의 요청에 따라 문서 작성 서비스 서버에서 작성되거나 이미 작성되어 상기 문서 작성 서비스 서버에 저장된 전자문서를 수신하게 하고,
수신된 상기 전자문서에 기재된 텍스트만을 추출하기 위해 상기 전자문서를 전처리하여 정규화 전자문서로 변환하게 하고,
변환된 상기 정규화 전자문서를 기초로 문서 해시값을 생성하게 하고,
상기 문서 해시값을 블록체인으로 전송하게 하고,
상기 정규화 전자문서는 상기 전자문서에서 검증에 필요한 텍스트만을 포함하고,
상기 문서 작성 서비스 서버는, 상기 문서를 검증하기 위한 장치와 상기 전자문서에 관련된 데이터를 주고받을 수 있도록 연결되고, 상기 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 이미 작성된 전자문서를 저장하는,
문서를 검증하기 위한 장치.
A device for verifying a document, comprising:
processor; and
a memory storing computer readable instructions;
The instructions, when executed by the processor, cause the apparatus to:
At least one user receives an electronic document created or already created in the document preparation service server according to the request of the user and stored in the document preparation service server,
In order to extract only the text described in the received electronic document, the electronic document is pre-processed and converted into a normalized electronic document,
to generate a document hash value based on the converted normalized electronic document,
transmit the document hash value to the blockchain,
The normalized electronic document includes only text necessary for verification in the electronic document,
The document preparation service server is connected to a device for verifying the document and data related to the electronic document to be exchanged, and when the at least one user requests to create a document of desired content, the requested electronic document is created or to store already created electronic documents;
A device for validating documents.
제5항에 있어서,
상기 정규화 전자문서는,
상기 전자문서를 유니코드 변환 포맷을 이용하여 변환하고, 상기 전자문서 내의 공백문자 및 특수문자를 아스키 코드로 변환함으로써 생성되는, 문서를 검증하기 위한 장치.
6. The method of claim 5,
The normalized electronic document is
An apparatus for verifying a document, which is generated by converting the electronic document using a Unicode conversion format and converting whitespace and special characters in the electronic document into ASCII codes.
제6항에 있어서,
상기 명령어들은, 상기 프로세서에 의해 실행될 때, 상기 장치로 하여금:
상기 전자문서를 유니코드 변환 포맷을 이용하여 변환한 이후,
상기 전자문서 내에서 탭(tab)문자를 하나의 공백문자로 변환하거나, 상기 전자문서 내에서 연속 공백문자를 하나의 공백문자로 축소하거나, 상기 전자문서 내에서 마침표 뒤의 공백문자를 제거하거나, 상기 전자문서 내에서 개행문자를 제거하게 하는, 문서를 검증하기 위한 장치.
7. The method of claim 6,
The instructions, when executed by the processor, cause the apparatus to:
After converting the electronic document using the Unicode conversion format,
Converting a tab character in the electronic document to a single blank character, reducing consecutive blank characters in the electronic document to a single blank character, or removing a blank character after a period in the electronic document, An apparatus for verifying a document, allowing newline characters to be removed from the electronic document.
제5항에 있어서,
상기 명령어들은, 상기 프로세서에 의해 실행될 때, 상기 장치로 하여금:
상기 적어도 하나의 사용자가 상기 전자문서를 출력한 결과물인 출력 문서를 전처리하여 정규화 출력 문서로 변환하게 하고,
변환된 상기 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하게 하고,
상기 출력 문서에 대응하는 문서 해시값을 상기 블록체인으로부터 리트리브하게 하고,
리트리브된 상기 문서 해시값을 상기 출력 문서 해시값과 비교하게 하는 명령어들을 더 포함하는, 문서를 검증하기 위한 장치.
6. The method of claim 5,
The instructions, when executed by the processor, cause the apparatus to:
pre-processing an output document that is a result of the at least one user outputting the electronic document to convert it into a normalized output document,
to generate an output document hash value based on the converted normalized output document,
retrieve a document hash value corresponding to the output document from the block chain,
and instructions for comparing the retrieved document hash value with the output document hash value.
문서를 검증하기 위한 장치로서,
프로세서; 및
컴퓨터 판독가능 명령어들을 저장하는 메모리를 포함하며,
상기 명령어들은, 상기 프로세서에 의해 실행될 때, 상기 장치로 하여금:
적어도 하나의 사용자의 요청에 따라 문서 작성 서비스 서버에서 작성되거나 이미 작성되어 상기 문서 작성 서비스 서버에 저장된 전자문서를 출력한 결과물인 출력 문서를 수신하는 단계;
수신된 상기 출력 문서에 기재된 텍스트만을 추출하기 위해 상기 출력 문서를 전처리하여 정규화 출력 문서로 변환하게 하고,
변환된 상기 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하게 하고,
상기 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브하게 하고,
리트리브된 상기 문서 해시값을 상기 출력 문서 해시값과 비교하게 하고,
상기 정규화 출력 문서는 상기 출력 문서에서 검증에 필요한 텍스트만을 포함하고,
상기 문서 작성 서비스 서버는, 상기 문서를 검증하기 위한 장치와 상기 전자문서에 관련된 데이터를 주고받을 수 있도록 연결되고, 상기 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 이미 작성된 전자문서를 저장하는,
문서를 검증하기 위한 장치.
A device for verifying a document, comprising:
processor; and
a memory storing computer readable instructions;
The instructions, when executed by the processor, cause the apparatus to:
Receiving an output document, which is a result of outputting an electronic document that has been created or has already been written in a document preparation service server according to a request of at least one user and stored in the document preparation service server;
preprocessing the output document to extract only the text described in the received output document, and converting it into a normalized output document,
to generate an output document hash value based on the converted normalized output document,
retrieve a document hash value corresponding to the output document from the block chain,
compare the retrieved document hash value with the output document hash value;
The normalized output document includes only text necessary for verification in the output document,
The document preparation service server is connected to a device for verifying the document to exchange data related to the electronic document, and when the at least one user requests to create a document of desired content, the requested electronic document is created or to store already created electronic documents;
A device for validating documents.
문서를 검증하기 위한 장치에 의해 수행되는 문서를 검증하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체로서,
적어도 하나의 사용자의 요청에 따라 문서 작성 서비스 서버에서 작성되거나 이미 작성되어 상기 문서 작성 서비스 서버에 저장된 전자문서를 수신하고,
수신된 상기 전자문서에 기재된 텍스트만을 추출하기 위해 상기 전자문서를 전처리하여 정규화 전자문서로 변환하고,
변환된 상기 정규화 전자문서를 기초로 문서 해시값을 생성하고,
상기 문서 해시값을 블록체인으로 전송하고,
상기 정규화 전자문서는 상기 전자문서에서 검증에 필요한 텍스트만을 포함하고,
상기 문서 작성 서비스 서버는, 상기 문서를 검증하기 위한 장치와 상기 전자문서에 관련된 데이터를 주고받을 수 있도록 연결되고, 상기 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 이미 작성된 전자문서를 저장하는, 문서를 전처리하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체.
A computer-readable recording medium storing instructions for providing a method for verifying a document, which is performed by an apparatus for verifying a document, comprising:
Receive an electronic document created or already created in the document preparation service server according to the request of at least one user and stored in the document preparation service server,
In order to extract only the text described in the received electronic document, the electronic document is pre-processed and converted into a normalized electronic document,
Generate a document hash value based on the converted normalized electronic document,
Transmitting the document hash value to the blockchain,
The normalized electronic document includes only text necessary for verification in the electronic document,
The document preparation service server is connected to a device for verifying the document to exchange data related to the electronic document, and when the at least one user requests to create a document of desired content, the requested electronic document is created A computer-readable recording medium storing instructions that provide a method for pre-processing a document, or storing an electronic document that has already been created.
문서를 검증하기 위한 장치에 의해 수행되는 문서를 검증하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체로서,
적어도 하나의 사용자의 요청에 따라 문서 작성 서비스 서버에서 작성되거나 이미 작성되어 상기 문서 작성 서비스 서버에 저장된 전자문서를 출력한 결과물인 출력 문서를 수신하고,
수신된 상기 출력 문서에 기재된 텍스트만을 추출하기 위해 상기 출력 문서를 전처리하여 정규화 출력 문서로 변환하고,
변환된 상기 정규화 출력 문서를 기초로 출력 문서 해시값을 생성하고,
상기 출력 문서에 대응하는 문서 해시값을 블록체인으로부터 리트리브하고,
리트리브된 상기 문서 해시값을 상기 출력 문서 해시값과 비교하고,
상기 정규화 출력 문서는 상기 출력 문서에서 검증에 필요한 텍스트만을 포함하고,
상기 문서 작성 서비스 서버는, 상기 문서를 검증하기 위한 장치와 상기 전자문서에 관련된 데이터를 주고받을 수 있도록 연결되고, 상기 적어도 하나의 사용자가 원하는 내용의 문서의 작성을 요청하면 요청된 전자문서를 작성하거나 이미 작성된 전자문서를 저장하는, 문서를 검증하기 위한 방법을 제공하는 명령어들을 저장하는 컴퓨터 판독 가능 기록매체.
A computer-readable recording medium storing instructions for providing a method for verifying a document, which is performed by an apparatus for verifying a document, comprising:
Receive an output document, which is a result of outputting an electronic document created or already created in the document preparation service server according to the request of at least one user and stored in the document preparation service server,
pre-processing the output document to extract only the text described in the received output document, and converting it into a normalized output document,
generating an output document hash value based on the converted normalized output document,
Retrieve a document hash value corresponding to the output document from the block chain,
comparing the retrieved document hash value with the output document hash value;
The normalized output document includes only text necessary for verification in the output document,
The document preparation service server is connected to a device for verifying the document to exchange data related to the electronic document, and when the at least one user requests to create a document of desired content, the requested electronic document is created A computer-readable recording medium storing instructions that provide a method for verifying a document, or storing an electronic document that has already been created.
KR1020200070401A 2020-06-10 2020-06-10 Apparatus and method for verifying a document by using blockchain KR102342542B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200070401A KR102342542B1 (en) 2020-06-10 2020-06-10 Apparatus and method for verifying a document by using blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200070401A KR102342542B1 (en) 2020-06-10 2020-06-10 Apparatus and method for verifying a document by using blockchain

Publications (2)

Publication Number Publication Date
KR20210153408A KR20210153408A (en) 2021-12-17
KR102342542B1 true KR102342542B1 (en) 2021-12-22

Family

ID=79033746

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200070401A KR102342542B1 (en) 2020-06-10 2020-06-10 Apparatus and method for verifying a document by using blockchain

Country Status (1)

Country Link
KR (1) KR102342542B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002334070A (en) * 2001-05-10 2002-11-22 Sony Corp Device, method, and program for document processing and recording medium
JP2008134719A (en) * 2006-11-27 2008-06-12 Fuji Xerox Co Ltd Device for determining identity of structured document
JP2018206303A (en) 2017-06-09 2018-12-27 富士ゼロックス株式会社 Information processing apparatus and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101796526A (en) 2007-09-04 2010-08-04 国际商业机器公司 The system and method that is used for authenticating electronic documents
KR102190236B1 (en) * 2018-07-31 2020-12-11 전재균 Method and system for transfering and verificating property of electronic document using block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002334070A (en) * 2001-05-10 2002-11-22 Sony Corp Device, method, and program for document processing and recording medium
JP2008134719A (en) * 2006-11-27 2008-06-12 Fuji Xerox Co Ltd Device for determining identity of structured document
JP2018206303A (en) 2017-06-09 2018-12-27 富士ゼロックス株式会社 Information processing apparatus and program

Also Published As

Publication number Publication date
KR20210153408A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
KR101853610B1 (en) Digital signature authentication system based on biometric information and digital signature authentication method thereof
US11121879B2 (en) Computer implemented method for automatically certifying documents with integrity and authenticity guarantees and computer programs thereof
US10404462B2 (en) Systems and methods for document authenticity validation by encrypting and decrypting a QR code
US20080091954A1 (en) Method and system for facilitating printed page authentication, unique code generation and content integrity verification of documents
EP2911067A1 (en) Electronic signing method based on biometric information recognition and method for verifying electronically signed electronic document based on said biometric information recognition, and terminal, server, and computer-readable recording medium using same
CN110503434A (en) Data verification method, device, equipment and storage medium based on hash algorithm
CN105162604A (en) Feature image identification based verification method and system, and verification server
KR20200094956A (en) Electronic document service platform using block chain
CN104951714A (en) Constellation based on device binding
WO2021005405A1 (en) A method and system for generating and validating documents and document holder using machine readable barcode
KR102342542B1 (en) Apparatus and method for verifying a document by using blockchain
CN111970122B (en) Official APP identification method, mobile terminal and application server
US11968526B2 (en) Identity management on a mobile device
CN108764834A (en) Signature method, system, equipment and the medium of electronic contract
KR102138077B1 (en) System and method for preventing forgery and alteration of documents
CN110197245B (en) Double-code two-dimensional code and cross-platform interaction method thereof
US11968314B2 (en) Signature token system
CN112149068A (en) Access-based authorization verification method, information generation method and device, and server
CN108763965A (en) Method, apparatus, equipment and the medium that electronic contract data are saved from damage
KR102024274B1 (en) The method for producing a identification code inserted document and a print system using the same
US11522715B2 (en) Methods for processing and verifying a document
KR101664228B1 (en) Dealing method based on electronic document using verifiable electronic notice of true copy
CN114445072A (en) Block chain transaction method and block chain transaction system
CN111046443A (en) Hard disk anti-counterfeiting realization method, hard disk and CA server
KR20230115714A (en) Printing system for electronic document using qr code and method thereof

Legal Events

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