KR20230026043A - Encryption QR code generator and method - Google Patents

Encryption QR code generator and method Download PDF

Info

Publication number
KR20230026043A
KR20230026043A KR1020210107936A KR20210107936A KR20230026043A KR 20230026043 A KR20230026043 A KR 20230026043A KR 1020210107936 A KR1020210107936 A KR 1020210107936A KR 20210107936 A KR20210107936 A KR 20210107936A KR 20230026043 A KR20230026043 A KR 20230026043A
Authority
KR
South Korea
Prior art keywords
data
encrypted
encryption
code
sequentially
Prior art date
Application number
KR1020210107936A
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 KR1020210107936A priority Critical patent/KR20230026043A/en
Publication of KR20230026043A publication Critical patent/KR20230026043A/en

Links

Images

Classifications

    • 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
    • G06K19/06009Record 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 with optically detectable marking
    • G06K19/06037Record 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 with optically detectable marking multi-dimensional coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords

Abstract

The present invention relates to an encryption QR code generator and a method thereof, configured to, when a data array is provided, automatically generate encrypted OR codes in batches so as to shorten a time required to generate a plurality of encrypted QR codes and minimize user intervention. The method is performed by the steps of: receiving pieces of data to be encrypted as a data array in the form of a file; extracting the pieces of data to be encrypted from the input data array; determining an encryption method to encrypt the extracted pieces of data to be encrypted; setting an encryption key to encrypt the pieces of data to be encrypted; sequentially encrypting the pieces of data in the data array by using the encryption key based on the determined encryption method; and automatically and sequentially generating encrypted QR codes in batches by using the sequentially encrypted pieces of data.

Description

암호화 QR코드 생성장치 및 방법{Encryption QR code generator and method}Encryption QR code generator and method {Encryption QR code generator and method}

본 발명은 암호화 QR코드 생성에 관한 것으로, 특히 데이터 어레이(array)가 제공되면 자동으로 암호화된 QR코드를 일괄 생성함으로써, 복수의 암호화 QR코드의 생성시간을 단축함과 동시에 사용자의 개입을 최소화할 수 있도록 한 암호화 QR코드 생성장치 및 방법에 관한 것이다.The present invention relates to the generation of encrypted QR codes, and in particular, when a data array is provided, encrypted QR codes are automatically generated in batches, thereby reducing the generation time of a plurality of encrypted QR codes and minimizing user intervention. It relates to a device and method for generating an encrypted QR code that enables

일반적으로, 광학 코드의 일종인 바코드는 굵기가 다른 바(black bar)와 그 사이에 있는 공백(white bar)의 조합을 통해 문자, 숫자, 기호 등을 광학적으로 판독하기 쉽게 부호화한 것인데, 데이터의 입력이 간편하고 자료 처리 시스템의 구성이 가능하여 여러 분야에서 폭넓게 사용되고 있다.In general, a barcode, which is a kind of optical code, encodes letters, numbers, symbols, etc. to be easily read optically through a combination of black bars and white bars between them. It is widely used in various fields because input is simple and data processing system configuration is possible.

그러나 상기와 같은 1차원 바코드로 인코딩된 정보는 단일의 차원으로 연장되는 바와 공백의 폭에 의해서만 표현된다. 모든 바 및 공백은 그 수직 방향으로 균일한 높이를 갖고 있으므로, 정보는 오직 1차원 바코드의 수평 방향으로 저장된다. 따라서, 일정 폭 이내에 데이터를 기록해야 하므로, 제한된 양의 데이터만을 기록할 수 있는 단점이 있다.However, information encoded in such a one-dimensional barcode is expressed only by the width of a bar extending in a single dimension and a blank space. Since all bars and spaces have a uniform height in their vertical direction, information is stored only in the horizontal direction of the one-dimensional barcode. Therefore, since data must be recorded within a certain width, there is a disadvantage in that only a limited amount of data can be recorded.

최근에는, 정보 기술의 요구가 증가함에 따라 연관된 데이터베이스를 제거하고 부호 자체에 더 많은 정보를 저장하는 것의 요구가 증가하고 있다. 이러한 요구의 결과로서, 1980년대 중반 이후 1차원 바코드의 확장으로서, 2차원 바코드가 등장하였다. 이러한 2차원 코드는 양축(X축 방향, Y축 방향)으로 데이터를 배열하여 평면화시킨 것으로서, 1차원 바코드가 갖고 있는 문제점, 즉 데이터 표현의 제한성을 확대하였다. 이러한 2차원 바코드는 일반적으로 2가지 카테고리로 분류될 수 있다. 즉, 하나는 스택형 바코드로서, 1차원 바코드의 상부에 다른 1차원 바코드가 중첩하여 제공되는 것이고, 다른 하나는 매트릭스 바코드로서, 진정한 2차원 매트릭스로 설계되는 것이다.In recent years, as the demand for information technology has increased, there has been an increasing demand for removing associated databases and storing more information in the code itself. As a result of this demand, since the mid-1980s, a two-dimensional barcode has emerged as an extension of the one-dimensional barcode. These two-dimensional codes are flattened by arranging data in both axes (X-axis direction and Y-axis direction), and the problem of one-dimensional barcodes, that is, the limitation of data expression, has been expanded. These two-dimensional barcodes can be generally classified into two categories. That is, one is a stacked barcode, in which another one-dimensional barcode is overlapped on top of a one-dimensional barcode, and the other is a matrix barcode, which is designed as a true two-dimensional matrix.

