[go: nahoru, domu]

KR20200063609A - System and method for preventing forgery and alteration of documents - Google Patents

System and method for preventing forgery and alteration of documents Download PDF

Info

Publication number
KR20200063609A
KR20200063609A KR1020180149520A KR20180149520A KR20200063609A KR 20200063609 A KR20200063609 A KR 20200063609A KR 1020180149520 A KR1020180149520 A KR 1020180149520A KR 20180149520 A KR20180149520 A KR 20180149520A KR 20200063609 A KR20200063609 A KR 20200063609A
Authority
KR
South Korea
Prior art keywords
document
hash value
content
identifier
received
Prior art date
Application number
KR1020180149520A
Other languages
Korean (ko)
Other versions
KR102138077B1 (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 KR1020180149520A priority Critical patent/KR102138077B1/en
Publication of KR20200063609A publication Critical patent/KR20200063609A/en
Application granted granted Critical
Publication of KR102138077B1 publication Critical patent/KR102138077B1/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/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/16Program or content traceability, e.g. by watermarking
    • 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/602Providing cryptographic facilities or services
    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1242Image or content composition onto a page
    • G06F3/1243Variable data printing, e.g. document forms, templates, labels, coupons, advertisements, logos, watermarks, transactional printing, fixed content versioning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The present invention relates to a system for preventing forgery and alteration of documents and a method thereof. The system includes: a document content separation unit that separates documents issued through a communication network into a form part and a content part; a hash module that inputs the separated content part into a hash function to derive a hash value; a hash value storage unit for storing the derived hash value in correspondence with an identifier of the document; a document form storage unit for storing the separated form part in correspondence with the identifier of the document; a print data generation unit that generates print data for issuing the document by combining the separated form part, the separated content part, and an identification code generated based on the content part and the identifier of the document; and a verification unit that transmits data to the user terminal to notify whether a hash value for confirmation derived by inputting the content part into the hash function from a user terminal that has recognized the identification code of the document on which the print data is printed, a hash value corresponding to the identifier of the document received by referring to the hash value storage unit after receiving the identifier of the document, and the received hash value for confirmation are equal to each other.

Description

문서 위변조 방지 시스템 및 방법 {System and method for preventing forgery and alteration of documents}System and method for preventing forgery and alteration of documents}

문서 위변조 방지 시스템 및 방법에 관한 것으로, 인쇄를 통해 발급하는 문서가 원본과 동일한 내용을 담고 있음을 검증할 수 있도록 하는 시스템 및 방법에 관한 것이다.It relates to a system and method for preventing forgery of a document, and to a system and method for verifying that a document issued through printing contains the same content as the original.

인터넷을 통하여 각종 증명서 등의 문서들을 PC로 발급받아 인쇄할 수 있게 되면서, 많은 사람들이 동사무소 등을 직접 방문하지 않고도 필요한 서류들을 손쉽게 구할 수 있게 되었다. 그러나, 이와 같이 문서를 손쉽게 구할 수 있게 되면서, 문서의 위조나 변조 가능성도 높아지게 되어, 이를 방지하기 위한 시스템 및 방법이 요구되고 있다.As documents such as various certificates can be issued and printed through the Internet, many people can easily obtain necessary documents without having to visit the office. However, as the document can be easily obtained in this way, the possibility of forgery or falsification of the document increases, and a system and method for preventing this are required.

이와 같은 문제를 해결하기 위해, 종래의 한국등록특허 제10-0430469호 "문서 위조/변조 방지 시스템" 등 여러 기술에서는 인쇄하는 문서의 원본 내용을 공개키(PKI) 기반으로 암호화해서 저장해두고, 필요할 경우 이를 복호화하여 원문과 인쇄물을 비교해 볼 수 있도록 하는 기술을 공개하고 있다.In order to solve this problem, in the prior art Korean Patent Registration No. 10-0430469 "document forgery/falsification prevention system", various technologies encrypt and store the original contents of the document to be printed based on the public key (PKI), In this case, it discloses a technology that allows decoding and comparing the original text and printed matter.

도 1은 이와 같이 종래 기술에 따른 문서 위변조 방지 방법을 도시한 도면이다.1 is a view showing a document forgery prevention method according to the prior art.

도면에 도시한 바와 같이, 종래에는 문서를 생성하면서, 생성되는 문서의 전체 내용을 발급자가 개인키로 암호화하고 이를 2차원 바코드와 같은 식별코드로 만들어 문서에 포함시켜 두면, 이를 검증하고자 하는 사람이 모바일 단말기 등을 이용하여 해당 식별코드를 읽고 공개키로 이를 복호화하여 원문의 내용을 단말기를 통해 확인할 수 있도록 한 것이다.As shown in the figure, in the related art, when a document is generated, the entire contents of the generated document are encrypted with a private key and made into an identification code such as a two-dimensional barcode, and included in the document, a person who wants to verify it is mobile. The identification code is read using a terminal, etc. and decrypted with a public key so that the contents of the original text can be checked through the terminal.

이와 같은 방법을 이용할 경우, 공개키 암호화 방법을 이용하여 원본을 보호할 수 있어, 원본과 발급된 문서의 대조가 가능하긴 하나, 식별코드를 생성하기 위한 개인키가 개발자 등을 통해 유출되는 경우에는 매우 손쉽게 위조가 가능하다는 문제점이 있다. 또한, 문서의 전체 내용을 암호화하고, 이를 식별코드로 변환하여 삽입해야 하기 때문에, 식별코드가 복잡해지고, 식별코드의 인식률이 떨어져 원본 검증이 어려운 문제점이 있다.When using this method, it is possible to protect the original using the public key encryption method, so it is possible to compare the original and the issued document, but if the private key for generating the identification code is leaked through the developer, etc. There is a problem that it can be forged very easily. In addition, since the entire contents of the document must be encrypted and converted into an identification code and inserted, the identification code is complicated, and the recognition rate of the identification code is poor, and thus, the original verification is difficult.

한국등록특허 제10-0430469호Korean Registered Patent No. 10-0430469

본 발명은 온라인을 통해 발급되는 문서가 위변조 되었는지 여부를 핸드폰 등의 단말기로 간단하게 검증할 수 있도록 하는 것을 목적으로 한다.An object of the present invention is to make it easy to verify whether a document issued online is forged or forged with a terminal such as a mobile phone.

또한, 본 발명은 공개키(PKI)와 같은 암호화 방식을 이용하지 않고도 안전하게 위변조 여부를 확인할 수 있도록 하는 것을 목적으로 한다.In addition, the present invention aims to make it possible to safely check for forgery or alteration without using an encryption method such as a public key (PKI).

또한, 본 발명은 문서에서 중요 정보만을 식별코드화하여 인쇄함으로써, QR코드 등과 같이 식별력 높은 간편한 코드로 위변조를 확인할 수 있도록 하는 것을 목적으로 한다.In addition, the present invention aims to make it possible to identify forgery and alteration with a simple code with high discrimination power, such as a QR code, by printing only the important information in the document.

또한, 본 발명은 문서 내의 중요 내용을 문서의 발급자가 구분할 수 있도록 하여, 복잡한 전체 문서가 아니라, 위변조 문제가 발생될 수 있는 중요 내용만 빠르게 확인할 수 있도록 하여 검증의 효율성을 높이는 것을 목적으로 한다.In addition, the present invention aims to increase the efficiency of verification by allowing the issuer of the document to distinguish the important content in the document, so that it is possible to quickly check only the important content that can cause a forgery and alteration problem, not the entire complex document.

이러한 목적을 달성하기 위하여 본 발명의 일실시예에 따른 위변조 방지 시스템은 통신망을 통해 발급되는 문서를 서식 부분과 내용 부분으로 분리하는 문서 내용 분리부, 상기 분리된 내용 부분을 해시 함수에 입력하여 해시 값을 도출하는 해시 모듈, 상기 도출된 해시 값을 상기 문서의 식별자와 대응시켜 저장하는 해시 값 저장부, 상기 분리된 서식 부분 상기 문서의 식별자와 대응시켜 저장하는 문서 서식 저장부, 상기 분리된 서식 부분, 상기 분리된 내용 부분 및 상기 내용 부분과 상기 문서의 식별자를 기초로 생성한 식별코드를 결합하여 상기 문서의 발급을 위한 인쇄 데이터를 생성하는 인쇄 데이터 생성부 및 상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하는 검증부를 포함하여 구성된다.In order to achieve this object, the forgery prevention system according to an embodiment of the present invention has a document content separating part separating a document issued through a communication network into a form part and a content part, and hashing the separated content part into a hash function. A hash module for deriving a value, a hash value storage unit for storing the derived hash value in correspondence with an identifier of the document, a document format storage unit for storing the separated format part in correspondence with an identifier of the document, the separated format A print data generation unit that combines a part, the separated content part, and the identification code generated based on the content part and the identifier of the document to generate print data for issuance of the document, and of the document on which the print data is printed. A hash value for verification derived by inputting the content portion into the hash function from the user terminal recognizing the identification code, and an identifier of the document, receives the identifier of the received document by referring to the hash value storage unit And a verification unit that returns to the user terminal whether the hash value to be and the received hash value for confirmation are the same.

이 때, 위변조 방지 시스템은 상기 사용자 단말기로부터 상기 문서의 식별자를 포함하는 요청을 수신하고, 이에 응답하여 상기 문서 서식 저장부에 저장된 문서 서식을 상기 사용자 단말기로 전송하는 서식 전송부를 더 포함할 수 있다.At this time, the forgery prevention system may further include a form transmission unit that receives a request including the identifier of the document from the user terminal, and in response, transmits the document format stored in the document format storage unit to the user terminal. .

이 때, 상기 사용자 단말기는 상기 검증부에서 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일하다고 회신하는 경우, 상기 서식 전송부로부터 수신한 상기 문서 서식과 상기 인쇄된 문서로부터 인식한 식별코드에 포함된 상기 내용 부분을 결합하여 생성된 원본 이미지를 화면에 출력할 수 있다.At this time, when the user terminal returns that the hash value corresponding to the identifier of the received document and the received hash value for verification are the same by the verification unit, the document format and the print received from the format transmission unit are returned. The original image generated by combining the contents included in the identification code recognized from the document can be displayed on the screen.

