KR20030016334A - System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances - Google Patents

System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances Download PDF

Info

Publication number
KR20030016334A
KR20030016334A KR1020030003754A KR20030003754A KR20030016334A KR 20030016334 A KR20030016334 A KR 20030016334A KR 1020030003754 A KR1020030003754 A KR 1020030003754A KR 20030003754 A KR20030003754 A KR 20030003754A KR 20030016334 A KR20030016334 A KR 20030016334A
Authority
KR
South Korea
Prior art keywords
matrix code
data
document
unit
matrix
Prior art date
Application number
KR1020030003754A
Other languages
Korean (ko)
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 KR1020030003754A priority Critical patent/KR20030016334A/en
Publication of KR20030016334A publication Critical patent/KR20030016334A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa
    • H04N1/0461Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa part of the apparatus being used in common for reading and reproducing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Facsimiles In General (AREA)

Abstract

PURPOSE: A system for appending/recovering an electronic signature and document contents using a matrix code in an on/off line environment and an appending/recovering method thereof are provided to discriminate a forgery by encoding and compressing/storing document contents and an electronic signature on an additional matrix code, appending the matrix code at the lower end of the original document contents, thereby comparing the original document contents with contents stored in the matrix code when the matrix code is decoded. CONSTITUTION: An encoding terminal(A) converts document contents and an electronic signature into a matrix code and appends the matrix code to the document. A decoding terminal(B) scans a document(10) having the matrix code, extracts the matrix code, executes a recovery, and discriminates between recovery data and the original document. A printer(P) is mounted in the decoding terminal(B) and outputs a document having the matrix code. A scanner(S) is mounted in the decoding terminal(B) and scans a document including the matrix code. The matrix code which encoded with the original document and the electronic signature is located at the lower end of the original data. When the matrix code is decoded, a forgery of the original document is discriminated.

Description

온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법{SYSTEM AND METHOD FOR ENCODING AND DECODING A DOCUMENT CONTENT AND DIGITAL SIGNATURE USING OF A MATRIX CODE OVER ON-LINE/OFF-LINE CIRCUMSTANCES}TECHNICAL AND METHOD FOR ENCODING AND DECODING A DOCUMENT CONTENT AND DIGITAL SIGNATURE USING OF A MATRIX CODE OVER ON-LINE / OFF- LINE CIRCUMSTANCES}

본 발명은 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법에 관한 것으로, 보다 상세하게 문서내용과 전자서명을 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 그 매트릭스 코드의 디코딩시 원본 문서의 내용과 매트릭스 코드에 저장된 내용을 비교하여 그 위조 여부를 신속하게 판별할 수 있도록 한 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법에 관한 것이다.The present invention relates to an electronic signature and document content attachment / restore system using a matrix code in an on / offline environment, and more particularly, to encoding and compressing document content and electronic signature in a separate matrix code. And the matrix code attached to the bottom of the original document content, so that when the matrix code is decoded, it is possible to compare the content of the original document with the content stored in the matrix code and quickly determine whether the forgery is a matrix. The present invention relates to a system for attaching and restoring digital signatures and document contents using codes and a method of attaching and restoring them.

주지된 바와 같이, 최근 정보통신기술의 발달로 말미암아 원거리 데이터통신망을 매개하여 다양한 분야에 대한 정보를 적어도 하나이상의 호스트서버를 통하여 다수의 가입자측으로 실시간 제공하는 정보제공기술의 개발이 활발하게 진행중이다.As is well known, due to the recent development of information and communication technology, the development of information providing technology that provides real-time information to various subscribers through at least one host server through a remote data communication network is actively underway.

이를 기반으로, 최근에는 온라인 상에서 유통되는 문서의 보안성 및 그 진위인증을 위해, 각종 문서에 별도의 전자서명을 첨부하여 제공하는 시스템이 개발되어 중요 문서나 금융기관 등의 문서 출력시 사용되고 있다.Based on this, in recent years, a system for attaching a separate electronic signature to various documents has been developed for security and authenticity of documents distributed online, and has been used for printing documents of important documents or financial institutions.

이러한 전자서명(Digital Signature)은 문서나 메시지를 전송한 전송자 신원의 진위를 인증하기 위한 서명으로서, 전자 서명은 메시지나 문서의 원본이 변조되었는 지를 확인하기 위해서 사용되기도 한다. 이러한 전자서명은 온라인 네크??을 통해 용이하게 전송할 수 있으며, 난수표 알고리즘을 이용하므로 위조가 매우 힘들며, 타임스탬프가 자동으로 유지될 수 있다.This digital signature is a signature for authenticating the authenticity of the sender who sent the document or message. The digital signature may be used to verify that the original of the message or document has been altered. Such a digital signature can be easily transmitted through an online network, and forgery is very difficult because the random number algorithm is used, and the time stamp can be automatically maintained.

개략적으로 종래의 전자서명에 대해 기술하면, 이러한 전자서명(Digital Signature)은 특정 문서를 전자적으로 작성하고, 그 문서를 특수한 소프트웨어를 통해 해시(Hash)된 메시지를 만든다. 그 다음 상기 해시를 암호화하기 위해 공개-개인키 발급기관으로부터 이전에 받았던 개인키를 사용하여 해시를 암호화한다. 이렇게 암호화된 해시는 그 메시지에 대한 전자서명이 되는 것이다.Schematically describing conventional digital signatures, such digital signatures create a specific document electronically and produce the message hashed through special software. The hash is then encrypted using the private key previously received from the public-private key issuer to encrypt the hash. This encrypted hash becomes the digital signature for the message.

이러한 전자서명은 온라인상에서 유통되는 각종 문서에 함께 첨부되어 원격의 단말기로 전송됨으로 인해 해당 문서와 전송자의 진위를 파악하는 데 사용되게 된다.Since the electronic signature is attached to various documents distributed online, it is transmitted to a remote terminal and used to determine the authenticity of the document and the sender.

그러나, 현재 각국에서 사용되는 문서는 온라인 문서외에도 오프라인 문서가 아직은 더 빈번하게 사용되는 바, 이러한 오프라인 문서에서는 상기 전자서명이 무용지물이고, 오프라인과 온라인을 겸용으로 사용할 수 있는 전자서명 시스템은 현재 전무한 상태이다. 특히, 각종 면허증, 주민등록증, 의료보험증, ID카드, 여권, 사원증, 자격증 등 기타 공문서는 그 위조가 매우 용이하여 위조 방지를 위한 비용으로 매년 막대한 예산을 투입하고 있으나, 그에 대한 대책이 매우 미미한 상태이므로 오프라인상에서의 개인 신분 인증 및 문서 인증은 육안의 확인을 통해서는 매우 어렵다는 문제가 있었다.However, in the case of documents used in various countries, offline documents are still more frequently used in addition to online documents. In such offline documents, the electronic signature is useless, and there is no electronic signature system that can use both offline and online. to be. In particular, various official documents such as licenses, resident registration cards, medical insurance cards, ID cards, passports, employee ID cards, certificates, etc. are very easy to counterfeit, and a huge budget is invested every year to prevent counterfeiting. There is a problem that personal identification and document authentication in offline are very difficult through visual confirmation.

본 발명은 상기한 종래 기술의 사정을 감안하여 이루어진 것으로, 문서 내용과 전자서명을 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 그 매트릭스 코드의 디코딩시 원본 문서의 내용과 매트릭스 코드에 저장된 내용을 비교하여 그 위조 여부를 신속하게 판별할 수 있도록 한 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법을 제공함에 그 목적이있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above-described state of the art, and encodes and compresses document contents and electronic signatures in separate matrix codes and stores the matrix codes by attaching the matrix codes to the bottom of the original document contents. System for attaching and restoring digital signatures and document contents using the matrix code and its attachment / restore method in the online / offline environment to compare the contents of the original document with the contents stored in the matrix code. Its purpose is to provide.

본 발명의 다른 목적은 문서 내용과 전자서명 및 사진정보를 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 그 매트릭스 코드의 디코딩시 원본 문서 및 사진정보와 매트릭스 코드에 저장된 내용을 비교하여 그 위조 여부를 신속하게 판별할 수 있도록 한 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법을 제공함에 있다.Another object of the present invention is to encode and compress the document content, digital signature, and photo information in a separate matrix code and store the original document and photo information when decoding the matrix code by attaching the matrix code to the bottom of the original document content. The present invention provides a system for attaching and restoring an electronic signature and document contents using a matrix code and a method for attaching and restoring the same in an on / offline environment to compare the information stored in the matrix code with the contents stored in the matrix code.

본 발명의 다른 목적은 문서 내용과 전자서명 및 사진정보를 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 원본 문서의 훼손시에도 그 매트릭스 코드의 디코딩으로 인해 원본 문서를 복원시킬 수 있도록 한 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법을 제공함에 있다.Another object of the present invention is to encode and compress the document contents, the digital signature, and the photo information in a separate matrix code, and to store the matrix code attached to the bottom of the original document content, thereby decoding the matrix code even when the original document is damaged. Therefore, the present invention provides an electronic signature and document content attachment / restore system using matrix code and its attachment / restore method in an on / offline environment for restoring the original document.