매트릭스 바코드인 QR코드는 정사각형 모양이고, 부호의 세 코너에 위치한 어둡고 밝은 정사각형(파인더 패턴; 인식자)에 의해 인식될 수 있다. 인식자 때문에, QR코드 부호는 CCD 어레이 카메라로 빠르게 판독될 수 있다.A QR code, which is a matrix barcode, has a square shape and can be recognized by dark and light squares (finder pattern; recognizer) located at the three corners of the code. Because of the recognizer, the QR code code can be quickly read by the CCD array camera.

또한, 기존의 2차원 바코드는 한 개의 이미지로 정보를 표시하고 있어서, 종이와 같이 복사 등의 방법으로 복제할 수 있다는 문제점이 있다. 이를 방지하기 위해 바코드를 표시할 때 암호를 입력하게 할 수 있으나, 암호를 입력해야 하는 불편함이 수반되고 암호 관리에 대해 부담이 추가로 발생하게 된다.In addition, since the existing two-dimensional barcode displays information as a single image, there is a problem in that it can be copied by a method such as copying like paper. In order to prevent this, a password may be input when displaying a barcode, but the inconvenience of having to input a password is accompanied and an additional burden occurs for password management.

한편, 최근 이동통신을 비롯한 정보 기술이 발전함에 따라, 이동통신 단말기와 2차원 바코드를 결합하여 다양한 서비스가 이루어지고 있다. 예컨대, SMS나 MMS를 활용하여 소정의 정보(데이터)를 담고 있는 2차원 바코드를 사용자의 이동통신 단말기에 전송하여, 그 바코드에 기록된 각종 정보를 활용하여, 신분 확인을 위한 ID 카드, 상품권의 진위를 확인하는 수단 등으로 활용하고 있다. 하지만, 개인정보를 2차원 바코드(예를 들어, QR코드)로 변환하여 사용하는 경우, 개인정보가 허가되지 않은 제3의 사람에게 유출되는 문제점이 있다.Meanwhile, with the recent development of information technology including mobile communication, various services are provided by combining a mobile communication terminal and a 2D barcode. For example, by using SMS or MMS, a two-dimensional barcode containing predetermined information (data) is transmitted to the user's mobile communication terminal, and various information recorded in the barcode is used to obtain an ID card or gift certificate for identification. It is used as a means of verifying authenticity. However, when personal information is converted into a two-dimensional barcode (eg, QR code) and used, there is a problem in that personal information is leaked to an unauthorized third party.

이러한 문제를 개선하기 위해서, 근래에는 암호화된 QR코드의 생성을 통해 QR코드 유출시에도 정보를 보호할려는 노력들이 이루어지고 있다.In order to improve this problem, recently, efforts have been made to protect information even when the QR code is leaked through the generation of an encrypted QR code.

암호화된 QR코드 생성에 대해서 종래에 제안된 방법이 도 1에 도시되어 있다.A conventionally proposed method for generating an encrypted QR code is shown in FIG.

도 1에 도시된 바와 같이, 종래의 암호화 QR코드 생성 방법은,As shown in Figure 1, the conventional encryption QR code generation method,

사용자가 암호화 QR 코드를 생성할 데이터를 입력하고(S11), 암호화 방식을 선택한 후(S12), 암호화 키를 입력하면(S13), 선택된 암호화 방식으로 암호화 키를 이용하여 개별 입력 데이터를 암호화한다(S14).When the user inputs data to generate an encryption QR code (S11), selects an encryption method (S12), and inputs an encryption key (S13), individual input data is encrypted using the encryption key with the selected encryption method (S12). S14).

이어, 암호화된 개별 데이터를 이용하여 QR코드를 생성한다(S15).Subsequently, a QR code is generated using the encrypted individual data (S15).

이러한 암호화 QR코드 생성 방식은 개별 데이터에 대하여 암호화 QR코드를 생성하는 방식이므로, 데이터가 많으면 많을수록 암호화 QR코드 생성시간이 증가하는 단점을 유발한다. 아울러 하나의 개별 데이터에 대하여 암호화 방식과 암호화 키를 개별적으로 선택 및 입력하는 방식이므로, 사용자의 개입이 많아져 전체적인 암호화 QR코드의 생성에 많은 불편함을 야기하였다.Since this encryption QR code generation method is a method of generating an encryption QR code for individual data, the more data there is, the more the encryption QR code generation time increases. In addition, since it is a method of individually selecting and inputting an encryption method and an encryption key for one individual data, user intervention is increased, causing a lot of inconvenience in generating the overall encryption QR code.