또한, 상기 문서의 발급자로부터 상기 문서의 서식 부분 및 내용 부분을 구별하기 위한 구별 정보를 수신하는 문서정보 수신부를 더 포함하고, 상기 문서 내용 분리부는 상기 문서정보 수신부에서 상기 발급자로부터 수신한 상기 구별 정보를 기초로 상기 문서의 서식 부분 및 내용 부분을 분리할 수 있다.In addition, the document information receiving unit for receiving the distinguishing information for distinguishing the format portion and the content portion of the document from the issuer of the document further includes, the document content separating unit is the identification information received from the issuer in the document information receiving unit It is possible to separate the format part and the content part of the document on the basis of.

이 때, 상기 문서정보 수신부는 상기 발급자로부터 상기 내용 부분 중에서 중요 내용에 관한 정보를 수신하고, 상기 문서 내용 분리부는 상기 수신된 중요 내용에 관한 정보를 기초로 상기 분리된 내용 부분을 중요 내용 부분과 일반 내용 부분으로 더 분리할 수 있다.At this time, the document information receiving unit receives information on important content from the issuer from the issuer, and the document content separating unit divides the separated content part from the important content part based on the information on the received important content. It can be further separated into general content parts.

또한, 상기 해시 모듈은 상기 중요 내용 부분을 해시함수에 입력하여 해시 값을 도출하고, 상기 인쇄 데이터 생성부는 상기 중요 내용 부분과 상기 문서의 식별자를 기초로 상기 식별코드를 생성하며, 상기 검증부는 상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 중요 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신할 수 있다.In addition, the hash module derives a hash value by inputting the important content part into a hash function, and the print data generation unit generates the identification code based on the important content part and the identifier of the document, and the verification unit comprises A hash value for verification and an identifier of the document, which are derived by inputting the important content part into the hash function from a user terminal that recognizes the identification code of a document on which print data is printed, receive the hash value storage unit, and refer to the hash value storage unit. Whether the hash value corresponding to the identifier of the received document and the received hash value for confirmation may be the same may be returned to the user terminal.

본 발명에 따르면 온라인을 통해 발급되는 문서가 위변조 되었는지 여부를 핸드폰 등의 단말기로 간단하게 검증할 수 있도록 하는 효과를 얻을 수 있다.According to the present invention, it is possible to obtain an effect of simply verifying whether a document issued online is forged or not with a terminal such as a mobile phone.

또한, 본 발명에 따르면 공개키(PKI)와 같은 암호화 방식을 이용하지 않고도 안전하게 위변조 여부를 확인할 수 있도록 하는 효과를 얻을 수 있다.In addition, according to the present invention, it is possible to obtain an effect of safely checking for forgery or alteration without using an encryption method such as a public key (PKI).

또한, 본 발명에 따르면, 문서에서 중요 정보만을 식별코드화하여 인쇄함으로써, QR코드 등과 같이 식별력 높은 간편한 코드로 위변조를 확인할 수 있도록 하는 효과를 얻을 수 있다.In addition, according to the present invention, it is possible to obtain an effect of confirming forgery and alteration with a simple code having high discrimination power such as a QR code by printing only the important information in the document.

또한, 본 발명에 따르면, 문서 내의 중요 내용을 문서의 발급자가 선택하여 구분할 수 있도록 하여, 복잡한 전체 문서가 아니라, 위변조 문제가 발생될 수 있는 중요 내용만 빠르게 확인할 수 있도록 하여 검증의 효율성을 높이는 효과를 얻을 수 있다.In addition, according to the present invention, it is possible to select and distinguish important contents in a document by the issuer of the document, so that it is possible to quickly check only important contents that may cause forgery and alteration problems, rather than a complex whole document, thereby increasing the effectiveness of verification. Can get

도 1은 종래 기술에 따른 문서 위변조 방지 방법의 일실시예를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 위변조 방지 시스템의 주변 시스템과의 연결관계를 도시한 도면이다.
도 3은 본 발명의 일실시예에 따른 위변조 방지 시스템의 내부 구성을 도시한 구성도이다.
도 4는 본 발명의 일실시예에 따른 위변조 방지 시스템에서 제공되는 문서의 일례를 도시한 도면이다.
도 5는 본 발명의 일실시예에 따른 위변조 방지 시스템을 통해 사용자 단말기에서 위변조를 확인하는 화면의 일례를 도시한 도면이다.
도 6은 본 발명의 일실시예에 따른 위변조 방지 방법의 흐름을 나타내는 흐름도이다.
1 is a view showing an embodiment of a document forgery prevention method according to the prior art.
2 is a view showing a connection relationship with a peripheral system of a forgery and alteration prevention system according to an embodiment of the present invention.
3 is a block diagram showing the internal configuration of a forgery and alteration prevention system according to an embodiment of the present invention.
4 is a view showing an example of a document provided in the forgery and alteration prevention system according to an embodiment of the present invention.
5 is a diagram illustrating an example of a screen for confirming forgery and alteration in a user terminal through a forgery prevention system according to an embodiment of the present invention.
6 is a flowchart illustrating a flow of a method for preventing forgery and alteration according to an embodiment of the present invention.

이하, 본 발명의 바람직한 실시예를 첨부된 도면들을 참조하여 상세히 설명한다. 본 발명을 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명은 생략하기로 한다. 또한 본 발명의 실시예들을 설명함에 있어 구체적인 수치는 실시예에 불과하며 이에 의하여 발명의 범위가 제한되지 아니한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In describing the present invention, when it is determined that a detailed description of related known configurations or functions may obscure the subject matter of the present invention, the detailed description will be omitted. In addition, in describing the embodiments of the present invention, specific numerical values are merely examples, and the scope of the invention is not limited thereby.

본 발명에 따른 위변조 방지 시스템은 중앙처리장치(CPU) 및 메모리(Memory, 기억장치)를 구비하고 인터넷 등의 통신망을 통하여 다른 단말기와 연결 가능한 서버의 형태로 구성될 수 있다. 그러나 본 발명이 중앙처리장치 및 메모리 등의 구성에 의해 한정되지는 아니한다. 또한, 본 발명에 따른 냉매 공급 시스템은 서버와 같이 물리적으로 하나의 장치로 구성될 수도 있으며, 복수의 장치에 분산된 형태로 구현될 수도 있어, 본 발명은 이와 같은 물리적인 장치의 구성에 의하여 한정되지 아니한다.The forgery prevention system according to the present invention may be configured in the form of a server having a central processing unit (CPU) and a memory (memory, storage) and connectable to other terminals through a communication network such as the Internet. However, the present invention is not limited by the configuration of the central processing unit and memory. In addition, the refrigerant supply system according to the present invention may be physically configured as a single device, such as a server, or may be implemented in a distributed form in a plurality of devices, and the present invention is limited by the configuration of such a physical device. It is not.

도 2는 본 발명의 일실시예에 따른 위변조 방지 시스템의 주변 시스템과의 연결관계를 도시한 도면이다.2 is a view showing a connection relationship with a peripheral system of a forgery and alteration prevention system according to an embodiment of the present invention.

도면에 도시한 바와 같이, 본 발명의 일실시예에 따른 위변조 방지 시스템(201)은 위변조 방지를 검증할 수 있는 사용자 단말기(202), 문서 발급자(203) 및 문서 인쇄 PC(204)와 유선 또는 무선 통신망을 통해 연결되어 데이터를 주고받도록 구성될 수 있다.As shown in the figure, the forgery prevention system 201 according to an embodiment of the present invention is a user terminal 202, a document issuer 203 and a document printing PC 204 capable of verifying forgery prevention wired or It may be configured to be connected through a wireless communication network to exchange data.

위변조 방지 시스템(201)은 위변조 방지 기능을 제공해야 하는 문서(205)를 발행할 때에, 문서 발급자(203)로부터 문서에 대한 정보를 수신하고, 문서를 인쇄하고자 하는 사용자는 문서 인쇄 PC(204)를 통하여 해당 문서(205)에 대한 정보를 가지고 있는 위변조 방지 시스템(201)에 접속하여 문서(205)를 발행하게 된다. 문서(205)의 발행은 종래의 기술에서와 같이, 보안 기능이 구비된 PC 프린팅 모듈을 통하여 인쇄함으로써 진행될 수 있다.The forgery prevention system 201 receives information about a document from the document issuer 203 when issuing a document 205 that should provide a forgery prevention function, and a user who wants to print the document prints the document PC 204 Through this, the forgery prevention system 201 having information on the document 205 is accessed to issue the document 205. Publication of the document 205 can be done by printing through a PC printing module equipped with a security function, as in the prior art.

이렇게 발행된 문서(205)를 타인에게 제출하면, 받은 문서를 검증하고자 하는 사용자는 본인의 휴대전화, 태블릿 등의 사용자 단말기(202)를 통해 해당 문서의 위변조 여부를 검증하도록 한다.When the thus-issued document 205 is submitted to another person, a user who wants to verify the received document verifies whether the document is forged or altered through the user terminal 202 such as a mobile phone or tablet.

일반적으로 종래의 기술에서는 문서의 해당 페이지를 구성하는 내용을 공개키 암호화 방식을 이용하여 개인키로 암호화하고, 이를 식별코드 형태로 만들어 문서의 하단 등에 포함시키고, 검증하고자 하는 단말기에서 이 식별코드를 인식한 뒤 공개키로 이를 복호화하여 원본의 내용을 단말기 화면에서 확인하여 인쇄된 문서와 비교해 볼 수 있도록 하고 있다.In general, in the related art, the content constituting the page of the document is encrypted with a private key using a public key encryption method, and it is made in the form of an identification code, included at the bottom of the document, etc., and recognized by the terminal to be verified After that, the public key is decrypted to check the contents of the original on the terminal screen and compare it with the printed document.

그러나, 이를 위해서는 문서의 전체를 암호화하여 식별코드로 저장하기 때문에, 정해진 영역 내에서 식별코드에 많은 정보를 포함시켜야 하고, 인쇄 해상도 등에 문제가 있는 경우 카메라를 통해 이 코드를 제대로 인식하지 못하여 위변조 검증을 할 수 없는 문제가 발생하곤 하였다.However, for this purpose, since the entire document is encrypted and stored as an identification code, it is necessary to include a lot of information in the identification code within a designated area, and if there is a problem in print resolution, etc., this code cannot be properly recognized through the camera to verify forgery and alteration There was a problem that could not be done.