본 발명의 다른 목적은 문서 내용과 전자서명 및 사진정보를 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 원본 문서의 훼손시 및 매트릭스 코드의 일부 훼손시에도 잔여 매트릭스 코드의 디코딩으로 인해 원본 문서를 복원시킬 수 있도록 매트릭스 코드가 상호 유기적으로 구성된 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법을 제공함에 있다.Another object of the present invention is to encode and compress the document contents, digital signature, and photo information in a separate matrix code, and to store the matrix code attached to the bottom of the original document contents, thereby damaging the original document and partially damaging the matrix code. To provide digital signature and document content attachment / restore system and its attachment / restore method using matrix code in online / offline environment where matrix code is organically configured to restore original document due to decoding of residual matrix code. have.

도 1a, 1b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 구성을 나타내는 모식도,1A and 1B are schematic diagrams illustrating a configuration of an electronic signature and document content attachment / restore system using a matrix code in an on / offline environment according to an embodiment of the present invention;

도 2는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서 사용되는 매트릭스 코드의 구성을 나타내는 도면,2 is a diagram illustrating a configuration of a matrix code used in an electronic signature and a document content attachment / restore system using the matrix code in an on / offline environment according to an embodiment of the present invention;

도 3은 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서 사용되는 매트릭스 코드가 첨부된 문서를 나타내는 도면,3 is a diagram illustrating a document to which an electronic signature using a matrix code and an attached / restored document content attachment / restore system in an on / offline environment according to an embodiment of the present invention are attached.

도 4a, 4b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 엔코딩 및 디코딩 단말기의 구성을 도시한 블록구성도,4A and 4B are block diagrams illustrating a configuration of an encoding and decoding terminal of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention;

도 5a는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 매트릭스 코드 생성과정을 개략적으로 도시한 도면,FIG. 5A is a schematic diagram illustrating a matrix code generation process of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention; FIG.

도 5b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 매트릭스 코드 생성 및 원본 파일 첨부과정을 도시한 도면,5b is a diagram illustrating a process of generating a matrix code and attaching an original file of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention;

도 6a는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 엔코딩 과정을 도시한 플로우챠트,6A is a flowchart illustrating an encoding process of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention;

도 6b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 디코딩 과정을 도시한 플로우챠트이다.6B is a flowchart illustrating a decoding process of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

A:엔코딩단말기, B:디코딩단말기,A: encoding terminal, B: decoding terminal,

P:프린터, S:스캐너,P: Printer, S: Scanner,

10:매트릭스 코드가 포함된 문서, 18:매트릭스 코드,10: the document containing the matrix code, 18: the matrix code,

22:식별자.22: Identifier.

상기한 목적을 달성하기 위해, 본 발명의 바람직한 실시예에 따르면 문서 내용 및 전자서명을 매트릭스 코드로 변환하여 문서에 첨부하기 위한 엔코딩 단말기와; 매트릭스 코드가 포함된 문서(10)를 스캐닝하여 그 문서내의 매트릭스 코드를 추출하여 복원시키며 그 복원 데이터가 원본 문서와 일치하는 지의 여부를 판별하는 디코딩 단말기와; 상기 엔코딩 단말기에 구비되어 매트릭스 코드가 원본 문서에 포함된 문서를 출력하기 위한 프린터와; 상기 디코딩 단말기에 구비되어 매트릭스 코드가 포함된 문서를 스캐닝하기 위한 스캐너로 구성되어 원본 문서에 전자서명이 포함되어 엔코딩된 매트릭스 코드가 원본 데이터의 하단에 구비되어 매트릭스 코드의 디코딩시 원본의 위변조 여부를 식별할 수 있도록 된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템이 제공된다.In order to achieve the above object, according to a preferred embodiment of the present invention, an encoding terminal for converting the document content and the electronic signature into a matrix code to attach to the document; A decoding terminal that scans the document 10 including the matrix code, extracts and restores the matrix code in the document, and determines whether the restored data matches the original document; A printer provided in the encoding terminal for outputting a document including a matrix code included in an original document; The decoding terminal is configured with a scanner for scanning a document containing a matrix code, the electronic code is included in the original document encoded matrix code is provided at the bottom of the original data to determine whether the forgery of the original when decoding the matrix code Provided are an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment characterized by being identifiable.

바람직하게, 상기 매트릭스 코드는 비트맵 데이터로 변환된 데이터를 버퍼를 통해 일정 블록 단위로 분할하여 저장되며, 내부에 각 블록 단위의 기준이 되는 식별자가 포함되어 구성되고, 데이터 압축 알고리즘과 매트릭스 코드 생성 알고리즘을 통해 ASCⅡ 및 바이너리(Binary) 데이터의 처리가 가능하고, 단위 면적당 24.4 Kbyte의 저장용량을 갖도록 구성된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템이 제공된다.Preferably, the matrix code is stored by dividing the data converted into bitmap data into a predetermined block unit through a buffer, and includes an identifier that is a reference of each block unit therein, and generates a data compression algorithm and a matrix code. Provides digital signature and document content attachment / restore system using matrix code in on / offline environment, which is capable of processing ASCII and binary data through algorithm and has 24.4 Kbyte of storage capacity per unit area. do.

바람직하게, 상기 엔코딩 단말기는 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈과; 문서의 열람 및 추출, 입력을 행하며 특정 문서의 선택, 전자서명 첨부, 매트릭스 코드로의 변환 등을 제어하기 위한 제어 키신호를 발생시키는 키입력부와; 상기 키입력부를 통해 입력되거나 선택된 문서 데이터를 엔코딩 전처리 단계로 압축하기 위해 압축 알고리즘을 구동시키는 데이터 압축부와; 상기 데이터 압축부를 통해 압축된 문서 데이터를 엔코딩하여 매트릭스 코드를 생성하는 엔코딩부와; 프린터를 구동시켜 데이터를 지면 출력하기 위한 데이터 출력부와; 상기 엔코딩부와 연동되어 에러율 및 복원율이 설정된 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성부와; 데이터 복원율을 설정하기 위한 데이터 복원 설정부와; 에러 정정 알고리즘과 연동되어 데이터 복원시 발생되는 에러를 보정하기 위한 에러 정정부와; 상기 데이터 압축부와 연동되어 그 데이터 압축부의 구동신호에 따라 실제로 데이터를 압축하기 위한 압축 알고리즘과; 입력되거나 선택된 데이터를 엔코딩하기 위해 상기 엔코딩부의 구동에 따라 엔코딩을 실행하는 엔코딩 알고리즘과; 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성 알고리즘과; 데이터 복원시 발생되는 에러를 정정하기 위한 에러 정정 알고리즘과; 상기 키입력부의 선택신호에 따라 특정 문서 및 전자서명 데이터를 독취하여 데이터 압축 및 분할 저장을 실행하고, 저장된 데이터를 엔코딩하여 매트릭스 코드가 생성되도록 제어하며, 원본 데이터에 그 매트릭스 코드가 포함되도록 데이터 재구성을 제어하고, 그 문서를 지면 출력하도록 제어하는 제어부로 구성된 것으르 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템이 제공된다.Preferably, the encoding terminal is a communication module for performing data protocol matching when transmitting and receiving a variety of data, and a data transmission and reception function; A key input section for generating a control key signal for reading, extracting and inputting a document and controlling selection of a specific document, attachment of an electronic signature, conversion to a matrix code, and the like; A data compressor for driving a compression algorithm to compress the document data input or selected through the key input unit into an encoding preprocessing step; An encoder for encoding a document data compressed through the data compressor to generate a matrix code; A data output unit for driving the printer to output data to the paper; A matrix code generating unit for generating a matrix code in which an error rate and a recovery rate are set in association with the encoding unit; A data recovery setting unit for setting a data recovery rate; An error correction unit for correcting an error generated when restoring data in association with an error correction algorithm; A compression algorithm for actually compressing data in accordance with a drive signal of the data compression unit in association with the data compression unit; An encoding algorithm for performing encoding in accordance with driving of the encoding unit to encode input or selected data; A matrix code generation algorithm for generating matrix code; An error correction algorithm for correcting an error generated during data restoration; According to a selection signal of the key input unit, specific document and digital signature data are read, data compression and division storage are performed, and the stored data is encoded so that the matrix code is generated and the data is reconstructed so that the matrix code is included in the original data. There is provided an electronic signature and document content attachment / restore system using a matrix code in an on / offline environment, characterized in that the controller is configured to control the control and output the document.