특히, 공공 자전거나 공공 전동 킥보드 등에 부착되는 QR코드를 상기와 같은 방식으로 암호화하여 암호화된 QR코드를 생성할 경우, 전국적으로 설치된 공공 자전거나 공공 전동 킥보드의 수가 헤아릴 수 없게 많아, 암호화된 QR코드의 생성 시간은 무수히 많은 시간을 요하며, 암호화 QR코드 생성을 위한 인적 자원의 낭비도 발생한다.In particular, when an encrypted QR code is generated by encrypting a QR code attached to a public bicycle or public electric kickboard in the same way as above, the number of public bicycles or public electric kickboards installed nationwide is immeasurably large, so the encrypted QR code The generation time of , requires a lot of time, and waste of human resources for generating an encrypted QR code also occurs.

한편, 암호화 QR 코드의 생성을 위해 종래에 제안된 또 다른 기술이 하기의 <특허문헌 1> 내지 <특허문헌 2> 에 개시되어 있다.On the other hand, another conventionally proposed technology for generating an encrypted QR code is disclosed in <Patent Document 1> to <Patent Document 2> below.

<특허문헌 1> 에 개시된 종래기술은 광학 코드 발행인의 조작에 따른 평문 및 패스워드를 암호화하여 암호문과 비밀키를 생성하는 단계, 코드 매트릭스를 근거로 비밀키와 암호문에 대해 암호화된 광학 코드를 생성하는 단계를 포함한다. 이에 따라, 개인정보나 비밀이 요구되는 각종 정보가 광학 코드로 변환되더라도 정당하지 않은 수취인이 개인정보나 비밀이 요구되는 각종 정보를 열람하는 것을 방지할 수 있다.The prior art disclosed in <Patent Document 1> encrypts the plaintext and password according to the operation of the optical code issuer to generate the ciphertext and the secret key, and generates the encrypted optical code for the secret key and the ciphertext based on the code matrix. Include steps. Accordingly, even if personal information or various information requiring confidentiality is converted into an optical code, it is possible to prevent unauthorized recipients from reading personal information or various information requiring confidentiality.

그러나 이러한 방식도 연속된 데이터 배열을 갖는 파일을 이용하여 복수의 암호화된 QR코드를 생성하는 것은 불가능한 단점이 있다.However, even in this method, it is impossible to generate a plurality of encrypted QR codes using a file having a continuous data arrangement.

또한, <특허문헌 2> 에 개시된 종래기술은 데이터를 암호화하는 공개키를 QR코드를 이용하여 배포하고, QR 코드에 포함된 공개키를 이용하여 데이터를 암호화하는 기술을 제공한다.In addition, the prior art disclosed in <Patent Document 2> provides a technique of distributing a public key for encrypting data using a QR code and encrypting data using the public key included in the QR code.

그러나 이러한 종래기술은 데이터 암호화를 위한 공개키를 QR코드를 이용하여 배포하는 방식이며, QR코드 자체를 암호화하여 제공해주는 것은 불가능하다.However, this prior art is a method of distributing a public key for data encryption using a QR code, and it is impossible to encrypt and provide the QR code itself.

대한민국 등록특허 10-1281574(2013. 06.27. 등록)(광학 코드 암호화 방법)Korean Registered Patent No. 10-1281574 (registered on June 27, 2013) (optical code encryption method) 대한민국 등록특허 10-1793409(2017.10.27. 등록)(QR코드를 이용한 데이터 암호화 및 복호화 방법)Korean Registered Patent No. 10-1793409 (registered on October 27, 2017) (data encryption and decryption method using QR code)

따라서 본 발명은 상기와 같은 일반적인 암호화 QR코드 생성 방식 및 종래기술에서 발생하는 제반 문제점을 해결하기 위해서 제안된 것으로서, 데이터 어레이(array)가 제공되면 자동으로 암호화된 QR코드를 일괄 생성함으로써, 복수의 암호화 QR코드의 생성시간을 단축함과 동시에 사용자의 개입을 최소화할 수 있도록 한 암호화 QR코드 생성장치 및 방법을 제공하는 데 그 목적이 있다.Therefore, the present invention is proposed to solve various problems occurring in the general encryption QR code generation method and the prior art as described above, by automatically generating encrypted QR codes in batches when a data array is provided, An object of the present invention is to provide an apparatus and method for generating an encrypted QR code that can shorten the generation time of an encrypted QR code and minimize user intervention.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 따른 "암호화 QR코드 생성장치"는,In order to achieve the above object, the "device for generating an encrypted QR code" according to the present invention,

암호화 대상 데이터를 파일 형태의 데이터 배열로 입력하는 데이터 입력부;a data input unit for inputting data to be encrypted into a data array in the form of a file;

데이터를 암호화할 암호화 방식을 선택하는 암호방식 선택부;an encryption method selection unit that selects an encryption method to encrypt data;

상기 데이터를 암호화할 암호화 키를 입력하는 키 입력부;a key input unit for inputting an encryption key to encrypt the data;

상기 암호방식 선택부에서 선택된 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 암호화부;an encryption unit for sequentially encrypting the data of the data array using the encryption key based on the encryption method selected by the encryption method selection unit;