본 발명에서는 문서(205)를 발행할 때, 문서 내에서 반드시 확인이 필요한 부분을 구별해 두고, 그 밖의 서식 부분을 별도로 저장하면서, 확인이 필요한 부분은 식별코드로 변환하여 문서(205)에 삽입하고, 이 내용에 대한 해시 값을 서버에 저장해 두었다가 향후 이 문서(205)의 내용을 확인하고자 하는 경우, 사용자 단말기(202)에서 해당 문서(205)의 식별코드를 인식하여 위변조 여부를 확인하도록 한다.In the present invention, when issuing the document 205, the part that needs to be identified in the document is distinguished, and while the other form parts are separately stored, the part that needs to be checked is converted into an identification code and inserted into the document 205. Then, if the hash value for this content is stored in the server and the user wants to check the content of this document 205 in the future, the user terminal 202 recognizes the identification code of the document 205 to check for forgery or alteration. .

즉, 사용자 단말기에서 문서에 인쇄된 식별코드로부터 문서(205)의 확인이 필요한 부분에 대한 정보를 획득하여 사용자에게 보여주어, 문서(205)에 인쇄된 내용과 비교하도록 하는데, 이 때, 식별코드까지 위조하는 것을 방지하기 위하여, 식별코드로부터 읽은 확인해야 할 내용에 대한 해시 값을 추출하고, 이를 서버에 저장해 두었던 해시 값과 비교하여 변경이 있었는지 확인하도록 하는 것이다.That is, the user terminal obtains information about the part requiring verification of the document 205 from the identification code printed on the document and shows it to the user to compare the content printed on the document 205, wherein the identification code To prevent counterfeiting, extract the hash value for the contents to be read from the identification code, and compare it with the hash value stored in the server to check if there has been a change.

이와 같은 방법을 이용하면, 문서의 내용을 공개키 암호화 등의 방법으로 암호화하지 않고도 안전하게 문서의 위변조를 확인할 수 있으며, 공개키 암호화의 경우 개인키가 유출될 경우 너무나 손쉽게 위변조가 가능하다는 문제가 있는 반면, 본 발명에 따르면 그와 같은 보안상의 위험을 사전에 예방할 수 있게 된다.Using this method, it is possible to safely check forgery of a document without encrypting the contents of the document by means of public key encryption, etc. In the case of public key encryption, there is a problem that forgery can be forged if the private key is leaked. On the other hand, according to the present invention, such a security risk can be prevented in advance.

도 3은 본 발명의 일실시예에 따른 위변조 방지 시스템의 내부 구성을 도시한 구성도이다.3 is a block diagram showing the internal configuration of a forgery and alteration prevention system according to an embodiment of the present invention.

도면에 도시한 바와 같이 본 발명의 일실시예에 따른 위변조 방지 시스템(201)은 문서 내용 분리부(310), 해시 모듈(320), 해시 값 저장부(330), 문서 서식 저장부(340), 인쇄 데이터 생성부(350), 검증부(360), 서식 전송부(370) 및 문서 정보 수신부(380)를 포함하여 구성될 수 있다. 각각의 구성들을 소프트웨어, 하드웨어 또는 소프트웨어와 하드웨어의 결합으로 이루어질 수 있는데, 각각이 물리적으로 분리되는 구성요소가 아니라, 기능적인 의미로 분리되는 구성요소일 수 잇다.As shown in the figure, the forgery prevention system 201 according to an embodiment of the present invention includes a document content separation unit 310, a hash module 320, a hash value storage unit 330, and a document format storage unit 340. , A print data generation unit 350, a verification unit 360, a form transmission unit 370, and a document information receiving unit 380. Each of the components may be composed of software, hardware, or a combination of software and hardware. Each component may be a component that is separated in a functional sense, rather than a component that is physically separated.

문서 내용 분리부(310)는 통신망을 통해 발급되는 문서(205)를 서식 부분과 내용 부분으로 분리한다. 일반적으로 통신망을 통해 발급되는 문서는 서식 부분이 준비되어 있고 내용 부분을 여기에 부가하여 작성되게 되는데, 문서 내용 분리부(310)는 이처럼 별도로 되어 있는 서식 부분과 내용 부분을 합쳐 인쇄할 문서를 만들기 전에 서식 부분과 내용 부분을 각각 따로 관리할 수 있도록 하는 것으로, 하나로 작성되어 있는 문서 내에서 내용 부분을 강제로 추출해 내는 것만을 의미하는 것은 아니다.The document content separating part 310 separates the document 205 issued through the communication network into a form part and a content part. In general, a document issued through a communication network is provided with a form portion, and a content portion is added thereto, and the document content separation unit 310 creates a document to be printed by combining the separate format portion and the content portion. Before, the form part and the content part can be managed separately, and it does not mean that the content part is forcibly extracted from one document.

앞서 설명한 바와 같이 본 발명에서는 통신망을 통하여 문서를 발급하여 PC에 연결된 프린터 등을 통해 문서를 생성하면서도, 문서의 위변조를 방지할 수 있도록 하는 것이다. 이 때, 종래기술에서와 같이 문서의 전체 내용에 위변조가 있는지 확인하기 위해서는 매우 많은 정보가 식별코드 등에 포함되어야 하는데, 이는 식별코드의 인식률을 떨어뜨려 검증이 어려워지는 이유가 된다.As described above, in the present invention, a document is issued through a communication network to generate a document through a printer connected to a PC, etc., while preventing forgery of the document. At this time, as in the prior art, in order to confirm whether there is forgery or alteration in the entire contents of the document, a great deal of information must be included in the identification code, etc., which is why verification is difficult due to a decrease in the recognition rate of the identification code.

따라서, 문서 내용 분리부(310)에서는 문서(205)의 내용 중에서 어느 문서에나 공통되는 서식 부분과, 해당 문서에만 존재하는 내용인 내용 부분을 구별하여, 불필요하게 서식 부분을 확인하는 수고를 덜고 내용 부분에서 중요한 부분만을 직접 확인함으로써, 보다 편하게 위변조를 확인할 수 있도록 하는 것이다.Therefore, the document content separating unit 310 distinguishes between a format part common to any document among the content of the document 205 and a content part that exists only in the corresponding document, thereby saving unnecessary trouble of checking the format part. It is to make it easier to identify forgery and alteration by directly checking only the important part in the part.

문서 내용 분리부(310)에서는 서식 부분과 내용 부분을 구별하기 위하여, 문서의 발급자(203)로부터 해당 정보를 수신할 수 있는데, 이를 통해 문서에서 중요한 부분을 가장 잘 아는 문서의 발급자(203)가 해당 문서 내에서 검증이 필요한 부분을 확인하도록 하여 검증의 효과를 극대화할 수 있다.In order to distinguish the format part from the content part, the document content separator 310 may receive the corresponding information from the document issuer 203, through which the issuer 203 of the document that knows the most important part of the document The effectiveness of verification can be maximized by ensuring that the part that needs verification in the document is identified.

문서 내용 분리부(310)는 또한 발급자(203)로부터 확인을 받아 내용 부분 중에서도 특히 중요한 내용을 담고 있는 중요 내용 부분과 일반적인 내용을 담고 있는 일반 내용 부분을 분리하도록 할 수 있다. 이처럼 중요 내용 부분이 내용 부분에서 별도로 분리되는 경우, 중요 내용 부분에 대해서만 식별코드화 하고 해시 값을 저장하여 사용자가 확인할 수 있도록 구성할 수 있다. 이를 통해 문서를 원본과 대조할 때에, 문서의 중요한 부분을 한번에 비교할 수 있게 되어, 문서 검증의 효율을 높일 수 있다.The document content separating unit 310 may also receive confirmation from the issuer 203 to separate the important content part containing particularly important content from the content part and the general content part containing general content. In this way, when the important content part is separated from the content part, it can be configured so that the user can check it by identifying code only for the important content part and storing the hash value. This makes it possible to compare important parts of a document at a time when the document is compared with the original, thereby improving the efficiency of document verification.

해시 모듈(320)은 상기 분리된 내용 부분을 해시 함수에 입력하여 해시 값을 도출한다. 앞서 살펴본 바와 같이, 문서의 내용 부분에 대한 정보를 식별코드화 하여 문서(205)에 삽입함으로써, 사용자 단말기(202)에서 이를 화면을 통해 보면서 문서와 비교하여 검증할 수 있도록 하는 것인데, 이 때, 문서에 기재된 내용에 맞도록 식별코드의 내용까지 위변조하는 경우에는 위변조가 이루어지지 않은 것처럼 보일 가능성이 있다.The hash module 320 derives a hash value by inputting the separated content portion into a hash function. As described above, the information on the content part of the document is coded and inserted into the document 205, so that the user terminal 202 can verify it by comparing it with the document while viewing it through the screen. If the contents of the identification code are falsified to match the contents described in the above, there is a possibility that the falsification has not been made.

종래에는 이를 방지하기 위하여 공개키 암호화 방식을 통해 개인키로 식별코드의 내용을 암호화하고 단말기에서 공개키로 이를 해독하여 확인하도록 하는 방식을 사용하였는데, 키 관리 등의 문제가 여전히 존재하였다. 따라서 본 발명에서는 원본 문서의 내용 부분에 대한 정보를 해시 함수에 입력하여 해시 값을 도출하고, 이를 서버에 안전하게 저장해 두었다가, 향후 문서에 인쇄된 식별코드를 통해 획득한 내용 부분의 해시 값과 비교함으로써, 문서 발급시와 실제 문서 사이에서 내용의 변동이 있었는지 확인할 수 있도록 한 것이다.Conventionally, in order to prevent this, a method of encrypting the contents of the identification code with the private key through the public key encryption method and using the method of decrypting it with the public key to confirm it with the public key, there are still problems such as key management. Therefore, in the present invention, information on the content portion of the original document is input to a hash function to derive a hash value, which is safely stored on the server, and then compared with the hash value of the content portion obtained through the identification code printed in the future document. In order to confirm whether there was any change in the content between the time of issuing the document and the actual document.

해시 모듈(320)은 이와 같이, 특정 문서의 발행 시점에 계산된 값과 실제 인쇄된 이후의 값이 동일한지 확인할 수 있도록 하는 방법이면 어떤 것도 가능하며, CRC, MD5 등 종래 널리 알려진 기술들을 모두 적용할 수 있다.The hash module 320 can be any method as long as it is possible to check whether the value calculated at the time of issuance of a specific document and the value after the actual printing are the same, and all of the conventionally well-known techniques such as CRC and MD5 are applied. can do.