바람직하게, 상기 디코딩 단말기는 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈과; 매트릭스 코드가 포함된문서중 매트릭스 코드의 복호화를 명령하기 위한 키입력을 행하는 키입력부와; 매트릭스 코드가 포함된 문서를 스캔하기 위해 스캐너를 구동시키는 데이터 스캔부와; 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링부와; 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 복원 연산을 실행하는 디코딩부와; 원본 문서내용과 매트릭스 코드 복원정보를 비교함으로써 원본 위조여부를 판별하기 위한 문서/매트릭스 코드정보 비교부와; 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위한 에러 정정부와; 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 압축을 해제하기 위한 압축 해제부와; 상기 이미지 필터링부와 연계되어 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 실제로 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링 알고리즘과; 상기 디코딩부와 연계되어 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 실제 복원 연산을 실행하는 디코딩 알고리즘과; 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위해 수회 리사이클되는 에러정정 알고리즘과; 상기 압축 해제부와 연동되어 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 실제 압축을 해제하기 위한 압축 해제 알고리즘과; 매트릭스 코드가 포함된 문서를 스캔하여 매트릭스 코드를 디코딩함으로써 실제 원본 문서와 매트릭스 코드에 포함된 문서를 비교하고, 그 전자서명을 확인하여 위변조 여부를 판별할 수 있도록 제어하는 제어부로 구성된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템이 제공된다.Preferably, the decoding terminal is a communication module for performing data protocol matching when transmitting and receiving a variety of data, and having a data transmission and reception function; A key input unit for performing key input for instructing decryption of the matrix code in the document including the matrix code; A data scanning unit for driving a scanner to scan a document including a matrix code; An image filtering unit for reconstructing the image clearly by finding a dot in the matrix code and filtering the image based on the dot; A decoding unit recognizing an identifier for dividing a unit block included in the matrix code and performing a reconstruction operation of data based on the identifier; A document / matrix code information comparison unit for determining whether the document is forged by comparing the original document contents with the matrix code reconstruction information; An error correction unit for correcting an error generated during decoding by correcting an error based on an identifier of a matrix code; A decompression unit for detecting a compression type of the matrix code and decompressing the matrix code data according to the compression type; An image filtering algorithm for reconstructing an image clearly by finding a dot in a matrix code in association with the image filtering unit and actually filtering the image based on the dot; A decoding algorithm that recognizes an identifier for dividing a unit block included in a matrix code in association with the decoding unit, and performs an actual reconstruction operation of data based on the identifier; An error correction algorithm that is recycled several times to correct an error occurring in decoding by correcting an error based on an identifier of a matrix code; A decompression algorithm for interworking with the decompression unit to detect a compression form of a matrix code and to decompress matrix code data according to the compression format; And a control unit configured to compare the actual original document with the document included in the matrix code by scanning the document containing the matrix code and decoding the matrix code, and to determine whether the forgery is detected by checking the electronic signature. An electronic signature and document attachment / restore system using matrix codes is provided in an on / offline environment.

한편, 본 발명은 원본 문서와 전자 서명이 포함된 데이터를 엔코딩하여 매트릭스 코드로 변환하는 과정과; 변환된 매트릭스 코드를 원본 문서내용에 포함시키는 과정과; 매트릭스 코드가 포함된 문서를 지면 출력시키는 과정과; 지면 출력된 문서를 스캔하는 과정과; 스캔된 데이터중 매트릭스 코드를 검출하여 디코딩하는 과정과; 원본 문서와 매트릭스 코드를 비교하여 위변조 여부를 판별하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법이 제공된다.On the other hand, the present invention comprises the steps of encoding the data containing the original document and the electronic signature to a matrix code; Including the converted matrix code in the original document content; Outputting a document including the matrix code on a page; Scanning a paper output document; Detecting and decoding a matrix code from the scanned data; In the on / offline environment, a digital signature and document content attachment / restore method using the matrix code are provided.

바람직하게, 원본 문서와 전자 서명이 포함된 데이터를 엔코딩하여 매트릭스 코드로 변환하는 과정은 문서 파일을 선택하거나 입력하는 과정과; 입력된 데이터를 블록 단위로 분할하는 과정과; 분할된 블록단위의 데이터를 기지정된 버퍼에 분할하여 저장하는 과정과; 전자서명 데이터를 포함시키는 과정과; 매트릭스 코드로 변환시키는 과정과; 생성된 코드를 비트맵 이미지로 저장하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법이 제공된다.Preferably, the process of encoding the data containing the original document and the electronic signature and converting the data into a matrix code comprises: selecting or inputting a document file; Dividing the input data into block units; Dividing the divided block data into a predetermined buffer and storing the divided data; Including electronic signature data; Converting to matrix code; Provided are an electronic signature and document content attachment / restore method using matrix codes in an on / offline environment, wherein the generated code is stored as a bitmap image.

바람직하게, 스캔된 데이터중 매트릭스 코드를 검출하여 디코딩하는 과정은 매트릭스 코드가 포함된 문서를 스캔하는 과정과; 스캐된 이미지 전처리 과정과; 데이터 디코딩 과정과; 이미지 화면 출력과정으로 이루어진 것을 특징으로 하는온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법이 제공된다.Preferably, the step of detecting and decoding the matrix code from the scanned data comprises: scanning a document including the matrix code; A scanned image preprocessing process; A data decoding process; Provided are an electronic signature and a document attachment / restore method using a matrix code in an on / offline environment characterized in that an image screen is output.

바람직하게, 이미지 전처리 과정은 스캔시 매트릭스 코드에 포함된 도트 이미지를 선명하게 인식하기 위한 이미지 필터링 과정과; 필터링된 이미지를 재구성하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법이 제공된다.Preferably, the image preprocessing process includes an image filtering process for clearly recognizing a dot image included in a matrix code during scanning; Provided are an electronic signature and document content attachment / restore method using matrix codes in an on / offline environment, characterized in that the filtered image is reconstructed.

바람직하게, 매트릭스 코드에 포함된 식별자를 기준으로 이미지를 인식하고, 해당 이미지가 정상적으로 인식되지 못할 때 매트릭스 코드의 도트 재연산을 통해 디코딩 연산을 수행함으로써 에러를 정정하도록 하는 에러 정정과정이 더 포함된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법이 제공된다.Preferably, the method further includes an error correction process for recognizing an image based on an identifier included in the matrix code and correcting an error by performing a decoding operation through dot recomputation of the matrix code when the image is not normally recognized. Provided are an electronic signature and a document attachment / restore method using matrix codes in an on / offline environment.

이하, 본 발명에 대해 도면을 참조하여 상세하게 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, this invention is demonstrated in detail with reference to drawings.

도 1a, 1b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 구성을 나타내는 모식도이다.1A and 1B are schematic diagrams illustrating a configuration of an electronic signature and document content attachment / restore system using a matrix code in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템은 문서 내용과 전자서명을 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 그 매트릭스 코드의 디코딩시 원본 문서의 내용과 매트릭스 코드에 저장된 내용을 비교하여 그 위조 여부를 신속하게 판별할수 있다.Referring to this, in the on / offline environment according to an embodiment of the present invention, the digital signature and document content attachment / restore system using matrix codes are encoded and compressed by storing the document content and the electronic signature in a separate matrix code and storing the matrix. By attaching the code to the bottom of the original document content, it is possible to quickly determine the forgery by comparing the content of the original document with the content stored in the matrix code when decoding the matrix code.

또한, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템은 문서 내용과 전자서명 및 사진정보를 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 하는 바, 원본 문서의 훼손시에도 그 매트릭스 코드만의 디코딩으로 인해 원본 문서를 복원시킬 수 있다.In addition, the electronic signature and document content attachment / restore system using the matrix code in the on / offline environment according to an embodiment of the present invention encode and compress the document content, the electronic signature, and the photo information in a separate matrix code, and store the Since the matrix code is attached to the bottom of the original document content, even when the original document is damaged, the original document can be restored by decoding only the matrix code.

또한, 본 발명은 원본 문서의 훼손시 및 매트릭스 코드의 일부 훼손시에도 별도의 복원 알고리즘 및 에러 정정 알고리즘을 이용한 그 잔여 매트릭스 코드의 디코딩, 에러 정정, 복원을 통해 원본 문서를 복원시킬 수 있다.In addition, the present invention can restore the original document by decoding, error correcting, and restoring the remaining matrix code using a separate reconstruction algorithm and an error correction algorithm even when the original document is damaged and some of the matrix codes are damaged.

한편, 본 발명에는 온라인/오프라인을 상호 연동시켜 문서의 위조방지 및 그 전송자의 진위 인증, 문서의 복원이 매우 용이하게 이루어지는 시스템으로, 문서 내용 및 전자서명을 매트릭스 코드로 변환하여 문서에 첨부하기 위한 엔코딩 단말기(A)와, 매트릭스 코드가 포함된 문서(10)를 스캐닝하여 그 문서내의 매트릭스 코드를 추출하여 복원시키며 그 복원 데이터가 원본 문서와 일치하는 지의 여부를 판별하는 디코딩 단말기(B)가 구비된다.On the other hand, the present invention is a system that is very easy to prevent the forgery of the document, the authenticity of the sender, the restoration of the document by interlocking online / offline, and to convert the document content and electronic signature into a matrix code to attach to the document The encoding terminal A and the decoding terminal B for scanning the document 10 including the matrix code to extract and restore the matrix code in the document, and for determining whether the restored data matches the original document. do.

또한, 상기 엔코딩 단말기(A)에는 매트릭스 코드가 원본 문서에 포함된 문서(10)를 출력하기 위한 프린터(P)가 구비되어 있으며, 상기 디코딩 단말기(B)에는 매트릭스 코드가 포함된 문서를 스캐닝하기 위한 스캐너(S)가 구비된다.In addition, the encoding terminal A is provided with a printer P for outputting a document 10 in which a matrix code is included in an original document, and the decoding terminal B is configured to scan a document including a matrix code. Is provided with a scanner (S).

프린터(P)는 600dpi 이상의 레이저 프린터라면 모두 가능하며, 스캐너(S)는 300dpi 이상의 일반 스캐너라면 적용 가능하며, 그 인식율은 99%이다.The printer P may be any laser printer of 600 dpi or more, and the scanner S may be applicable to a general scanner of 300 dpi or more, and the recognition rate thereof is 99%.

