KR102272922B1 - Method, computer program and apparatus for classifiying and processing quick response codes - Google Patents

Method, computer program and apparatus for classifiying and processing quick response codes Download PDF

Info

Publication number
KR102272922B1
KR102272922B1 KR1020190073817A KR20190073817A KR102272922B1 KR 102272922 B1 KR102272922 B1 KR 102272922B1 KR 1020190073817 A KR1020190073817 A KR 1020190073817A KR 20190073817 A KR20190073817 A KR 20190073817A KR 102272922 B1 KR102272922 B1 KR 102272922B1
Authority
KR
South Korea
Prior art keywords
code
service
data bit
information
bit string
Prior art date
Application number
KR1020190073817A
Other languages
Korean (ko)
Other versions
KR20200145176A (en
Inventor
이동구
Original Assignee
주식회사 두빛나래소프트
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 두빛나래소프트 filed Critical 주식회사 두빛나래소프트
Priority to KR1020190073817A priority Critical patent/KR102272922B1/en
Publication of KR20200145176A publication Critical patent/KR20200145176A/en
Application granted granted Critical
Publication of KR102272922B1 publication Critical patent/KR102272922B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1408Methods for optical code recognition the method being specifically adapted for the type of code
    • G06K7/14172D bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • 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
    • G06K9/6267

Abstract

QR 코드를 분류 및 처리하는 방법, 컴퓨터 프로그램 및 장치가 제공된다. 상기 QR 코드를 분류 및 처리하는 방법은, 컴퓨터에 의해 수행되는 방법으로서, QR 코드를 스캔하여 데이터 비트열을 획득하는 단계, 사전 저장된 구문 데이터베이스에 기초하여 상기 데이터 비트열의 구문을 분석하는 단계, 상기 구문 분석 결과에 따라 복수의 서비스 유형 중 상기 QR 코드에 상응하는 서비스 유형을 결정하는 단계 및 상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 단계를 포함한다.A method, computer program and apparatus for classifying and processing QR codes are provided. The method for classifying and processing the QR code is a method performed by a computer, comprising the steps of: scanning the QR code to obtain a data bit string; parsing the data bit string based on a pre-stored syntax database; Determining a service type corresponding to the QR code from among a plurality of service types according to a result of parsing analysis, and processing the QR code and a job corresponding to the service type.

Description

QR 코드를 분류 및 처리하는 방법, 컴퓨터 프로그램 및 장치{METHOD, COMPUTER PROGRAM AND APPARATUS FOR CLASSIFIYING AND PROCESSING QUICK RESPONSE CODES}Methods of classifying and processing QR codes, computer programs and devices {METHOD, COMPUTER PROGRAM AND APPARATUS FOR CLASSIFIYING AND PROCESSING QUICK RESPONSE CODES}

본 발명은 QR 코드를 분류 및 처리하는 방법, 컴퓨터 프로그램 및 장치에 관한 것으로, 보다 상세하게는 다양한 종류의 QR 코드를 스캔하여 분류하고 상응하는 처리를 진행할 수 있는 방법, 컴퓨터 프로그램 및 장치에 관한 것이다.The present invention relates to a method, computer program and apparatus for classifying and processing QR codes, and more particularly, to a method, computer program and apparatus capable of scanning and classifying various types of QR codes and performing corresponding processing .

QR 코드(Quick Response Code)는 불규칙한 흑백 격자 무늬를 활용하여 정보를 기록할 수 있는 코드 체계이다. 1차원적 구성의 바코드와 달리 QR 코드는 가로, 세로를 활용한 매트릭스형 2차원적 구성이다. 이로 인해 QR 코드는 더 많은 숫자 및 문자를 저장할 수 있고, 특수한 리더기 장치 없이도 모바일기기에 구비된 카메라를 이용하여 스캔을 통해 기록된 데이터를 읽을 수 있다는 장점이 있다. 따라서, QR 코드는 다양한 분야에서 광고 및 정보 제공의 수단으로 오프라인과 온라인을 넘나들며 폭넓게 사용되고 있다.A QR code (Quick Response Code) is a code system that can record information using an irregular black and white grid pattern. Unlike the one-dimensional barcode, the QR code is a two-dimensional matrix type using horizontal and vertical elements. Due to this, the QR code can store more numbers and characters, and has the advantage of being able to read the recorded data through scanning using the camera provided in the mobile device without a special reader device. Accordingly, QR codes are widely used both offline and online as a means of advertising and information provision in various fields.

일반적으로 QR 코드는 흑백격자무늬 패턴을 이루는 셀, 위치 검출 패턴, 타이밍 패턴, 포맷정보, 버전 정보, 얼라인먼트 패턴, 여백 등으로 구성되어 있다. 이와 같은 기본 구성 요소를 포함하여 다양한 디자인의 QR 코드를 생성하는 것이 가능하다. 한편, QR 코드는 국가규격이나 국제규격으로 규격화되어 있으며, 누구나 안심하고 사양을 이용할 수 있다.In general, a QR code consists of cells forming a black-and-white grid pattern, a position detection pattern, a timing pattern, format information, version information, alignment pattern, blank space, and the like. It is possible to generate QR codes of various designs including basic components like this one. On the other hand, QR codes are standardized according to national or international standards, and anyone can use the specifications with confidence.

QR코드가 데이터를 저장하는 방식은 바코드와 같다. 데이터 영역의 ‘바둑판 무늬’가 검은색이냐 흰색이냐에 따라서 컴퓨터 2진법 수로 표현되는 ‘0’과 ‘1’로 구분하여 비트열 형태로 저장한다.The way QR codes store data is the same as barcodes. Depending on whether the 'checkerboard' of the data area is black or white, it is divided into '0' and '1' expressed in computer binary numbers and stored in the form of a bit string.

최근 많은 기업에서 간편결제시스템의 일환으로 QR 코드를 적용하고 있다. QR 코드를 이용한 결제시스템은 다음과 같다. 사용자가 사용자 단말에 어플리케이션(Application) 등을 통해 미리 결제 정보를 입력 및 저장해둔다. 사용자는 결제가 필요한 상황에서 상기 어플리케이션 등을 통해 사용자단말에 QR 코드를 표시한다. 가맹점 등에 구비된 스캐너는 해당 QR 코드를 스캔하여 기록된 결제정보를 획득하여 결제를 진행한다.Recently, many companies are applying QR codes as part of a simple payment system. Payment systems using QR codes are as follows. A user inputs and stores payment information in advance through an application or the like in the user terminal. The user displays the QR code on the user terminal through the application or the like in a situation where payment is required. The scanner provided at the affiliate store scans the corresponding QR code to obtain the recorded payment information and proceeds with the payment.

현재, 결제수단이 되는 QR 코드를 제공하는 금융사 및 카드회사 등은 매우 다양하며, 각 기업의 QR 코드는 이에 대응하는 QR 코드 스캐너를 통해서만 스캔할 수 있다. 즉, 임의의 QR 코드를 임의의 QR 코드 스캐너로 스캔하는 경우, 형식적인 이미지 캡쳐링(Image Capturing)이 진행되더라도 해당 QR 코드에 기록된 구문을 분석하지 못한다.Currently, financial companies and card companies that provide QR codes as payment methods are very diverse, and each company's QR code can be scanned only through a corresponding QR code scanner. That is, when a random QR code is scanned with an arbitrary QR code scanner, even if formal image capturing is performed, the syntax recorded in the corresponding QR code cannot be analyzed.

한편, 다양한 분야에서 QR 코드가 이용되는 만큼 QR 코드를 이용한 불법행위로 인해 피해를 입는 사례도 빈번하다. 예를 들어, QR 코드를 위변조, 금융기관 등으로부터 전송한 것으로 위장하는 피싱(Phishing) 사기수법, 진짜 사이트로 오인하여 접속하도록 유도하여 개인정보를 훔치는 파밍(Pharming) 사기수법, 메모리 해킹 등에 QR 코드가 이용되기도 한다.On the other hand, as QR codes are used in various fields, there are frequent cases of victims of illegal acts using QR codes. For example, a phishing scam that disguises a QR code as being sent from a financial institution, a pharming scam that steals personal information by mistaking it to a real site, and a memory hacking QR code is also used

등록특허공보 제10-1450013호, 2014.10.06Registered Patent Publication No. 10-1450013, 2014.10.06

본 발명이 해결하고자 하는 과제는, 다양한 서비스 사업자가 제공하는 QR 코드에 대하여 QR 코드의 생성 출처에 따라 구별하지 않고 임의의 QR 코드를 스캔하여 분류하고 이에 상응하는 작업을 처리할 수 있는 방법, 컴퓨터 프로그램 및 범용 장치를 제공하는 것이다.The problem to be solved by the present invention is a method that can scan and classify any QR code without distinguishing it according to the generation source of the QR code for QR codes provided by various service providers and process corresponding tasks, a computer It is to provide programs and general purpose devices.

또한, 본 발명이 해결하고자 하는 과제는, QR 코드를 이용할 때 발생할 수 있는 악성 QR코드 및 위변조 QR 등의 악성 공격으로부터 보호받을 수 있는 방법, 컴퓨터 프로그램 및 장치를 제공하는 것이다.In addition, the problem to be solved by the present invention is to provide a method, computer program and apparatus that can be protected from malicious attacks such as malicious QR codes and forged QR codes that may occur when using QR codes.

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

상술한 과제를 해결하기 위한 본 발명의 일 면에 따른 QR 코드를 분류 및 처리하는 방법은, 컴퓨터에 의해 수행되는 방법으로서, QR 코드를 스캔하여 데이터 비트열을 획득하는 단계, 사전 저장된 구문 데이터베이스에 기초하여 상기 데이터 비트열의 구문을 분석하는 단계, 상기 구문 분석 결과에 따라 복수의 서비스 유형 중 상기 QR 코드에 상응하는 서비스 유형을 결정하는 단계 및 상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 단계를 포함한다.A method for classifying and processing a QR code according to an aspect of the present invention for solving the above-mentioned problems is a method performed by a computer, comprising the steps of scanning a QR code to obtain a data bit string, and in a pre-stored phrase database Parsing the data bit string based on the syntax, determining the service type corresponding to the QR code from among a plurality of service types according to the syntax analysis result, and processing the QR code and the job corresponding to the service type includes steps.

상술한 과제를 해결하기 위한 본 발명의 다른 면에 따른 QR 코드를 분류 및 처리하는 컴퓨터 프로그램은, 하드웨어인 컴퓨터와 결합되어 상기 언급된 QR 코드를 분류 및 처리하는 방법을 실행하며, 컴퓨터 판독가능한 기록매체에 저장된다.A computer program for classifying and processing a QR code according to another aspect of the present invention for solving the above-described problem is combined with a computer that is hardware to execute the method for classifying and processing the above-mentioned QR code, and a computer readable record stored on the medium.

상술한 과제를 해결하기 위한 본 발명의 또 다른 면에 따른 QR 코드를 분류 및 처리하는 장치는, 구문 데이터베이스를 저장 및 관리하는 데이터 관리부, QR 코드를 스캔하는 스캔부, 데이터 비트열을 송수신하는 통신부, 상기 구문 데이터베이스에 기초하여 상기데이터 비트열의 구문을 분석하는 구문분석부, 상기 구문 분석 결과에 따라 복수의 서비스 유형 중 상기 QR 코드에 상응하는 서비스 유형을 결정하는 서비스 분류부, 및 상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 처리부를 포함한다.A device for classifying and processing a QR code according to another aspect of the present invention for solving the above-described problems is a data management unit for storing and managing a syntax database, a scanning unit for scanning the QR code, and a communication unit for transmitting and receiving data bit strings , a syntax analysis unit for analyzing the syntax of the data bit string based on the syntax database, a service classification unit for determining a service type corresponding to the QR code from among a plurality of service types according to the syntax analysis result, and the QR code and and a processing unit for processing a job corresponding to the service type.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

상기 본 발명에 의하면, 생성 출처가 다른 QR 코드라도 하나의 장치를 통해 스캔하고, 해당 QR 코드에 기록된 정보에 상응하는 작업의 처리를 진행할 수 있다. 즉, QR 코드 생성 주체에 따라 대응되는 QR 코드 스캐너를 구비할 필요가 없게 된다. 따라서, QR 코드를 이용한 서비스 사용자는 지정된 가맹점에서뿐만 아니라, QR 코드를 스캔할 수 있는 장비만 구비된 곳이라면 어디서든 QR 코드를 이용한 서비스를 이용할 수 있다.According to the present invention, even a QR code from a different generation source can be scanned through one device and a job corresponding to the information recorded in the QR code can be processed. That is, there is no need to provide a corresponding QR code scanner according to the QR code generating entity. Therefore, the service user using the QR code can use the service using the QR code not only at the designated affiliated store, but also at any place equipped with only equipment that can scan the QR code.

또한, 상기 본 발명에 의하면, 스캔한 QR 코드를 필터링하는 단계를 거치므로 위변조 QR 및 피싱, 파밍, 메모리 해킹 등의 악성 공격으로부터 보호받을 수 있다. 따라서, QR 코드를 이용한 결제시스템 등의 서비스를 보다 안전하게 이용할 수 있다.In addition, according to the present invention, it is possible to be protected from malicious attacks such as forged QR code and phishing, pharming, memory hacking, etc. because the scanned QR code is filtered. Accordingly, services such as a payment system using a QR code can be used more safely.

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

도 1은 본 발명의 일 실시예에 따른 QR 코드를 분류 및 분석하는 시스템의 구성을 개략적으로 나타내는 블록도이다.
도 2는 본 발명의 일 실시예에 따른 처리자 단말의 구성도이다.
도 3은 본 발명의 일 실시예에 따른 QR 코드를 분류 및 분석하는 방법의 과정을 개략적으로 나타내는 흐름도이다.
도 4는 본 발명의 다른 실시예에 따른 데이터 비트열의 구문을 분석하는 단계를 세부적으로 나타내는 흐름도이다.
도 5는 본 발명의 다른 실시예에 따른 데이터 비트열을 필터링하는 단계를 세부적으로 나타내는 순서도이다.
도 6은 본 발명의 일 실시예에 따른 처리자 단말이 QR 코드를 분류하고 처리하는 과정을 개략적으로 나타내는 개념도이다.
도 7은 본 발명의 일 실시예에 따른 구문 데이터베이스에 저장된 서비스 식별자에 대한 구문정보 테이블을 나타내는 예시도이다.
도 8은 본 발명의 일 실시예에 따른 양방향 QR 코드를 이용한 QR 코드를 분류 및 처리하는 방법을 개략적으로 나타내는 흐름도이다.
1 is a block diagram schematically showing the configuration of a system for classifying and analyzing a QR code according to an embodiment of the present invention.
2 is a block diagram of a processor terminal according to an embodiment of the present invention.
3 is a flowchart schematically illustrating a process of a method for classifying and analyzing a QR code according to an embodiment of the present invention.
4 is a flowchart illustrating in detail a step of analyzing a syntax of a data bit string according to another embodiment of the present invention.
5 is a flowchart illustrating in detail a step of filtering a data bit stream according to another embodiment of the present invention.
6 is a conceptual diagram schematically illustrating a process in which a processor terminal classifies and processes a QR code according to an embodiment of the present invention.
7 is an exemplary diagram illustrating a syntax information table for a service identifier stored in a syntax database according to an embodiment of the present invention.
8 is a flowchart schematically illustrating a method of classifying and processing a QR code using a two-way QR code according to an embodiment of the present invention.

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

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for the purpose of describing the embodiments and is not intended to limit the present invention. As used herein, the singular also includes the plural unless specifically stated otherwise in the phrase. As used herein, “comprises” and/or “comprising” does not exclude the presence or addition of one or more other components in addition to the stated components. Like reference numerals refer to like elements throughout, and "and/or" includes each and every combination of one or more of the recited elements. Although "first", "second", etc. are used to describe various elements, these elements are not limited by these terms, of course. These terms are only used to distinguish one component from another. Accordingly, it goes without saying that the first component mentioned below may be the second component within the spirit of the present invention.

본 명세서에서 "사용자 단말"은 QR 코드를 표시하고 정보를 송수신할 수 있는 전자기기를 의미한다. 예를 들어, 사용자 단말은 스마트폰(Smart Phone), 태블릿(Tablet), 개인 휴대 단말기(Personal Digital Assistant, PDA) 등의 모바일 기기일 수 있으며 이에 한정되는 것은 아니다.In this specification, "user terminal" refers to an electronic device that can display a QR code and transmit and receive information. For example, the user terminal may be a mobile device such as a smart phone, a tablet, or a personal digital assistant (PDA), but is not limited thereto.

본 명세서에서 "처리자 단말"은 가맹점에 구비되어 가맹점의 점원 등이 QR 코드를 스캔하여 정보를 획득하고 상응하는 작업을 처리할 수 있는 전자기기를 의미한다. 구체적인 예로, QR 코드 스캐너 등의 장치가 있으나 이에 한정되는 것은 아니고, 사용자 단말과 마찬가지로 스마트폰, 태블릿 등도 포함된다. 즉, 이미지 캡쳐링(Image Capturing)을 통해 QR 코드를 스캔할 수 있는 임의의 전자기기를 포함한다.In the present specification, "processor terminal" refers to an electronic device that is provided in an affiliated store so that a clerk of the affiliated store can scan a QR code to obtain information and process a corresponding task. As a specific example, there is a device such as a QR code scanner, but is not limited thereto, and includes a smart phone, a tablet, etc. like a user terminal. That is, it includes any electronic device capable of scanning a QR code through image capturing.

본 명세서에서 "가맹점"은 특정한 QR 코드와 연계된 서비스를 제공하는 회사에 가맹되어 있는 가게나 점포, 또는 무인 기기를 의미한다.As used herein, "merchant" refers to a store or store affiliated with a company that provides a service associated with a specific QR code, or an unmanned device.

본 명세서에서 "서비스 서버"는 QR 코드와 연계된 서비스를 제공하는 회사에서 운영 및 관리하는 서버를 의미한다.In this specification, "service server" refers to a server operated and managed by a company that provides a service related to a QR code.

본 명세서에서 "데이터 비트열(Data Bit String)"은 데이터를 0 또는 1로 표현한 비트(Bit)가 특별한 정보를 나타내기 위해 연결되어 나열된 모양을 의미한다.As used herein, the term “data bit string” refers to a shape in which bits representing data as 0 or 1 are connected to indicate special information.

본 명세서에서 "구문"은 상기 데이터 비트열의 구조 및 그 구조를 지배하는 규칙을 의미한다.In this specification, "syntax" means the structure of the data bit string and rules governing the structure.

본 명세서에서 "구문 데이터베이스"는 상기 구문에 대한 데이터의 집합을 의미한다. 일 실시예로, 구문 데이터베이스는 처리자 단말(20)에 사전 저장되어 있으며, 처리자 단말(20)은 서비스 서버(30)와 통신하여 구문 데이터베이스를 주기적으로 또는 실시간으로 업데이트하여 최신 정보로 유지할 수 있다.As used herein, "syntax database" means a set of data for the above syntax. In an embodiment, the syntax database is pre-stored in the processor terminal 20 , and the processor terminal 20 communicates with the service server 30 to periodically or real-time update the syntax database to maintain the latest information.

본 명세서에서 "비정상 QR 코드"는 정상적인 QR 코드를 제외한 QR 코드를 의미한다. 예를 들어, 위변조 QR 코드 및 피싱(Phishing), 파밍(Pharming), 메모리 해킹 등을 목적으로 하는 악성 QR 코드가 있다. 하지만, 이에 한정되는 것은 아니고 사용자 또는 처리자에게 피해를 입힐 수 있는 정보가 기록된 QR 코드는 모두 비정상 QR 코드의 범주에 포함된다.In this specification, "abnormal QR code" means a QR code other than a normal QR code. For example, there are forged QR codes and malicious QR codes for the purpose of phishing, pharming, and memory hacking. However, the present invention is not limited thereto, and all QR codes in which information that can cause damage to users or processors are recorded are included in the category of abnormal QR codes.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used herein will have the meaning commonly understood by those of ordinary skill in the art to which this invention belongs. In addition, terms defined in a commonly used dictionary are not to be interpreted ideally or excessively unless specifically defined explicitly.

이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 일 실시예에 따른 QR 코드를 분류 및 분석하는 시스템의 구성을 개략적으로 나타내는 블록도이다.1 is a block diagram schematically showing the configuration of a system for classifying and analyzing a QR code according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 QR 코드를 분류 및 분석하는 시스템은 사용자 단말(10), 처리자 단말(20) 및 서비스 서버(30)를 포함한다.Referring to FIG. 1 , the system for classifying and analyzing QR codes of the present invention includes a user terminal 10 , a processor terminal 20 and a service server 30 .

사용자 단말(10)은 서비스를 요청하는 사용자가 구비하고 있는 전자기기이다. 사용자 단말(10)은 QR 코드를 표시할 수 있는 디스플레이를 갖추고 있으며, 상기 디스플레이에 생성된 QR 코드를 표시하여 처리자 단말(20)이 QR 코드를 스캔할 수 있도록 하는 역할을 한다.The user terminal 10 is an electronic device provided by a user requesting a service. The user terminal 10 is equipped with a display capable of displaying a QR code, and serves to display the generated QR code on the display so that the processor terminal 20 can scan the QR code.

사용자 단말(10)은 내장 또는 설치되어 있는 어플리케이션(Application) 등의 소프트웨어를 통해 QR 코드를 생성 및 표시한다. 사용자 단말(10)이 생성한 QR 코드에는 사용자의 정보 및 사용자가 요청한 서비스 정보 등이 기록되어 있으나 이에 한정되는 것은 아니고 서비스 제공을 위해 필요한 하나 이상의 임의의 정보가 포함될 수 있다.The user terminal 10 generates and displays a QR code through software such as a built-in or installed application (Application). The QR code generated by the user terminal 10 records user information and service information requested by the user, but is not limited thereto, and may include one or more arbitrary information necessary for service provision.

예를 들어, 사용자가 QR 코드를 이용한 결제 서비스를 이용하는 경우, 사용자 단말(10)에는 해당 결제 시스템을 제공하는 회사의 어플리케이션이 내장 또는 설치되어 있다. 사용자는 사용자 단말(10)에서 상기 어플리케이션을 실행하여 결제를 위한 화면에 접속하여 QR 코드를 생성 및 표시할 수 있다. 생성된 QR 코드에는 사용자 정보, 카드 번호, 연동계좌의 은행 정보, 연동계좌의 계좌번호, 연동계좌의 잔고 등에 대한 정보가 포함되어 있을 수 있다.For example, when a user uses a payment service using a QR code, an application of a company providing a corresponding payment system is built-in or installed in the user terminal 10 . A user may execute the application in the user terminal 10 to access a screen for payment to generate and display a QR code. The generated QR code may include information about user information, card number, bank information of the linked account, account number of the linked account, balance of the linked account, and the like.

처리자 단말(20)은 가맹점에 구비된 QR 코드를 스캔하여 기록된 정보를 획득할 수 있는 장치이다.The processor terminal 20 is a device capable of acquiring recorded information by scanning a QR code provided in an affiliated store.

처리자 단말(20)은 QR 코드를 스캔하고, 기록된 데이터 비트열을 획득하여 분석하고, 서비스 유형 및 서비스 식별자를 결정하여 상응하는 작업을 처리하는 역할을 한다. 상세한 설명은 도 2를 참조하여 후술한다.The processor terminal 20 serves to scan the QR code, obtain and analyze the recorded data bit string, determine the service type and service identifier, and process the corresponding operation. A detailed description will be given later with reference to FIG. 2 .

서비스 서버(30)는 서비스를 제공하는 회사가 운영 및 관리하는 서버이다. 서비스 서버(30)는 처리자 단말(20)로부터 서비스 요청 정보를 수신하여 상응하는 서비스를 제공하거나 작업을 처리하는 역할을 한다.The service server 30 is a server operated and managed by a company providing a service. The service server 30 receives service request information from the processor terminal 20 to provide a corresponding service or process a job.

본 발명의 일 실시예로, 서비스에 상응하는 작업을 서비스 서버(30)가 처리하여 사용자에게 상응하는 서비스를 제공하고 처리 정보만 처리자 단말(20)로 전송해줄 수 있다. 이와 달리, 서비스 서버(30)는 요청된 서비스 제공 여부를 결정하여 처리자 단말(20)로 전송하고, 처리자 단말(20)이 직접 사용자에게 상응하는 서비스를 제공할 수도 있다.In an embodiment of the present invention, the service server 30 may process a task corresponding to the service to provide a corresponding service to the user and transmit only the processing information to the processor terminal 20 . Alternatively, the service server 30 may determine whether to provide the requested service and transmit it to the processor terminal 20 , and the processor terminal 20 may directly provide a corresponding service to the user.

한편, 도 1에 도시된 바와 다르게, 서비스 서버(30)는 서비스를 제공하는 회사마다 개별 구축되어 처리자 단말(20)과 연결될 수 있다. 즉, 도 1에는 편의상 하나의 서비스 서버(30)만이 처리자 단말(20)과 연결되어 도시되어 있으나, 복수의 서비스 서버(30)가 처리자 단말(20)과 연결될 수 있다. 또한, 일부 실시예에서, 둘 이상의 서비스와 관련하여 복수의 서비스 서버(30)가 아닌 하나의 서비스 서버(30)가 통합 구축되어 처리자 단말(20)과 연결될 수도 있다.Meanwhile, unlike shown in FIG. 1 , the service server 30 may be individually built for each service providing company and connected to the processor terminal 20 . That is, although only one service server 30 is connected to the processor terminal 20 in FIG. 1 for convenience, a plurality of service servers 30 may be connected to the processor terminal 20 . Also, in some embodiments, in relation to two or more services, one service server 30 instead of the plurality of service servers 30 may be integrated and connected to the processor terminal 20 .

서비스 서버(30)의 관리 주체는 각각의 서비스 사업자이다. 하지만 이에 한정되는 것은 아니고, 처리자 단말 및 시스템을 제공하는 사업자가 서비스 서버(30)의 관리 주체인 것도 가능하다. 즉, 서비스 서버(30)의 관리 주체가 처리자 단말 및 시스템까지 관리할 수도 있다.The management subject of the service server 30 is each service provider. However, the present invention is not limited thereto, and it is also possible that the operator providing the processor terminal and the system is the management subject of the service server 30 . That is, the management subject of the service server 30 may also manage the processor terminal and the system.

도 2는 본 발명의 일 실시예에 따른 처리자 단말(20)의 구성도이다.2 is a block diagram of a processor terminal 20 according to an embodiment of the present invention.

도 2를 참조하면, 처리자 단말(20)은 데이터 관리부(21), 스캔부(22), 통신부(23), 구문분석부(24), 필터부(25), 서비스 분류부(26) 및 처리부(27)를 포함한다.Referring to FIG. 2 , the processor terminal 20 includes a data management unit 21 , a scan unit 22 , a communication unit 23 , a parsing unit 24 , a filter unit 25 , a service classification unit 26 , and a processing unit. (27).

데이터 관리부(21)는 구문 데이터베이스를 저장 및 관리하는 역할을 한다. 상기 구문 데이터베이스는 데이터 비트열의 구조 및 그 구조를 지배하는 규칙인 구문에 대한 정보의 집합이다. 구문 데이터베이스는 구문 정보를 서비스 유형 및 서비스 식별자에 매칭하여 보관할 수 있다.The data management unit 21 serves to store and manage the syntax database. The syntax database is a set of information about a structure of a data bit string and a syntax that is a rule governing the structure. The syntax database may store syntax information by matching the service type and service identifier.

한편, 구문 데이터베이스는 처리자 단말(20)이 서비스 서버(30)와 통신하여 주기적으로 또는 실시간으로 업데이트될 수 있다.Meanwhile, the syntax database may be updated periodically or in real time when the processor terminal 20 communicates with the service server 30 .

본 발명의 일 실시예로서, 서비스 유형에는 QR 코드를 이용한 결제 시스템, 암호화폐 관련 서비스 등이 있으나 이에 한정되는 것은 아니고 QR 코드를 이용하여 제공할 수 있는 서비스가 모두 포함된다. 구문 데이터베이스는 서비스 유형에 따라 구문 정보를 그룹핑하여 관리할 수 있다. 즉, 결제 시스템에 관한 구문 정보 그룹, 암호화폐 관련 서비스에 관한 구문 정보 그룹 및 기타 자체 식별 서비스에 관한 구문 정보 그룹으로 관리할 수 있다.As an embodiment of the present invention, the service type includes, but is not limited to, a payment system using a QR code, a cryptocurrency-related service, and the like, and includes all services that can be provided using a QR code. The syntax database can be managed by grouping syntax information according to the service type. That is, it can be managed as a syntax information group for a payment system, a syntax information group for a cryptocurrency-related service, and a syntax information group for other self-identification services.

따라서, 처리자 단말(20)은 QR 코드를 스캔하여 획득한 데이터 비트열에 포함된 구문을 분석하여, 특정한 구문 정보와 일치하는 서비스 유형을 매칭함으로써 해당 QR 코드를 통해 제공되는 서비스의 유형을 파악 및 분류할 수 있다.Accordingly, the processor terminal 20 analyzes the syntax included in the data bit string obtained by scanning the QR code, and matches the service type matching the specific syntax information to identify and classify the type of service provided through the QR code can do.

본 발명의 일 실시예로, 상기 특정한 구문 정보는 식별코드를 포함한다. 데이터 비트열(Data Bit String)은 데이터를 1 또는 0으로 표시한 비트(Bit)를 연결 및 나열한 것이다. 즉, 1 및 0이 특정한 규칙에 따라 연결된 형태이다. 이 때, 특정 서비스 유형이 항상 포함하고 있는 특정 자릿수에 위치한 코드값을 식별코드로 할 수 있다. In one embodiment of the present invention, the specific syntax information includes an identification code. A data bit string is a concatenation and arrangement of bits representing data as 1 or 0. That is, 1 and 0 are connected according to a specific rule. In this case, a code value located at a specific digit always included in a specific service type may be used as the identification code.

즉, 서비스 유형 및 서비스 식별자를 구별할 수 있는 특정한 구문 정보는 1 또는 0의 배열로 이루어진 코드값뿐만 아니라, 해당 코드가 전체 데이터 비트열에서 위치하고 있는 자릿수에 대한 정보를 포함한다.That is, specific syntax information capable of distinguishing a service type and a service identifier includes not only a code value consisting of an array of 1's or 0's, but also information on the number of digits in which the corresponding code is located in the entire data bit string.

구체적인 예로, QR 코드를 이용한 결제 서비스에 대한 식별코드가 '1011'임과 더불어 데이터 비트열에서 5번째 자리부터 8번째 자리에 위치하는 것을 특징으로 할 수 있다. 이 경우, 단순히 '1011'이 데이터 비트열에 포함되어 있는 것뿐만 아니라, 위치까지 정확히 일치하여야 해당 서비스 유형 또는 서비스 식별자로 인지할 수 있다.As a specific example, it may be characterized in that the identification code for the payment service using the QR code is '1011' and is located in the 5th to 8th positions in the data bit string. In this case, not only '1011' is included in the data bit string, but also the location must exactly match to be recognized as a corresponding service type or service identifier.

따라서, '10110010101011'과 같은 데이터 비트열은 비록 '1011'을 포함하고 있으나 1번째 자리부터 4번째 자리에 위치하여 자리가 일치하지 않으므로 이와 매칭되는 서비스 유형 또는 서비스 식별자에 해당하지 않는다고 판단될 것이다. 반면, '101010110101011'과 같은 데이터 비트열은 '1011'을 포함하고 위치까지 일치하므로 이와 매칭되는 서비스 유형 또는 서비스 식별자에 해당한다고 분석될 수 있다.Accordingly, although a data bit string such as '10110010101011' includes '1011', it is located in the 1st to 4th digit and the positions do not match, so it will be determined that it does not correspond to the matching service type or service identifier. On the other hand, since a data bit string such as '101010110101011' includes '1011' and matches the location, it can be analyzed that it corresponds to the matching service type or service identifier.

상기 식별코드는 처리자 단말(20)의 데이터 관리부(21)가 서비스 서버(30)로부터 수신하여 저장 및 관리할 수 있다.The identification code may be stored and managed by the data management unit 21 of the processor terminal 20 received from the service server 30 .

스캔부(22)는 QR 코드 스캔을 위한 이미지 캡쳐링(Image Capturing)할 수 있는 수단이 구비되어 있으며, 사용자 단말(10)에 표시된 QR 코드를 스캔하여 기록된 정보를 획득하는 역할을 한다. 스캔부(22)는 QR 코드를 스캔하여 데이터 비트열을 획득한다.The scanning unit 22 is provided with a means for image capturing (Image Capturing) for scanning the QR code, and serves to scan the QR code displayed on the user terminal 10 to obtain the recorded information. The scanning unit 22 scans the QR code to obtain a data bit string.

통신부(23)는 사용자 단말(10) 및 서비스 서버(30)와 정보를 송수신하는 역할을 한다.The communication unit 23 serves to transmit and receive information to and from the user terminal 10 and the service server 30 .

통신부(23)는 사용자 단말(10) 및 서비스 서버(30)와 통신할 수 있는 블루투스(Bluetooth), Wi-Fi, NFC 등의 근거리 통신장치 및 3G, LTE 등의 광대역 통신장치를 포함한다.The communication unit 23 includes a short-range communication device such as Bluetooth, Wi-Fi, NFC, and the like, and a broadband communication device such as 3G, LTE, which can communicate with the user terminal 10 and the service server 30 .

통신부(23)는 서비스 서버(30)로부터 서비스 유형 및 서비스 식별자에 대한 구문 정보를 수신한다.The communication unit 23 receives syntax information about the service type and service identifier from the service server 30 .

통신부(23)는 서비스 요청 정보, 서비스 제공 정보, 및 승인 정보 등을 사용자 단말(10) 및 서비스 서버(30)와 송수신한다.The communication unit 23 transmits/receives service request information, service provision information, and approval information to and from the user terminal 10 and the service server 30 .

"서비스 요청 정보"는 사용자가 사용자 단말(10)을 통해 특정 서비스를 요청한 것에 대한 정보이다."Service request information" is information about a user requesting a specific service through the user terminal 10 .

"서비스 제공 정보"는 서비스 서버(30)가 사용자로부터 요청받은 서비스를 확인하고, 이에 상응하는 서비스를 제공하는 것에 대한 정보이다."Service provision information" is information about the service server 30 confirms the service requested by the user and provides a corresponding service.

"승인 정보"는 양방향 QR 코드 방식을 이용하였을 때, 사용자 단말(20)이 요청한 서비스에 상응하는 작업을 처리하는 것을 승인한 것에 대한 정보이다. 양방향 QR 코드 방식에 대한 상세한 설명은 후술한다."Approval information" is information about approval of processing a task corresponding to the service requested by the user terminal 20 when the interactive QR code method is used. A detailed description of the two-way QR code method will be described later.

구문분석부(24)는 획득한 데이터 비트열의 구문을 분석하고, 구문 데이터베이스를 기초로 사전 저장된 구문 정보와 매칭되는지 여부를 분석하는 역할을 한다.The syntax analysis unit 24 analyzes the syntax of the acquired data bit string, and analyzes whether it matches the syntax information stored in advance based on the syntax database.

데이터 비트열은 상술한 바와 같이, 전송하고자 하는 정보를 1 또는 0을 특정한 순서로 배열한 것이다.As described above, the data bit string is an arrangement of 1 or 0 of information to be transmitted in a specific order.

본 발명의 일 실시예로 데이터 비트열에는 데이터 비트열의 형식, 서비스 유형 서비스 식별자 등을 파악할 수 있는 특정 코드값 등이 특정한 규칙에 따라 포함되어 있을 수 있다. 즉, 데이터 비트열에는 해당 데이터 비트열의 구문 분석에 활용할 수 있는 특정한 비트열 또는 패턴이 포함되어 있을 수 있다. 한편, 데이터 비트열에는 서비스 제공을 위해 필요한 정보들이 더 포함되어 있을 수 있다.According to an embodiment of the present invention, the data bit string may include a specific code value for identifying the format of the data bit string, a service type, a service identifier, and the like according to a specific rule. That is, the data bit string may include a specific bit string or pattern that can be used for parsing the corresponding data bit string. Meanwhile, the data bit string may further include information necessary for service provision.

구체적인 예로, 상기 데이터 비트열의 형식에는 URL 형식, 표준화된 데이터 규격, 기타 데이터 규격 및 암호문 형식 등이 포함된다. 처리자 단말(20)은 구문분석부(24)가 분석한 형식에 상응하는 작업을 처리할 수 있다. 예를 들어, "http://"를 포함하는 URL 형식의 경우, 이를 파악할 수 있는 정보로서, 데이터 비트열의 동일한 자릿수에 동일한 코드값(주소 포맷의 식별값 등)을 포함한다. 따라서, 이를 기초로 획득한 데이터 비트열의 형식이 URL 형식에 해당한다는 것을 파악할 수 있다.As a specific example, the format of the data bit string includes a URL format, a standardized data standard, other data standards, and a cipher text format. The processor terminal 20 may process a job corresponding to the format analyzed by the syntax analysis unit 24 . For example, in the case of a URL format including "http://" , the same code value (identification value of the address format, etc.) is included in the same number of digits of the data bit string as information that can be identified. Accordingly, it can be understood that the format of the data bit string obtained based on this corresponds to the URL format.

구문분석부(24)는 사전 저장된 구문 데이터베이스를 기초로 데이터 비트열에서 형식, 서비스 유형 및 서비스 식별자를 파악하기 위해 데이터비트열의 구문을 분석한다. 서비스 분류부(26)는 구문분석부(24)가 분석한 구문 정보를 기초로 서비스 유형 및 서비스 식별자를 탐색한다. 탐색하는 과정에 대한 상세한 설명은 서비스 분류부(26)를 설명하는 부분에서 설명한다.The parsing unit 24 analyzes the syntax of the data bit string to determine the format, service type, and service identifier from the data bit string based on the pre-stored syntax database. The service classification unit 26 searches for a service type and a service identifier based on the syntax information analyzed by the syntax analysis unit 24 . A detailed description of the search process will be described in the section describing the service classification unit 26 .

구문을 분석하는 순서는 데이터 비트열의 형식을 분석하고, 서비스 유형을 분석하고, 서비스 식별자를 분석하는 순서로 진행된다. 하지만, 이에 한정되는 것은 아니고 동시에 진행되거나 다른 순서로 진행되는 것도 가능하다.The order of parsing the syntax proceeds in the order of analyzing the format of the data bit string, analyzing the service type, and analyzing the service identifier. However, the present invention is not limited thereto, and it is possible to proceed simultaneously or in a different order.

본 발명의 일 실시예로, RSA 암호화 시스템을 이용할 수 있다. 즉, QR 코드의 보안성 강화를 위해 암호문 형식의 데이터 비트열이 기록된 QR 코드에도 본 발명이 적용될 수 있다.In an embodiment of the present invention, an RSA encryption system may be used. That is, the present invention can also be applied to a QR code in which a data bit string of a cipher text format is recorded in order to strengthen the security of the QR code.

RSA 암호화 시스템은 공개키(Public Key)와 개인키(Private Key)를 세트로 하여 암호화 및 복호화하는 공개키 암호시스템 중 하나이다. 특정 정보를 특정 암호화 정보를 통해 암호화한 암호문을 생성하여 전송하면, 이에 상응하는 특정 복호화 정보가 있어야만 해당 암호화 정보를 복호화하여 평문을 생성하여 정보를 획득할 수 있다. 즉, 암호화 정보와 복호화 정보는 세트로 구성되어 있다고 볼 수 있다.The RSA encryption system is one of public key encryption systems that encrypts and decrypts a public key and a private key as a set. When a cipher text encrypted with specific information is generated and transmitted through specific encryption information, only when there is specific decryption information corresponding to the generated cipher text, the information can be obtained by decrypting the encrypted information to generate a plain text. That is, it can be seen that the encryption information and the decryption information are composed of a set.

구체적인 예로, 처리자 단말(20)의 데이터 관리부(21)는 각 서비스 식별자에 대응하는 개인키를 서비스 서버(30)로부터 수신하여 개인키 데이터베이스를 저장 및 관리할 수 있다. 또한, 상기 개인키 데이터베이스는 주기적으로 또는 실시간으로 업데이트될 수 있다.As a specific example, the data management unit 21 of the processor terminal 20 may receive the private key corresponding to each service identifier from the service server 30 and store and manage the private key database. In addition, the private key database may be updated periodically or in real time.

처리자 단말(20)은 상기 서비스 식별자의 공개키를 이용하여 암호화된 데이터 비트열이 기록된 QR 코드를 스캔한 경우, 사전 저장된 서비스 식별자의 개인키를 이용하여 획득한 암호문 형태의 데이터 비트열을 평문 형태로 복호화 하는 것이 가능하다. 이를 통해, 위변조 QR 코드 등 비정상 QR 코드로 인한 피해를 예방할 수 있고, QR 코드를 이용한 서비스 이용 과정에서 발생할 수 있는 정보 유출을 방지할 수 있다.When the processor terminal 20 scans the QR code in which the encrypted data bit string is recorded using the public key of the service identifier, the data bit string in the form of a cipher text obtained using the private key of the pre-stored service identifier is converted into plaintext. It is possible to decrypt the form. Through this, damage caused by abnormal QR codes such as forged or forged QR codes can be prevented, and information leakage that may occur in the process of using services using QR codes can be prevented.

필터부(25)는 획득한 데이터 비트열이 악성 QR 코드 또는 위변조 QR 코드와 같은 비정상 QR 코드를 필터링하는 역할을 한다.The filter unit 25 serves to filter the acquired data bit stream from an abnormal QR code, such as a malicious QR code or a forged QR code.

QR코드가 널리 보급되면서 QR 코드를 이용한 사기 등의 불법행위가 중요한 이슈로 대두되고 있다. QR코드는 바코드에 비해 기록할 수 있는 정보량도 많고 악성코드나 유해 웹사이트 주소를 담아 유포하기 용이하다. 따라서, 이러한 피해를 사전에 방지하는 장치를 해두는 것이 매우 중요하다.With the spread of QR codes, illegal activities such as fraud using QR codes are emerging as an important issue. Compared to barcodes, QR codes have a larger amount of information that can be recorded and are easier to distribute with malicious codes or harmful website addresses. Therefore, it is very important to have a device to prevent such damage in advance.

본 명세서에서 악성 QR 코드는 피싱(Phishing), 파밍(Pharming), 메모리해킹 등을 목적으로 제작된 QR 코드를 의미하고, 위변조 QR 코드는 정상적으로 생성된 QR 코드를 변조 하거나, 불법적인 방법으로 위조하여 생성한 QR 코드를 의미한다. 한편, 비정상 QR 코드는 악성 QR 코드 및 위변조 QR 코드를 포함하여 지칭하는 용어이다. 하지만 이에 한정되는 것은 아니고 불법적인 목적으로 인해 사용자 및 처리자에게 피해를 줄 수 있는 모든 유형의 불법 QR 코드를 포함한다.In this specification, a malicious QR code means a QR code produced for the purpose of phishing, pharming, memory hacking, etc. It means the generated QR code. On the other hand, abnormal QR code is a term that includes malicious QR code and forged QR code. However, this includes, but is not limited to, any type of illegal QR code that can harm users and processors for illegal purposes.

본 발명의 일 실시예로, 필터부(25)는 악성 QR 코드를 필터링하는 방법으로서 패킷 필터링(Packet Filtering)과 유사한 방법을 사용한다.In an embodiment of the present invention, the filter unit 25 uses a method similar to packet filtering as a method of filtering a malicious QR code.

패킷 필터링(Packet Filtering)은 특정 주소를 가진 패킷의 통과를 제한하는 필터링 기술이다. 송신자의 IP 주소, 전송 제어 프로토콜(Transmission Control Protocol, TCP), 사용자 데이터그램 프로토콜(User Datagram Protocol, UDP) 포트 번호를 근거로 패킷 필터링을 한다.Packet filtering is a filtering technique that restricts the passage of packets having a specific address. Packet filtering is performed based on the sender's IP address, Transmission Control Protocol (TCP), and User Datagram Protocol (UDP) port numbers.

구체적인 예로, 처리자 단말(20)의 데이터 관리부(21)는 비정상 QR 코드 데이터베이스를 저장 및 관리한다. 비정상 QR 코드 데이터베이스는 다양한 유형의 악성 QR 코드 등에 기록된 특정한 비트열이나 패턴에 대한 정보의 집합이다. 비정상 QR 코드 데이터베이스는 주기적으로 또는 실시간으로 업데이트될 수 있다. 또한, 필터링하는 과정에서 비정상 QR 코드로 분류되어 필터링된 비정상 QR 코드에 대한 정보(특정한 비트열이나 패턴)를 추가로 저장 및 관리할 수 있다. 이를 통해, 필터링된 이력이 있는 비정상 QR 코드가 다시 스캔되었을 때, 효과적으로 필터링하여 대응할 수 있다.As a specific example, the data management unit 21 of the processor terminal 20 stores and manages the abnormal QR code database. The abnormal QR code database is a set of information about a specific bit string or pattern recorded in various types of malicious QR codes. The abnormal QR code database may be updated periodically or in real time. In addition, it is possible to additionally store and manage information (a specific bit string or pattern) about the filtered abnormal QR code classified as an abnormal QR code in the filtering process. Through this, when an abnormal QR code with a filtered history is scanned again, it is possible to effectively filter and respond.

필터부(25)는 획득한 데이터 비트열을 구문분석부(24)로부터 수신한다. 필터부(25)는 수신한 데이터 비트열에 대해 상기 비정상 QR 코드 데이터베이스를 기초로 비정상 QR 코드에 해당하는지 여부를 식별한다. 식별 결과, 획득한 데이터 비트열이 비정상 QR 코드에 해당하는 경우, 필터부(25)는 해당 데이터 비트열을 QR 코드 처리부(27)에 전달하지 않고 차단하여 필터링한다.서비스 분류부(26)는 서비스의 유형 및 서비스 식별자를 결정하는 역할을 한다.The filter unit 25 receives the acquired data bit string from the parsing unit 24 . The filter unit 25 identifies whether the received data bit string corresponds to an abnormal QR code based on the abnormal QR code database. As a result of identification, if the obtained data bit string corresponds to an abnormal QR code, the filter unit 25 blocks and filters the data bit string without transmitting the data bit string to the QR code processing unit 27. The service classification unit 26 It plays a role in determining the type of service and the service identifier.

서비스 분류부(26)는 구문분석부(24)가 데이터 비트열을 분석한 결과 및 데이터 관리부(21)에 사전 저장된 구문 데이터베이스를 기초로 획득한 데이터 비트열의 서비스의 유형 및 서비스 식별자를 결정한다.The service classification unit 26 determines the service type and service identifier of the data bit string obtained based on the result of the analysis of the data bit string by the syntax analysis unit 24 and the syntax database pre-stored in the data management unit 21 .

서비스의 유형에는 QR 코드를 이용한 결제 시스템, QR 코드를 이용한 암호화폐 관련 서비스 및 기타 자체 식별 서비스로서의 QR 코드를 이용한 로그인 시스템, 결제 시스템, ATM 이용 서비스 등이 포함되며, 이에 한정되는 것은 아니고, QR 코드를 이용할 수 있는 임의의 서비스를 포함한다.The type of service includes, but is not limited to, a payment system using a QR code, a cryptocurrency-related service using a QR code, and a login system using a QR code as a self-identification service, a payment system, an ATM service, etc. Includes any service for which code is available.

서비스의 식별자에는 각 서비스 유형에 따라 해당 서비스를 제공하는 사업자가 포함된다. 예를 들어, QR 코드를 이용한 결제 시스템에는 A페이, B결제, C카드, D송금 등의 식별자가 있을 수 있고, 암호화폐 관련 서비스를 제공하는 사업자로서 A코인, B화폐, C마켓 등의 식별자가 있을 수 있다.The identifier of the service includes the operator providing the corresponding service according to each service type. For example, in a payment system using a QR code, there may be identifiers such as A-Pay, B-Payment, C-Card, D-remittance, etc., and as a service provider providing cryptocurrency related services, identifiers such as A-Coin, B-Money, C-Market there may be

도 7은 본 발명의 일 실시예에 따른 구문 데이터베이스에 저장된 서비스 식별자에 대한 구문정보 테이블을 나타내는 예시도이다.7 is an exemplary diagram illustrating a syntax information table for a service identifier stored in a syntax database according to an embodiment of the present invention.

도 7을 참조하면, 각 서비스 식별자별로 매칭하는 구문정보가 구문 데이터베이스에 저장되어 있다. 따라서, 구문분석부(24)가 서비스 식별자를 판단할 수 있는 구문정보를 분석하면, 서비스 분류부(26)는 해당 구문정보에 상응하는 서비스 식별자를 탐색하여 매칭한다.Referring to FIG. 7 , syntax information matching each service identifier is stored in a syntax database. Accordingly, when the syntax analysis unit 24 analyzes the syntax information for determining the service identifier, the service classification unit 26 searches for and matches the service identifier corresponding to the syntax information.

예를 들어, 서비스의 유형이 QR 코드를 이용한 결제 시스템인 경우, 서비스 분류부(26)는 추가적으로 서비스의 식별자를 결정할 수 있다. 도 7을 참조하면, QR 코드를 이용한 결제 시스템을 제공하는 서비스 사업자로서 A페이, B페이, C페이 등이 구문 데이터베이스에 포함되어 있다. 상기 서비스 사업자는 서비스 식별자 1, 2, 3 등에 각각 매칭되어 있다. 또한, 각 서비스 식별자는 구문정보 테이블을 통해 특정한 구문 정보와 매칭되어 있다. 상기 특정한 구문 정보는 특정한 코드값 및 상기 코드값이 위치하는 자릿수에 대한 정보를 포함한다.For example, when the type of service is a payment system using a QR code, the service classification unit 26 may additionally determine an identifier of the service. Referring to FIG. 7 , as a service provider that provides a payment system using a QR code, A-Pay, B-Pay, C-Pay, and the like are included in the syntax database. The service providers are matched with service identifiers 1, 2, 3, and the like, respectively. In addition, each service identifier is matched with specific syntax information through a syntax information table. The specific syntax information includes information about a specific code value and the number of digits in which the code value is located.

도 7에 도시된 예시를 참조하면, 사용자 단말(10)에 표시된 QR 코드가 A페이 사업자의 결제 QR 코드인 경우, 매칭되는 서비스 식별자는 '1'이다. 또한, 상기 QR 코드에 기록된 데이터 비트열에는 고유의 구문 정보로서 '1000'이라는 코드값이 5번째 내지 8번째 자릿수에 포함되어 있을 것이다. 따라서, 구문분석부(24)는 이를 분석하고 데이터 관리부(21)에 사전 저장된 데이터베이스에 기초하여, 스캔부(22)가 스캔한 QR 코드에 기록된 데이터 비트열이 QR 결제 서비스에 해당하며, 서비스 사업자는 A페이임을 파악할 수 있다.Referring to the example shown in FIG. 7 , when the QR code displayed on the user terminal 10 is the payment QR code of the Pay A operator, the matching service identifier is '1'. In addition, in the data bit string recorded in the QR code, a code value of '1000' as unique syntax information may be included in the 5th to 8th digits. Therefore, the parsing unit 24 analyzes it and based on the database pre-stored in the data management unit 21, the data bit string recorded in the QR code scanned by the scanning unit 22 corresponds to the QR payment service, and the service The operator can understand that it is Pay A.

처리부(27)는 QR 코드 및 서비스 유형에 상응하는 작업을 처리하는 역할을 한다.The processing unit 27 serves to process a job corresponding to the QR code and the service type.

본 발명의 일 실시예로, 처리부(27)는 QR 코드에 기록된 데이터 비트열을 서비스 서버(30)로 전송한다. 서비스 서버(30)는 수신한 데이터 비트열을 기반으로 사용자가 요청한 서비스에 대한 작업을 처리한다. 예를 들어, QR 코드를 이용한 결제 시스템인 경우는 결제에 필요한 정보가 데이터 비트열에 포함되어 있어, 서비스 서버(30)가 데이터 비트열을 기초로 결제를 승인하고 결제 정보를 결제 서버에 전송할 수 있다.In an embodiment of the present invention, the processing unit 27 transmits the data bit string recorded in the QR code to the service server 30 . The service server 30 processes a job for the service requested by the user based on the received data bit string. For example, in the case of a payment system using a QR code, information necessary for payment is included in the data bit string, so the service server 30 may approve the payment based on the data bit string and transmit the payment information to the payment server. .

본 발명의 다른 실시예로, 처리부(27)는 사용자가 요청한 서비스를 직접 처리할 수도 있다. 즉, 분석된 서비스 유형 및 서비스 식별자를 바탕으로, QR 코드에 기록된 데이터 비트열에 상응하는 작업을 처리한다. QR 코드를 이용한 결제 시스템인 경우는 처리자 단말(20)의 처리부(27)에서 직접 결제 정보를 확인하고 결제를 진행할 수 있다.In another embodiment of the present invention, the processing unit 27 may directly process the service requested by the user. That is, based on the analyzed service type and service identifier, a job corresponding to the data bit string recorded in the QR code is processed. In the case of a payment system using a QR code, the processing unit 27 of the processor terminal 20 may directly check payment information and proceed with payment.

도 3은 본 발명의 일 실시예에 따른 QR 코드를 분류 및 분석하는 방법의 과정을 개략적으로 나타내는 흐름도이다.3 is a flowchart schematically illustrating a process of a method for classifying and analyzing a QR code according to an embodiment of the present invention.

도 3을 참조하면, QR 코드를 분류 및 처리하는 방법은 데이터 비트열을 획득하는 단계(S110), 데이터 비트열의 구문을 분석하는 단계(S120), 데이트 비트열을 필터링하는 단계(S130), 서비스 유형을 결정하는 단계(S140) 및 상응하는 작업을 처리하는 단계(S150)를 포함한다.Referring to FIG. 3 , the method of classifying and processing a QR code includes the steps of obtaining a data bit string ( S110 ), analyzing the syntax of the data bit string ( S120 ), filtering the data bit string ( S130 ), and a service Determining the type (S140) and processing the corresponding task (S150).

상기 데이터 비트열을 획득하는 단계(S110)는, 처리자 단말(20)의 스캔부(22)가 사용자 단말(10)에 표시된 QR 코드를 스캔하여, 해당 QR 코드에 기록된 데이터 비트열을 획득하는 단계이다.In the step of obtaining the data bit string (S110), the scanning unit 22 of the processor terminal 20 scans the QR code displayed on the user terminal 10 to obtain the data bit string recorded in the corresponding QR code. is a step

상기 데이터 비트열의 구문을 분석하는 단계(S120)는, 처리자 단말(20)의 구문분석부(24)가 상기 획득한 데이터 비트열의 구문을 분석하는 단계로, 세부적으로는 데이터 비트열의 형식, 서비스의 유형 및 서비스 식별자를 파악할 수 있는 구문 정보를 분석하는 단계이다.The step of analyzing the syntax of the data bit string (S120) is a step of analyzing the syntax of the acquired data bit string by the parsing unit 24 of the processor terminal 20. Specifically, the format of the data bit string and the service It is a step of analyzing syntax information that can identify types and service identifiers.

구문분석부(24)는 데이터 관리부(21)에 사전 저장된 구문 데이터베이스에 포함된 구문 정보의 특징이 데이터 비트열에 포함되어 있는지 분석한다. 구문 정보의 특징으로는, 특정한 식별코드의 배열이나 전체 데이터 비트열에서 위치하고 있는 자릿수 등이 포함된다.The syntax analysis unit 24 analyzes whether the characteristics of the syntax information included in the syntax database pre-stored in the data management unit 21 are included in the data bit string. Characteristics of the syntax information include the arrangement of a specific identification code, the number of digits located in the entire data bit string, and the like.

본 발명의 일 실시예로, RSA 암호 시스템이 적용되는 경우, 구문분석부(24)는 QR 코드에 기록된 데이터 비트열이 RSA 암호 시스템을 이용한 암호문 형식이라는 것을 파악한다. 구문분석부(24)는 데이터 관리부(21)에 사전 저장된 개인키(Private Key) 데이터베이스를 기초로 암호문 형태의 데이터 비트열을 복호화하여 평문 형태의 데이터 비트열을 획득한다.In an embodiment of the present invention, when the RSA encryption system is applied, the parsing unit 24 recognizes that the data bit string recorded in the QR code is in the form of a cipher text using the RSA encryption system. The parsing unit 24 decrypts the data bit string in the cipher text form based on the private key database pre-stored in the data management unit 21 to obtain the data bit string in the plain text form.

구체적으로, 구문분석부(24)는 데이터 관리부(21)에 사전 저장된 개인키 데이터베이스에서 해당 암호문을 암호화한 공개키(Public Key)와 매칭되는 개인키가 있는지 검색한다. 매칭되는 개인키가 있는 경우, 해당 개인키를 이용하여 암호화된 데이터 비트열을 복호화할 수 있다.Specifically, the parsing unit 24 searches for a private key matching a public key that encrypted the cipher text in the private key database pre-stored in the data management unit 21 . If there is a matching private key, the encrypted data bit string can be decrypted using the corresponding private key.

상기 개인키 데이터베이스는 서비스 서버(30)와 통신하여 주기적으로 또는 실시간으로 업데이트될 수 있다.The private key database may be updated periodically or in real time by communicating with the service server 30 .

데이트 비트열을 필터링하는 단계(S130)는, 처리자 단말(20)의 필터부(25)가 구문분석부(24)로부터 데이터 비트열을 수신하여 비정상 QR 코드에 해당하는지 여부를 식별하고, 비정상 QR 코드에 해당하는 경우 필터링하는 단계이다.In the step of filtering the data bit string (S130), the filter unit 25 of the processor terminal 20 receives the data bit string from the parsing unit 24 and identifies whether it corresponds to the abnormal QR code, and the abnormal QR This is the stage of filtering if applicable to the code.

본 발명의 일 실시예로, 데이터 비트열을 필터링하는 단계(S130)는, 서비스 유형을 결정하는 단계(S140) 이후에 진행될 수 있다. 즉, 서비스의 유형 및 서비스의 식별자를 결정한 뒤에 해당 QR 코드가 비정상 QR 코드에 해당하는지 식별하여 필터링할 수 있다. 이러한 경우, 비정상 QR 코드에 대해 더 세부적인 데이터 저장이 가능하다. 예를 들어, 서비스 유형 및 서비스 식별자별로 비정상 QR 코드가 발생되는 빈도수, 발견되는 비정상 QR 코드의 유형 등을 추가적으로 파악하여 저장할 수 있다. 또한, 이러한 추가적인 정보를 기초로 서비스 유형 및 서비스 식별자마다 필터링의 대상이 되는 비정상 QR 코드에 대한 데이터베이스를 저장 및 관리할 수 있다.In an embodiment of the present invention, the step of filtering the data bit string ( S130 ) may be performed after the step of determining the service type ( S140 ). That is, after determining the type of service and the identifier of the service, it is possible to identify and filter whether the corresponding QR code corresponds to an abnormal QR code. In this case, it is possible to store more detailed data for the abnormal QR code. For example, the frequency of occurrence of abnormal QR codes for each service type and service identifier, the type of abnormal QR code found, etc. may be additionally identified and stored. In addition, based on such additional information, it is possible to store and manage a database for an abnormal QR code that is a target of filtering for each service type and service identifier.

상술한 바와 같이, 데이터 관리부(21)에는 비정상 QR 코드 데이터베이스가 저장 및 관리된다. 필터부(25)는 획득한 데이터 비트열에 상기 비정상 QR 코드 데이터베이스에 포함된 비트열 또는 패턴이 포함되어 있는지 분석함으로서, 비정상 QR 코드에 해당 여부를 식별한다.As described above, the abnormal QR code database is stored and managed in the data management unit 21 . The filter unit 25 analyzes whether the acquired data bit string includes a bit string or a pattern included in the abnormal QR code database, and identifies whether the obtained data bit string corresponds to the abnormal QR code.

한편, 상기 비정상 QR 코드 데이터베이스는 주기적으로 또는 실시간으로 업데이트될 수 있다.Meanwhile, the abnormal QR code database may be updated periodically or in real time.

필터링하는 과정에 대한 상세한 설명은 후술한다.A detailed description of the filtering process will be described later.

상기 서비스 유형을 결정하는 단계(S140)는, 처리자 단말(20)의 서비스 분류부(26)가 서비스 유형 및 서비스 식별자를 결정하는 단계이다.The step of determining the service type ( S140 ) is a step in which the service classification unit 26 of the processor terminal 20 determines the service type and the service identifier.

서비스 분류부(26)는 구문분석부(24)가 데이트 비트열을 분석한 구문 정보 및 데이터 관리부(21)에 사전 저장된 구문 데이터베이스를 기반으로 분석된 구문 정보와 매칭되는 서비스 유형 및 서비스 식별자를 결정한다.The service classification unit 26 determines the service type and service identifier matching the syntax information analyzed based on the syntax information that the syntax analysis unit 24 analyzes the data bit string and the syntax database pre-stored in the data management unit 21 . do.

상기 상응하는 작업을 처리하는 단계(S150)는, 처리자 단말(20)의 처리부(27)가 결정된 서비스 유형 및 서비스 식별자와 QR 코드에 상응하는 작업을 처리하는 단계이다.The step of processing the corresponding job ( S150 ) is a step in which the processing unit 27 of the processor terminal 20 processes the job corresponding to the determined service type and service identifier and the QR code.

본 발명의 일 실시예로, S150 단계는 해당 데이터 비트열을 상응하는 서비스 식별자의 서비스 서버(30)로 전송하는 단계를 포함한다. 전송된 데이터 비트열은 사용자의 서비스 요청 정보가 담겨 있으며, 서비스 서버(30)가 상응하는 작업을 직접 처리할 수 있다. 다만, 이에 한정되는 것은 아니고 서비스 서버(30)는 서비스 제공에 대한 승인 여부만 결정하여 승인 정보를 처리자 단말(20)로 전송하고, 처리자 단말(20)이 상응하는 작업을 직접 처리할 수도 있다.In an embodiment of the present invention, step S150 includes transmitting the corresponding data bit string to the service server 30 of the corresponding service identifier. The transmitted data bit string contains the user's service request information, and the service server 30 can directly process the corresponding task. However, the present invention is not limited thereto, and the service server 30 may determine only whether to approve the provision of the service, transmit the approval information to the processor terminal 20 , and the processor terminal 20 may directly process the corresponding task.

도 4는 본 발명의 다른 실시예에 따른 데이터 비트열의 구문을 분석하는 단계를 세부적으로 나타내는 흐름도이다.4 is a flowchart illustrating in detail a step of analyzing a syntax of a data bit string according to another embodiment of the present invention.

도 4를 참조하면, 데이터 비트열의 형식을 분석하는 단계(S120)는, 데이터 비트열의 형식을 분석하는 단계(S121), 서비스 유형을 분석하는 단계(123) 및 서비스 식별자를 분석하는 단계(S125)를 포함한다.Referring to FIG. 4 , the step of analyzing the format of the data bit string (S120) includes the step of analyzing the format of the data bit string (S121), the step of analyzing the service type (123), and the step of analyzing the service identifier (S125) includes

즉, 구문분석부(24)는 스캔부(22)가 획득한 데이터 비트열의 형식, 서비스 유형 및 서비스 식별자를 구별할 수 있는 구문 정보를 분석한다. 분석 하는 순서는 도시된 순서에 한정되지 않으며, 동시에 이루어지거나 다른 순서로 진행되는 것도 가능하다. 또한, 형식, 서비스 유형 및 서비스 식별자 중 일부만을 분석하는 것도 가능하다. 구체적인 예로, 특정 서비스 유형마다 구문이 표준화되어 있는 경우, 형식 및 서비스 유형만을 분석하고 서비스 식별자는 분석하지 않을 수 있다.That is, the syntax analysis unit 24 analyzes the syntax information that can distinguish the format, service type, and service identifier of the data bit string obtained by the scan unit 22 . The order of analysis is not limited to the illustrated order, and may be performed simultaneously or in a different order. In addition, it is also possible to analyze only some of the format, service type and service identifier. As a specific example, when the syntax is standardized for each specific service type, only the format and service type may be analyzed and the service identifier may not be analyzed.

도 5는 본 발명의 다른 실시예에 따른 데이터 비트열을 필터링하는 단계를 세부적으로 나타내는 순서도이다.5 is a flowchart illustrating in detail a step of filtering a data bit stream according to another embodiment of the present invention.

도 5를 참조하면, 데이트 비트열을 필터링하는 단계(S130)는, 필터부가 이터 비트열을 수신하는 단계(S131), 비정상 QR 코드에 해당하는지 여부를 식별하는 단계(S133)를 포함한다. 또한, 비정상 QR 코드에 해당하는 경우는 데이터 비트열을 처리부에 전달하지 않고 차단하는 단계(S135) 및 비정상 QR 코드 정보를 저장하는 단계(S137)를 더 포함한다.Referring to FIG. 5 , the step of filtering the data bit string ( S130 ) includes the step of receiving the data bit string by the filter unit ( S131 ) and the step of identifying whether the data bit string corresponds to the abnormal QR code ( S133 ). In addition, if it corresponds to the abnormal QR code, it further includes a step (S135) of blocking the data bit string without transferring the data to the processing unit and a step of storing the abnormal QR code information (S137).

상기 데이터 비트열을 수신하는 단계(S131)는, 처리자 단말(20)의 필터부(25)가 구문분석부(24)로부터 데이터 비트열을 수신하는 단계이다.The step of receiving the data bit stream ( S131 ) is a step in which the filter unit 25 of the processor terminal 20 receives the data bit stream from the parsing unit 24 .

상기 비정상 QR 코드에 해당하는지 여부를 식별하는 단계(S133)는, 처리자 단말(20)의 필터부(25)가 사전 저장된 비정상 QR 코드 데이터베이스에 기초하여 수신한 데이터 비트열이 비정상 QR 코드에 해당하는지 여부를 판단하는 단계이다.The step of identifying whether the abnormal QR code corresponds to the step (S133) is whether the data bit string received by the filter unit 25 of the processor terminal 20 corresponds to the abnormal QR code based on the pre-stored abnormal QR code database. It is a step to determine whether or not

본 발명의 일 실시예로, 패킷 필터링 기술을 이용하여 필터링한다. 상기 비정상 QR 코드 데이터베이스는 위변조 QR 코드 및 악성 QR 코드에 대한 IP주소, TCP/UDP 포트 번호 등에 대한 정보의 집합이다. 따라서, 필터부(25)는 수신한 데이터 비트열이 비정상 QR 코드 데이터베이스에 저장된 IP주소, TCP/UDP 포트 번호 등으로부터 송신된 것인지 여부를 판단한다.In one embodiment of the present invention, filtering is performed using a packet filtering technique. The abnormal QR code database is a set of information on IP addresses, TCP/UDP port numbers, etc. for forged and forged QR codes and malicious QR codes. Accordingly, the filter unit 25 determines whether the received data bit string is transmitted from an IP address, TCP/UDP port number, etc. stored in the abnormal QR code database.

비정상 QR 코드 데이터베이스에 저장된 IP주소, TCP/UDP 포트 번호 등으로부터 송신된 것인 경우, 필터부(25)는 해당 데이터 비트열을 서비스 분류부(26) 또는 처리부(27)에 전달하지 않고 차단하여 필터링한다(S135). 따라서, 악성 공격을 목적으로 하는 비정상 QR 코드를 사전에 차단함으로써, 비정상 QR 코드는 처리가 진행되지 않는다. 이로 인해, 악성 QR 코드 및 위변조 QR 코드로 인해 발생할 수 있는 피해를 예방할 수 있다.If it is transmitted from the IP address, TCP/UDP port number, etc. stored in the abnormal QR code database, the filter unit 25 blocks the corresponding data bit string without passing it to the service classification unit 26 or the processing unit 27 Filtering (S135). Therefore, by blocking the abnormal QR code for the purpose of a malicious attack in advance, the abnormal QR code is not processed. Due to this, it is possible to prevent damage that may occur due to malicious QR codes and forged QR codes.

상기 비정상 QR 코드 정보를 저장하는 단계(S137)는, S133 및 S135 단계에서 비정상 QR 코드에 해당된다고 식별되어 차단된 비정상 QR 코드에 대한 정보를 데이터 관리부(21)에 저장하는 단계이다.The step of storing the abnormal QR code information (S137) is a step of storing information on the abnormal QR code that is identified as corresponding to the abnormal QR code and blocked in steps S133 and S135 in the data management unit 21 .

상기 비정상 QR 코드에 대한 정보에는 해당 비정상 QR 코드 고유의 비트열, 패턴, IP주소, TCP/UDP 포트 번호 등에 대한 정보가 포함된다. 하지만, 이에 한정되는 것은 아니고, 비정상 QR 코드 또는 해당 QR 코드에 기록된 데이터 비트열을 다른 QR 코드 또는 다른 데이터 비트열과 구별할 수 있는 임의의 정보가 포함된다.The information on the abnormal QR code includes information on the unique bit string, pattern, IP address, TCP/UDP port number, etc. of the abnormal QR code. However, the present invention is not limited thereto, and any information capable of distinguishing an abnormal QR code or a data bit string recorded in the corresponding QR code from other QR codes or other data bit strings is included.

S137 단계를 통해, 과거에 필터링된 이력이 있는 비정상 QR 코드에 다시 노출되더라도 쉽게 필터링할 수 있으며, 비정상 QR 코드 데이터베이스가 보다 풍부한 데이터의 집합이 될 수 있다는 효과가 있다.Through step S137, even if it is re-exposed to an abnormal QR code with a filtered history in the past, it can be easily filtered, and there is an effect that the abnormal QR code database can be a richer set of data.

한편, 도 5를 참조하면, S133 단계에서 수신한 데이터 비트열이 비정상 QR 코드에 해당하지 않는다고 식별된 경우는, 일반적인 과정과 동일하게 서비스 분류부(26)가 서비스 유형 및 서비스 식별자를 결정하는 단계(S140), 처리부(27)가 상응하는 작업을 처리하는 단계(S150)를 거치게 된다.Meanwhile, referring to FIG. 5 , when it is identified that the data bit string received in step S133 does not correspond to the abnormal QR code, the service classification unit 26 determines the service type and service identifier in the same manner as in the general process. (S140), the processing unit 27 goes through a step (S150) of processing the corresponding job.

도 6은 본 발명의 일 실시예에 따른 처리자 단말이 QR 코드를 분류하고 처리하는 과정을 개략적으로 나타내는 개념도이다.6 is a conceptual diagram schematically illustrating a process in which a processor terminal classifies and processes a QR code according to an embodiment of the present invention.

도 6을 참조하면, QR 코드를 분류 및 처리하는 과정은 처리자 단말(20)의 스캔부(22), 구문분석부(24), 필터부(25), 서비스 분류부(26)를 거쳐 서비스 유형 및 서비스 식별자까지 확정되면 해당 서비스에 상응하는 작업을 처리하는 과정을 순차적으로 거치며 진행된다. 하지만, 이 순서에 구속되는 것은 아니고 각 과정이 동시에 이루어지거나 다른 순서로 진행될 수도 있다.Referring to FIG. 6 , the process of classifying and processing the QR code goes through the scan unit 22 , the parsing unit 24 , the filter unit 25 , and the service classification unit 26 of the processor terminal 20 , and the service type And when the service identifier is confirmed, the process of processing the task corresponding to the corresponding service is sequentially performed. However, it is not limited to this order, and each process may be performed simultaneously or may be performed in a different order.

구체적인 예로, 서비스 분류부(26)가 필터부(25)보다 먼저 서비스 유형 및 서비스 식별자를 분류하고, 그 이후에 필터부(25)가 비정상 QR 코드를 필터링할 수 있다.As a specific example, the service classification unit 26 may classify the service type and service identifier before the filter unit 25 , and then the filter unit 25 may filter the abnormal QR code.

도 8은 본 발명의 일 실시예에 따른 양방향 QR 코드를 이용한 QR 코드를 분류 및 처리하는 방법을 개략적으로 나타내는 흐름도이다.8 is a flowchart schematically illustrating a method of classifying and processing a QR code using a two-way QR code according to an embodiment of the present invention.

본 발명에서 양방향 QR 코드를 이용하는 방식이란 상술한 내용처럼 사용자 단말(10)에서만 QR 코드를 생성하는 것이 아니고, 상응하는 작업을 처리하는 것으로서, 관리자 단말(20)에서도 별도의 QR 코드를 생성하여 표시하는 방식이다. 도 8을 참조하여 상세히 설명한다.The method of using the two-way QR code in the present invention is not to generate a QR code only in the user terminal 10 as described above, but to process a corresponding task, and also generate and display a separate QR code in the manager terminal 20 way to do it It will be described in detail with reference to FIG. 8 .

앞서 설명한 단방향 QR 코드 방식과 비교하여 추가된 단계를 중점으로 설명한다.Compared to the one-way QR code method described above, the added steps will be mainly described.

도 8을 참조하면, 양방향 QR 코드를 이용한 QR 코드를 분류 및 처리하는 방법은 단방향 QR 코드 방식과 비교하여, 데이터 비트열을 획득하는 단계(S110) 전에, 사용자 단말(10)이 제1 QR 코드를 생성하는 단계(S101), 제1 QR 코드를 전송하는 단계(S103)를 더 포함하고, 상응하는 작업을 처리하는 단계(S150)는, 서비스 요청 정보를 전송하는 단계(S151), 서비스 제공 정보를 전송하는 단계(S152), 처리자 단말(20)이 제2 QR 코드를 생성하는 단계(S153), 제2 QR 코드를 전송하는 단계(S154), 사용자 단말(10)이 처리자 단말(20)로 승인 정보를 전송하는 단계(S155), 처리자 단말(20)이 서비스 서버(30)로 승인 정보를 전송하는 단계(S156) 및 서비스 서버(30)가 서비스를 처리하는 단계(S157)를 포함한다.Referring to Figure 8, the method of classifying and processing a QR code using a two-way QR code is compared with the one-way QR code method, before the step (S110) of obtaining a data bit string, the user terminal 10 is the first QR code The step of generating (S101), further comprising the step of transmitting the first QR code (S103), the step of processing the corresponding job (S150), the step of transmitting the service request information (S151), service providing information transmitting (S152), the processor terminal 20 generating the second QR code (S153), transmitting the second QR code (S154), the user terminal 10 to the processor terminal 20 Transmitting approval information (S155), the processor terminal 20 transmitting the approval information to the service server 30 (S156), and the service server 30 processing the service (S157).

상기 사용자 단말(10)이 제1 QR 코드를 생성하는 단계(S101)는, 사용자 단말(10)이 서비스 요청을 위해 제1 QR 코드를 생성하여 표시하는 단계이다.The step of generating the first QR code by the user terminal 10 (S101) is a step in which the user terminal 10 generates and displays the first QR code for a service request.

상기 제1 QR 코드를 전송하는 단계(S103) 및 데이트 비트열을 획득하는 단계(S110)는, 처리자 단말(20)이 제1 QR 코드를 스캔하여, 제1 QR 코드에 기록된 데이터 비트열을 획득하는 단계이다.In the step (S103) of transmitting the first QR code and the step of obtaining the data bit string (S110), the processor terminal 20 scans the first QR code to obtain the data bit string recorded in the first QR code. This is the acquisition stage.

상기 데이트 비트열을 획득하는 단계(S110), 데이트 비트열의 구문을 분석하는 단계(S120), 데이터 비트열을 필터링하는 단계(S130), 및 서비스 유형을 결정하는 단계(S140)는 도 3을 참조하여 상술한 바와 동일하므로 중복되는 상세한 설명은 생략한다.The step of obtaining the data bit string (S110), the step of analyzing the syntax of the data bit string (S120), the step of filtering the data bit string (S130), and the step of determining the service type (S140) refer to FIG. 3 . Therefore, since it is the same as described above, the overlapping detailed description will be omitted.

상기 서비스 요청 정보를 전송하는 단계(S151)는, 처리자 단말(20)이 서비스 서버(30)로 제1 QR 코드에 기록되어 있던 사용자의 서비스 요청 정보를 전송하는 단계이다.The step of transmitting the service request information ( S151 ) is a step in which the processor terminal 20 transmits the service request information of the user recorded in the first QR code to the service server 30 .

서비스 요청 정보는 사용자가 사용자 단말(10)을 통해 특정 서비스를 요청한 것에 대한 정보이다.The service request information is information about a user requesting a specific service through the user terminal 10 .

상기 서비스 제공 정보를 전송하는 단계(S152)는, 서비스 서버(30)가 처리자 단말(20)로 서비스 요청 정보에 상응하는 서비스 제공 정보를 전송하는 단계이다.The step of transmitting the service provision information ( S152 ) is a step in which the service server 30 transmits service provision information corresponding to the service request information to the processor terminal 20 .

서비스 제공 정보는 서비스 서버(30)가 사용자로부터 요청받은 서비스를 확인하고, 이에 상응하는 서비스를 제공하는 것에 대한 정보이다.The service provision information is information about the service server 30 confirming the service requested by the user and providing a corresponding service.

상기 처리자 단말(20)이 제2 QR 코드를 생성하는 단계(S153)는, 처리자 단말(20)의 처리부(27)가 상응하는 작업의 처리로서, 서비스 서버(30)로부터 수신한 서비스 제공 정보를 기록하여 제2 QR 코드를 생성하고 사용자가 확인할 수 있도록 표시하는 단계이다.In the step (S153) of the processor terminal 20 generating the second QR code, the processing unit 27 of the processor terminal 20 processes the corresponding job, and receives the service provision information received from the service server 30 It is a step of generating a second QR code by recording it and displaying it so that the user can check it.

본 발명의 일 실시예로, 제2 QR 코드에는 제공되는 서비스에 대한 정보가 기록되어 있다. 예를 들어, 제공 서비스가 QR 페이(QR 코드를 이용한 결제 시스템)인 경우, 사용자 정보, 결제 금액, 결제 가맹점, 연결 계좌 또는 카드 등의 정보가 포함될 수 있다.In an embodiment of the present invention, information about a service provided is recorded in the second QR code. For example, when the provided service is QR Pay (a payment system using a QR code), information such as user information, payment amount, payment merchant, connection account or card may be included.

상기 제2 QR 코드를 전송하는 단계(S154)는, 사용자 단말(10)이 처리자 단말(20)에 표시된 제2 QR 코드를 스캔하여, 제2 QR 코드에 기록되어 있는 서비스 제공 정보를 획득하는 단계이다.Transmitting the second QR code (S154), the user terminal 10 scans the second QR code displayed on the processor terminal 20, obtaining the service provision information recorded in the second QR code to be.

상기 사용자 단말(10)이 처리자 단말(20)로 승인 정보를 전송하는 단계(S155) 및 처리자 단말(20)이 서비스 서버(30)로 승인 정보를 전송하는 단계(S156)는, 사용자의 승인 정보가 사용자 단말(10)로부터 처리자 단말(20)을 거쳐서 서비스 서버(30)로 전송되는 단계이다.The user terminal 10 transmits the approval information to the processor terminal 20 (S155) and the processor terminal 20 transmits the approval information to the service server 30 (S156), the user's approval information is transmitted from the user terminal 10 to the service server 30 through the processor terminal 20 .

승인 정보는 양방향 QR 코드 방식을 이용하였을 때, 사용자 단말(20)이 요청한 서비스에 상응하는 작업을 처리하는 것을 승인한 것에 대한 정보이다.The approval information is information about approval of processing a task corresponding to the service requested by the user terminal 20 when the two-way QR code method is used.

사용자는 S154 단계에서 획득한 서비스 제공 정보를 기초로 서비스 요청을 유지 및 진행할지 여부를 결정할 수 있다. 즉, 최종적으로 제공받을 서비스에 대한 정보를 확인하고 승인하는 것이다. 사용자의 승인 정보가 처리자 단말(20) 또는 서비스 서버(30)에 전달되어야만 해당 서비스가 정상적으로 처리될 수 있다.The user may determine whether to maintain and proceed the service request based on the service provision information obtained in step S154. That is, the information on the service to be finally provided is checked and approved. The corresponding service can be normally processed only when the user's approval information is transmitted to the processor terminal 20 or the service server 30 .

본 발명의 다른 실시예로, 도면에는 서비스 서버(30)가 서비스를 처리하는 것만 도시되어 있지만, 서비스를 처리하는 주체가 처리자 단말(20)인 것도 가능하다.As another embodiment of the present invention, although only the service server 30 processes the service in the drawing, it is also possible that the subject processing the service is the processor terminal 20 .

상기 서비스 서버(30)가 서비스를 처리하는 단계(S157)는, 확정된 서비스 내용에 따라 상응하는 작업을 처리하는 단계이다. 상술한 바와 같이, 처리자 단말(20)이 처리하는 것도 가능하다.The step of processing the service by the service server 30 ( S157 ) is a step of processing a corresponding job according to the determined service contents. As described above, it is also possible for the processor terminal 20 to process.

한편, 본 발명의 일 실시예로, QR 코드를 이용한 정보 송수신 과정에서 발생할 수 있는 보안상 문제점을 해결하기 위하여, 사용자 단말(10) 및 처리자 단말(20)이 직접 정보를 송수신하지 않고 중간에 게이트웨이 서버를 통해 정보를 송수신할 수 있다. 즉, 모든 정보가 서버를 경유하여 사용자 단말(10) 또는 처리자 단말(20)로 전송되는 방식이 가능하다.On the other hand, in one embodiment of the present invention, in order to solve a security problem that may occur in the process of transmitting and receiving information using a QR code, the user terminal 10 and the processor terminal 20 do not directly transmit and receive information, but rather a gateway in the middle. Information can be sent and received through the server. That is, a method in which all information is transmitted to the user terminal 10 or the processor terminal 20 via the server is possible.

이러한 방식과 더불어 RSA 암호 시스템을 적용하는 경우는 다음과 같다.In addition to this method, the case of applying the RSA encryption system is as follows.

처리자 단말(20)은 사용자 단말(10)의 화면에 표시된 제1 QR 코드를 스캔하고, 스캔 결과에 기초하여 사용자 단말(10)로부터 제1 QR 코드에 기록되어있는 사용자 단말(10)의 식별 정보 및 데이터 비트열을 수신한다.The processor terminal 20 scans the first QR code displayed on the screen of the user terminal 10, and the identification information of the user terminal 10 recorded in the first QR code from the user terminal 10 based on the scan result and a data bit string.

처리자 단말(20)은 수신한 사용자 단말(10)의 식별 정보를 게이트웨이 서버로 전송한다.The processor terminal 20 transmits the received identification information of the user terminal 10 to the gateway server.

게이트웨이 서버는 처리자 단말(20)로부터 수신한 사용자 단말(10)의 식별 정보를 기초로 하여 해당 사용자 단말(10) 또는 해당 사용자 단말(10)에 내장 및 설치된 어플리케이션 등의 소프트웨어가 지원 대상에 해당하는지 여부를 식별한다.Based on the identification information of the user terminal 10 received from the processor terminal 20, the gateway server determines whether software such as the application built-in and installed in the user terminal 10 or the user terminal 10 corresponds to the support target. Identifies whether

식별 결과, 지원 대상에 해당해야만 다음 단계로 진행이 가능하다. 따라서, 이러한 과정을 통해, 해킹 및 정보유출 등을 목적으로 QR 코드를 임의 생성하거나 변경하는 위법행위를 1차적으로 차단할 수 있는 효과가 있다.As a result of identification, it is possible to proceed to the next step only if it corresponds to the target of support. Therefore, through this process, there is an effect that can primarily block illegal acts of randomly generating or changing QR codes for the purpose of hacking and information leakage.

게이트웨이 서버는 사용자 단말(10)이 지원 대상인지 식별한 결과를 처리자 단말(20)로 전송한다. 지원 대상에 해당하는 경우, 처리자 단말(20)은 상기 수신한 데이터 비트열을 기초로 상술했던 S110, S120, S130, S140 및 S150 과정을 진행하여 QR 코드를 분류 및 처리한다.The gateway server transmits a result of identifying whether the user terminal 10 is a support target to the processor terminal 20 . If it corresponds to the support target, the processor terminal 20 proceeds the above-described processes S110, S120, S130, S140 and S150 based on the received data bit string to classify and process the QR code.

또한, 도 8에서와 같이, 양방향 QR 방식을 적용하여 S151 내지 S157의 단계가 포함되는 방법도 가능하다.In addition, as in FIG. 8, a method including steps S151 to S157 by applying a bidirectional QR method is also possible.

본 발명의 실시예와 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 하드웨어에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. 소프트웨어 모듈은 RAM(Random Access Memory), ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리(Flash Memory), 하드 디스크, 착탈형 디스크, CD-ROM, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터 판독가능 기록매체에 상주할 수도 있다.The steps of a method or algorithm described in relation to an embodiment of the present invention may be implemented directly in hardware, as a software module executed by hardware, or by a combination thereof. A software module may contain random access memory (RAM), read only memory (ROM), erasable programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, hard disk, removable disk, CD-ROM, or It may reside in any type of computer-readable recording medium well known in the art to which the present invention pertains.

이상, 첨부된 도면을 참조로 하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다.As mentioned above, although embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art to which the present invention pertains can realize that the present invention can be embodied in other specific forms without changing its technical spirit or essential features. you will be able to understand Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive.

10 : 사용자 단말
20 : 처리자 단말
30 : 서비스 서버
10: user terminal
20: handler terminal
30: service server

Claims (10)

컴퓨터에 의해 수행되는 방법으로서,
QR 코드를 스캔하여 데이터 비트열을 획득하는 단계;
사전 저장된 구문 데이터베이스에 기초하여 상기 데이터 비트열의 구문을 분석하는 단계;
상기 구문 분석 결과에 따라 복수의 서비스 유형 중 상기 QR 코드에 상응하는 서비스 유형을 결정하는 단계;
상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 단계; 및
상기 구문 분석 결과에 따라 상기 결정된 서비스 유형 중 상기 QR 코드에 상응하는 서비스 식별자를 결정하는 단계를 포함하되,
서비스 유형을 결정하는 단계는,
데이터 비트열의 구문을 분석하여 획득한 구문 정보의 식별코드와 자릿수로 서비스 유형을 분석하고,
서비스 식별자를 결정하는 단계는,
결정된 서비스 식별자를 통해 서비스 유형에 따라 해당 서비스를 제공하는 서비스 사업자를 결정하고,
상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 단계는,
QR 코드에 기록되어 있던 서비스 요청 정보를 전송하는 단계;
서비스 요청 정보에 상응하는 서비스 제공 정보를 전송하는 단계;
수신한 서비스 제공 정보를 기록하여 서비스 QR 코드를 생성하는 단계;
서비스 QR 코드를 스캔하여 서비스 QR 코드에 기록되어 있는 서비스 제공 정보를 전송하는 단계;
요청한 서비스에 대한 승인 정보 전송으로 서비스를 처리하는 단계를 포함하는,
QR 코드를 분류 및 처리하는 방법.
A method performed by a computer comprising:
obtaining a data bit string by scanning the QR code;
parsing the syntax of the data bit string based on a pre-stored syntax database;
determining a service type corresponding to the QR code from among a plurality of service types according to the parsing result;
processing the job corresponding to the QR code and the service type; and
Comprising the step of determining a service identifier corresponding to the QR code among the determined service types according to the parsing result,
The steps to determine the service type are:
Analyze the service type with the identification code and digits of the syntax information obtained by analyzing the syntax of the data bit string,
Determining the service identifier comprises:
Determine the service provider that provides the service according to the service type through the determined service identifier;
The step of processing the job corresponding to the QR code and the service type,
transmitting the service request information recorded in the QR code;
transmitting service provision information corresponding to service request information;
generating a service QR code by recording the received service provision information;
Sending service provision information recorded in the service QR code by scanning the service QR code;
Including processing the service by sending authorization information for the requested service;
How to classify and process QR codes.
삭제delete 제1항에 있어서,
상기 사전 저장된 구문 데이터베이스는,
하나 이상의 서비스 유형 및 상기 서비스 유형에 상응하는 하나 이상의 구문 정보를 저장하고 있는, QR 코드를 분류 및 처리하는 방법.
According to claim 1,
The pre-stored syntax database,
A method of classifying and processing QR codes, storing one or more service types and one or more syntax information corresponding to the service types.
제1항에 있어서,
상기 QR 코드가 비정상 QR 코드에 해당하는 경우, 상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 QR 코드 처리부에 상기 데이터 비트열을 전달하지 않고 차단하여 필터링하는 단계를 더 포함하는, QR 코드를 분류 및 처리하는 방법.
According to claim 1,
When the QR code corresponds to an abnormal QR code, further comprising the step of filtering by blocking the data bit string without passing the data bit string to the QR code processing unit that processes the job corresponding to the QR code and the service type, QR code How to classify and process them.
제4항에 있어서,
상기 필터링하는 단계는,
악성 QR 코드 또는 위변조 QR 코드를 포함하는 비정상 QR 코드가 사전 저장된 비정상 QR 코드 데이터베이스에 기초하여, 상기 QR 코드가 상기 비정상 QR 코드에 해당하는지 여부를 식별하는 단계; 및
상기 식별 결과, 상기 QR 코드가 상기 비정상 QR 코드에 해당하는 경우, 상기 QR 코드 처리부에 상기 데이터 비트열을 전달하지 않고 차단하여 필터링하는 단계를 포함하는, QR 코드를 분류 및 처리하는 방법.
5. The method of claim 4,
The filtering step is
identifying whether the QR code corresponds to the abnormal QR code based on the abnormal QR code database in which the abnormal QR code including the malicious QR code or forged QR code is pre-stored; and
As a result of the identification, when the QR code corresponds to the abnormal QR code, the method of classifying and processing a QR code, comprising the step of filtering by blocking without transmitting the data bit string to the QR code processing unit.
제5항에 있어서,
상기 비정상 QR 코드에 대한 정보를 저장하는 단계를 더 포함하는, QR 코드를 분류 및 처리하는 방법.
6. The method of claim 5,
The method of classifying and processing a QR code, further comprising the step of storing information about the abnormal QR code.
제1항에 있어서,
상기 작업을 처리하는 단계는,
상기 서비스 유형에 상응하는 서비스 서버에 상기 데이터 비트열의 적어도 일부를 전달하는 단계를 포함하는, QR 코드를 분류 및 처리하는 방법.
According to claim 1,
The steps of processing the above work are:
A method of classifying and processing a QR code, comprising the step of delivering at least a portion of the data bit stream to a service server corresponding to the service type.
삭제delete 하드웨어인 컴퓨터와 결합되어, 제1항 및 제3항 내지 제7항 중 어느 한 항의 방법을 실행시키기 위하여 컴퓨터 판독가능 기록매체에 저장된, 컴퓨터 프로그램.A computer program, which is stored in a computer-readable recording medium in combination with a computer as hardware, to execute the method of any one of claims 1 and 3 to 7. 구문 데이터베이스를 저장 및 관리하는 데이터 관리부;
QR 코드를 스캔하여 상기 QR 코드에 기록된 데이터 비트열을 획득하는 스캔부;
상기 데이터 비트열의 구문을 상기 구문 데이터베이스에 기초하여 분석하는 구문분석부;
상기 구문 분석 결과에 따라 복수의 서비스 유형 중 상기 QR 코드에 상응하는 서비스 유형을 결정하는 서비스 분류부; 및
상기 QR 코드 및 상기 서비스 유형에 상응하는 작업을 처리하는 처리부를 포함하고,
서비스 분류부는,
구문분석부의 구문 분석 결과에 따라 상기 결정된 서비스 유형 중 상기 QR 코드에 상응하는 서비스 식별자를 결정하되,
데이터 비트열의 구문을 분석하여 획득한 구문 정보의 식별코드와 자릿수로 서비스 유형을 분석하고,
결정된 서비스 식별자를 통해 서비스 유형에 따라 해당 서비스를 제공하는 서비스 사업자를 결정하고,
처리부는,
QR 코드에 기록되어 있던 서비스 요청 정보를 서비스 서버로 전송하고,
서비스 요청 정보에 상응하는 서비스 제공 정보를 서비스 서버로부터 수신하고,
수신한 서비스 제공 정보를 기록하여 서비스 QR 코드를 생성하고,
사용자 단말의 서비스 QR 코드 스캔을 통해 서비스 QR 코드에 기록되어 있는 서비스 제공 정보를 사용자 단말로 전송하고,
요청한 서비스에 대한 승인 정보를 사용자 단말로부터 수신하고, 승인 정보를 서비스 서버로 송신하는,
QR 코드를 분류 및 처리하는 장치.
a data management unit for storing and managing the syntax database;
a scanning unit to scan a QR code to obtain a data bit string recorded in the QR code;
a syntax analysis unit that analyzes the syntax of the data bit string based on the syntax database;
a service classification unit for determining a service type corresponding to the QR code from among a plurality of service types according to the parsing result; and
A processing unit for processing a job corresponding to the QR code and the service type,
service classification department,
Determining a service identifier corresponding to the QR code among the determined service types according to the result of parsing analysis by the parsing unit,
Analyze the service type with the identification code and digits of the syntax information obtained by analyzing the syntax of the data bit string,
Determine the service provider that provides the service according to the service type through the determined service identifier;
processing unit,
Send the service request information recorded in the QR code to the service server,
Receive service provision information corresponding to service request information from the service server,
Record the received service provision information to generate a service QR code,
By scanning the service QR code of the user terminal, the service provision information recorded in the service QR code is transmitted to the user terminal,
Receiving approval information for the requested service from the user terminal, and transmitting the approval information to the service server,
A device for classifying and processing QR codes.
KR1020190073817A 2019-06-21 2019-06-21 Method, computer program and apparatus for classifiying and processing quick response codes KR102272922B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190073817A KR102272922B1 (en) 2019-06-21 2019-06-21 Method, computer program and apparatus for classifiying and processing quick response codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190073817A KR102272922B1 (en) 2019-06-21 2019-06-21 Method, computer program and apparatus for classifiying and processing quick response codes

Publications (2)

Publication Number Publication Date
KR20200145176A KR20200145176A (en) 2020-12-30
KR102272922B1 true KR102272922B1 (en) 2021-07-05

Family

ID=74088439

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190073817A KR102272922B1 (en) 2019-06-21 2019-06-21 Method, computer program and apparatus for classifiying and processing quick response codes

Country Status (1)

Country Link
KR (1) KR102272922B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101954642B1 (en) * 2018-07-19 2019-03-06 주식회사 마더테란 Service system and method for processing information based on identification code

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101450013B1 (en) 2013-12-20 2014-10-13 주식회사 시큐브 Authentication system and method using Quick Response(QR) code
KR101891300B1 (en) * 2016-03-25 2018-08-23 주식회사 수산아이앤티 Method and apparatus for providing secure internet connection
KR102033621B1 (en) * 2017-08-28 2019-10-21 주식회사 누리비젼 System for detecting false qr code

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101954642B1 (en) * 2018-07-19 2019-03-06 주식회사 마더테란 Service system and method for processing information based on identification code

Also Published As

Publication number Publication date
KR20200145176A (en) 2020-12-30

Similar Documents

Publication Publication Date Title
US11877213B2 (en) Methods and systems for asset obfuscation
US20200252797A1 (en) System and method for dynamic multifactor authentication
EP2885904B1 (en) User-convenient authentication method and apparatus using a mobile authentication application
CN101375546B (en) System and method for fraud monitoring, detection, and tiered user authentication
US8739278B2 (en) Techniques for fraud monitoring and detection using application fingerprinting
US11223610B2 (en) Computerized authorization system and method
JP2018513650A (en) Data forgery recognition method for two-dimensional code security check
US20130121490A1 (en) Method and apparatus for trust based data scanning, capture, and transfer
CN100557556C (en) The online data encrypt and decrypt
US11374933B2 (en) Securing digital data transmission in a communication network
US10972465B1 (en) Secure authentication through visual codes containing unique metadata
KR102073563B1 (en) Financial transaction method and system using financial automation device based on qr code
CN107395600B (en) Service data verification method, service platform and mobile terminal
US10615975B2 (en) Security authentication method for generating secure key by combining authentication elements of multi-users
KR102272922B1 (en) Method, computer program and apparatus for classifiying and processing quick response codes
CN104618306A (en) Novel integrated mobile phone data transmission key signal encryption method
US20190303924A1 (en) AliasIdentity: The Payment Invention
US7997479B2 (en) Reader with integrated encryption unit
WO2021137753A1 (en) Electronic authentication system and process using the same
AU2021105297A4 (en) Electronic authentication system and process using the same
US20210377302A1 (en) Systems and methods for preventing the fraudulent sending of data from a computer application to a malicious third party
KR20160014865A (en) User authentication method, server performing the same and system performing the same
KR20080096230A (en) Information protecting method on the web

Legal Events

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