해시 모듈(320)에서 사용하는 해시 함수는 문서를 해시 값으로 변환하는 것은 가능한데, 그 역으로의 변환은 불가능하다는 특징이 있다. 따라서, 개인정보 보호 등 여러가지 이유로 발급되는 문서의 정보를 서버에 그대로 저장해 두고 이를 확인하도록 하기에 어려움이 있는데, 본 발명에서는 이 해시 값 만을 서버에 저장하기 때문에, 혹시라도 이 해시 값이 유출되는 경우에도 이를 통해 문서의 내용이 유출될 가능성은 없다.The hash function used in the hash module 320 is capable of converting a document into a hash value, and vice versa. Therefore, it is difficult to store the information of the document issued for various reasons such as personal information protection on the server and check it. In the present invention, since only this hash value is stored on the server, if this hash value is leaked There is no possibility that the contents of the document will be leaked through this.

또한, 해시 모듈(320)에서 해시 함수를 통해 나온 해시 값이 유출되는 경우라도, 공개키 암호화 방식을 이용한 경우에서 개인키가 유출되면 자유롭게 문서를 위조할 수 있는 것과는 달리 문서의 식별코드를 위조하여 해당 해시 값이 나오도록 조작하는 것 자체가 거의 불가능에 가깝기 때문에, 문서의 위변조와 관련한 안전성은 더욱 높은 것으로 판단된다.In addition, even when the hash value from the hash function is leaked from the hash module 320, unlike the case where the private key is leaked in the case of using the public key encryption method, the document's identification code can be forged. Since it is almost impossible to manipulate the hash value to come out, it is considered that the safety related to forgery and alteration of documents is higher.

해시 값 저장부(330)는 상기 도출된 해시 값을 상기 문서의 식별자와 대응시켜 저장한다. 향후 문서(205)를 검증할 때에, 앞서 살펴본 바와 같이 저장된 해시 값과 실제 인쇄된 문서에서 획득된 해시 값을 비교하여 동일한지 확인하게 되는데, 이를 위해서는 어느 문서에 대한 해시 값이 저장되어 있는지를 확인할 수 있어야 한다. 따라서 해시 값 저장부(330)에서는 문서에 대한 식별 정보를 해시 값에 대응시켜 저장하도록 하고, 문서에 삽입된 식별코드에도 해당 문서에 대한 식별 정보를 저장하도록 하면, 해당 문서의 식별코드에 위변조가 있었는지 여부를 쉽게 판단할 수 있다.The hash value storage unit 330 stores the derived hash value in association with the document identifier. When verifying the document 205 in the future, as described above, the stored hash value is compared with the hash value obtained from the actual printed document to check whether it is the same. For this, it is confirmed which document hash value is stored. Should be able to Therefore, the hash value storage unit 330 stores the identification information for the document in correspondence with the hash value, and if the identification code inserted in the document is also stored in the identification code for the document, forgery and alteration in the identification code of the document It is easy to judge whether there was.

이 때 해시 값 저장부(330)에서 저장하는 식별자는 문서를 식별하기 위한 문서 번호나 URL 등의 정보일 수 있으며, 이에 의해 발명이 제한되지는 않는다.At this time, the identifier stored in the hash value storage unit 330 may be information such as a document number or a URL for identifying the document, and the invention is not limited thereby.

해시 값 저장부(330)는 해시 값을 문서(205)의 식별자와 대응시켜 저장할 수 있으면 어떤 형태로 구성되어도 가능하며, 상용 DB를 이용하거나, 일반 파일 형태로 저장하는 것도 가능하다.The hash value storage unit 330 may be configured in any form as long as the hash value can be stored in correspondence with an identifier of the document 205, and may be stored in a general file format or using a commercial DB.

한편, 해시 값 저장부(330)는 클라우드 시스템상에 존재하거나, 블록체인을 통해 저장되도록 할 수 있는데, 앞서 살펴본 바와 같이 저장되는 해시 값이 유출되는 것이 전혀 문제되지 않으므로, 퍼블릭 방식의 블록체인을 이용하는 경우라도, 보안에 대한 우려 없이 안전하게 위변조 방지 동작을 수행할 수 있게 되어, 다양한 형태의 플랫폼에 적용할 수 있다는 장점이 있다.Meanwhile, the hash value storage unit 330 may exist on the cloud system or may be stored through a blockchain. As described above, since the stored hash value is not leaked at all, it is not possible to use a public blockchain. Even in the case of using it, it is possible to safely perform a forgery prevention operation without concern for security, and it has an advantage that it can be applied to various types of platforms.

문서 서식 저장부(340)는 상기 분리된 서식 부분 상기 문서의 식별자와 대응시켜 저장한다. 앞서 설명한 바와 같이 본 발명에서는 문서(205) 내에서 중요한 정보를 담고 있는 내용 부분을 특히 검증할 수 있도록 하는 것을 특징으로 하고 있으나, 사용자가 검증을 위해 원본 문서를 단말기에서 확인할 때에, 문서 서식이 제대로 보이지 않으면 위조 여부를 확인하기 어려울 수 있다. 따라서, 단말기 화면에 원본 문서를 제대로 복원해 내기 위하여, 서식 부분의 내용을 문서의 식별자와 대응시켜 저장해 두면, 향후 이 정보를 이용하고, 식별코드에 들어 있는 내용 부분을 적용시킴으로써, 문서의 발행 전 원본을 정확하게 확인할 수 있도록 한다.The document form storage unit 340 stores the separated form part in association with the identifier of the document. As described above, the present invention is characterized in that the content portion containing important information in the document 205 is particularly verifiable, but when the user checks the original document in the terminal for verification, the document format is properly If you don't see it, it can be difficult to check for forgery. Therefore, in order to properly restore the original document on the terminal screen, if the content of the form part is stored in correspondence with the document identifier, then this information is used in the future and the content part contained in the identification code is applied, before the document is published. Make sure to check the original accurately.

문서 서식 저장부(340) 또한 다양한 데이터 저장 방법을 사용할 수 있는데, 이와 같은 구체적인 방법에 의하여 발명이 제한되지는 않는다.The document format storage unit 340 may also use various data storage methods, but the invention is not limited by such specific methods.

인쇄 데이터 생성부(350)는 상기 분리된 서식 부분, 상기 분리된 내용 부분 및 상기 내용 부분과 상기 문서의 식별자를 기초로 생성한 식별코드를 결합하여 상기 문서의 발급을 위한 인쇄 데이터를 생성한다.The print data generation unit 350 combines the separated form part, the separated content part, and the content part and an identification code generated based on the identifier of the document to generate print data for issuing the document.

상술한 바와 같이, 문서(205)는 인쇄 PC(204)에 연결된 프린터에서 인쇄함으로써 생성되는데, 이를 위해서는 문서(205)에 인쇄될 내용을 확인할 필요가 있다. 본 발명에서 인쇄되는 문서(205)에는 서식 부분과 내용 부분을 결합하여 원래 문서에 있는 내용들이 포함되는 것은 자명한 일이며, 이 내용과 함께, 위변조 방지를 위한 식별코드가 함께 인쇄되도록 해야 한다.As described above, the document 205 is generated by printing on a printer connected to the printing PC 204, and for this, it is necessary to check the content to be printed on the document 205. It is obvious that the document 205 to be printed in the present invention includes the contents of the original document by combining the form part and the content part, and the identification code for preventing forgery and alteration should be printed together with the content.

따라서, 인쇄 데이터 생성부(350)는 위변조 여부를 확인할 수 있도록 하는 식별코드를 인쇄 데이터에 포함시키는데, 이 식별코드는 문서에서 분리된 내용 부분을 코드화한 것을 포함하고 있으며, 또한 문서를 식별하기 위한 식별자를 코드화한 것을 포함하고 있다. 식별코드는 바코드, 2차원 바코드, QR코드, 컬러 QR 코드, DataMetrix코드 등 다양한 형태가 될 수 있는데, 종래기술에서와 같이 문서 전체의 내용을 코드화할 필요가 없고 내용 부분 또는 내용 부분 중에서 중요 내용 부분만을 코드화하기 때문에, 인식률이 높은 QR코드와 같은 형태로 구현하는 것이 가능해진다.Therefore, the print data generation unit 350 includes an identification code to check for forgery or alteration in the print data, and the identification code includes coding a part of the content separated from the document, and also for identifying the document. It contains the coded identifier. The identification code can be of various types such as barcode, two-dimensional barcode, QR code, color QR code, DataMetrix code, etc. As in the prior art, there is no need to code the entire document, and the important part of the content part or content part Since only the code is coded, it is possible to implement it in the same form as a QR code with a high recognition rate.

이를 통해 인쇄 데이터 생성부(350)에서 생성된 인쇄 데이터가 인쇄되게 되면, 사용자 단말기(202)에서 이 인쇄 데이터에 포함된 식별정보를 확인하는 것으로 확인해야 할 원본의 내용들을 사용자에게 화면으로 제공하도록 하는 것이 가능하다.When the print data generated by the print data generation unit 350 is printed through this, the user terminal 202 checks the identification information included in the print data to provide the user with the contents of the original to be checked on the screen. It is possible to do.

검증부(360)는 상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부(330)를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기(202)에 회신한다.The verification unit 360 receives a hash value for verification and an identifier of the document, which is derived by inputting the content portion into the hash function from a user terminal that recognizes the identification code of the document on which the print data is printed, and the The hash value corresponding to the identifier of the received document and the received hash value for confirmation are returned to the user terminal 202 with reference to the hash value storage unit 330.

사용자 단말기(202)는 식별코드를 인식하기 위하여 카메라 모듈을 포함하는 단말기임이 바람직한데, 사용자 단말기(202)의 카메라 모듈을 통해 식별코드를 인식하면, 이를 해독하여 상기 인쇄 데이터 생성부(350)에서 코드화하였던 문서의 내용 부분과 문서의 식별자를 복구해 낼 수 있으며, 문서의 내용 부분에 대해서는 해시 함수를 적용하여 확인용 해시 값을 생성할 수 있다.It is preferable that the user terminal 202 is a terminal including a camera module in order to recognize the identification code. When the identification code is recognized through the camera module of the user terminal 202, the user terminal 202 decodes the identification code in the print data generation unit 350. The content part of the coded document and the identifier of the document can be recovered, and a hash value for verification can be generated by applying a hash function to the content part of the document.