한편, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템은 온라인상에서 사용될 수도 있는 바, 도 1b에 도시된 바와 같이 일반 문서(20)에 그 문서의 내용 및 전자서명을 압축하고 엔코딩하여 생성한 매트릭스 코드를 그 일반 문서(20)의 동일화면에 첨부하는 엔코딩 단말기(A1)와, 그 엔코딩 단말기(A1)와 원격으로 이격되어 해당 매트릭스 코드가 포함된 문서(10)를 전송받는 다른 단말기(A2)로 구성될 수 있다.Meanwhile, the electronic signature and document content attachment / restore system using the matrix code in the on / offline environment according to an embodiment of the present invention may be used online, as shown in FIG. 1B. The encoding terminal A1 attaches the matrix code generated by compressing and encoding the content of the document and the digital signature to the same screen of the general document 20, and is remotely separated from the encoding terminal A1 so that the corresponding matrix code is separated. It may be configured as another terminal A2 receiving the included document 10.

이 경우, 상기 엔코딩 단말기(A1)로부터 매트릭스 코드가 포함된 문서(10)를 원격 단말기(A2)가 전송받아 그 매트릭스 코드만을 별도로 추출하여 화면상에서 복원시켜 문서 내용의 일치여부를 확인할 수 있게 된다. 이렇게 온라인상에서만 별도로 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템을 사용하게 되면 전체 데이터 용량을 효과적으로 축소시킬 수 있으며 별도의 파일로 전자서명이 첨부되지 않고 단일의 파일내에 전자서명 데이터가 포함되게 되므로 매우 편리하다.In this case, the remote terminal A2 receives the document 10 including the matrix code from the encoding terminal A1 and separately extracts only the matrix code and restores it on the screen, thereby checking whether the document contents match. If you use the digital signature and document content attachment / restore system using matrix code separately online, you can effectively reduce the total data capacity and include the digital signature data in a single file without attaching the digital signature as a separate file. It is very convenient.

도 2는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서 사용되는 매트릭스 코드의 구성을 나타내는 도면이다.FIG. 2 is a diagram illustrating a configuration of a matrix code used in an electronic signature and a document content attachment / restore system using the matrix code in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 매트릭스 코드(18)는 원본 문서의 내용, 사진 데이터, 전자서명 데이터를 매트릭스 데이터의 형태에 맞춰지게 매트릭스 코드 생성 알고리즘을 통해 압축한다. 즉, 이러한 매트릭스 코드 생성은 매트릭스 코드로의 데이터 엔코딩이다.Referring to this, the matrix code 18 compresses the contents of the original document, the photo data, and the digital signature data through a matrix code generation algorithm to match the shape of the matrix data. That is, such matrix code generation is data encoding into matrix codes.

즉, 이러한 매트릭스 코드(18)는 독취한 데이터를 버퍼를 통해 일정 블록단위로 분할하여 저장하며, 그 단위블록의 데이터 형식을 매트릭스 코드의 형태로 변환하여 얻어질 수 있다. 매트릭스 코드(18)는 사각형 형상의 식별자(22)가 포함되어져 있으며, 그 식별자(22)의 사이에는 다수의 데이터가 도트 형태(20)의 매트릭스 코드로 표현되게 된다. 매트릭스 코드(18)로의 데이터 변환은 수학적인 알고리즘을 통해 암호화되는 엔코딩 과정을 거치게 된다.That is, the matrix code 18 may be obtained by dividing the read data into a predetermined block unit through a buffer and converting the data format of the unit block into a matrix code form. The matrix code 18 includes an identifier 22 having a rectangular shape, and a plurality of pieces of data are represented by a matrix code in the form of dots 20 between the identifiers 22. Data conversion to the matrix code 18 is subjected to an encoding process that is encrypted by a mathematical algorithm.

한편, 상기 매트릭스 코드(18)의 식별자를 기준으로 에러 복원이 수행될 수 있도록 매트릭스 코드(18)가 구성되며, 그 복원율 및 에러 정정율을 매트릭스 코드(18) 생성시 미리 설정하게 된다.On the other hand, the matrix code 18 is configured so that error recovery can be performed based on the identifier of the matrix code 18, and the restoration rate and the error correction rate are set in advance when the matrix code 18 is generated.

본 발명에 따른 매트릭스 코드(18)는 기존의 바코드 및 데이터 매트릭스와 전혀 상이한 구조 및 기능을 갖는 것으로, 기존의 바코드는 그 저장용량이 매우 협소하며, 이의 극복을 위해 데이터 매트릭스가 개발되었으나, 그 데이터 매트릭스의 경우에도 ASCⅡ 데이터를 입력하는 경우 1558 문자만이 가능하고 16개의 매트릭스만이 사용될 수 있다고 한다. 하지만, 실제 이러한 데이터 매트릭스는 그 디코딩의 한계 때문에 700개 이하의 문자만이 저장되고 있는 실정이다. 즉, 단위면적(1 제곱센티미터)당 저장용량은 249문자가 되는 것이다.The matrix code 18 according to the present invention has a structure and a function different from that of a conventional barcode and a data matrix, and a conventional barcode has a very narrow storage capacity, and a data matrix has been developed to overcome this problem. Even in the case of a matrix, when inputting ASCII data, only 1558 characters can be used and only 16 matrices can be used. In practice, however, only 700 or fewer characters are stored in the data matrix due to the limitation of the decoding. In other words, the storage capacity per unit area (1 square centimeter) is 249 characters.

하지만, 본 발명에 다른 매트릭스 코드(18)는 자체 개발된 데이터 압축 알고리즘과 매트릭스 코드 생성 알고리즘을 통해 방대한 데이터를 저장할 수 있는 바, ASCⅡ 및 바이너리(Binary) 데이터의 처리가 가능하고, 평균적으로 단위 면적당 24.4 Kbyte의 저장용량을 갖는다.However, the matrix code 18 according to the present invention can store a large amount of data through a self-developed data compression algorithm and a matrix code generation algorithm, and can process ASCII and binary data, and on an average, per unit area. It has a storage capacity of 24.4 Kbytes.

도 3은 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서 사용되는 매트릭스 코드가 첨부된 문서를 나타내는 도면이다.FIG. 3 is a diagram illustrating a document to which an electronic signature using a matrix code and a matrix code used in a document content attachment / restore system are attached in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 본 발명은 문서 내용과 전자서명 및 사진정보를 별도의 매트릭스 코드에 엔코딩 및 압축하여 저장하고 그 매트릭스 코드를 원본 문서 내용의 하단에 첨부되도록 함으로써 그 매트릭스 코드의 디코딩시 원본 문서 및 사진정보와 매트릭스 코드에 저장된 내용을 비교하여 그 위조 여부를 신속하게 판별할 수 있다.Referring to this, the present invention encodes and compresses the document contents, the digital signature, and the photograph information in a separate matrix code, stores the encoded code, and attaches the matrix code to the bottom of the original document content, thereby decoding the original document and photograph. By comparing the information stored in the matrix code, you can quickly determine whether it is a forgery.

즉, 도 3은 일반 문서내용(12)과, 사진정보(14), 사인정보(16), 전자서명정보를 압축하고, 그 압축된 데이터를 엔코딩하여 매트릭스 코드(18)로 생성한 후, 단일의 파일로 그 일반 문서내용(12)과, 사진정보(14), 사인정보(16), 전자서명정보가 포함된 매트릭스 코드(18)를 포함시킨 문서(10)를 나타낸 것이다.That is, FIG. 3 compresses the general document contents 12, the photo information 14, the signature information 16, and the electronic signature information, encodes the compressed data, and generates the matrix code 18. The document 10 includes the general document contents 12, the photo information 14, the sign information 16, and the matrix code 18 including the electronic signature information.

이러한 매트릭스 코드(18)가 포함된 문서(10)는 일반 문서내용(12)과, 사진정보(14), 사인정보(16)가 훼손되어도 매트릭스 코드(18)만으로 복원시킬 수 있으며, 전송된 일반 문서내용(12)과, 사진정보(14), 사인정보(16)가 매트릭스 코드(18)의 복원 데이터와 일치하는 지를 비교함으로써 원본 일치여부를 판단할 수 있다. 즉, 사진을 바꿔 붙히거나, 사인을 위조하거나, 문서 내용의 일부를 임의로 위조한 경우에도 매트릭스 코드(18)의 복원을 통해 위조 여부를 판별할 수 있게 된다.The document 10 including the matrix code 18 can be restored to only the matrix code 18 even if the general document content 12, the photo information 14, and the sign information 16 are damaged. By comparing the document contents 12, the photo information 14, and the sign information 16 with the reconstructed data of the matrix code 18, it is possible to determine whether the original matches. In other words, even if the picture is pasted, the signature is forged, or a part of the document content is forged, the forgery can be determined by restoring the matrix code 18.

도 4a, 4b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 엔코딩 및 디코딩 단말기의 구성을 도시한 블록구성도이다.4A and 4B are block diagrams illustrating a configuration of an encoding and decoding terminal of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 상기 엔코딩 단말기(A)는 그 내부에 통신모듈, 키입력부, 데이터 압축부, 엔코딩부, 데이터 출력부, 매트릭스 코드 생성부, 데이터 복원 설정부, 에러 정정부, 압축 알고리즘, 엔코딩 알고리즘, 매트릭스 코드 생성 알고리즘, 에러 정정 알고리즘, 제어부로 구성된다.Referring to this, the encoding terminal A includes a communication module, a key input unit, a data compression unit, an encoding unit, a data output unit, a matrix code generation unit, a data restoration setting unit, an error correction unit, a compression algorithm, an encoding algorithm therein. , Matrix code generation algorithm, error correction algorithm, and control unit.