상기 암호화부에서 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성하는 QR생성부를 포함하는 것을 특징으로 한다.It is characterized in that it comprises a QR generator for automatically generating an encrypted QR code sequentially using data sequentially encrypted in the encryption unit.

상기에서 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 것을 특징으로 한다.In the above data arrangement in the form of a file, data to be encrypted is arranged in an Excel sheet.

상기에서 암호화부는,In the above, the encryption unit,

입력된 파일 형태의 데이터 배열로부터 개별 데이터를 순차 추출하고, 추출한 개별 데이터에 대하여 순차 자동으로 암호화를 수행하는 것을 특징으로 한다.It is characterized by sequentially extracting individual data from an input file-type data array and sequentially automatically encrypting the extracted individual data.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명에 따른 "암호화 QR코드 생성방법"은,In order to achieve the above object, the "encrypted QR code generation method" according to the present invention,

(a) 암호화 대상 데이터를 파일 형태의 데이터 배열로 입력받는 단계;(a) receiving encryption target data as a data array in the form of a file;

(b) 상기 입력받은 데이터 배열에서 암호화 대상 데이터를 추출하는 단계;(b) extracting data to be encrypted from the input data array;

(c) 상기 추출한 암호화 대상 데이터를 암호화할 암호화 방식을 결정하는 단계;(c) determining an encryption method to encrypt the extracted data to be encrypted;

(d) 상기 암호화 대상 데이터를 암호화할 암호화 키를 설정하는 단계;(d) setting an encryption key to encrypt the data to be encrypted;

(e) 상기 (c)단계에서 결정한 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 단계; 및(e) sequentially encrypting the data of the data array using the encryption key based on the encryption method determined in step (c); and

(f) 상기 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성하는 단계를 포함하는 것을 특징으로 한다.(f) sequentially automatically generating an encrypted QR code using the sequentially encrypted data.

상기에서 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 것을 특징으로 한다.In the above data arrangement in the form of a file, data to be encrypted is arranged in an Excel sheet.

상기에서 (b)단계는 입력된 파일 형태의 데이터 배열로부터 개별 데이터를 암호화 대상 데이터로 순차 추출하는 것을 특징으로 한다.Step (b) above is characterized in that individual data is sequentially extracted as data to be encrypted from the input file-type data array.

상기에서 (f)단계는,In the above step (f),

파일 형태의 데이터 배열에서 첫 번째 암호화 대상 데이터부터 마지막 암호화 대상 데이터까지 순서대로 암호화된 순차 암호화된 데이터에 대응하여 암호화된 QR코드를 일괄 생성하는 것을 특징으로 한다.It is characterized in that encrypted QR codes are collectively generated in response to sequentially encrypted data encrypted in order from the first data to be encrypted to the last data to be encrypted in the data array in the form of a file.

본 발명에 따르면 데이터 어레이(array)가 제공되면 자동으로 암호화된 QR코드를 일괄 생성함으로써, 복수의 암호화 QR코드의 생성시간을 단축함과 동시에 사용자의 개입을 최소화할 수 있는 효과가 있다.According to the present invention, by automatically generating encrypted QR codes in batches when a data array is provided, there is an effect of reducing the generation time of a plurality of encrypted QR codes and minimizing user intervention.

도 1은 일반적인 암호화 QR코드 생성방법을 보인 흐름도,
도 2는 본 발명에 따른 암호화 QR코드 생성장치의 구성도,
도 3은 본 발명에 따른 암호화 QR코드 생성방법을 보인 흐름도이다.
1 is a flow chart showing a general encryption QR code generation method;
2 is a configuration diagram of an encryption QR code generating device according to the present invention;
3 is a flowchart showing a method for generating an encrypted QR code according to the present invention.

이하 본 발명의 바람직한 실시 예에 따른 암호화 QR코드 생성장치 및 방법을 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, an apparatus and method for generating an encrypted QR code according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

이하에서 설명되는 본 발명에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 안 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념으로 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다.The terms or words used in the present invention described below should not be construed as being limited to a conventional or dictionary meaning, and the inventor may appropriately define the concept of the term in order to explain his/her invention in the best way. It should be interpreted as a meaning and concept consistent with the technical spirit of the present invention based on the principle that it can be.

따라서 본 명세서에 기재된 실시 예와 도면에 도시된 구성은 본 발명의 바람직한 실시 예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로, 본 출원 시점에서 이들을 대체할 수 있는 다양한 균등물과 변형 예들이 있을 수 있음을 이해하여야 한다.Therefore, the embodiments described in this specification and the configurations shown in the drawings are only preferred embodiments of the present invention, and do not represent all of the technical spirit of the present invention, so various equivalents and equivalents that can replace them at the time of the present application It should be understood that variations may exist.