검증부(360)는 사용자 단말기(202)로부터 이와 같이 생성된 확인용 해시 값과 문서의 식별자를 수신하여, 해시 값 저장부를 참조하여 수신한 식별자에 대응한 해시 값을 읽어들이고, 사용자 단말기(202)로부터 수신한 확인용 해시 값이 해시 값 저장부에 저장된 해시 값과 동일한지를 확인함으로써, 문서에 인쇄된 식별코드가 위변조되었는지 여부를 검증하게 된다.The verification unit 360 receives the generated hash value for verification and the document identifier from the user terminal 202, reads the hash value corresponding to the received identifier by referring to the hash value storage unit, and the user terminal 202 By checking whether the hash value for verification received from) is the same as the hash value stored in the hash value storage unit, it is verified whether the identification code printed on the document has been forged.

만일 문서를 위조하면서 식별코드의 내용을 위조한 경우라면, 저장해 두었던 해시 값과 동일한 확인용 해시 값이 도출될 가능성이 극히 낮아지며, 문서의 내용을 위조하면서 식별코드의 내용은 위조하지 않은 경우라면, 사용자 단말기(202)를 통해 표시되는 원본 정보와 문서의 내용에 차이가 있어 이를 손쉽게 구분해 낼 수 있게 된다.If the contents of the identification code are falsified while the document is being forged, the possibility that a hash value for confirmation identical to the stored hash value is extremely low is lowered, and if the contents of the identification code are not falsified while the contents of the document are forged, There is a difference between the original information displayed through the user terminal 202 and the content of the document, so that it can be easily distinguished.

서식 전송부(370)는 상기 사용자 단말기(202)로부터 상기 문서의 식별자를 포함하는 요청을 수신하고, 이에 응답하여 상기 문서 서식 저장부(340)에 저장된 문서 서식을 상기 사용자 단말기(202)로 전송한다. 앞서 설명한 바와 같이 사용자 단말기(202)에서 원본 여부를 확인할 때에, 내용 부분만을 확인한다고 하더라도, 이를 문서와 비교해 보기 위해서는 실제 원본과 같이 보일 수 있도록 하는 서식 정보가 제공이 될 필요가 있다.The format transmission unit 370 receives a request including the identifier of the document from the user terminal 202, and in response, transmits the document format stored in the document format storage unit 340 to the user terminal 202. do. As described above, when checking whether the user terminal 202 is the original, even if only the content part is checked, in order to compare it with a document, it is necessary to provide form information so that it looks like an actual original.

따라서, 서식 전송부(370)는 문서 서식 저장부(340)에 저장해 두었던 서식 부분을 확인하여 사용자 단말기(202)에 전송함으로써, 사용자 단말기(202)가 이를 문서에 인쇄되어 있는 식별코드에 포함된 내용 부분과 결합하여 화면에 출력하도록 할 수 있다. 사용자는 이 화면의 내용과 문서에 인쇄되어 있는 내용을 비교하여 문서의 위변조 여부를 확인할 수 있다.Therefore, the form transmission unit 370 checks the form part stored in the document form storage unit 340 and transmits it to the user terminal 202, so that the user terminal 202 is included in the identification code printed on the document. It can be combined with the content part to be displayed on the screen. The user can check the forgery of the document by comparing the content of this screen with the content printed on the document.

사용자 단말기(202)는 검증부(360)로부터 수신한 문서의 식별자에 대응되는 해시 값과 수신한 확인용 해시 값이 동일하다는 회신을 수신하는 경우, 서식 전송부(370)로부터 수신한 상기 서식 부분과 상기 인쇄된 문서로부터 인식한 식별코드에 포함된 상기 내용 부분을 결합하여 생성된 원본 이미지를 화면에 출력한다. 이를 통해 검증하고자 하는 사용자는 화면에 출력된 원본의 이미지와 인쇄된 문서를 비교하여 위변조 여부를 확인할 수 있다. 만일 식별코드까지 위조한 경우에는 상기 검증부(360)에서 해시 값이 동일하지 않다는 회신을 받게 되고, 이 경우에는 사용자 단말기(202)에 식별코드가 위조되었다는 메시지를 출력하여 사용자가 확인하도록 할 수 있다.When receiving a reply that the hash value corresponding to the identifier of the document received from the verification unit 360 and the received hash value for verification are the same, the user terminal 202 receives the form portion received from the form transmission unit 370 And the content portion included in the identification code recognized from the printed document to output the original image generated on the screen. Through this, the user who wants to verify can compare the image of the original output on the screen with the printed document to check for forgery. If the identification code is forged, the verification unit 360 receives a reply that the hash value is not the same. In this case, the user terminal 202 may output a message indicating that the identification code has been forged so that the user can confirm it. have.

문서정보 수신부(380)는 상기 문서의 발급자(203)로부터 상기 문서의 서식 부분 및 내용 부분을 구별하기 위한 구별 정보를 수신한다. 발급자(203)는 PC 등의 단말기를 통해 발급되는 문서 중에서 서식 부분과 내용 부분을 구별하는 정보를 제공할 수 있는데, 이를 위하여 문서 화면에서 필요한 부분을 클릭하여 서식 부분과 내용 부분으로 구별할 수 있도록 하는 인터페이스를 제공할 수 있다.The document information receiving unit 380 receives distinguishing information for distinguishing a form part and a content part of the document from the issuer 203 of the document. The issuer 203 may provide information for distinguishing a format part and a content part from documents issued through a terminal such as a PC, and for this purpose, click a required part on the document screen to distinguish between the format part and the content part. Interface.

문서정보 수신부(380)는 내용 부분과 관련하여 중요 내용에 관련된 정보를 더 구별하여 수신할 수 있는데, 이 또한 발급자(203)의 단말기로부터 수신할 수 있다. 서식이 아닌 내용 부분에서도 문서 위변조 검증을 위해 꼭 확인해야 할 내용과 그럴 필요가 없는 부분을 구별함으로써, 불필요한 부분을 대조하느라 중요한 부분을 확인하지 못하는 문제가 발생되지 않도록 하고 필요한 부분을 집중적으로 확인하도록 할 수 있다.The document information receiving unit 380 may further receive and receive information related to important content in relation to the content part, which may also be received from the terminal of the issuer 203. By distinguishing the contents that must be checked and the parts that do not need to be verified for forgery verification of documents in the non-formatted content, it is possible to check the necessary parts intensively so as not to cause the problem of failing to identify important parts by contrasting unnecessary parts. can do.

문서정보 수신부(380)에서 수신한 정보를 토대로 문서 내용 분리부(310)는 문서를 서식 부분과 내용 부분으로 분리할 수 있으며, 내용 부분은 중요 내용 부분과 일반 내용 부분으로 더 분리할 수 있게 된다. 내용 부분이 중요 내용 부분과 일반 내용 부분으로 분리되는 경우에는 해시 모듈(320)은 중요 내용 부분을 기초로 해시 함수를 통해 해시 값을 도출하도록 할 수 있으며, 인쇄 데이터 생성부(350)는 중요 내용 부분과 문서의 식별자를 기초로 식별코드를 생성하여 문서가 인쇄되도록 할 수 있다. 또한 검증부(360)는 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 중요 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하도록 할 수 있다. 이를 통하여, 문서의 중요 내용 부분에 대해서 위변조에 대한 정확한 검증이 이루어지도록 할 수 있다.Based on the information received from the document information receiving unit 380, the document content separating unit 310 can separate the document into a format part and a content part, and the content part can be further divided into an important content part and a general content part. . When the content part is divided into the important content part and the general content part, the hash module 320 may derive a hash value through a hash function based on the important content part, and the print data generation unit 350 may include important content An identification code can be generated based on a part and an identifier of a document so that the document can be printed. In addition, the verification unit 360 receives a hash value for verification and an identifier of the document derived by inputting the important content portion into the hash function from a user terminal that recognizes the identification code of a document on which print data is printed, The hash value corresponding to the identifier of the received document and the received hash value for confirmation may be returned to the user terminal by referring to the hash value storage unit. Through this, accurate verification of forgery and alteration can be performed on important contents of the document.

도 4는 본 발명의 일실시예에 따른 위변조 방지 시스템에서 제공되는 문서의 일례를 도시한 도면이다.4 is a view showing an example of a document provided in the forgery prevention system according to an embodiment of the present invention.

도면에 도시된 것처럼 문서는 내용 부분(410)과 서식 부분(420)으로 구분될 수 있으며, 내용 부분(410)에 관련된 내용을 기초로 식별코드(430)를 생성한 것이 문서 하단 등에 인쇄되도록 할 수 있다. 식별코드(430)는 도면에 도시된 것처럼 QR코드와 같은 형태로 제공될 수 있는데, 이를 통해 식별력을 높이고, 보다 정확하게 문서의 위변조 검증이 가능하도록 할 수 있다.As illustrated in the drawing, a document may be divided into a content part 410 and a format part 420, and an identification code 430 generated based on the content related to the content part 410 may be printed at the bottom of the document. Can be. The identification code 430 may be provided in the form of a QR code as shown in the drawing, through which the identification power can be increased, and forgery verification of a document can be more accurately performed.

도면에서 내용 부분(410)은 앞서 설명한 것처럼 중요 내용 부분과 일반 내용 부분으로 구분될 수 있는데, 이는 문서의 배포자(203)가 선택하도록 한 것 일수 있어, 실제 위변조 검증시 반드시 확인해야 할 중요한 부분을 중요 내용 부분으로 정하도록 할 수 있다. 도면의 예시에서는 이름, 주소, 생년월일, 전화번호, 발급기관에 관한 정보 등 내용 부분(410) 중에서 이름과 주소 항목이 중요 내용 부분이 된다면, 이 내용만이 식별코드(430)화 되어 문서 하단에 포함되고 이를 통해 위변조를 확인하도록 하는 것이 가능하다.In the drawing, the content part 410 may be divided into an important content part and a general content part as described above, which may be made to be selected by the distributor 203 of the document, so that an important part that must be checked during actual forgery verification is verified. It can be decided as an important content part. In the example of the drawing, if the name and address items in the content part 410, such as the name, address, date of birth, telephone number, information about the issuing agency, become an important content part, only this content is identified and coded 430 at the bottom of the document. It is possible to include and confirm counterfeiting.

도 5는 본 발명의 일실시예에 따른 위변조 방지 시스템을 통해 사용자 단말기에서 위변조를 확인하는 화면의 일례를 도시한 도면이다.5 is a view showing an example of a screen for confirming forgery in a user terminal through a forgery prevention system according to an embodiment of the present invention.