참조부호 30은 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈을 나타내며, 참조부호 32는 문서의 열람 및 추출, 입력을 행하며 특정 문서의 선택, 전자서명 첨부, 매트릭스 코드로의 변환 등을 제어하기 위한 제어 키신호를 발생시키는 키입력부를 나타낸다. 매트릭스 코드로의 변환이 가능한 데이터의 형태는 메모리 오브젝트(Memory Object), 파일 등 모든 데이터가 별도의 제한없이 가능하다.Reference numeral 30 denotes a communication module that performs data protocol matching when transmitting and receiving various data, and indicates a communication module having a data transmitting / receiving function. Reference numeral 32 denotes a document for reading, extracting, and inputting, selecting a specific document, attaching an electronic signature, and entering a matrix code. A key input unit for generating a control key signal for controlling conversion and the like is shown. In the form of data that can be converted into matrix code, all data such as a memory object and a file can be used without any limitation.

참조부호 34는 상기 키입력부(32)를 통해 입력되거나 선택된 문서 데이터를 엔코딩 전처리 단계로 압축하기 위해 압축 알고리즘을 구동시키는 데이터 압축부를 나타낸다. 참조부호 36은 상기 데이터 압축부(34)를 통해 압축된 문서 데이터를 엔코딩하여 매트릭스 코드를 생성하는 엔코딩부를 나타내는 바, 그 엔코딩부(36)는 상기 데이터 압축부(34)로부터 인가된 데이터를 버퍼(도시 생략)를 통해 기설정 블록단위로 분할하여 저장하며, 다양한 환경에서 호환 가능하게 데이터 형식을 변환하게 된다. 데이터 형식 변환은 전자서명에 관련된 국제 표준안을 따른다.Reference numeral 34 denotes a data compressor for driving a compression algorithm to compress the document data input or selected through the key input unit 32 into the encoding preprocessing step. Reference numeral 36 denotes an encoder that encodes the document data compressed by the data compressor 34 to generate a matrix code. The encoder 36 buffers the data applied from the data compressor 34. (Not shown) divides the data into predetermined block units and converts the data format to be compatible in various environments. Data format conversion follows the international standard for digital signatures.

참조부호 38은 프린터(P)를 구동시켜 데이터를 지면 출력하기 위한 데이터출력부를 나타낸다. 참조부호 40은 상기 엔코딩부(36)와 연동되어 에러율 및 복원율이 설정된 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성부를 나타낸다.Reference numeral 38 denotes a data output unit for driving the printer P to output data to the paper. Reference numeral 40 denotes a matrix code generator for generating a matrix code in which an error rate and a recovery rate are set in association with the encoder 36.

참조부호 42는 데이터 복원율을 설정하기 위한 데이터 복원 설정부를 나타내는 바, 이는 매트릭스 코드 생성 알고리즘의 개발시 25% 내지 75%까지 설정이 가능하다. 참조부호 44는 에러 정정 알고리즘과 연동되어 데이터 복원시 발생되는 에러를 보정하기 위한 에러 정정부를 나타낸다.Reference numeral 42 denotes a data recovery setting unit for setting a data recovery rate, which can be set from 25% to 75% in the development of a matrix code generation algorithm. Reference numeral 44 denotes an error correction unit for correcting an error generated when restoring data in association with an error correction algorithm.

참조부호 46a는 상기 데이터 압축부(34)와 연동되어 그 데이터 압축부(34)의 구동신호에 따라 실제로 데이터를 압축하기 위한 압축 알고리즘을 나타낸다. 참조부호 46b는 입력되거나 선택된 데이터를 엔코딩하기 위해 상기 엔코딩부(36)의 구동에 따라 엔코딩을 실행하는 엔코딩 알고리즘을 나타낸다.Reference numeral 46a denotes a compression algorithm for actually compressing data in accordance with the drive signal of the data compressor 34 in association with the data compressor 34. Reference numeral 46b denotes an encoding algorithm that executes encoding in accordance with driving of the encoding unit 36 to encode input or selected data.

참조부호 46c는 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성 알고리즘을 나타내며, 참조부호 46d는 데이터 복원시 발생되는 에러를 정정하기 위한 에러 정정 알고리즘을 나타낸다.Reference numeral 46c denotes a matrix code generation algorithm for generating a matrix code, and reference numeral 46d denotes an error correction algorithm for correcting an error generated when restoring data.

한편, 참조부호 48은 상기 키입력부(32)의 선택신호에 따라 특정 문서 및 전자서명 데이터를 독취하여 데이터 압축 및 분할 저장을 실행하고, 저장된 데이터를 엔코딩하여 매트릭스 코드가 생성되도록 제어하며, 원본 데이터에 그 매트릭스 코드가 포함되도록 데이터 재구성을 제어하고, 그 문서를 지면 출력하도록 제어하는 제어부를 나타낸다.On the other hand, the reference numeral 48 reads the specific document and the digital signature data in accordance with the selection signal of the key input unit 32 to perform data compression and division storage, and to encode the stored data to control to generate a matrix code, the original data The control unit controls the data reconstruction so that the matrix code is included in the document and outputs the document.

상기 디코딩 단말기(B)는 스캐너(S)와 연동되며, 내부에 매트릭스 코드를 복원시켜 그 매트릭스 코드 데이터를 육안으로 독취 및 해석 가능한 데이터로 변환시키고, 그 원본 위조여부를 판별할 수 있도록 하는 단말기로서, 통신모듈, 키입력부, 데이터 스캔부, 이미지 필터링부, 디코딩부, 문서/매트릭스 코드정보 비교부, 에러 정정부, 압축 해제부, 이미지 필터링 알고리즘, 디코딩 알고리즘, 에러정정 알고리즘, 압축 해제 알고리즘, 제어부로 구성된다.The decoding terminal (B) is interlocked with the scanner (S), and restores the matrix code therein to convert the matrix code data into visually readable and interpretable data, and to determine whether the original forgery or not , Communication module, key input unit, data scanning unit, image filtering unit, decoding unit, document / matrix code information comparison unit, error correction unit, decompression unit, image filtering algorithm, decoding algorithm, error correction algorithm, decompression algorithm, control unit It consists of.

보다 상세하게, 참조부호 50은 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈을 나타낸다. 참조부호 52는 매트릭스 코드가 포함된 문서중 매트릭스 코드의 복호화를 명령하기 위한 키입력을 행하는 키입력부를 나타낸다.More specifically, reference numeral 50 denotes a communication module that performs data protocol matching when transmitting and receiving various data, and has a data transmission / reception function. Reference numeral 52 denotes a key input unit that performs key input for instructing decryption of the matrix code in the document including the matrix code.

참조부호 54는 매트릭스 코드가 포함된 문서를 스캔하기 위해 스캐너를 구동시키는 데이터 스캔부를 나타내며, 참조부호 56은 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링부를 나타낸다.Reference numeral 54 denotes a data scanning unit for driving a scanner to scan a document containing a matrix code, and reference numeral 56 denotes a dot in the matrix code and filters the image based on the dot to sharpen the image. An image filtering unit for reconstruction is shown.

참조부호 58은 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 복원 연산을 실행하는 디코딩부를 나타낸다. 참조부호 60은 원본 문서내용과 매트릭스 코드 복원정보를 비교함으로써 원본 위조여부를 판별하기 위한 문서/매트릭스 코드정보 비교부를 나타낸다.Reference numeral 58 denotes a decoding unit that recognizes an identifier for dividing a unit block included in the matrix code and performs a reconstruction operation of data based on the identifier. Reference numeral 60 denotes a document / matrix code information comparison section for determining whether the original document is forged by comparing the original document content with the matrix code reconstruction information.

참조부호 62는 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위한 에러 정정부를 나타낸다. 참조부호 64는 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 압축을 해제하기 위한 압축 해제부를 나타낸다.Reference numeral 62 denotes an error correction unit for correcting an error generated during decoding by correcting an error based on an identifier of a matrix code. Reference numeral 64 denotes a decompression unit for detecting the compression form of the matrix code and decompressing the matrix code data according to the compression format.

참조부호 66a는 상기 이미지 필터링부(56)와 연계되어 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 실제로 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링 알고리즘을 나타낸다.Reference numeral 66a indicates an image filtering algorithm for reconstructing an image clearly by finding a dot in a matrix code in association with the image filtering unit 56 and actually filtering the image based on the dot.

참조부호 66b는 상기 디코딩부(58)와 연계되어 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 실제 복원 연산을 실행하는 디코딩 알고리즘을 나타낸다.Reference numeral 66b indicates a decoding algorithm associated with the decoding unit 58 that recognizes an identifier for dividing a unit block included in a matrix code and performs an actual reconstruction operation of data based on the identifier.

참조부호 66c는 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위해 수회 리사이클되는 에러정정 알고리즘을 나타낸다. 참조부호 66d는 상기 압축 해제부(64)와 연동되어 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 실제 압축을 해제하기 위한 압축 해제 알고리즘을 나타낸다.Reference numeral 66c denotes an error correction algorithm that is recycled several times to correct an error generated in decoding by correcting an error based on an identifier of a matrix code. Reference numeral 66d indicates a decompression algorithm for interworking with the decompressor 64 to detect the compression form of the matrix code and to decompress the actual matrix code data according to the compression format.