도 2는 본 발명의 바람직한 실시 예에 따른 암호화 QR코드 생성장치의 구성도로서, 데이터 입력부(110), 키 입력부(120), 암호방식 선택부(130), 암호화부(140), QR생성부(150) 및 QR출력부(160)를 포함한다.2 is a block diagram of an encryption QR code generating device according to a preferred embodiment of the present invention, which includes a data input unit 110, a key input unit 120, an encryption method selection unit 130, an encryption unit 140, and a QR generation unit. (150) and a QR output unit (160).

데이터 입력부(110)는 암호화 대상 데이터를 파일 형태의 데이터 배열로 입력받는 역할을 한다. 여기서 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 것일 수 있다.The data input unit 110 serves to receive data to be encrypted as a data array in the form of a file. Here, the data arrangement in the form of a file may be an arrangement of encryption target data in an Excel sheet.

키 입력부(120)는 상기 암호화 대상 데이터를 암호화할 암호화 키를 입력하는 역할을 하며, 암호방식 선택부(130)는 상기 암호화 대상 데이터를 암호화할 암호화 방식을 선택하는 역할을 한다.The key input unit 120 serves to input an encryption key to encrypt the data to be encrypted, and the encryption method selector 130 serves to select an encryption method to encrypt the data to be encrypted.

암호화부(140)는 상기 암호방식 선택부(130)에서 선택된 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 역할을 한다. 이러한 암호화부(140)는 입력된 파일 형태의 데이터 배열로부터 개별 데이터를 순차 추출하고, 추출한 개별 데이터에 대하여 순차 자동으로 암호화를 수행할 수 있다.The encryption unit 140 serves to sequentially encrypt the data of the data array using the encryption key based on the encryption method selected by the encryption method selection unit 130. The encryption unit 140 may sequentially extract individual data from an input file-type data array and sequentially and automatically encrypt the extracted individual data.

QR생성부(150)는 상기 암호화부(140)에서 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성하는 역할을 하며, QR출력부(160)는 상기 QR생성부(150)에서 생성된 QR코드를 출력해주는 역할을 한다.The QR generator 150 serves to automatically generate an encrypted QR code sequentially using data sequentially encrypted in the encryption unit 140, and the QR output unit 160 in the QR generator 150 It plays the role of outputting the generated QR code.

도 3은 본 발명에 따른 "암호화 QR코드 생성방법"을 보인 흐름도로서, (a) 암호화 대상 데이터를 파일 형태의 데이터 배열로 입력받는 단계(S101), (b) 상기 입력받은 데이터 배열에서 암호화 대상 데이터를 추출하는 단계(S102), (c) 상기 추출한 암호화 대상 데이터를 암호화할 암호화 방식을 결정하는 단계(S103), (d) 상기 암호화 대상 데이터를 암호화할 암호화 키를 설정하는 단계(S104), (e) 상기 (c)단계에서 결정한 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 단계(S105), 및 (f) 상기 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성하는 단계(S106 - S109)를 포함한다.Figure 3 is a flow chart showing the "encryption QR code generation method" according to the present invention, (a) receiving encryption target data in a file-type data array (S101), (b) encryption target in the input data array Extracting data (S102), (c) determining an encryption method to encrypt the extracted data to be encrypted (S103), (d) setting an encryption key to encrypt the data to be encrypted (S104), (e) sequentially encrypting the data of the data array using the encryption key based on the encryption method determined in step (c) (S105), and (f) QR code encrypted using the sequentially encrypted data and sequentially automatically generating codes (S106 to S109).

상기 (b)단계는 입력된 파일 형태의 데이터 배열로부터 개별 데이터를 암호화 대상 데이터로 순차 추출하며, 상기 (f)단계는 파일 형태의 데이터 배열에서 첫 번째 암호화 대상 데이터부터 마지막 암호화 대상 데이터까지 순서대로 암호화된 순차 암호화된 데이터에 대응하여 암호화된 QR코드를 일괄 생성한다.The step (b) sequentially extracts individual data as encryption target data from the input file-type data array, and the step (f) sequentially extracts the first encryption target data from the file-type data array to the last encryption target data. In response to the encrypted sequentially encrypted data, an encrypted QR code is generated in batches.

이와 같이 구성된 본 발명에 따른 "암호화 QR코드 생성장치 및 방법"을 구체적으로 설명하면 다음과 같다.The detailed description of the "apparatus and method for generating an encrypted QR code" according to the present invention configured as described above is as follows.

먼저, 암호화 QR코드를 생성하고자 하는 사용자는 데이터 입력부(110)를 통해 암호화 대상 데이터를 파일 형태의 데이터 배열로 입력한다(S101).First, a user who wants to generate an encryption QR code inputs data to be encrypted in a file-type data array through the data input unit 110 (S101).

여기서 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 형태일 수 있다. 본 발명에서는 파일 형태로 엑셀 시트를 언급하였으나, 본 발명은 이것에 한정되는 것은 아니며, 데이터를 순차 기록할 수 있는 파일이면 어떤 파일을 사용해도 동일한 효과를 얻을 수 있다.Here, the data arrangement in the form of a file may be a form in which encryption target data is arranged in an Excel sheet. In the present invention, an Excel sheet is mentioned in the form of a file, but the present invention is not limited thereto, and the same effect can be obtained by using any file as long as it is a file capable of sequentially recording data.