앞서 설명한 바와 같이, 만일 사용자 단말기에서 도 4에 도시된 것과 같은 문서의 식별코드(430)를 카메라 모듈 등을 통해 인식하면, 해당 식별코드(430)에 포함된 내용 부분에 관한 정보를 기초로 확인용 해시 값을 생성하고, 이를 서버에 저장된 해시 값과 비교하여 일치하는지 확인하게 된다. 만일 이 값이 일치하지 않는다면, 문서에 인쇄되어 있는 식별코드가 실제 원본문서와 달리 위조된 경우이므로, 도면의 좌측 화면처럼 사용자 단말기(202)에 문서가 원본과 다름을 표시할 수 있다. 이를 통해 사용자는 문서의 위변조 여부를 확인할 수 있게 된다.As described above, if the user terminal recognizes the document identification code 430 as shown in FIG. 4 through a camera module or the like, it is checked based on information on the content portion included in the identification code 430 It generates a hash value for the server and compares it with the hash value stored in the server to check if it matches. If this value does not match, since the identification code printed on the document is forged unlike the actual original document, the user terminal 202 may indicate that the document is different from the original, as shown in the left screen of the drawing. Through this, the user can check whether the document has been forged or not.

또한, 해시 값이 일치하는 경우에는 우측 화면에 표시되는 것처럼 사용자 단말기(202)에 원본 문서의 내용을 표시할 수 있는데, 내용 부분과 서식 부분을 결합하여 출력하게 된다. 사용자가 이 내용을 인쇄된 문서와 비교하여 확인해 보면, 원본과 내용이 동일한지 바로 확인할 수 있게 되어, 위변조 여부를 쉽게 확인할 수 있다. 경우에 따라서 내용 부분이 중요 내용 부분과 일반 내용 부분으로 구분되는 경우에는 중요 내용 부분만을 표시하거나, 중요 내용 부분에 표시를 하여 사용자가 보다 쉽게 위변조 여부를 확인하도록 하는 것이 가능하다.In addition, when the hash values match, the content of the original document can be displayed on the user terminal 202 as shown on the right screen, and the content portion and the format portion are combined and output. When the user checks this content by comparing it with a printed document, it is possible to immediately check whether the original content is the same, so it is easy to check for forgery. In some cases, when the content part is divided into an important content part and a general content part, it is possible to display only the important content part or to mark the important content part, so that the user can more easily check for forgery.

도 6은 본 발명의 일실시예에 따른 위변조 방지 방법의 흐름을 나타내는 흐름도이다.6 is a flowchart illustrating a flow of a method for preventing forgery and alteration according to an embodiment of the present invention.

본 발명에 따른 위변조 방지 방법은 상술한 위변조 방지 시스템(201)의 기술적인 특징을 그대로 가지고 있는 것으로, 아래 설명한 내용 이외에도 위에서 위변조 방지 시스템(201)을 설명한 기술적인 사항을 모두 적용 가능하다.The forgery prevention method according to the present invention retains the technical characteristics of the forgery prevention system 201 as described above, and in addition to the contents described below, all of the technical matters of the forgery prevention system 201 described above can be applied.

단계 S601에서는 문서 내용 분리부(310)에서 통신망을 통해 발급되는 문서(205)를 서식 부분과 내용 부분으로 분리한다. 앞서 설명한 바와 같이 본 발명에서는 통신망을 통하여 문서를 발급하여 PC에 연결된 프린터 등을 통해 문서를 생성하면서도, 문서의 위변조를 방지할 수 있도록 하는 것이다. 이 때, 종래기술에서와 같이 문서의 전체 내용에 위변조가 있는지 확인하기 위해서는 매우 많은 정보가 식별코드 등에 포함되어야 하는데, 이는 식별코드의 인식률을 떨어뜨려 검증이 어려워지는 이유가 된다.In step S601, the document content separation unit 310 separates the document 205 issued through the communication network into a form part and a content part. As described above, in the present invention, a document is issued through a communication network to generate a document through a printer connected to a PC, etc., while preventing forgery of the document. At this time, as in the prior art, in order to confirm whether there is forgery or alteration in the entire contents of the document, a great deal of information must be included in the identification code, etc., which is why verification is difficult due to a decrease in the recognition rate of the identification code.

따라서, 단계 S601에서는 문서(205)의 내용 중에서 어느 문서에나 공통되는 서식 부분과, 해당 문서에만 존재하는 내용인 내용 부분을 구별하여, 불필요하게 서식 부분을 확인하는 수고를 덜고 내용 부분에서 중요한 부분만을 직접 확인함으로써, 보다 편하게 위변조를 확인할 수 있도록 하는 것이다.Therefore, in step S601, the format part common to any document among the content of the document 205 is distinguished from the content part that is only the document, and unnecessary effort to identify the format part is unnecessary, and only the important part of the content part By directly checking, it is possible to confirm forgery and alteration more conveniently.

단계 S602에서는 해시 모듈(320)에서 상기 분리된 내용 부분을 해시 함수에 입력하여 해시 값을 도출한다. 앞서 살펴본 바와 같이, 문서의 내용 부분에 대한 정보를 식별코드화 하여 문서(205)에 삽입함으로써, 사용자 단말기(202)에서 이를 화면을 통해 보면서 문서와 비교하여 검증할 수 있도록 하는 것인데, 이 때, 문서에 기재된 내용에 맞도록 식별코드의 내용까지 위변조하는 경우에는 위변조가 이루어지지 않은 것처럼 보일 가능성이 있다.In step S602, the hash module 320 derives a hash value by inputting the separated content portion into a hash function. As described above, the information on the content part of the document is coded and inserted into the document 205, so that the user terminal 202 can verify it by comparing it with the document while viewing it through the screen. If the contents of the identification code are falsified to match the contents described in the above, there is a possibility that the falsification has not been made.

단계 S602에서는 이와 같이, 특정 문서의 발행 시점에 계산된 값과 실제 인쇄된 이후의 값이 동일한지 확인할 수 있도록 하는 방법이면 어떤 것도 가능하며, CRC, MD5 등 종래 널리 알려진 기술들을 모두 적용할 수 있다.In step S602, any method can be used as long as it is possible to check whether the calculated value at the time of issuance of a specific document is identical to the actual printed value, and all conventionally known techniques such as CRC and MD5 can be applied. .

단계 S603에서는 해시 값 저장부(330)에 상기 도출된 해시 값을 상기 문서의 식별자와 대응시켜 저장한다. 향후 문서(205)를 검증할 때에, 앞서 살펴본 바와 같이 저장된 해시 값과 실제 인쇄된 문서에서 획득된 해시 값을 비교하여 동일한지 확인하게 되는데, 이를 위해서는 어느 문서에 대한 해시 값이 저장되어 있는지를 확인할 수 있어야 한다. 따라서 단계 S603에서는 문서에 대한 식별 정보를 해시 값에 대응시켜 저장하도록 하고, 문서에 삽입된 식별코드에도 해당 문서에 대한 식별 정보를 저장하도록 하면, 해당 문서의 식별코드에 위변조가 있었는지 여부를 쉽게 판단할 수 있다.In step S603, the derived hash value is stored in the hash value storage unit 330 in association with the document identifier. When verifying the document 205 in the future, as described above, the stored hash value is compared with the hash value obtained from the actual printed document to check whether it is the same. For this, it is confirmed which document hash value is stored. Should be able to Therefore, in step S603, if the identification information for the document is stored in correspondence with the hash value, and the identification information for the document is also stored in the identification code inserted in the document, it is easy to determine whether the identification code of the document has been forged or not. I can judge.

단계 S604에서는 문서 서식 저장부(340)에 상기 분리된 서식 부분 상기 문서의 식별자와 대응시켜 저장한다. 앞서 설명한 바와 같이 본 발명에서는 문서(205) 내에서 중요한 정보를 담고 있는 내용 부분을 특히 검증할 수 있도록 하는 것을 특징으로 하고 있으나, 사용자가 검증을 위해 원본 문서를 단말기에서 확인할 때에, 문서 서식이 제대로 보이지 않으면 위조 여부를 확인하기 어려울 수 있다. 따라서, 단말기 화면에 원본 문서를 제대로 복원해 내기 위하여, 서식 부분의 내용을 문서의 식별자와 대응시켜 저장해 두면, 향후 이 정보를 이용하고, 식별코드에 들어 있는 내용 부분을 적용시킴으로써, 문서의 발행 전 원본을 정확하게 확인할 수 있도록 한다.In step S604, the separated form part is stored in the document form storage unit 340 in association with the identifier of the document. As described above, the present invention is characterized in that the content portion containing important information in the document 205 is particularly verifiable, but when the user checks the original document in the terminal for verification, the document format is properly If you don't see it, it can be difficult to check for forgery. Therefore, in order to properly restore the original document on the terminal screen, if the content of the form part is stored in correspondence with the document identifier, then this information is used in the future and the content part contained in the identification code is applied, before the document is published. Make sure to check the original accurately.

단계 S605에서는 인쇄 데이터 생성부(350)에서 상기 분리된 서식 부분, 상기 분리된 내용 부분 및 상기 내용 부분과 상기 문서의 식별자를 기초로 생성한 식별코드를 결합하여 상기 문서의 발급을 위한 인쇄 데이터를 생성한다.In step S605, the print data generation unit 350 combines the separated form part, the separated content part, and the content part with an identification code generated based on the identifier of the document to print data for issuance of the document. To create.

상술한 바와 같이, 문서(205)는 인쇄 PC(204)에 연결된 프린터에서 인쇄함으로써 생성되는데, 이를 위해서는 문서(205)에 인쇄될 내용을 확인할 필요가 있다. 본 발명에서 인쇄되는 문서(205)에는 서식 부분과 내용 부분을 결합하여 원래 문서에 있는 내용들이 포함되는 것은 자명한 일이며, 이 내용과 함께, 위변조 방지를 위한 식별코드가 함께 인쇄되도록 해야 한다.As described above, the document 205 is generated by printing on a printer connected to the printing PC 204, and for this, it is necessary to check the content to be printed on the document 205. It is obvious that the document 205 to be printed in the present invention includes the contents of the original document by combining the form part and the content part, and the identification code for preventing forgery and alteration should be printed together with the content.