참조부호 68은 매트릭스 코드가 포함된 문서를 스캔하여 매트릭스 코드를 디코딩함으로써 실제 원본 문서와 매트릭스 코드에 포함된 문서를 비교하고, 그 전자서명을 확인하여 위변조 여부를 판별할 수 있도록 제어하는 제어부를 나타낸다.Reference numeral 68 denotes a control unit for controlling a document that contains a matrix code and decoding the matrix code to compare the actual original document with a document included in the matrix code, and to determine whether or not forgery by checking the electronic signature. .

도 5a는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 매트릭스 코드 생성과정을 개략적으로 도시한 도면이다.5A is a diagram schematically illustrating a process of generating a matrix code of an electronic signature and document content attachment / restore system using the matrix code in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서의 매트릭스 코드 생성과정은 먼저 원본 문서 데이터(Raw Document Data: 70)를 비트맵(BMP)으로 변환한다(80). 변환된 비트맵(BMP)을 데이터 압축(Compression)하고(90), 그 압축된 데이터에 전자 서명(Digital Signature)을 포함하여 디코딩 전처리를 완료한다(100). 전자 서명을 첨부하는 알고리즘은 공지된 것이므로 기술을 피한다.Referring to this, in the on / offline environment according to an embodiment of the present invention, the process of generating the matrix code in the digital signature and document content attachment / restore system using the matrix code first bits the original document data (Raw Document Data) 70. Convert to map BMP (80). The compressed bitmap BMP is compressed (90), and the decoding preprocess is completed (100) by including a digital signature in the compressed data. Algorithms for attaching digital signatures are well known and are therefore avoided.

전자 서명이 첨부된 데이터를 디코딩하여 매트릭스 코드로 변환한다(110).The electronic signature-decoded data is decoded and converted into matrix code (110).

매트릭스 코드가 포함된 문서 데이터(10)를 프린트하면, 문서 내용이 그 상단에 원본과 동일하게 출력되고, 그 하단에는 그 원본 문서내용과 전자서명이 변환된 매트릭스 코드가 바(Bar)의 형태로 출력된다(120).When the document data 10 including the matrix code is printed, the document content is output at the top of the same as the original, and at the bottom thereof, the matrix code converted from the original document content and the electronic signature is in the form of a bar. Is output 120.

도 5b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 매트릭스 코드 생성 및 원본 파일 첨부과정을 도시한 도면이다.5B is a diagram illustrating a process of generating a matrix code and attaching an original file of an electronic signature and document content attachment / restore system using the matrix code in an on / offline environment according to an embodiment of the present invention.

이를 참조하면, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템에서 원본 문서(Document)나 HTML 파일은 비트맵(PCL2 BMP)으로 변환한다. 변환된 비트맵을 압축하고, 압축된 비트맵을 전자서명한다. 이때, 원본 비트맵을 별도로 구성하고, 전자서명된 압축 비트맵을 매트릭스 코드로 변환한다.Referring to this, an original document or HTML file is converted into a bitmap (PCL2 BMP) in an electronic signature and a document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention. Compress the converted bitmap and digitally sign the compressed bitmap. At this time, the original bitmap is separately configured and the digitally signed compressed bitmap is converted into a matrix code.

그리고, 매트릭스 코드 데이터와 원본 비트맵을 단일의 문서로 형성하고, 그 문서를 PDF 파일로 생성토록 한다. 이러한 과정을 통해, 특정 문서를 전자서명하고, 매트릭스 코드로 변환하여 그 특정 문서내에 매트릭스 코드가 포함될 수 있도록 한다.Then, the matrix code data and the original bitmap are formed into a single document, and the document is generated as a PDF file. Through this process, a specific document is digitally signed and converted into matrix code so that the matrix code can be included in the specific document.

상기한 구성의 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 기능과 작용을 첨부된 도면을 참조하여 상세하게 설명한다.The function and operation of the digital signature and document content attachment / restore system using the matrix code in the on / offline environment according to the embodiment of the present invention having the above-described configuration will be described in detail with reference to the accompanying drawings.

도 6a는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 엔코딩 과정을 도시한 플로우챠트이다.FIG. 6A is a flowchart illustrating an encoding process of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention.

먼저, 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템은 엔코딩 단말기(A)를 이용하여 원본 문서 데이터를 입력하거나 선택한다(제 1 단계: ST-1).First, the electronic signature and document content attachment / restore system using the matrix code in the on / offline environment according to an embodiment of the present invention inputs or selects original document data using the encoding terminal A (first step: ST-1).

선택된 원본 문서(Document)나 원본 HTML 파일을 비트맵(PCL2 BMP)으로 변환하고, 변환된 비트맵을 압축한다(제 2a 단계: ST-2a).The selected original document or original HTML file is converted into a bitmap (PCL2 BMP), and the converted bitmap is compressed (step 2a: ST-2a).

그리고, 압축된 비트맵을 엔코딩하는 바(제 2b 단계: ST-2b), 엔코딩은 일종의 암호화이며, 상세 과정으로는 먼저 압축된 비트맵을 전자서명하고, 버퍼를 통해 일정 블록단위로 분할하여 저장하며(제 3a, 3b 단계: ST-3a, 3b), 그 단위블록의 데이터 형식을 매트릭스 코드의 형태로 변환하여 얻어질 수 있다. 매트릭스 코드는 사각형 형상의 식별자를 기준으로 다수의 데이터가 도트 형태의 매트릭스 코드로 표현되도록 한다. 매트릭스 코드로의 데이터 변환은 수학적인 알고리즘을 통해 암호화되는 엔코딩 과정이다(제 3c 단계: ST-3c).As the encoded bitmap is encoded (step 2b: ST-2b), encoding is a kind of encryption. As a detailed process, first, the compressed bitmap is digitally signed and stored in a predetermined block unit through a buffer. (Steps 3a and 3b: ST-3a and 3b), and can be obtained by converting the data format of the unit block into a matrix code. The matrix code allows a plurality of data to be expressed as a matrix code in the form of dots based on the identifier of the rectangular shape. The data conversion to the matrix code is an encoding process encrypted through a mathematical algorithm (step 3c: ST-3c).

문서의 엔코딩이 완료되면, 복원값을 설정하고, 에러 정정값을 설정한다. 이때, 복원값 설정은 최초 매트릭스 코드 생성 알고리즘의 제작시 설정할 수도 있으며, 매 문서의 복원 요구율에 따라 개별적으로 설정할 수도 있다(제 4 단계: ST-4)(제 5 단계: ST-5). 엔코딩이 완료되면 원본 문서 및 전자서명이 포함된 데이터인 매트릭스 코드가 생성된다(제 6 단계: ST-6).When encoding of the document is completed, the restoration value is set, and an error correction value is set. In this case, the restoration value may be set at the time of manufacture of the initial matrix code generation algorithm, or may be individually set according to the restoration request rate of every document (step 4: ST-4) (step 5: ST-5). When encoding is completed, a matrix code, which is data including an original document and an electronic signature, is generated (step 6: ST-6).

그리고, 원본 비트맵과, 변환된 매트릭스 코드를 단일의 문서에 포함하여 PDF 파일로 저장한다. 이때, 저장된 파일은 지면 출력시 원본 문서의 내용이 상단에 표시되고 그 하단에는 매트릭스 코드가 출력되게 된다(제 7 단계: ST-7).The original bitmap and the converted matrix code are included in a single document and stored as a PDF file. At this time, the stored file is displayed at the top of the original document at the time of outputting the page, and the matrix code is output at the bottom thereof (step 7: ST-7).

도 6b는 본 발명의 일실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템의 디코딩 과정을 도시한 플로우챠트이다.6B is a flowchart illustrating a decoding process of an electronic signature and document content attachment / restore system using matrix codes in an on / offline environment according to an embodiment of the present invention.

먼저, 매트릭스 코드가 포함된 문서를 스캐너(S)를 이용하여 스캔한다(제 10 단계: ST-10).First, the document containing the matrix code is scanned using the scanner S (step 10: ST-10).

스캔된 데이터는 디코딩 단말기(B)에 입력되며, 그 데이터는 이미지 전처리 과정을 수행하도록 한다(제 11 단계: ST-11). 이미지 전처리 과정은 스캔 이미지는 출력 이미지와는 다르게 매트릭스 코드를 구성하는 도트가 선명하지 않으므로 그 도트를 선명하게 인식할 수 있도록 이미지 필터링을 행하는 이미지 필터링과정과(제 11a 단계: ST-11a), 도트 인식 후 이미지를 재구성하는 과정으로 이루어진다(제 11b 단계: ST-11b).The scanned data is input to the decoding terminal B, and the data is performed to perform an image preprocessing process (11th step: ST-11). In the image preprocessing process, unlike the output image, the dot constituting the matrix code is different from the output image, so that the image filtering process performs image filtering so that the dot can be clearly recognized (step 11a: ST-11a), and the dot After recognition, a process of reconstructing the image is performed (step 11b: ST-11b).

이미지 재구성이 완료되면, 해당 이미지를 디코딩하는 바(제 12 단계: ST-12), 데이터 디코딩은 먼저 매트릭스 코드중 단위 블록을 식별하는 사각형 형태의 식별자를 검출한다(제 12a 단계: ST-12a).When the image reconstruction is completed, the corresponding image is decoded (12th step: ST-12), and data decoding first detects an identifier of a rectangular form identifying a unit block in the matrix code (step 12a: ST-12a). .