다음으로, 암호화부(140)는 상기 입력받은 데이터 배열에서 암호화 대상 데이터를 자동으로 추출한다(S102). 파일 형태로 입력된 데이터 배열에서 순서대로 개별 데이터를 암호화 대상 데이터로 추출한다. 여기서 개별 데이터 하나가 하나의 암호화 QR코드로 생성된다.Next, the encryption unit 140 automatically extracts data to be encrypted from the input data array (S102). Individual data is extracted as data to be encrypted in order from the data array input in the form of a file. Here, one individual data is generated as one encrypted QR code.

아울러 사용자는 암호방식 선택부(130)는 통해 상기 추출한 암호화 대상 데이터를 암호화할 암호화 방식을 결정하는 단계(S103). 여기서 암호화 방식은 공개키 암호화 방식, DH(Diffie-Hellman) 비밀 교환 암호화 방식, 공개키를 사용하는 RSA 암호화 방식 중 데이터 암호화 분야에 널리 알려진 다양한 암호화 방식을 이용할 수 있다. 사용자는 미리 설정된 다양한 암호화 방식 중 어느 하나의 암호화 방식을 선택할 수 있다.In addition, the user determines an encryption method to encrypt the extracted data to be encrypted through the encryption method selector 130 (S103). Here, as the encryption method, various encryption methods widely known in the field of data encryption may be used among a public key encryption method, a Diffie-Hellman (DH) secret exchange encryption method, and an RSA encryption method using a public key. A user may select one of a variety of preset encryption methods.

또한, 사용자는 상기 암호화 대상 데이터를 암호화할 암호화 키(key)를 키 입력부(120)를 통해 설정한다(S104). 즉 암호화 대상 데이터를 암호화할 암호화 키를 입력한다. 여기서 암호화 키는 전화번호, ID 등 다양한 키 정보를 이용할 수 있다.In addition, the user sets an encryption key to encrypt the data to be encrypted through the key input unit 120 (S104). That is, an encryption key to encrypt data to be encrypted is input. Here, the encryption key may use various key information such as a phone number and an ID.

다음으로, 암호화부(140)는 상기 결정한 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화한다(S105).Next, the encryption unit 140 sequentially encrypts the data of the data array using the encryption key based on the determined encryption method (S105).

즉, 입력된 파일 형태의 데이터 배열로부터 개별 데이터를 암호화 대상 데이터로 순차 추출하며, 파일 형태의 데이터 배열에서 첫 번째 암호화 대상 데이터부터 마지막 암호화 대상 데이터까지 순서대로 개별 데이터를 암호화한다. 따라서 개별 데이터가 1000개이면 암호화된 데이터 역시 1000개가 된다. That is, individual data is sequentially extracted as encryption target data from the input file-type data array, and individual data is sequentially encrypted from the first encryption target data to the last encryption target data in the file-type data array. Therefore, if there are 1000 pieces of individual data, there are also 1000 pieces of encrypted data.

이와 같이 본 발명은 암호화 대상 데이터를 데이터 배열을 이용하여 파일 형태로 입력하고, 암호화 방식을 선택하고 암호화 키만 입력하는 한 번의 개입에 의하여, 자동으로 파일 형태의 모든 데이터 배열에 대하여 자동으로 순차 암호화가 이루어진다. 이에 따라, 기존과 같이 암호화 대상 데이터의 개수에 동일하게 사용자가 개입해야 하는 불편함을 해소하고, 아울러 개별 데이터마다 사용자 개입에 의해 QR코드 생성 시간이 QR코드 생성 개수에 비례적으로 증가하는 문제도 일괄 해결할 수 있다.As described above, the present invention automatically sequentially encrypts all data arrangements in a file form by a single intervention of inputting data to be encrypted in the form of a file using a data arrangement, selecting an encryption method and inputting only an encryption key. It is done. Accordingly, as in the past, the inconvenience of requiring users to intervene the same as the number of data to be encrypted is eliminated, and the problem that QR code generation time increases proportionally to the number of QR codes generated by user intervention for each individual data is also solved. can be solved collectively.

다음으로, QR생성부(150)는 상기 암호화부(140)를 통해 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성한다(S106 - S109).Next, the QR generating unit 150 sequentially and automatically generates encrypted QR codes using data sequentially encrypted through the encryption unit 140 (S106 to S109).

즉, 입력된 파일 형태의 데이터 배열로부터 추출한 첫 번째 개별 데이터를 암호화 대상 데이터로 추출하며, 추출한 첫 번째 암호화 대상 데이터의 암호화 데이터를 이용하여 QR코드를 생성한다(S106). 이어, 추출한 개별 데이터가 마지막 데이터인지를 확인하여(S107), 마지막 데이터가 아니면 다음 개별 데이터를 자동으로 추출하고(S108), 상기 단계 S103으로 이동하여, 이하의 단계를 반복 수행하여 QR코드를 생성한다. 이러한 과정을 통해 파일 형태의 데이터 배열에서 첫 번째 암호화 대상 데이터부터 마지막 암호화 대상 데이터까지 순서대로 암호화된 순차 암호화된 데이터에 대응하여 암호화된 QR코드를 일괄 생성한다.That is, the first individual data extracted from the input file-type data array is extracted as encryption target data, and a QR code is generated using the encrypted data of the extracted first encryption target data (S106). Next, it is checked whether the extracted individual data is the last data (S107), and if it is not the last data, the next individual data is automatically extracted (S108), and the process moves to step S103, and the following steps are repeated to generate a QR code. do. Through this process, encrypted QR codes are generated in batches in response to the sequentially encrypted data encrypted in order from the first encryption target data to the last encryption target data in the file-type data array.