따라서, 단계 S605에서는 위변조 여부를 확인할 수 있도록 하는 식별코드를 인쇄 데이터에 포함시키는데, 이 식별코드는 문서에서 분리된 내용 부분을 코드화한 것을 포함하고 있으며, 또한 문서를 식별하기 위한 식별자를 코드화한 것을 포함하고 있다. 식별코드는 바코드, 2차원 바코드, QR코드, 컬러 QR 코드 등 다양한 형태가 될 수 있는데, 종래기술에서와 같이 문서 전체의 내용을 코드화할 필요가 없고 내용 부분만을 코드화하기 때문에, 인식률이 높은 QR코드와 같은 형태로 구현하는 것이 가능해진다.Therefore, in step S605, an identification code that enables to check for forgery or alteration is included in the print data, and this identification code includes a coded content part separated from the document, and also coded an identifier for identifying the document. It contains. The identification code can be in various forms such as a barcode, a two-dimensional barcode, a QR code, a color QR code, etc. As it is not necessary to code the entire contents of the document as in the prior art, only the content portion is coded, so the high recognition rate QR code It becomes possible to implement such a form.

단계 S606에서는 검증부(360)에서 상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부(330)를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기(202)에 회신한다.In step S606, the verification unit 360 receives the hash value for verification and the identifier of the document derived by inputting the content part into the hash function from a user terminal that recognizes the identification code of the document on which the print data is printed. Then, referring to the hash value storage unit 330, the user terminal 202 returns whether the hash value corresponding to the received document identifier and the received hash value for confirmation are the same.

사용자 단말기(202)는 식별코드를 인식하기 위하여 카메라 모듈을 포함하는 단말기임이 바람직한데, 사용자 단말기(202)의 카메라 모듈을 통해 식별코드를 인식하면, 이를 해독하여 상기 단계 S605에서 코드화하였던 문서의 내용 부분과 문서의 식별자를 복구해 낼 수 있으며, 문서의 내용 부분에 대해서는 해시 함수를 적용하여 확인용 해시 값을 생성할 수 있다.It is preferable that the user terminal 202 is a terminal including a camera module in order to recognize the identification code. When the identification code is recognized through the camera module of the user terminal 202, it is decoded and the contents of the document coded in step S605. The identifier of the part and the document can be recovered, and a hash value for verification can be generated by applying a hash function to the content part of the document.

단계 S607에서는 서식 전송부(370)에서 상기 사용자 단말기(202)로부터 상기 문서의 식별자를 포함하는 요청을 수신하고, 이에 응답하여 상기 문서 서식 저장부(340)에 저장된 문서 서식을 상기 사용자 단말기(202)로 전송한다. 앞서 설명한 바와 같이 사용자 단말기(202)에서 원본 여부를 확인할 때에, 내용 부분만을 확인한다고 하더라도, 이를 문서와 비교해 보기 위해서는 실제 원본과 같이 보일 수 있도록 하는 서식 정보가 제공이 될 필요가 있다.In step S607, the form transmission unit 370 receives a request including the identifier of the document from the user terminal 202, and in response to the document form stored in the document format storage unit 340, the user terminal 202 ). As described above, when checking whether the user terminal 202 is the original, even if only the content part is checked, in order to compare it with a document, it is necessary to provide form information so that it looks like an actual original.

따라서, 단계 S607에서는 문서 서식 저장부(340)에 저장해 두었던 서식 부분을 확인하여 사용자 단말기(202)에 전송함으로써, 사용자 단말기(202)가 이를 문서에 인쇄되어 있는 식별코드에 포함된 내용 부분과 결합하여 화면에 출력하도록 할 수 있다. 사용자는 이 화면의 내용과 문서에 인쇄되어 있는 내용을 비교하여 문서의 위변조 여부를 확인할 수 있다.Therefore, in step S607, the form part stored in the document form storage unit 340 is checked and transmitted to the user terminal 202, so that the user terminal 202 combines it with the content part included in the identification code printed on the document. Can be displayed on the screen. The user can check the forgery of the document by comparing the content of this screen with the content printed on the document.

이와 같은, 위변조 방지 방법은 애플리케이션으로 구현되거나 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다.Such a method for preventing forgery and alteration may be implemented as an application or implemented in the form of program instructions that can be executed through various computer components to be recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, or the like alone or in combination.

상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나, 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다.The program instructions recorded on the computer-readable recording medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the computer software field.

컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CDROM, DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다.Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CDROMs, DVDs, and magneto-optical media such as floptical disks. And hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like.

프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.Examples of program instructions include not only machine language codes produced by a compiler, but also high-level language codes executable by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules to perform processing according to the present invention, and vice versa.

이상에서는 실시예들을 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있다.Although described above with reference to embodiments, those skilled in the art can variously modify and change the present invention without departing from the spirit and scope of the present invention described in the following claims.

201: 위변조 방지 시스템 202: 사용자 단말기
203: 문서 발급자
310: 문서 내용 분리부 320: 해시 모듈
330: 해시 값 저장부 340: 문서 서식 저장부
350: 인쇄 데이터 생성부 360: 검증부
370: 서식 전송부 380: 문서 정보 수신부
201: forgery prevention system 202: user terminal
203: Document issuer
310: document content separator 320: hash module
330: hash value storage unit 340: document format storage unit
350: print data generation unit 360: verification unit
370: form transmission unit 380: document information receiving unit

Claims (13)