그리고, 그 식별자를 기준으로 에러 복원을 수행한다(제 12b 단계: ST-12b).즉, 정상적으로 인식되지 못한 도트를 재연산하여 다시 생성되도록 한다. 데이터 형식을 역변환하고(제 12c 단계: ST-12c), 압축 형태를 검출하여 해당 압축형태에 따라 압축을 해제한다(제 12d 단계: ST-12d).Then, the error recovery is performed based on the identifier (step 12b: ST-12b). That is, the dot which is not normally recognized is recomputed to be generated again. The data format is inversely transformed (step 12c: ST-12c), and the compression type is detected and decompressed according to the compression type (step 12d: ST-12d).

다음으로, 압축 해제된 데이터 형식을 원래의 이미지 형태로 변환하여 화면 출력한다(제 13 단계: ST-13). 이때, 원본 비트맵 데이터와 매트릭스 코드가 변환되어 구성된 비트맵 데이터를 비교함으로써 위조 여부를 판별하게 된다(제 14 단계: ST-14)(제 14a 단계: ST-14a).Next, the decompressed data format is converted into the original image form and displayed on the screen (step 13: ST-13). At this time, forgery is determined by comparing the original bitmap data and the bitmap data formed by converting the matrix code (step 14: ST-14) (step 14a: ST-14a).

한편, 본 발명의 실시예에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법은 단지 상기한 실시예에 한정되는 것이 아니라 그 기술적 요지를 이탈하지 않는 범위내에서 다양한 변경이 가능하다.Meanwhile, the electronic signature and document content attachment / restore system and its attachment / restore method using matrix codes in an on / offline environment according to an embodiment of the present invention are not limited to the above-described embodiments but do not depart from the technical gist of the invention. Various changes can be made without departing from the scope of the present invention.

상기한 바와 같이, 본 발명에 따른 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템 및 그 첨부/복원 방법은 사진정보는 물론이고, 원본 문서, 문서에 개재된 서명정보, 전자서명정보를 압축하고, 엔코딩함으로써 매트릭스 코드로 변환하여 원본 문서의 하단에 첨부되도록 함으로써 그 문서의 출력후에 스캔하여 디코딩하면 해당 문서가 위변조되었는 지를 신속하게 판별할 수 있다는 효과가 있으며, 원본 문서가 훼손되었을 시에도 매트릭스 코드를 디코딩하여 원본 문서를 복원시킬 수 있고, 각 매트릭스 코드는 상호 연계되도록 구성되므로 일부 매트릭스 코드가 훼손될 시에도 전체 문서를 복원시킬 수 있다는장점이 있다.As described above, in the on / offline environment according to the present invention, the digital signature and document content attachment / restore system using the matrix code and the attachment / restore method thereof are not only photograph information but also original documents, signature information embedded in documents, By compressing and encoding the digital signature information, it is converted into a matrix code and attached to the bottom of the original document. Scanning and decoding after outputting the document can quickly determine whether the document has been forged. Even if it is damaged, the original document can be restored by decoding the matrix code, and since each matrix code is configured to be interconnected, the entire document can be restored even when some matrix codes are damaged.

Claims (9)