이후, QR코드의 일괄 생성이 종료되면 QR출력부(160)를 통해 일괄 생성된 QR코드를 출력한다(S109).Thereafter, when the batch generation of QR codes ends, the QR codes generated in batches are output through the QR output unit 160 (S109).

이상 상술한 본 발명에 따르면 데이터 어레이(array)가 제공되면 자동으로 암호화된 QR코드를 일괄 생성함으로써, 복수의 암호화 QR코드의 생성시간을 단축함과 동시에 사용자의 개입을 최소화하여 다수의 암호화 QR코드 생성에 편의성을 향상시키고, 암호화 QR코드 생산성도 향상시킨다.According to the present invention described above, when a data array is provided, encrypted QR codes are automatically generated in batches, thereby reducing the generation time of a plurality of encrypted QR codes and minimizing user intervention to generate multiple encrypted QR codes. It improves convenience in creation and improves encryption QR code productivity.

이상 본 발명자에 의해서 이루어진 발명을 상기 실시 예에 따라 구체적으로 설명하였지만, 본 발명은 상기 실시 예에 한정되는 것은 아니고 그 요지를 이탈하지 않는 범위에서 여러 가지로 변경 가능한 것은 이 기술분야에서 통상의 지식을 가진 자에게 자명하다.Although the invention made by the present inventors has been specifically described according to the above embodiments, the present invention is not limited to the above embodiments, and it is common knowledge in the art that various changes can be made without departing from the gist of the present invention. It is self-evident to those who have

110: 데이터 입력부
120: 키 입력부
130: 암호방식 선택부
140: 암호화부
150: QR생성부
160: QR 출력부
110: data input unit
120: key input unit
130: encryption method selection unit
140: encryption unit
150: QR generator
160: QR output unit

Claims (7)

암호화 대상 데이터를 파일 형태의 데이터 배열로 입력하는 데이터 입력부;
데이터를 암호화할 암호화 방식을 선택하는 암호방식 선택부;
상기 데이터를 암호화할 암호화 키를 입력하는 키 입력부;
상기 암호방식 선택부에서 선택된 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 암호화부; 및
상기 암호화부에서 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 일괄 생성하는 QR생성부를 포함하는 것을 특징으로 하는 암호화 QR코드 생성장치.
a data input unit for inputting data to be encrypted into a data array in the form of a file;
an encryption method selection unit that selects an encryption method to encrypt data;
a key input unit for inputting an encryption key to encrypt the data;
an encryption unit for sequentially encrypting the data of the data array using the encryption key based on the encryption method selected by the encryption method selection unit; and
An encrypted QR code generating device comprising a QR generating unit that automatically and sequentially generates encrypted QR codes in batches using data sequentially encrypted in the encryption unit.
청구항 1에서, 상기 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 것을 특징으로 하는 암호화 QR코드 생성장치.
The encryption QR code generating device of claim 1, wherein the data arrangement in the form of a file is such that encryption target data is arranged in an Excel sheet.
청구항 1에서, 상기 암호화부는,
입력된 파일 형태의 데이터 배열로부터 개별 데이터를 순차 추출하고, 추출한 개별 데이터에 대하여 순차 자동으로 암호화를 수행하는 것을 특징으로 하는 암호화 QR코드 생성장치.
In claim 1, the encryption unit,
An encryption QR code generating device characterized in that sequentially extracts individual data from an input file-type data array and sequentially automatically encrypts the extracted individual data.
청구항 1 내지 청구항 중 어느 하나의 청구항에 기재된 암호화 QR코드 생성장치를 이용하여 암호화 QR코드를 생성하는 방법으로서,
(a) 암호화 대상 데이터를 파일 형태의 데이터 배열로 입력받는 단계;
(b) 상기 입력받은 데이터 배열에서 암호화 대상 데이터를 추출하는 단계;
(c) 상기 추출한 암호화 대상 데이터를 암호화할 암호화 방식을 결정하는 단계;
(d) 상기 암호화 대상 데이터를 암호화할 암호화 키를 설정하는 단계;
(e) 상기 (c)단계에서 결정한 암호화 방식을 기초로 상기 암호화 키를 이용하여 상기 데이터 배열의 데이터를 순차 암호화하는 단계; 및
(f) 상기 순차 암호화된 데이터를 이용하여 암호화된 QR코드를 순차 자동으로 생성하는 단계를 포함하는 것을 특징으로 하는 암호화 QR코드 생성방법.
As a method of generating an encrypted QR code using the encrypted QR code generating device according to any one of claims 1 to 4,
(a) receiving encryption target data as a data array in the form of a file;
(b) extracting data to be encrypted from the input data array;
(c) determining an encryption method to encrypt the extracted data to be encrypted;
(d) setting an encryption key to encrypt the data to be encrypted;
(e) sequentially encrypting the data of the data array using the encryption key based on the encryption method determined in step (c); and
(f) sequentially automatically generating an encrypted QR code using the sequentially encrypted data.
청구항 4에서, 상기 파일 형태의 데이터 배열은 암호화 대상 데이터가 엑셀 시트에 배열된 것을 특징으로 하는 암호화 QR코드 생성방법.
The method of generating an encrypted QR code according to claim 4, wherein the data arrangement in the form of a file is such that data to be encrypted is arranged in an Excel sheet.
청구항 4에서, 상기 (b)단계는,
입력된 파일 형태의 데이터 배열로부터 개별 데이터를 암호화 대상 데이터로 순차 추출하는 것을 특징으로 하는 암호화 QR코드 생성방법.
In claim 4, the step (b),
An encryption QR code generation method characterized by sequentially extracting individual data as encryption target data from an input file-type data array.
청구항 4에서, 상기 (f)단계는,
파일 형태의 데이터 배열에서 첫 번째 암호화 대상 데이터부터 마지막 암호화 대상 데이터까지 순서대로 암호화된 순차 암호화된 데이터에 대응하여 암호화된 QR코드를 일괄 생성하는 것을 특징으로 하는 암호화 QR코드 생성방법.