통신망을 통해 발급되는 문서를 서식 부분과 내용 부분으로 분리하는 문서 내용 분리부;
상기 분리된 내용 부분을 해시 함수에 입력하여 해시 값을 도출하는 해시 모듈;
상기 도출된 해시 값을 상기 문서의 식별자와 대응시켜 저장하는 해시 값 저장부;
상기 분리된 서식 부분 상기 문서의 식별자와 대응시켜 저장하는 문서 서식 저장부;
상기 분리된 서식 부분, 상기 분리된 내용 부분 및 상기 내용 부분과 상기 문서의 식별자를 기초로 생성한 식별코드를 결합하여 상기 문서의 발급을 위한 인쇄 데이터를 생성하는 인쇄 데이터 생성부 및
상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하는 검증부
를 포함하는 문서 위변조 방지 시스템.
A document content separating part separating a document issued through a communication network into a form part and a content part;
A hash module for deriving a hash value by inputting the separated content portion into a hash function;
A hash value storage unit storing the derived hash value in correspondence with an identifier of the document;
A document form storage unit for storing the separated form part in association with an identifier of the document;
A print data generation unit for generating print data for issuing the document by combining the separated form part, the separated content part, and the content part and an identification code generated based on the identifier of the document;
A confirmation hash value derived by inputting the content portion into the hash function from a user terminal recognizing the identification code of the document on which the print data is printed, and an identifier of the document are received, and the hash value storage unit is referred to. A verification unit that returns to the user terminal whether the hash value corresponding to the received document identifier and the received hash value are the same
Document forgery prevention system comprising a.
제1항에 있어서,
상기 사용자 단말기로부터 상기 문서의 식별자를 포함하는 요청을 수신하고, 이에 응답하여 상기 문서 서식 저장부에 저장된 서식 부분을 상기 사용자 단말기로 전송하는 서식 전송부
를 더 포함하는 것을 특징으로 하는 위변조 방지 시스템.
According to claim 1,
A form transmission unit that receives a request including the identifier of the document from the user terminal, and in response, transmits a form portion stored in the document format storage unit to the user terminal
Forgery and forgery prevention system further comprising a.
제2항에 있어서,
상기 사용자 단말기는
상기 검증부에서 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일하다고 회신하는 경우,
상기 서식 전송부로부터 수신한 상기 서식 부분과 상기 인쇄된 문서로부터 인식한 식별코드에 포함된 상기 내용 부분을 결합하여 생성된 원본 이미지를 화면에 출력하는 것
을 특징으로 하는 위변조 방지 시스템.
According to claim 2,
The user terminal
When the verification unit replies that the hash value corresponding to the identifier of the received document and the received hash value for confirmation are the same,
Outputting an original image generated on the screen by combining the form part received from the form transmitter and the content part included in the identification code recognized from the printed document
Anti-counterfeiting system characterized in that.
제1항에 있어서,
상기 문서의 발급자로부터 상기 문서의 서식 부분 및 내용 부분을 구별하기 위한 구별 정보를 수신하는 문서정보 수신부
를 더 포함하고,
상기 문서 내용 분리부는 상기 문서정보 수신부에서 상기 발급자로부터 수신한 상기 구별 정보를 기초로 상기 문서의 서식 부분 및 내용 부분을 분리하는 것
을 특징으로 하는 위변조 방지 시스템.
According to claim 1,
Document information receiving unit for receiving the distinguishing information for distinguishing the form part and the content part of the document from the issuer of the document
Further comprising,
The document content separating part separates the form part and the content part of the document based on the distinguishing information received from the issuer at the document information receiving part.
Anti-counterfeiting system characterized in that.
제4항에 있어서,
상기 문서정보 수신부는
상기 발급자로부터 상기 내용 부분 중에서 중요 내용에 관한 정보를 수신하고,
상기 문서 내용 분리부는
상기 수신된 중요 내용에 관한 정보를 기초로 상기 분리된 내용 부분을 중요 내용 부분과 일반 내용 부분으로 더 분리하는 것
을 특징으로 하는 위변조 방지 시스템.
The method of claim 4,
The document information receiving unit
Receiving information about important content from the content part from the issuer,
The document content separating part
Further separating the separated content part into an important content part and a general content part based on the received information about the important content.
Anti-counterfeiting system characterized in that.
제5항에 있어서,
상기 해시 모듈은
상기 중요 내용 부분을 해시함수에 입력하여 해시 값을 도출하고,
상기 인쇄 데이터 생성부는
상기 중요 내용 부분과 상기 문서의 식별자를 기초로 상기 식별코드를 생성하며,
상기 검증부는
상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 중요 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하는 것
을 특징으로 하는 위변조 방지 시스템.
The method of claim 5,
The hash module
A hash value is derived by inputting the above important contents into a hash function,
The print data generation unit
The identification code is generated based on the important content part and the identifier of the document,
The verification unit
A hash value for verification and an identifier of the document, which are derived by inputting the important content part into the hash function from a user terminal that recognizes the identification code of the document on which the print data is printed, receive the hash value storage unit Returning to the user terminal whether the hash value corresponding to the received document identifier and the received hash value are the same.
Anti-counterfeiting system characterized in that.
문서 내용 분리부에서 통신망을 통해 발급되는 문서를 서식 부분과 내용 부분으로 분리하는 문서 내용 분리 단계;
해시 모듈에서 상기 분리된 내용 부분을 해시 함수에 입력하여 해시 값을 도출하는 해시 단계;
해시 값 저장부에 상기 도출된 해시 값을 상기 문서의 식별자와 대응시켜 저장하는 해시 값 저장 단계;
문서 서식 저장부에 상기 분리된 서식 부분 상기 문서의 식별자와 대응시켜 저장하는 문서 서식 저장 단계;
인쇄 데이터 생성부에서 상기 분리된 서식 부분, 상기 분리된 내용 부분 및 상기 내용 부분과 상기 문서의 식별자를 기초로 생성한 식별코드를 결합하여 상기 문서의 발급을 위한 인쇄 데이터를 생성하는 인쇄 데이터 생성 단계 및
검증부에서 상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하는 검증 단계
를 포함하는 문서 위변조 방지 방법.
A document content separation step of separating a document issued through a communication network from the document content separating section into a form part and a content part;
A hash step of deriving a hash value by inputting the separated content portion in a hash function in a hash module;
A hash value storage step of storing the derived hash value in association with the identifier of the document;
A document form storage step of storing the separated form part in association with an identifier of the document;
A print data generation step of generating print data for issuing the document by combining the separated form part, the separated content part, and the content part and the identification code generated based on the document identifier in the print data generation unit And
A verification hash value obtained by inputting the content portion into the hash function from a user terminal recognizing the identification code of the document on which the print data is printed, and receiving the identifier of the document, and storing the hash value Verification step of returning to the user terminal whether the hash value corresponding to the identifier of the received document and the received hash value for confirmation are the same with reference to the appendix.
Document forgery prevention method comprising a.
제7항에 있어서,
서식 전송부에서 상기 사용자 단말기로부터 상기 문서의 식별자를 포함하는 요청을 수신하고, 이에 응답하여 상기 문서 서식 저장부에 저장된 서식 부분을 상기 사용자 단말기로 전송하는 서식 전송 단계
를 더 포함하는 것을 특징으로 하는 위변조 방지 방법.
The method of claim 7,
Form transmission step of receiving a request including the identifier of the document from the user terminal in the form transmission unit, and in response to transmit the portion of the form stored in the document format storage unit to the user terminal
Method for preventing forgery, characterized in that it further comprises.
제8항에 있어서,
상기 사용자 단말기는
상기 검증부에서 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일하다고 회신하는 경우,
상기 서식 전송부로부터 수신한 상기 서식 부분과 상기 인쇄된 문서로부터 인식한 식별코드에 포함된 상기 내용 부분을 결합하여 생성된 원본 이미지를 화면에 출력하는 것
을 특징으로 하는 위변조 방지 방법.
The method of claim 8,
The user terminal
When the verification unit replies that the hash value corresponding to the identifier of the received document and the received hash value for confirmation are the same,
Outputting an original image generated on the screen by combining the form part received from the form transmitter and the content part included in the identification code recognized from the printed document
Method for preventing forgery, characterized in that.
제7항에 있어서,
문서정보 수신부에서 상기 문서의 발급자로부터 상기 문서의 서식 부분 및 내용 부분을 구별하기 위한 구별 정보를 수신하는 문서정보 수신 단계
를 더 포함하고,
상기 문서 내용 분리 단계는 상기 문서정보 수신부에서 상기 발급자로부터 수신한 상기 구별 정보를 기초로 상기 문서의 서식 부분 및 내용 부분을 분리하는 것
을 특징으로 하는 위변조 방지 방법.
The method of claim 7,
Document information receiving step of receiving the document information receiving unit from the issuer of the document to distinguish information for distinguishing the form portion and the content portion of the document
Further comprising,
The step of separating the document content is to separate the form part and the content part of the document based on the distinguishing information received from the issuer in the document information receiving unit.
Method for preventing forgery, characterized in that.
제10항에 있어서,
상기 문서정보 수신 단계는
상기 발급자로부터 상기 내용 부분 중에서 중요 내용에 관한 정보를 수신하고,
상기 문서 내용 분리 단계는
상기 수신된 중요 내용에 관한 정보를 기초로 상기 분리된 내용 부분을 중요 내용 부분과 일반 내용 부분으로 더 분리하는 것
을 특징으로 하는 위변조 방지 방법.
The method of claim 10,
The document information receiving step is
Receiving information about important content from the content part from the issuer,
The document content separation step
Further separating the separated content part into an important content part and a general content part based on the received information about the important content.
Method for preventing forgery, characterized in that.
제11항에 있어서,
상기 해시 단계는
상기 중요 내용 부분을 해시함수에 입력하여 해시 값을 도출하고,
상기 인쇄 데이터 생성 단계는
상기 중요 내용 부분과 상기 문서의 식별자를 기초로 상기 식별코드를 생성하며,
상기 검증 단계는
상기 인쇄 데이터가 인쇄된 문서의 상기 식별코드를 인식한 사용자 단말기로부터 상기 중요 내용 부분을 상기 해시 함수에 입력하여 도출한 확인용 해시 값과, 상기 문서의 식별자를 수신하고, 상기 해시 값 저장부를 참조하여 상기 수신한 문서의 식별자에 대응되는 해시 값과 상기 수신한 확인용 해시 값이 동일한지 여부를 상기 사용자 단말기에 회신하는 것
을 특징으로 하는 위변조 방지 방법.
The method of claim 11,
The hash step
A hash value is derived by inputting the above important contents into a hash function,
The print data generation step
The identification code is generated based on the important content part and the identifier of the document,
The verification step
A hash value for verification and an identifier of the document, which are derived by inputting the important content part into the hash function from a user terminal that recognizes the identification code of the document on which the print data is printed, receive the hash value storage unit To return to the user terminal whether the hash value corresponding to the received document identifier and the received hash value are the same.
Method for preventing forgery, characterized in that.
제7항 내지 제12항 중 어느 한 항의 방법을 실행하기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록매체.
A computer-readable recording medium recording a program for executing the method of claim 7.
KR1020180149520A 2018-11-28 2018-11-28 System and method for preventing forgery and alteration of documents KR102138077B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180149520A KR102138077B1 (en) 2018-11-28 2018-11-28 System and method for preventing forgery and alteration of documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180149520A KR102138077B1 (en) 2018-11-28 2018-11-28 System and method for preventing forgery and alteration of documents

Publications (2)

Publication Number Publication Date
KR20200063609A true KR20200063609A (en) 2020-06-05
KR102138077B1 KR102138077B1 (en) 2020-07-27

Family

ID=71088661

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180149520A KR102138077B1 (en) 2018-11-28 2018-11-28 System and method for preventing forgery and alteration of documents

Country Status (1)

Country Link
KR (1) KR102138077B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102337673B1 (en) * 2020-07-16 2021-12-09 (주)휴먼스케이프 System for verifying data access and Method thereof
KR20220078040A (en) * 2020-12-03 2022-06-10 주식회사 하이웹넷 Method for verifying electoric document and system thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100430469B1 (en) 2003-08-30 2004-05-08 주식회사 마크애니 System for preventing document from forging/alternating
JP2012248076A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Document management device, document management program and document management system
KR101710032B1 (en) * 2016-10-13 2017-02-24 주식회사 마크애니 Apparatus and system for preventing product falsification based on electronic documents content and method thereof
KR20170127806A (en) * 2016-05-12 2017-11-22 서상윤 System and method for generating and submitting a legal document using a mobile application
KR101929123B1 (en) * 2017-07-12 2018-12-13 주식회사 보이스아이 A method of preventing forgery and storing prescription using the 2 dimension barcode

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100430469B1 (en) 2003-08-30 2004-05-08 주식회사 마크애니 System for preventing document from forging/alternating
JP2012248076A (en) * 2011-05-30 2012-12-13 Ricoh Co Ltd Document management device, document management program and document management system
KR20170127806A (en) * 2016-05-12 2017-11-22 서상윤 System and method for generating and submitting a legal document using a mobile application
KR101710032B1 (en) * 2016-10-13 2017-02-24 주식회사 마크애니 Apparatus and system for preventing product falsification based on electronic documents content and method thereof
KR101929123B1 (en) * 2017-07-12 2018-12-13 주식회사 보이스아이 A method of preventing forgery and storing prescription using the 2 dimension barcode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102337673B1 (en) * 2020-07-16 2021-12-09 (주)휴먼스케이프 System for verifying data access and Method thereof
KR20220078040A (en) * 2020-12-03 2022-06-10 주식회사 하이웹넷 Method for verifying electoric document and system thereof

Also Published As

Publication number Publication date
KR102138077B1 (en) 2020-07-27

Similar Documents

Publication Publication Date Title
US11186111B1 (en) Digitally encoded seal for document verification
US10320807B2 (en) Systems and methods relating to the authenticity and verification of photographic identity documents
US9716711B2 (en) High-value document authentication system and method
JP2019511758A (en) System and method for authenticity verification of document information
JP4706574B2 (en) Printing system and program
US9864920B2 (en) Semiautomatic multifunction device-based validation of secure documents
CA2887700A1 (en) Method for signing electronic documents with an analog-digital signature with additional verification
RU2002134748A (en) SYSTEM AND METHOD FOR CREATION AND AUTHENTICATION OF ORIGINAL DOCUMENTS
CN102916963A (en) Safe data exchange method, device, nodes and safe data exchange system
BRPI0921616B1 (en) set of processes and method for the dynamic protection of documents printed on paper; set of processes and method for the protection of documents printed on paper; a set of processes and method for verifying the authenticity of a printed document and system for using a computer as a means
CN100374966C (en) Method for storage and transport of an electronic certificate
KR102138077B1 (en) System and method for preventing forgery and alteration of documents
KR20200094956A (en) Electronic document service platform using block chain
JP4629581B2 (en) Output information management system
KR102256922B1 (en) Method and System for authenticating documents using inquiry history notice
US10841099B2 (en) Method for generating a digital signature
KR101967855B1 (en) Method and system for verifying electronic document security using 2D barcode block division
JP5365360B2 (en) Information processing apparatus and program
CN113486998A (en) Method for generating and verifying anti-counterfeiting mark of stamped file based on chip stamp
CN101170626B (en) Information processing apparatus, information processing method
TWM520159U (en) Device for generating and identifying electronic document containing electronic authentication and paper authentication
CN102222195A (en) E-book reading method and system
JP2003016266A (en) Procedure system and storage medium therefor
CN111476014A (en) Verification method and related device
CN105786415A (en) File printing encryption method and device

Legal Events

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