문서 내용 및 전자서명을 매트릭스 코드로 변환하여 문서에 첨부하기 위한 엔코딩 단말기와;An encoding terminal for converting the document content and the digital signature into a matrix code and attaching the document to the document; 매트릭스 코드가 포함된 문서(10)를 스캐닝하여 그 문서내의 매트릭스 코드를 추출하여 복원시키며 그 복원 데이터가 원본 문서와 일치하는 지의 여부를 판별하는 디코딩 단말기와;A decoding terminal that scans the document 10 including the matrix code, extracts and restores the matrix code in the document, and determines whether the restored data matches the original document; 상기 엔코딩 단말기에 구비되어 매트릭스 코드가 원본 문서에 포함된 문서를 출력하기 위한 프린터와;A printer provided in the encoding terminal for outputting a document including a matrix code included in an original document; 상기 디코딩 단말기에 구비되어 매트릭스 코드가 포함된 문서를 스캐닝하기 위한 스캐너로 구성되어 원본 문서에 전자서명이 포함되어 엔코딩된 매트릭스 코드가 원본 데이터의 하단에 구비되어 매트릭스 코드의 디코딩시 원본의 위변조 여부를 식별할 수 있도록 된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템.The decoding terminal is configured with a scanner for scanning a document containing a matrix code, the electronic code is included in the original document encoded matrix code is provided at the bottom of the original data to determine whether the forgery of the original when decoding the matrix code A system for attaching and restoring digital signatures and document contents using matrix codes in an on / offline environment characterized by being able to be identified. 제 1 항에 있어서, 상기 매트릭스 코드는 비트맵 데이터로 변환된 데이터를 버퍼를 통해 일정 블록 단위로 분할하여 저장되며, 내부에 각 블록 단위의 기준이 되는 식별자가 포함되어 구성되고, 데이터 압축 알고리즘과 매트릭스 코드 생성 알고리즘을 통해 ASCⅡ 및 바이너리(Binary) 데이터의 처리가 가능하고, 단위 면적당 24.4 Kbyte의 저장용량을 갖도록 구성된 것을 특징으로 하는 온/오프라인 환경에서매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템.The method of claim 1, wherein the matrix code is stored by dividing the data, which is converted into bitmap data, into a predetermined block unit through a buffer, and includes an identifier that is a reference for each block unit, and includes a data compression algorithm. Matrix code generation algorithm enables the processing of ASCII and binary data and attaches / restores electronic signatures and document contents using matrix codes in an on / offline environment, which is configured to have a storage capacity of 24.4 Kbytes per unit area. system. 제 1 항에 있어서, 상기 엔코딩 단말기는 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈과; 문서의 열람 및 추출, 입력을 행하며 특정 문서의 선택, 전자서명 첨부, 매트릭스 코드로의 변환 등을 제어하기 위한 제어 키신호를 발생시키는 키입력부와; 상기 키입력부를 통해 입력되거나 선택된 문서 데이터를 엔코딩 전처리 단계로 압축하기 위해 압축 알고리즘을 구동시키는 데이터 압축부와; 상기 데이터 압축부를 통해 압축된 문서 데이터를 엔코딩하여 매트릭스 코드를 생성하는 엔코딩부와; 프린터를 구동시켜 데이터를 지면 출력하기 위한 데이터 출력부와; 상기 엔코딩부와 연동되어 에러율 및 복원율이 설정된 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성부와; 데이터 복원율을 설정하기 위한 데이터 복원 설정부와; 에러 정정 알고리즘과 연동되어 데이터 복원시 발생되는 에러를 보정하기 위한 에러 정정부와; 상기 데이터 압축부와 연동되어 그 데이터 압축부의 구동신호에 따라 실제로 데이터를 압축하기 위한 압축 알고리즘과; 입력되거나 선택된 데이터를 엔코딩하기 위해 상기 엔코딩부의 구동에 따라 엔코딩을 실행하는 엔코딩 알고리즘과; 매트릭스 코드를 생성하기 위한 매트릭스 코드 생성 알고리즘과; 데이터 복원시 발생되는 에러를 정정하기 위한 에러 정정 알고리즘과; 상기 키입력부의 선택신호에 따라 특정 문서 및 전자서명 데이터를 독취하여 데이터 압축 및 분할 저장을 실행하고, 저장된 데이터를 엔코딩하여 매트릭스 코드가 생성되도록 제어하며, 원본 데이터에 그 매트릭스 코드가 포함되도록 데이터 재구성을 제어하고, 그 문서를 지면 출력하도록 제어하는 제어부로 구성된 것으르 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템.The apparatus of claim 1, wherein the encoding terminal comprises: a communication module for performing data protocol matching when transmitting and receiving various data, and having a data transmission / reception function; A key input section for generating a control key signal for reading, extracting and inputting a document and controlling selection of a specific document, attachment of an electronic signature, conversion to a matrix code, and the like; A data compressor for driving a compression algorithm to compress the document data input or selected through the key input unit into an encoding preprocessing step; An encoder for encoding a document data compressed through the data compressor to generate a matrix code; A data output unit for driving the printer to output data to the paper; A matrix code generating unit for generating a matrix code in which an error rate and a recovery rate are set in association with the encoding unit; A data recovery setting unit for setting a data recovery rate; An error correction unit for correcting an error generated when restoring data in association with an error correction algorithm; A compression algorithm for actually compressing data in accordance with a drive signal of the data compression unit in association with the data compression unit; An encoding algorithm for performing encoding in accordance with driving of the encoding unit to encode input or selected data; A matrix code generation algorithm for generating matrix code; An error correction algorithm for correcting an error generated during data restoration; According to a selection signal of the key input unit, specific document and digital signature data are read, data compression and division storage are performed, and the stored data is encoded so that the matrix code is generated and the data is reconstructed so that the matrix code is included in the original data. And an electronic signature and document content attachment / restore system using a matrix code in an on / offline environment. 제 1 항에 있어서, 상기 디코딩 단말기는 각종 데이터 송수신시 데이터 프로토콜 매칭을 행하며, 데이터 송수신 기능을 갖는 통신모듈과; 매트릭스 코드가 포함된 문서중 매트릭스 코드의 복호화를 명령하기 위한 키입력을 행하는 키입력부와; 매트릭스 코드가 포함된 문서를 스캔하기 위해 스캐너를 구동시키는 데이터 스캔부와; 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링부와; 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 복원 연산을 실행하는 디코딩부와; 원본 문서내용과 매트릭스 코드 복원정보를 비교함으로써 원본 위조여부를 판별하기 위한 문서/매트릭스 코드정보 비교부와; 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위한 에러 정정부와; 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 압축을 해제하기 위한 압축 해제부와; 상기 이미지 필터링부와 연계되어 매트릭스 코드내의 도트(Dot)를 찾아내어 그 도트를 기준으로 이미지를 실제로 필터링함으로써 선명하게 이미지를 재구성하기 위한 이미지 필터링 알고리즘과; 상기 디코딩부와 연계되어 매트릭스 코드내에 포함된 단위 블록을 분할하는 식별자를 인지하여 그 식별자를 기준으로 데이터의 실제 복원 연산을 실행하는 디코딩 알고리즘과; 매트릭스 코드의 식별자를 기준으로 에러를 정정함으로써 디코딩시 발생되는 에러를 정정하기 위해 수회 리사이클되는 에러정정 알고리즘과; 상기 압축 해제부와 연동되어 매트릭스 코드의 압축형태를 검출하여 해당 압축형식에 따라 매트릭스 코드 데이터의 실제 압축을 해제하기 위한 압축 해제 알고리즘과; 매트릭스 코드가 포함된 문서를 스캔하여 매트릭스 코드를 디코딩함으로써 실제 원본 문서와 매트릭스 코드에 포함된 문서를 비교하고, 그 전자서명을 확인하여 위변조 여부를 판별할 수 있도록 제어하는 제어부로 구성된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 시스템.The apparatus of claim 1, wherein the decoding terminal comprises: a communication module for performing data protocol matching when transmitting and receiving various data and having a data transmission / reception function; A key input unit which performs key input for instructing decryption of the matrix code in the document including the matrix code; A data scanning unit for driving a scanner to scan a document including a matrix code; An image filtering unit for reconstructing the image clearly by finding a dot in the matrix code and filtering the image based on the dot; A decoding unit recognizing an identifier for dividing a unit block included in the matrix code and performing a reconstruction operation of data based on the identifier; A document / matrix code information comparison unit for determining whether the document is forged by comparing the original document contents with the matrix code reconstruction information; An error correction unit for correcting an error generated during decoding by correcting an error based on an identifier of a matrix code; A decompression unit for detecting a compression type of the matrix code and decompressing the matrix code data according to the compression type; An image filtering algorithm for reconstructing an image clearly by finding a dot in a matrix code in association with the image filtering unit and actually filtering the image based on the dot; A decoding algorithm that recognizes an identifier for dividing a unit block included in a matrix code in association with the decoding unit, and performs an actual reconstruction operation of data based on the identifier; An error correction algorithm that is recycled several times to correct an error occurring in decoding by correcting an error based on an identifier of a matrix code; A decompression algorithm for interworking with the decompression unit to detect a compression form of a matrix code and to decompress matrix code data according to the compression format; And a control unit configured to compare the actual original document with the document included in the matrix code by scanning the document containing the matrix code and decoding the matrix code, and to determine whether the forgery is detected by checking the electronic signature. Digital signature and document attachment / restore system using matrix code in online / offline environment. 원본 문서와 전자 서명이 포함된 데이터를 엔코딩하여 매트릭스 코드로 변환하는 과정과;Encoding the original document and the data including the electronic signature into matrix codes; 변환된 매트릭스 코드를 원본 문서내용에 포함시키는 과정과;Including the converted matrix code in the original document content; 매트릭스 코드가 포함된 문서를 지면 출력시키는 과정과;Outputting a document including the matrix code on a page; 지면 출력된 문서를 스캔하는 과정과;Scanning a paper output document; 스캔된 데이터중 매트릭스 코드를 검출하여 디코딩하는 과정과;Detecting and decoding a matrix code from the scanned data; 원본 문서와 매트릭스 코드를 비교하여 위변조 여부를 판별하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법.A method of attaching and restoring an electronic signature and document content using a matrix code in an on / offline environment, characterized by comparing the original document with a matrix code and determining whether the data is forged or not. 제 5 항에 있어서, 원본 문서와 전자 서명이 포함된 데이터를 엔코딩하여 매트릭스 코드로 변환하는 과정은 문서 파일을 선택하거나 입력하는 과정과; 입력된 데이터를 블록 단위로 분할하는 과정과; 분할된 블록단위의 데이터를 기지정된 버퍼에 분할하여 저장하는 과정과; 전자서명 데이터를 포함시키는 과정과; 매트릭스 코드로 변환시키는 과정과; 생성된 코드를 비트맵 이미지로 저장하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법.The method of claim 5, wherein the encoding of the original document and the data including the electronic signature and converting the data into a matrix code comprises: selecting or inputting a document file; Dividing the input data into block units; Dividing the divided block data into a predetermined buffer and storing the divided data; Including electronic signature data; Converting to matrix code; A method of attaching / restore electronic signatures and document contents using matrix codes in an on / offline environment, characterized in that the generated code is stored as a bitmap image. 제 5 항에 있어서, 스캔된 데이터중 매트릭스 코드를 검출하여 디코딩하는 과정은 매트릭스 코드가 포함된 문서를 스캔하는 과정과; 스캐된 이미지 전처리 과정과; 데이터 디코딩 과정과; 이미지 화면 출력과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법.The method of claim 5, wherein the detecting and decoding of the matrix code from the scanned data comprises: scanning a document including the matrix code; A scanned image preprocessing process; A data decoding process; An electronic signature and document content attachment / restore method using matrix codes in an on / offline environment, characterized in that an image screen is output. 제 7 항에 있어서, 이미지 전처리 과정은 스캔시 매트릭스 코드에 포함된 도트 이미지를 선명하게 인식하기 위한 이미지 필터링 과정과; 필터링된 이미지를 재구성하는 과정으로 이루어진 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법.The method of claim 7, wherein the image preprocessing process comprises: an image filtering process for recognizing a dot image included in a matrix code during scanning; Digital signature and document content attachment / restore method using matrix code in the on / offline environment, characterized in that the process of reconstructing the filtered image. 제 5 항에 있어서, 매트릭스 코드에 포함된 식별자를 기준으로 이미지를 인식하고, 해당 이미지가 정상적으로 인식되지 못할 때 매트릭스 코드의 도트 재연산을 통해 디코딩 연산을 수행함으로써 에러를 정정하도록 하는 에러 정정과정이 더 포함된 것을 특징으로 하는 온/오프라인 환경에서 매트릭스 코드를 이용한 전자서명 및 문서 내용 첨부/복원 방법.The error correction process according to claim 5, wherein the error correction process of recognizing an image based on an identifier included in the matrix code and correcting an error by performing a decoding operation through dot recomputation of the matrix code when the image is not normally recognized is performed. Digital signature and document content attachment / restore method using matrix code in an on / offline environment, characterized in that it further comprises.
KR1020030003754A 2003-01-20 2003-01-20 System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances KR20030016334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030003754A KR20030016334A (en) 2003-01-20 2003-01-20 System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030003754A KR20030016334A (en) 2003-01-20 2003-01-20 System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances

Publications (1)

Publication Number Publication Date
KR20030016334A true KR20030016334A (en) 2003-02-26

Family

ID=37416608

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030003754A KR20030016334A (en) 2003-01-20 2003-01-20 System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances

Country Status (1)

Country Link
KR (1) KR20030016334A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101463537B1 (en) * 2012-12-14 2014-11-19 성균관대학교산학협력단 Original data comparing apparatus and method, and original data restoring apparatus and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101463537B1 (en) * 2012-12-14 2014-11-19 성균관대학교산학협력단 Original data comparing apparatus and method, and original data restoring apparatus and method

Similar Documents

Publication Publication Date Title
EP0600646A2 (en) Secure document and method and apparatus for producing and authenticating same
JP5718556B2 (en) Document authentication method and program
JP3768249B2 (en) For identifying objects and other entities and apparatus for producing identification cards
CN100565546C (en) A kind of method of checking contents of paper file whether to be distorted
JP2004127297A (en) Bar code having extended visibility, system and method thereof
JP4899003B2 (en) High resolution barcode and document with verification function
US6940995B2 (en) Method for embedding and extracting text into/from electronic documents
US7394573B1 (en) System for authenticating hardcopy documents
US5432618A (en) Method and device for the certification of messages sent by facsimile transmission
EP0639919B1 (en) Secure apparatus and method of securing document transmission by facsimile, and graphic code to authenticate an image
JP4495908B2 (en) A method for machine coding based on a graphical two-dimensional code.
AU2003276864B2 (en) Cryptographically secure person identification
JP2002538530A (en) Two-dimensional print code for storing biometric information and device for reading it
EP2048867B1 (en) Method and system for generation and verification of a digital seal on an analog document
JP2007251929A (en) Selective image encoding and replacement
EP0697682B1 (en) Document securing apparatus and method; and graphical authentication code
US6907527B1 (en) Cryptography-based low distortion robust data authentication system and method therefor
JP2007300602A (en) Method and device for authenticating printed copy
WO2021005405A1 (en) A method and system for generating and validating documents and document holder using machine readable barcode
US20070088953A1 (en) Method of preparing a document so that it can be authenticated
JP2003029629A (en) Device for signing on paper medium document, device for verifying signature on paper medium document
KR20030016334A (en) System and method for encoding and decoding a document content and digital signature using of a matrix code over on-line/off-line circumstances
JPH0537700A (en) Facsimile equipment
CN111008387A (en) Anti-counterfeiting tracing system and method for printed document based on digital signature and document DNA
JP4461487B2 (en) Image processing method, image processing apparatus, and authenticity determination method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application