In claim 4, the (f) step,
Encrypted QR code generation method, characterized in that for generating encrypted QR codes in bulk in response to sequentially encrypted data encrypted in order from the first encryption target data to the last encryption target data in the file-type data array.




KR1020210107936A 2021-08-17 2021-08-17 Encryption QR code generator and method KR20230026043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210107936A KR20230026043A (en) 2021-08-17 2021-08-17 Encryption QR code generator and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210107936A KR20230026043A (en) 2021-08-17 2021-08-17 Encryption QR code generator and method

Publications (1)

Publication Number Publication Date
KR20230026043A true KR20230026043A (en) 2023-02-24

Family

ID=85330266

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210107936A KR20230026043A (en) 2021-08-17 2021-08-17 Encryption QR code generator and method

Country Status (1)

Country Link
KR (1) KR20230026043A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230109544A1 (en) * 2021-10-05 2023-04-06 Capital One Services, Llc Systems and methods for conducting remote attestation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101281574B1 (en) 2011-07-19 2013-07-08 박강현 Method of encrypting an optical code
KR101793409B1 (en) 2017-06-19 2017-11-20 송현섭 Data encryption and decryption method using QR code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101281574B1 (en) 2011-07-19 2013-07-08 박강현 Method of encrypting an optical code
KR101793409B1 (en) 2017-06-19 2017-11-20 송현섭 Data encryption and decryption method using QR code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230109544A1 (en) * 2021-10-05 2023-04-06 Capital One Services, Llc Systems and methods for conducting remote attestation

Similar Documents

Publication Publication Date Title
JP4866863B2 (en) Security code generation method and user device
CN101795336B (en) Image generating, processing, reading, forming devices and image generating and processing methods
CN101930588B (en) Image processing apparatus, image reading apparatus, image forming apparatus and image processing method
EP1669883A1 (en) Information processing server and information processing method
JP6489464B2 (en) Optical code, information transmission method, and authentication method
CN103020682B (en) Books Quick Response Code identification generation apparatus, Quick Response Code identification recognition device and system
EP1520369A1 (en) Biometric authentication system
JP2008301471A (en) Image encryption/decrypting system
CN103747443A (en) Multi-security domain device based on mobile phone user identification card and authentication method thereof
Wang et al. 2D barcodes for visual cryptography
CN111047313A (en) Code scanning payment, information sending and key management method, device and equipment
KR101281574B1 (en) Method of encrypting an optical code
KR20230026043A (en) Encryption QR code generator and method
KR101062624B1 (en) IC tag system
EP2910042B1 (en) Secure information transfer via bar codes
WO1997024831A1 (en) Multiple cryptographic key distribution
KR20090002278A (en) Method of encoding divided two-dimensional barcodes for mobile communication terminal
EP2674901A1 (en) Active barcode authentication system and authentication method thereof
CN114285575A (en) Image encryption and decryption method and device, storage medium and electronic device
US10552618B2 (en) Method and apparatus for transmission of visually encoded data
KR102073564B1 (en) Ordering and payment method and system using electronic menu board based on qr code
CN111428532A (en) Encryptable three-dimensional code and encoding and decoding method
JP2008312001A (en) Confidential data generating/reading system, and confidential data generating/reading method
KR20030082300A (en) 2d color bar code system
CN113347003A (en) Input type dynamic cipher device and method

Legal Events

Date Code Title Description
E902 Notification of reason for refusal