KR20200038451A - System, method and program for providing virtual code, vritual code generator and vritual code verification device - Google Patents

System, method and program for providing virtual code, vritual code generator and vritual code verification device Download PDF

Info

Publication number
KR20200038451A
KR20200038451A KR1020200041500A KR20200041500A KR20200038451A KR 20200038451 A KR20200038451 A KR 20200038451A KR 1020200041500 A KR1020200041500 A KR 1020200041500A KR 20200041500 A KR20200041500 A KR 20200041500A KR 20200038451 A KR20200038451 A KR 20200038451A
Authority
KR
South Korea
Prior art keywords
code
virtual
virtual code
storage location
search
Prior art date
Application number
KR1020200041500A
Other languages
Korean (ko)
Other versions
KR102177461B1 (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 KR1020200041500A priority Critical patent/KR102177461B1/en
Publication of KR20200038451A publication Critical patent/KR20200038451A/en
Priority to KR1020200146512A priority patent/KR102329227B1/en
Application granted granted Critical
Publication of KR102177461B1 publication Critical patent/KR102177461B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/385Payment protocols; Details thereof using an alias or single-use codes

Abstract

The present invention relates to a system, method, and program for providing a virtual code, a virtual code generation device, and a virtual code verification device. According to one embodiment of the present invention, the method, capable of retrieving an actual code based on a virtual code, comprises: a virtual code reception step (S200) of receiving a virtual code from a virtual code generation means by a virtual code verification means; a step (S400) of extracting a plurality of detailed codes included in the virtual code by the virtual code verification means; and an actual code search step (S600) of retrieving a storage location of an actual code based on the plurality of detailed codes by the virtual code verification means.

Description

가상코드제공시스템, 가상코드생성장치, 가상코드검증장치, 가상코드제공방법 및 가상코드제공프로그램 {SYSTEM, METHOD AND PROGRAM FOR PROVIDING VIRTUAL CODE, VRITUAL CODE GENERATOR AND VRITUAL CODE VERIFICATION DEVICE}Virtual code providing system, virtual code generating device, virtual code verification device, virtual code providing method and virtual code providing program {SYSTEM, METHOD AND PROGRAM FOR PROVIDING VIRTUAL CODE, VRITUAL CODE GENERATOR AND VRITUAL CODE VERIFICATION DEVICE}

본 발명은 가상코드제공시스템, 가상코드생성장치, 가상코드검증장치, 가상코드제공방법 및 가상코드제공프로그램에 관한 것으로, 보다 자세하게는 각 시점마다 중복되지 않게 생성되는 가상코드를 생성하고 이를 기반으로 실제코드를 탐색하는 시스템, 방법 및 프로그램과 각 시점마다 중복되지 않은 가상코드를 생성하는 장치 및 이를 기반으로 실제코드를 탐색하는 장치에 관한 것이다.The present invention relates to a virtual code providing system, a virtual code generating device, a virtual code verifying device, a virtual code providing method and a virtual code providing program, and more specifically, to generate a virtual code that is not duplicated at each time point and based on this The present invention relates to a system, method and program for searching for real code, a device for generating virtual code that does not overlap at each time point, and a device for searching for real code based on the same.

코드 형태데이터는 많은 영역에서 이용되고 있다. 결제 시에 이용되는 카드번호, 계좌번호뿐만 아니라 사용자 식별을 위한 IPIN번호, 주민등록번호 등이 코드형태 데이터이다.Code type data is used in many areas. Not only the card number and account number used at the time of payment, but also the IPIN number for identification of the user and the social security number are code type data.

그러나 이러한 코드데이터를 이용하는 과정에서 유출되는 사고가 많이 발생한다. 카드번호의 경우, 카드표면에 실제카드번호가 그대로 기재되어 있어서 타인에게 시각적으로 유출되며, 마그네틱을 이용한 결제 시에 카드번호가 그대로 POS장치로 전달되면서 유출된다.However, many accidents are leaked in the process of using such code data. In the case of the card number, the actual card number is written on the card surface as it is, so it is visually leaked to others, and the card number is transferred to the POS device as it is when the payment is made using magnetic.

실제코드가 그대로 유출되지 않도록 하기 위해 가상코드를 이용하고자 하는 시도가 많았으나, 가상코드에 대응되는 실제코드를 탐색하기 위해 사용자를 식별하기 위한 데이터가 필요하였다. 예를 들어, OTP(One Time Password)의 경우, 시간마다 코드가 변경되어 생성되지만, 사용자에게 부여된 알고리즘 판단을 위해 로그인 절차가 필요하여 다양한 영역에 적용되기 어렵다.Many attempts have been made to use the virtual code to prevent the actual code from leaking, but data to identify the user was required to search for the actual code corresponding to the virtual code. For example, in the case of OTP (One Time Password), the code is changed and generated each time, but it is difficult to apply to various areas because a login procedure is required to determine the algorithm granted to the user.

따라서, 실제코드에 대응되는 사용자나 장치에 대한 식별정보를 제공하지 않으면서 실시간으로 변동되는 가상코드를 기반으로 실제코드를 탐색할 수 있는 발명이 필요하다.Accordingly, there is a need for an invention capable of searching for real codes based on virtual codes that change in real time without providing identification information for users or devices corresponding to the real codes.

한국등록특허 10-1316466호 (2013.10.01)Korean Registered Patent 10-1316466 (2013.10.01)

본 발명은 가상코드생성수단 식별을 위한 별도 절차 없이 가상코드를 기반으로 실제코드를 탐색할 수 있는, 가상코드제공시스템, 가상코드생성장치, 가상코드검증장치, 가상코드제공방법 및 가상코드제공프로그램을 제공하고자 한다.The present invention provides a virtual code providing system, a virtual code generating device, a virtual code verifying device, a virtual code providing method and a virtual code providing program capable of searching for actual code based on the virtual code without a separate procedure for identifying the virtual code generating means Want to provide

또한, 본 발명은 모든 가상코드생성수단에서 전체 주기 내에 중복 생성되지 않으면서 단위카운트 간격으로 신규 생성되는 가상코드를 제공하는. 가상코드제공시스템, 가상코드생성장치, 가상코드검증장치, 가상코드제공방법 및 가상코드제공프로그램을 제공하고자 한다.In addition, the present invention provides a virtual code that is newly generated at a unit count interval without being duplicated within the entire cycle in all virtual code generation means. It is intended to provide a virtual code providing system, a virtual code generating device, a virtual code verification device, a virtual code providing method and a virtual code providing program.

본 발명이 해결하고자 하는 과제들은 이상에서 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.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.

본 발명의 일실시예에 따른 가상코드제공방법은, 가상코드검증수단이 가상코드생성수단으로부터 가상코드를 수신하되, 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것인, 가상코드 수신단계; 상기 가상코드검증수단이 상기 가상코드에 포함된 복수의 세부코드를 추출하는 단계; 및 상기 가상코드검증수단이 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색하는 실제코드 탐색단계;를 포함하고, 상기 가상코드검증수단과 상기 가상코드생성수단은 동일한 가상코드생성함수를 포함하는 것이며, 상기 세부코드는, 저장위치탐색의 시작지점을 설정하는 제1코드; 및 특정한 탐색방식에 따라, 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하고, 상기 제1코드 및 상기 제2코드는 단위카운트마다 변경되며, 상기 가상코드검증수단은, 단위카운트마다 생성되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고, 단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며, 상기 단위카운트는 특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것이다.In the method for providing a virtual code according to an embodiment of the present invention, the virtual code verification means receives the virtual code from the virtual code generation means, and the virtual code is generated by combining a plurality of detailed codes according to specific rules. Virtual code receiving step; The virtual code verification means extracting a plurality of detailed codes included in the virtual code; And a real code search step in which the virtual code verification means searches a storage location of the real code based on a plurality of detailed codes. The virtual code verification means and the virtual code generation means include the same virtual code generation function. The detailed code includes: a first code for setting a start point of a search for a storage location; And a second code for setting a search path from the starting point to the storage location according to a specific search method, wherein the first code and the second code are changed for each count, and the virtual code verification means Includes a storage location search algorithm that adjusts the storage location of the actual code to match the first code and the second code generated for each unit count, and when the virtual code normally generated for each unit count is received, the first code It characterized in that the point moved according to the search path corresponding to the second code from the starting point corresponding to the code is calculated as the storage location, the unit count is set to a specific time interval, the time interval elapses It will change as it becomes.

또한, 다른 일실시예로, 상기 가상코드생성함수는, M개 문자로 N자리의 상기 제1코드 또는 상기 제2코드를 생성하는 경우, 상이한 MN개의 코드를 단위카운트마다 순차적으로 변경되는 제1코드 또는 제2코드로 제공하는 제1함수 또는 제2함수를 포함한다.Further, in another embodiment, the virtual code generation function, when generating the first code or the second code of the N digits in M characters, different M N codes are sequentially changed for each unit count. It includes the first function or the second function provided by one code or second code.

또한, 다른 일실시예로, 상기 제2코드는, 상기 실제코드를 신규생성한 시점으로부터 경과된 단위카운트를 기반으로 생성되는 것이다.In addition, in another embodiment, the second code is generated based on a unit count elapsed from the time when the actual code is newly generated.

또한, 다른 일실시예로, 상기 실제코드탐색단계는, 상기 저장위치탐색알고리즘이 k(k는 MN)개의 코드가 나열된 트랙 상을 k각형이 각 코드가 배치된 지점에 꼭지점이 대응되면서 구름이동하는 것인 경우, 상기 가상코드생성수단으로부터 수신된 상기 가상코드 내 제1코드에 대응하는 트랙 상의 지점으로 k각형을 구름이동하는 단계; 상기 제1코드에 대응하는 위치를 탐색시작지점으로 설정하고, 상기 제2코드에 적용된 탐색방식에 따라 제2코드를 기반으로 k각형의 배치상태에서의 저장위치를 탐색하되, 상기 저장위치는 상기 k각형의 각각의 꼭지점에 매칭되는 것인, 저장위치탐색단계; 및 상기 저장위치에 포함된 실제코드를 추출하는 단계;를 포함한다.In addition, in another embodiment, the actual code search step, the storage location search algorithm is a k (k is M N ) on the track listing the code list k k is a vertex corresponding to the point where each code is placed in the cloud If moving, moving the k-angle to a point on the track corresponding to the first code in the virtual code received from the virtual code generating means; The location corresponding to the first code is set as the search start point, and the storage location in the k-angle arrangement state is searched for based on the second code according to the search method applied to the second code. a storage location search step of matching each vertex of the k-gon; And extracting the actual code included in the storage location.

또한, 다른 일실시예로, 특정한 가상코드생성수단으로부터 특정한 카운트에 신규로 실제코드 생성이 요청되면, 상기 특정한 카운트에 k각형의 특정한 꼭지점에 대응되는 저장위치에 실제코드를 저장하되, 상기 특정한 꼭지점은 상기 특정한 카운트에 트랙 상에 접한 것인, 실제코드 저장단계;를 더 포함한다.Further, according to another embodiment, when a new actual code is requested to be generated from a specific virtual code generating means, a real code is stored in a storage location corresponding to a specific vertex of a k-angle to the specific count, and the specific vertex is generated. It further comprises the step of storing the actual code, which is on the track at the specific count.

또한, 다른 일실시예로, 상기 가상코드생성함수는, 복수의 세부코드를 배열하는 규칙에 해당하는 세부코드결합함수를 포함하는 것이다.Further, in another embodiment, the virtual code generation function includes a detailed code combining function corresponding to a rule for arranging a plurality of detailed codes.

또한, 다른 일실시예로, 상기 가상코드는 상기 가상코드생성수단이 포함된 그룹을 판단하는 고정코드를 더 포함하고, 상기 세부코드생성함수는, M개의 문자를 오름차순으로 나열하는 특정한 나열규칙이 적용된 것이며, 상기 문자는 대문자알파벳, 소문자알파벳, 숫자 및 특수문자 중 적어도 하나를 포함하는 것이다.Further, in another embodiment, the virtual code further includes a fixed code for determining a group including the virtual code generation means, and the detailed code generation function has a specific listing rule that lists M characters in ascending order. Applied, the character is to include at least one of uppercase alphabet, lowercase alphabet, numbers and special characters.

또한, 다른 일실시예로, 상기 가상코드는 상기 가상코드생성수단이 포함된 그룹을 판단하는 고정코드를 더 포함하고, 상기 세부코드추출단계는, 상기 가상코드 내에서 상기 고정코드를 추출하고, 상기 고정코드를 기반으로 상기 가상코드생성수단의 그룹을 판단하여, 상기 그룹에 대한 상기 가상코드생성함수 또는 상기 저장위치탐색알고리즘을 결정하는 것을 특징으로 한다.Further, in another embodiment, the virtual code further includes a fixed code for determining a group including the virtual code generating means, and the detailed code extraction step extracts the fixed code from within the virtual code, And determining the group of the virtual code generation means based on the fixed code, and determining the virtual code generation function or the storage location search algorithm for the group.

또한, 다른 일실시예로, 상기 가상코드는 특정한 자릿수의 보안코드를 더 포함하고, 상기 가상코드검증수단이 상기 가상코드생성수단으로부터 수신한 수신보안코드와 상기 가상코드검증수단 내에서 생성된 생성보안코드의 일치여부를 판단하여 가상코드를 검증하는 단계;를 더 포함한다.Further, in another embodiment, the virtual code further includes a security code having a specific number of digits, and the generated virtual code verification means generated by the virtual code verification means and the received security code received from the virtual code generation means And determining whether the security codes match or not and verifying the virtual codes.

또한, 다른 일실시예로, 상기 보안코드는 가상코드생성수단의 고유식별값 및 생성시간데이터를 함수값으로 하여 생성되는 것이고, 상기 가상코드검증수단은 가상코드생성수단에 대한 실제코드 생성 시에 상기 고유식별값을 수신하여 저장하는 것을 특징으로 한다.In addition, in another embodiment, the security code is generated by using the unique identification value and generation time data of the virtual code generation means as function values, and the virtual code verification means is generated when the actual code for the virtual code generation means is generated. And receiving and storing the unique identification value.

또한, 다른 일실시예로, 상기 가상코드검증수단이 상기 제1코드 또는 상기 제2코드를 상기 제1함수 또는 제2함수의 역함수를 적용하여 정상적으로 생성된 가상코드에 해당하는지 검증하는 단계;를 더 포함한다.In another embodiment, verifying whether the virtual code verification means corresponds to the virtual code normally generated by applying the inverse function of the first function or the second function to the first code or the second code; It includes more.

또한, 다른 일실시예로, 상기 가상코드생성수단으로부터 수신된 제1수신코드와 상기 가상코드검증수단에서 생성된 제1함수에 따라 생성된 제1생성코드를 비교하는 단계; 상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위 내에 포함되면 상기 제1수신코드를 상기 시작지점으로 하는 제1코드로 설정하는 단계; 및 상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위를 벗어나면 비정상코드로 판단하는 단계;를 더 포함한다.In another embodiment, comparing the first received code generated according to the first function generated by the virtual code verification means and the first received code received from the virtual code generation means; If the first received code is included in an error tolerance range from the first generated code, setting the first received code as a first code as the starting point; And determining that the first received code is an abnormal code when it is out of an error tolerance range from the first generated code.

본 발명의 다른 일실시예에 따른 가상코드제공프로그램은, 하드웨어와 결합되어 상기 언급된 가상코드제공방법을 실행하며, 매체에 저장된다.The virtual code providing program according to another embodiment of the present invention is combined with hardware to execute the aforementioned virtual code providing method, and is stored in a medium.

본 발명의 또 다른 일실시예에 따른 가상코드생성장치는, 하나 이상의 세부코드를 생성하는 세부코드생성부; 상기 하나 이상의 세부코드를 조합하여 가상코드로 생성하는 가상코드생성부; 및 상기 가상코드를 가상코드검증장치로 제공하기 위해 외부로 출력하는 가상코드제공부;를 포함하고, 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이고, 상기 세부코드는, 상기 가상코드검증장치에서 저장위치의 탐색시작지점을 설정하는 제1코드; 및 특정한 탐색방식에 따라, 가상코드검증장치에서 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하는 것이고, 상기 제1코드 및 상기 제2코드는 단위카운트마다 변경되며, 상기 가상코드검증장치는, 단위카운트마다 생성되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고, 단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 탐색시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며, 상기 단위카운트는, 특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것이다.The virtual code generation growth value according to another embodiment of the present invention includes: a detailed code generation unit generating one or more detailed codes; A virtual code generation unit for generating the virtual code by combining the one or more detailed codes; And a virtual code providing unit outputting the virtual code to the outside to provide the virtual code to the virtual code verification device, wherein the virtual code is generated by combining a plurality of detailed codes according to specific rules. A first code for setting a search start point of a storage location in the virtual code verification device; And a second code that sets a search path from the starting point to the storage location in the virtual code verification device according to a specific search method. The first code and the second code are changed for each unit count. , The virtual code verification device includes a storage location search algorithm for adjusting the storage location of the actual code to match the first code and the second code generated for each unit count, and the virtual code normally generated for each unit count is When received, it is characterized in that a point moved along the search path corresponding to the second code from the search start point corresponding to the first code is calculated as the storage location, and the unit count is set at a specific time interval. It is set, and changes as the time interval elapses.

본 발명의 또 다른 일실시예에 따른 가상코드검증장치는, 가상코드생성장치로부터 가상코드를 수신하는 수신부; 상기 가상코드에 포함된 복수의 세부코드를 추출하는 세부코드추출부; 및 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색하는 실제코드 탐색부;를 포함하고, 상기 가상코드검증장치와 상기 가상코드생성장치는 동일한 가상코드생성함수를 포함하는 것이며, 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이고, 상기 세부코드는, 실제코드탐색부에서 저장위치탐색의 탐색시작지점을 설정하는 제1코드; 및 특정한 탐색방식에 따라, 실제코드탐색부에서 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하는 것이고, 상기 실제코드탐색부는, 상기 가상코드생성장치에서 단위카운트마다 변경되어 제공되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고, 단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 탐색시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며, 상기 단위카운트는, 특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것이다.According to another embodiment of the present invention, a virtual code verification device includes: a reception unit that receives a virtual code from a virtual code generation device; A detailed code extraction unit for extracting a plurality of detailed codes included in the virtual code; And a real code search unit for searching a storage location of the real code based on a plurality of detailed codes, wherein the virtual code verification device and the virtual code generation growth value include the same virtual code generation function, and the virtual code Is generated by combining a plurality of detailed codes according to a specific rule, the detailed codes comprising: a first code for setting a search start point of a storage location search in an actual code search unit; And a second code for setting a search path from the starting point to the storage location in the real code search unit according to a specific search method, wherein the real code search unit is configured for each unit count in the virtual code generation device. And a storage location search algorithm that adjusts the storage location of the actual code to match the first code and the second code provided by modification, and when the virtual code normally generated for each unit count is received, corresponds to the first code. It characterized in that the point moved according to the search path corresponding to the second code from the search start point is calculated as the storage location, the unit count is set to a specific time interval, the time interval elapses It will change accordingly.

상기와 같은 본 발명에 따르면, 아래와 같은 다양한 효과들을 가진다.According to the present invention as described above, it has various effects as follows.

첫째, 단위카운트마다 가상코드가 신규로 생성되며, 중복되는 가상코드가 정해진 전 주기 내에 등장하지 않으므로, 가상코드 유출 시에도 실제코드가 유출되지 않는 효과를 제공한다.First, since virtual codes are newly generated for each unit count, and duplicate virtual codes do not appear within a predetermined period, the actual code is not leaked even when the virtual codes are leaked.

둘째, 가상코드생성장치와 실제코드를 이용하는 장치(예를 들어, 금융사서버, IOT디바이스 등)에만 가상코드생성 및 실제코드 탐색을 위한 알고리즘이 추가되면 되므로, 기존에 실제코드를 이용하는 프로세스를 그대로 유지할 수 있다. 예를 들어, 스마트카드 또는 앱카드에 중복생성되지 않는 가상카드번호를 생성하여 제공되는 경우, POS장치와 PG사서버는 그대로 유지되어 가상카드번호를 카드사서버로 전달하고, 카드사버서가 가상카드번호에 상응하는 실제카드번호를 탐색하여 결제를 진행할 수 있다. 이를 통해, 보안성을 높이기 위해 기존프로세스 내에서 변경되어야 하는 부분을 최소화할 수 있고, 사용자는 보안성 향상을 위한 별도 단계를 수행하지 않아도 된다.Second, since algorithms for generating virtual code and searching for real code need only be added to the virtual code generating device and the device using the actual code (for example, a financial company server, IOT device, etc.), the existing process using the actual code is maintained. You can. For example, if a smart card or an app card is provided by generating a virtual card number that is not duplicated, the POS device and the PG company server are maintained and the virtual card number is transferred to the card company server, and the card server server is assigned to the virtual card number. Payment can be performed by searching the corresponding actual card number. Through this, it is possible to minimize the portion to be changed in the existing process in order to increase security, and the user does not need to perform a separate step to improve security.

셋째, 가상코드생성함수를 구현하는 방식이 매우 다양하여, 그룹별, 적용분야별로 상이한 가상코드생성함수를 적용할 수 있다.Third, there are various ways to implement the virtual code generation function, so different virtual code generation functions can be applied for each group and each application field.

도 1은 본 발명의 일실시예에 따른 가상코드제공시스템의 구성도이다.
도 2는 본 발명의 일실시예에 따른 가상코드생성장치의 구성도이다.
도 3 내지 도 4는 본 발명의 실시예들에 따른 가상코드검증장치의 구성도이다.
도 5는 본 발명의 일실시예에 따른 가상코드제공방법의 순서도이다.
도 6은 본 발명의 일실시예에 따라 k각형의 구름이동을 통해 실제코드 저장위치를 탐색하는 저장위치탐색알고리즘에 대한 예시도면이다.
도 7은 본 발명의 일실시예에 따른 k각형 구름이동에 따른 실제코드 탐색과정을 포함하는 가상코드제공방법의 순서도이다.
도 8은 본 발명의 일실시예에 따른 실제코드를 발급하여 저장위치에 저장하는 과정을 더 포함하는 가상코드제공방법의 순서도이다.
도 9는 본 발명의 일실시예에 따른 가상코드검증과정을 더 포함하는 가상코드제공방법의 순서도이다.
도 10은 본 발명의 일실시예에 따른 가상코드의 비정상코드 여부 판단과정을 더 포함하는 가상코드제공방법의 순서도이다.
1 is a configuration diagram of a virtual code providing system according to an embodiment of the present invention.
2 is a block diagram of an apparatus for generating a virtual code according to an embodiment of the present invention.
3 to 4 are configuration diagrams of a virtual code verification device according to embodiments of the present invention.
5 is a flowchart of a method for providing a virtual code according to an embodiment of the present invention.
6 is an exemplary diagram of a storage location search algorithm for searching a real code storage location through a k-shaped cloud movement according to an embodiment of the present invention.
7 is a flow chart of a method for providing a virtual code including an actual code search process according to a k-angle cloud movement according to an embodiment of the present invention.
8 is a flowchart of a method for providing a virtual code, further comprising issuing an actual code and storing it in a storage location according to an embodiment of the present invention.
9 is a flow chart of a method for providing a virtual code further comprising a virtual code verification process according to an embodiment of the present invention.
10 is a flowchart of a method for providing a virtual code further comprising a process of determining whether the virtual code is abnormal according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 게시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 게시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Advantages and features of the present invention, and methods for achieving them will be clarified with reference to embodiments described below in detail together 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 the embodiments allow the publication of the present invention to be complete, and common knowledge in the art to which the present invention pertains It is provided to completely inform the person having the scope of the invention, and the present invention is only defined by the scope of the claims. The same reference numerals refer to the same components throughout the specification.

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

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다.The terminology used herein is for describing the embodiments and is not intended to limit the present invention. In this specification, the singular form also includes the plural form unless otherwise specified in the phrase. As used herein, “comprises” and / or “comprising” does not exclude the presence or addition of one or more other components other than the components mentioned.

본 명세서에서 '문자'는 코드를 구성하는 구성요소로서, 대문자알파벳, 소문자알파벳, 숫자 및 특수문자 등의 전부 또는 일부를 포함한다.In this specification, 'letter' is a component constituting the code, and includes all or part of uppercase and lowercase alphabets, numbers, and special characters.

본 명세서에서 '코드'는 문자가 나열된 문자열을 의미한다.In this specification, 'code' means a character string.

본 명세서에서 '실제코드'는 실제로 사용되는 코드를 의미한다. 예를 들어, 코드가 카드번호인 경우, 실제코드는 카드사에서 특정한 사용자의 카드에 발급되는 실제카드번호가 될 수 있다.In this specification, 'actual code' means a code actually used. For example, when the code is a card number, the actual code may be an actual card number issued to a card of a specific user by a card company.

본 명세서에서 '가상코드'는 실제코드에 연결되도록 임시적으로 생성되는 코드를 의미한다.In this specification, 'virtual code' refers to code that is temporarily generated to be linked to real code.

본 명세서에서 '세부코드'는 가상코드에 포함되는 일부코드를 의미한다. 즉, 가상코드가 별도로 생성된 복수의 코드를 결합하여 생성되는 경우, 세부코드는 별도로 생성되어 가상코드를 구성하는 개별 코드를 의미한다.In this specification, 'detailed code' means some code included in the virtual code. That is, when the virtual code is generated by combining a plurality of codes separately generated, the detailed code is generated separately to mean individual codes constituting the virtual code.

본 명세서에서 '단위카운트'는 특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것으로 정의된 단위이다. 예를 들어, 1카운트는 특정한 시간간격(예를 들어, 1.5초)으로 설정되어 사용될 수 있다.In the present specification, the 'unit count' is a unit defined as being set to a specific time interval and changed as the time interval elapses. For example, one count may be set and used at a specific time interval (eg, 1.5 seconds).

본 명세서에서 '가상코드생성함수'는 가상코드를 생성하는데 이용되는 함수를 의미한다.In this specification, 'virtual code generation function' means a function used to generate virtual code.

본 명세서에서 '스마트카드'는 카드번호를 변경하여 출력할 수 있는 카드를 의미한다. In this specification, 'smart card' means a card that can be output by changing the card number.

본 명세서에서 '구름이동'은 대상체가 회전하면서 병진운동을 하는 것을 의미한다. 즉, '구름이동'은 회전운동과 병진운동을 함께 수행하면서 이동하는 것으로서, 회전하는 대상체의 각 지점이 이동하는 축 상에 차례대로 접하면서 이동하는 것을 의미한다.In this specification, 'cloud movement' means that the subject rotates and performs translational motion. That is, 'cloud movement' refers to moving while performing rotational and translational motions together, and means that each point of the rotating object moves in contact with the moving axis in turn.

이하, 도면을 참조하여, 본 발명의 실시예들에 따른 가상코드제공시스템, 가상코드생성장치(100), 가상코드검증장치(200), 가상코드제공방법 및 가상코드제공프로그램에 대해 상세히 설명한다.Hereinafter, a virtual code providing system, a virtual code generating device 100, a virtual code verification device 200, a virtual code providing method and a virtual code providing program according to embodiments of the present invention will be described in detail with reference to the drawings. .

도 1은 본 발명의 일실시예에 따른 가상코드제공시스템의 구성도이다.1 is a configuration diagram of a virtual code providing system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일실시예에 따른 가상코드제공시스템은, 가상코드생성수단(10) 및 가상코드검증수단(20);을 포함한다.Referring to Figure 1, the virtual code providing system according to an embodiment of the present invention, the virtual code generation means 10 and the virtual code verification means 20 includes.

가상코드생성수단(10)은 가상코드검증수단(20)이 실제코드를 탐색할 수 있는 정보를 포함하는 가상코드를 생성하는 역할을 수행한다. 즉, 가상코드생성수단(10)은 가상코드생성함수에 따라 가상코드를 생성한다. 이 때, 가상코드검증수단(20)에서 가상코드를 기반으로 실제코드를 탐색하므로, 가상코드생성수단(10)은 실제코드를 저장하지 않을 수 있다. 이를 통해 가상코드생성수단(10)의 해킹 등을 통해 실제코드가 유출되는 것을 방지할 수 있다. 가상코드생성함수에 대한 구체적인 설명은 후술한다.The virtual code generation means 10 serves to generate a virtual code including information that allows the virtual code verification means 20 to search the actual code. That is, the virtual code generation means 10 generates a virtual code according to the virtual code generation function. At this time, since the virtual code verification means 20 searches for the actual code based on the virtual code, the virtual code generation means 10 may not store the actual code. Through this, it is possible to prevent the actual code from leaking through hacking of the virtual code generating means 10. The detailed description of the virtual code generation function will be described later.

가상코드검증수단(20)은 가상코드생성수단(10)으로부터 제공되는 가상코드를 기반으로 실제코드를 탐색하는 역할을 수행한다. 가상코드검증수단(20)은 가상코드생성수단(10)으로부터 수신된 가상코드로부터 실제코드를 탐색하기 위해 가상코드생성수단(10)과 동일한 가상코드생성함수를 저장한다. 가상코드검증수단(20)이 가상코드를 기반으로 실제코드를 탐색하는 방식에 대한 구체적인 설명은 후술한다. The virtual code verification means 20 serves to search for the actual code based on the virtual code provided from the virtual code generation means 10. The virtual code verification means 20 stores the same virtual code generation function as the virtual code generation means 10 to search for the actual code from the virtual code received from the virtual code generation means 10. A detailed description of how the virtual code verification means 20 searches for the actual code based on the virtual code will be described later.

또한, 가상코드검증수단(20)은 가상코드가 가상코드생성수단(10)에서 정상적으로 생성된 코드인지 여부를 검증하는 역할을 수행한다. 가상코드검증수단(20)이 가상코드의 정상여부를 판단하는 방식에 대한 구체적인 설명은 후술한다. In addition, the virtual code verification means 20 serves to verify whether the virtual code is normally generated code in the virtual code generation means 10. A detailed description of how the virtual code verification means 20 determines whether the virtual code is normal will be described later.

가상코드검증수단(20)은 가상코드생성수단(10)으로부터 다양한 방식을 통해 가상코드를 전달받을 수 있다. 일실시예로, 가상코드검증수단(20)은 무선통신을 통해 가상코드생성수단(10)으로부터 가상코드를 수신할 수 있다. 또한, 다른 일실시예로, 가상코드검증수단(20)은 가상코드생성수단(10)에 의해 생성되어 사용자에게 제공된 가상코드를 사용자로부터 직접 입력받을 수 있다. The virtual code verification means 20 may receive the virtual code from the virtual code generation means 10 through various methods. In one embodiment, the virtual code verification means 20 may receive the virtual code from the virtual code generation means 10 through wireless communication. In addition, in another embodiment, the virtual code verification means 20 may receive the virtual code generated by the virtual code generation means 10 and provided to the user directly from the user.

또한, 다른 일실시예로, 가상코드검증수단(20)은 가상코드생성수단(10)으로부터 가상코드를 수신한 다른 서버로부터 전달받을 수 있다. 예를 들어, 가상코드생성수단(10)이 결제카드이고 가상코드가 실제카드번호를 대체하는 가상카드번호이며 가상코드검증수단(20)이 가상코드생성함수를 포함하는 카드사서버인 경우, 가상코드생성수단(10)인 카드로 POS에서 결제를 수행하면, 가상코드검증수단(20)은 POS로부터 가상카드번호를 전달받은 PG사서버로부터 가상카드번호(즉, 가상코드)를 전달받는다. 즉, 가상코드검증수단(20)(즉, 카드사서버)은 기존의 결제프로세스를 이용하여 가상코드생성수단(10)으로부터 실제카드번호 대신 가상카드번호를 수신할 수 있다. In addition, in another embodiment, the virtual code verification means 20 may be received from another server that has received the virtual code from the virtual code generation means 10. For example, if the virtual code generation means 10 is a payment card, the virtual code is a virtual card number replacing a real card number, and the virtual code verification means 20 is a card company server including a virtual code generation function, the virtual code When payment is performed at the POS with the card as the generating means 10, the virtual code verification means 20 receives the virtual card number (ie, virtual code) from the PG company server that received the virtual card number from the POS. That is, the virtual code verification means 20 (that is, the card company server) may receive the virtual card number from the virtual code generation means 10 using the existing payment process instead of the actual card number.

또한, 일실시예로, 상기 가상코드검증수단(20)과 상기 가상코드생성수단(10)은 동일한 가상코드생성함수를 포함한다. 가상코드검증수단(20)과 가상코드생성수단(10)이 동일한 가상코드생성함수를 포함함에 따라 가상코드검증수단(20)은 가상코드생성수단(10)에서 생성된 가상코드 내의 복수의 세부코드를 제대로 추출해낼 수 있다. 또한, 가상코드검증수단(20)은 수신된 가상코드가 정상적인 가상코드생성수단(10)에서 생성되어 수신된 것인지 검증할 수 있다. 즉, 가상코드검증수단(20)이 가상코드생성수단(10)과 동일한 조건에서 코드(즉, 가상코드 또는 특정한 세부코드) 생성을 수행한 후 가상코드생성수단(10)에서 수신된 코드(즉, 가상코드 또는 특정한 세부코드)를 비교하여 봄에 따라 검증을 수행할 수 있다.In addition, in one embodiment, the virtual code verification means 20 and the virtual code generation means 10 include the same virtual code generation function. As the virtual code verification means 20 and the virtual code generation means 10 include the same virtual code generation function, the virtual code verification means 20 includes a plurality of detailed codes in the virtual code generated by the virtual code generation means 10. Can extract properly. Further, the virtual code verification means 20 may verify whether the received virtual code is generated and received by the normal virtual code generation means 10. That is, the code received from the virtual code generating means 10 (ie, the virtual code or the specific detailed code) is generated under the same conditions as the virtual code generating means 20 and the virtual code generating means 10 (ie , Virtual code or specific detailed code) to perform verification according to the spring.

도 2는 본 발명의 다른 일실시예에 따른 가상코드생성장치(100)의 구성도이다.2 is a configuration diagram of a virtual code generation device 100 according to another embodiment of the present invention.

도 2를 참조하면, 본 발명의 다른 일실시예에 따른 가상코드생성장치(100)는, 세부코드생성부(110); 가상코드생성부(120); 및 가상코드제공부(130);를 포함한다.2, the virtual code generating apparatus 100 according to another embodiment of the present invention, the detailed code generating unit 110; Virtual code generation unit 120; And a virtual code providing unit 130.

본 발명의 실시예들에 따른 가상코드생성장치(100)는 가상코드생성수단(10)에 해당하는 프로그램이 내장(Embeded)되거나 가상코드생성수단(10)에 해당하는 프로그램이 설치된 장치일 수 있다. 예를 들어, 가상코드가 가상카드번호인 경우, 가상코드생성장치(100)는 가상코드생성수단(10)에 해당하는 프로그램이 내장된 스마트카드일 수 있다. 또한, 예를 들어, 가상코드가 가상카드번호인 경우, 가상코드생성장치(100)는 가상코드생성수단(10)에 해당하는 앱카드 어플리케이션이 설치된 이동단말기일 수 있다. 또한, 예를 들어, 가상코드가 사물인터넷(Internet of Things; IOT) 디바이스에 대한 가상인증키인 경우, 가상코드생성장치(100)는 가상코드생성수단(10)에 해당하는 프로그램이 내장된 제어장치(예를 들어, 리모컨)일 수 있다. 가상코드생성장치(100)는 상기 기재된 예시 이외에 다른 장치(예를 들어, 다른 디바이스 또는 서버)로 가상코드를 생성하여 전송하여야 하는 다양한 경우에 적용될 수 있다.The virtual code generating device 100 according to embodiments of the present invention may be a device in which a program corresponding to the virtual code generating means 10 is embedded or a program corresponding to the virtual code generating means 10 is installed. . For example, when the virtual code is a virtual card number, the virtual code generating device 100 may be a smart card in which a program corresponding to the virtual code generating means 10 is embedded. Further, for example, when the virtual code is a virtual card number, the virtual code generating device 100 may be a mobile terminal in which an app card application corresponding to the virtual code generating means 10 is installed. In addition, for example, when the virtual code is a virtual authentication key for an Internet of Things (IOT) device, the virtual code generating device 100 controls a program corresponding to the virtual code generating means 10 embedded. It may be a device (eg, a remote control). The virtual code generation device 100 may be applied to various cases in which a virtual code needs to be generated and transmitted to another device (for example, another device or server) other than the above-described examples.

가상코드생성부(120)는 하나 이상의 세부코드를 조합하여 가상코드로 생성하는 역할을 수행한다. 일실시예로, 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이다. 가상코드생성함수는 복수의 세부코드를 조합하는 규칙(즉, 세부코드결합함수)을 포함한다. The virtual code generator 120 combines one or more detailed codes to generate virtual codes. In one embodiment, the virtual code is generated by combining a plurality of detailed codes according to specific rules. The virtual code generation function includes a rule for combining a plurality of detailed codes (that is, a detailed code combining function).

복수의 세부코드를 결합하여 하나의 가상코드를 생성하는 방식으로는 다양한 방식이 적용될 수 있다. 상기 세부코드결합함수의 일 예로, 가상코드생성부(120)는 N자리의 제1코드와 N자리의 제2코드를 번갈아 배치하는 방식으로 가상코드를 생성할 수 있다. 또한, 다른 일 예로, 세부코드결합함수는 제1코드 뒤에 제2코드를 결합하는 함수일 수 있다. 가상함수에 포함되는 세부코드가 늘어남에 따라 세부코드결합함수도 다양하게 생성될 수 있다.Various methods can be applied as a method of generating a single virtual code by combining a plurality of detailed codes. As an example of the detailed code combining function, the virtual code generation unit 120 may generate a virtual code by alternately arranging the N-digit first code and the N-digit second code. Further, as another example, the detailed code combining function may be a function that combines the second code after the first code. As the number of detailed codes included in the virtual function increases, the detailed code combining function may be variously generated.

세부코드생성부(110)는 하나 이상의 세부코드를 생성하는 역할을 수행한다. 가상코드생성함수는 각각의 세부코드생성함수를 포함한다. 예를 들어, 가상코드생성함수는 복수의 세부코드생성함수를 이용하여 복수의 세부코드를 생성하고, 복수의 세부코드를 결합하는 세부코드결합함수를 이용하여 가상코드를 생성한다. The detailed code generator 110 serves to generate one or more detailed codes. The virtual code generation function includes each detailed code generation function. For example, the virtual code generation function generates a plurality of detailed codes using a plurality of detailed code generation functions, and generates a virtual code using a detailed code combining function that combines a plurality of detailed codes.

일실시예로, 세부코드생성부(110)는 세부코드생성함수로 제1함수와 제2함수를 포함하여, 제1코드 및 제2코드를 생성한다. 제1코드와 제2코드는 가상코드검증수단(20) 내에서 실제코드의 저장위치를 탐색하기 위한 상관관계를 가지나, 가상코드생성장치(100)는 보안성을 높이기 위해 제1코드를 생성하는 제1함수와 제2코드를 생성하는 제2함수를 세부코드생성함수로 포함할 뿐, 제1코드와 제2코드의 상관관계에 대한 데이터를 포함하지 않을 수 있다.In one embodiment, the detailed code generation unit 110 includes the first and second functions as the detailed code generation function, and generates the first code and the second code. The first code and the second code have a correlation for searching the storage location of the actual code in the virtual code verification means 20, but the virtual code generation device 100 generates the first code to increase security. Only the second function for generating the first function and the second code is included as the detailed code generation function, and data for the correlation between the first code and the second code may not be included.

또한, 다른 일실시예로, 가상코드는 그룹을 구별하기 위한 변경되지 않는 고정코드를 복수의 세부코드와 함께 포함할 수 있다. 가상코드검증수단(20)은 여러 그룹에 각각 대응되는 여러 가상코드생성함수를 포함할 수 있고, 가상코드생성장치(100)로부터 가상코드가 수신되면 해당 가상코드생성장치(100)가 속하는 그룹의 가상코드생성함수를 기반으로 실제코드 탐색을 수행하여야 한다. 고정코드가 포함되지 않고 전체 코드가 단위카운트가 경과될 때마다 신규생성되는 세부코드만을 포함하게 되면, 별도의 정보없이 가상코드생성장치(100)가 속하는 그룹을 판단할 수 없다. 따라서, 가상코드생성장치(100)는 그룹을 식별하기 위한 변경이 되지 않는 고정코드를 포함한다.Further, in another embodiment, the virtual code may include an unchanged fixed code for distinguishing a group together with a plurality of detailed codes. The virtual code verification means 20 may include several virtual code generation functions corresponding to several groups, and when a virtual code is received from the virtual code generation device 100, the virtual code generation device 100 belongs to the group to which the corresponding virtual code generation device 100 belongs. The actual code search should be performed based on the virtual code generation function. If the fixed code is not included and the entire code includes only the detailed code that is newly generated each time a unit count passes, the group to which the virtual code generating device 100 belongs cannot be determined without additional information. Therefore, the virtual code generation device 100 includes a fixed code that does not change to identify a group.

예를 들어, 실제코드가 실제카드번호이고, 특정 카드사의 카드유형별로 가상코드생성함수가 부여되는 경우, 가상코드생성장치(100)는 카드번호 중에서 카드사 및 카드유형을 나타내는 앞의 6자리를 고정코드로 사용하여, 가상코드검증수단(20)은 가상코드생성장치(100)와 동일한 가상코드생성함수가 적용되는 특정 카드사의 특정 카드유형을 식별할 수 있다.For example, if the actual code is a real card number, and a virtual code generation function is assigned to each card type of a specific card company, the virtual code generation device 100 fixes the first six digits of the card number indicating the card company and the card type. By using it as a code, the virtual code verification means 20 can identify a specific card type of a specific card company to which the same virtual code generation function as the virtual code generation device 100 is applied.

또한, 예를 들어, 주민등록번호가 실제코드이고 동일한 생년월일을 가지는 사람들을 동일 그룹으로 판단하는 경우, 가상코드생성장치(100)는 주민등록번호의 전체 13자리 중에서 생년월일에 해당하는 6자리는 고정코드로 설정하고, 나머지 7자리를 가상코드생성함수를 기반으로 단위카운트마다 신규 생성할 수 있다. 가상코드검증수단(20)은 가상코드를 수신하여 고정코드 6자리를 기반으로 그룹을 판단한다.In addition, for example, when the resident registration number is the actual code and people who have the same date of birth are judged as the same group, the virtual code generation device 100 sets 6 digits corresponding to the date of birth among the 13 digits of the resident registration number as fixed codes. , The remaining 7 digits can be newly generated for each unit count based on the virtual code generation function. The virtual code verification means 20 receives the virtual code and determines the group based on six fixed digits.

또한, 일실시예로, 가상코드는 보안코드를 더 포함한다. 예를 들어, 가상코드는 복수의 세부코드와 보안코드를 포함한다. 상기 보안코드는 특정한 보안코드생성함수를 기반으로 생성되는 코드로서, 정상적인 가상코드인지 여부를 검증하기 위해 이용된다. 상기 보안코드생성함수는 시간데이터와 가상코드생성수단 고유값을 함수값으로 사용하여 특정한 자릿수의 보안코드를 생성한다. In addition, in one embodiment, the virtual code further includes a security code. For example, the virtual code includes a plurality of detailed codes and security codes. The security code is a code generated based on a specific security code generation function, and is used to verify whether it is a normal virtual code. The security code generation function uses a unique value of time data and virtual code generation means as a function value to generate a security code of a specific digit.

보안코드를 활용하여 가상코드의 정상여부를 판단하는 과정의 일 예는 다음과 같다. 가상코드검증수단(20)은 실제코드 발급시에 가상코드생성장치(100)의 고유값(예를 들어, 스마트카드 내의 칩고유값 또는 앱카드가 설치된 스마트폰의 고유값 등)을 수신하여 실제코드의 저장위치에 함께 저장하거나 실제코드 저장위치에 연결된 별도의 저장공간에 저장할 수 있다. 가상코드생성장치(100)가 보안코드가 결합된 가상코드를 생성하여 가상코드검증수단(20)에 제공하면, 가상코드검증수단(20)은 세부코드를 기반으로 가상코드가 생성된 시간데이터를 획득하고, 내부에 저장된 특정한 가상코드생성장치(100)의 고유값을 추출하여 시간데이터와 함께 보안코드생성함수에 적용하여 보안코드를 산출한다. 가상코드검증수단(20)은 가상코드생성장치(100)에서 수신한 보안코드(즉, 수신보안코드)와 내부에 저장된 보안코드생성함수로 산출한 보안코드(즉, 생성보안코드)가 일치하는 지 판단한다. 가상코드검증수단(20)는 수신보안코드와 생성보안코드가 일치하면 정상적인 가상코드로 판단하여 실제코드를 제공한다.An example of the process of determining whether the virtual code is normal using the security code is as follows. The virtual code verification means 20 receives the unique value of the virtual code generation device 100 (for example, the unique value of the chip in the smart card or the unique value of the smartphone on which the app card is installed) when issuing the actual code. It can be stored together in a code storage location or in a separate storage space connected to the actual code storage location. When the virtual code generation device 100 generates the virtual code combined with the security code and provides it to the virtual code verification means 20, the virtual code verification means 20 receives the time data generated by the virtual code based on the detailed code. Acquiring, extracting the unique value of the specific virtual code generation device 100 stored therein and applying the time data together with the security code generation function to calculate the security code. The virtual code verification means 20 matches the security code (i.e., the generated security code) calculated by the security code generation function stored therein and the security code (i.e., the received security code) received from the virtual code generation device 100. Judge. If the received security code and the generated security code match, the virtual code verification means 20 determines the normal virtual code and provides the actual code.

예를 들어, 실제코드가 카드에 포함된 번호(예를 들어, 카드번호, 유효기간 및 카드보안번호)인 경우(즉, 가상코드생성장치가 스마트카드인 경우), 보안코드는 카드보안번호로 생성될 수 있다. 즉, 가상코드생성장치(100)는 보안코드생성함수를 이용하여 카드보안번호에 해당하는 3자리 또는 4자리를 보안코드로 생성하고, 카드 사용 시에 카드보안번호로 보안코드를 입력하면 가상코드검증수단(20)은 보안코드를 검증하는 과정을 수행한다.For example, if the actual code is a number included in the card (for example, the card number, expiration date, and card security number) (ie, the virtual code generation device is a smart card), the security code is the card security number. Can be created. That is, the virtual code generation device 100 generates a 3 or 4 digits corresponding to the card security number as a security code using the security code generation function, and inputs the security code as the card security number when the card is used. The verification means 20 performs a process of verifying the security code.

또한, 다른 예로, 보안코드생성함수는 각 카운트마다 다른 l자리(l은 자연수)의 코드를 생성하여 함수값으로 함께 적용할 수 있다. 즉, 보안코드생성함수는 l자리의 랜덤코드생성함수를 포함할 수 있다. Also, as another example, the security code generation function may generate codes of different digits (where l is a natural number) for each count and apply them together as a function value. That is, the security code generation function may include a l-digit random code generation function.

또한, 일실시예로, 가상코드가 제1코드 및 제2코드의 특정한 규칙에 따른 조합으로 생성되는 경우, 제1코드와 제2코드는 실제코드가 저장된 저장위치를 탐색하기 위한 각각의 역할을 수행할 수 있다. 예를 들어, 제1코드는 저장위치탐색의 시작지점을 설정하고, 제2코드는 특정한 탐색방식에 따라 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정한다. 즉, 가상코드생성장치(100)로부터 단위카운트마다 정상적으로 생성된 가상코드가 제공되면, 가상코드검증수단(20)은 제1코드에 대응하는 탐색시작지점으로부터 제2코드에 상응하는 탐색경로에 따라 이동한 지점을 실제코드의 저장위치로 판단한다. 가상코드를 구성하는 제1코드와 제2코드를 기반으로 저장위치를 탐색하는 구체적인 방식은 후술한다.In addition, in one embodiment, when the virtual code is generated in a combination according to a specific rule of the first code and the second code, the first code and the second code serve as respective roles for searching the storage location where the actual code is stored. Can be done. For example, the first code sets the starting point of the search for a storage location, and the second code sets the search path from the starting point to the storage location according to a specific search method. That is, when the virtual code generated normally for each unit count is provided from the virtual code generation device 100, the virtual code verification means 20 is based on the search path corresponding to the second code from the search start point corresponding to the first code The moved point is judged as the storage location of the actual code. A specific method of searching a storage location based on the first code and the second code constituting the virtual code will be described later.

세부코드생성부(110)가 세부코드를 생성하는 방식의 일실시예로, 세부코드생성부(110)는 단위카운트마다 새로운 세부코드를 생성하고, 이에 따라 가상코드생성장치(100)는 단위카운트마다 새로운 가상코드를 생성한다. 단위카운트마다 신규로 생성되는 가상코드는 중복되어 생성되지 않는다. 구체적으로, 세부코드생성부(110)는, 단위카운드마다 신규생성되는 가상코드가 특정한 사용자 또는 특정한 가상코드생성장치(100)에게 정해진 기간동안 중복생성되지 않을 뿐만 아니라, 특정한 그룹에 속한 사용자간에도 중복생성되지 않도록 설정된다.As an embodiment of the method in which the detailed code generation unit 110 generates detailed codes, the detailed code generation unit 110 generates new detailed codes for each unit count, and accordingly, the virtual code generation unit 100 generates unit codes. Each time a new virtual code is created. Virtual codes newly generated for each unit count are not duplicated. Specifically, the detailed code generation unit 110 not only does not generate duplicate codes generated for each unit count for a specific user or a specific virtual code generation device 100 for a predetermined period of time, but also between users belonging to a specific group. It is set not to be duplicated.

가상코드의 중복생성을 방지하는 구체적인 일실시예로, M개 문자로 N자리의 상기 제1코드 또는 상기 제2코드를 생성하는 경우, 가상코드생성함수에 포함되는 세부코드생성함수는 MN개의 코드를 제1코드 또는 제2코드로 생성할 수 있고, 각각의 코드를 세부코드생성함수가 구동되는 초기시점으로부터 각 카운트마다 매칭한다. 예를 들어, 단위카운트를 1초로 설정하는 경우, 세부코드생성함수가 최초 구동된 시점에서부터 매 초에 상이한 MN개의 코드를 매칭한다. 그리고, 특정한 세부코드생성함수를 이용하는 주기 또는 가상코드생성장치(100)의 사용주기(예를 들어, 가상카드번호를 생성하는 스마트카드의 유효기간)를 MN 카운트에 해당하는 시간길이(예를 들어, 1카운트가 1초인 경우, MN 초)보다 짧은 시간길이로 설정하면 제1코드 또는 제2코드는 사용주기 동안에 동일한 코드가 중복 생성되지 않는다. 즉, 시간이 흐름에 따라 카운트가 증가할 때, 사용자가 특정시점에 가상코드생성장치(100)에 가상코드생성요청을 하는 경우, 가상코드생성장치(100)는 특정시점에 대응되는 카운트에 매칭된 코드값을 제1코드 또는 제2코드로 생성할 수 있다.In a specific embodiment of preventing duplicate generation of virtual codes, when generating the first code or the second code of N digits with M characters, the detailed code generation functions included in the virtual code generation function are M N The code can be generated as the first code or the second code, and each code is matched for each count from the initial time at which the detailed code generation function is driven. For example, when the unit count is set to 1 second, different M N codes are matched every second from the time when the detailed code generation function is first driven. In addition, the period of time using the specific detailed code generation function or the period of use of the virtual code generation apparatus 100 (for example, the validity period of the smart card generating the virtual card number) corresponds to the length of time corresponding to the M N count (eg For example, if 1 count is 1 second, if the length is set to a time length shorter than M N seconds), the same code is not duplicated during the use cycle of the first code or the second code. That is, when the count increases with time, when the user makes a virtual code generation request to the virtual code generation device 100 at a specific time, the virtual code generation device 100 matches the count corresponding to the specific time The generated code value can be generated as the first code or the second code.

가상코드의 중복생성을 방지하는 구체적인 다른 일실시예로, 가상코드생성장치(100)의 사용주기가 경과되면, 제1코드 또는 제2코드를 생성하는 함수(즉, 제1함수 또는 제2함수)를 변경하거나 제1코드와 제2코드의 매칭관계를 변경하여 이전 사용주기와 상이한 가상코드가 생성되도록 한다. 가상코드가 제1함수에 의해 생성되는 제1코드와 제2함수에 의해 생성되는 제2코드가 결합되는 경우, 제1코드생성함수 또는 제2코드생성함수가 변경되면, 가상코드생성장치(100)는 제1코드 또는 제2코드가 등장하는 순서가 이전 사용주기와 달라짐에 따라 이전주기와 상이한 가상코드를 생성하는 가상코드생성함수를 신규 사용주기에 적용할 수 있다. 또한, 가상코드생성장치(100)는 이전 사용주기에서 사용된 가상코드와 동일한 코드가 신규 사용주기 내 각 카운트의 가상코드로 등장하지 않도록(즉, 제1함수에 따라 생성되는 제1코드와 제2함수에 따라 생성되는 제2코드의 매칭관계가 신규 사용주기의 모든 카운트에서 이전 사용주기 내에 포함된 매칭관계 중에 포함되지 않도록) 제1함수와 제2함수를 선택할 수 있다. 즉, MN 개의 코드를 1회씩 적용할 수 있는 사용주기를 경과한 후 가상코드생성함수 조절 또는 갱신을 통해 이전 사용주기와 겹치는 가상코드가 생성되지 않는 신규 사용주기의 가상코드생성함수를 적용할 수 있다.As another specific embodiment of preventing duplicate generation of the virtual code, a function for generating the first code or the second code when the use cycle of the virtual code generation device 100 has elapsed (that is, the first function or the second function) ) Or the matching relationship between the first code and the second code to create a virtual code different from the previous use cycle. When the first code generated by the first function and the second code generated by the second function are combined when the virtual code is generated by the first function, if the first code generation function or the second code generation function is changed, the virtual code generation device 100 ) May be applied to a new use cycle using a virtual code generation function that generates a different virtual code from the previous cycle as the order in which the first code or the second code appears is different from the previous use cycle. In addition, the virtual code generation device 100 prevents the same code as the virtual code used in the previous use cycle from appearing as the virtual code of each count in the new use cycle (ie, the first code and the first code generated according to the first function). The first function and the second function may be selected so that the matching relationship of the second code generated according to the 2 function is not included among the matching relationships included in the previous use cycle at all counts of the new use cycle. That is, after the usage cycle that can apply M N codes once, the virtual code generation function of a new usage cycle that does not generate a virtual code that overlaps the previous usage cycle is applied through adjustment or update of the virtual code generation function. You can.

이 때, 가상코드생성수단(10) 및 가상코드검증수단(20)은 가상코드생성함수를 갱신하는 규칙을 저장할 수 있다. 즉, 가상코드생성수단(10) 및 가상코드검증수단(20)은 복수의 제1함수와 제2함수를 각 사용주기에 적용하는 순서 또는 규칙을 저장할 수 있다.At this time, the virtual code generation means 10 and the virtual code verification means 20 may store rules for updating the virtual code generation function. That is, the virtual code generation means 10 and the virtual code verification means 20 may store a sequence or rules for applying a plurality of first and second functions to each use cycle.

또한, 가상코드의 중복생성을 방지하는 구체적인 다른 일실시예로, 동일한 그룹에 속한 사용자 간에도 동일한 가상코드가 동일시점에 생성되지 않도록, 가상코드에 포함되는 제1코드 또는 제2코드 중 어느 하나는 적어도 가상코드생성장치(100)마다 동일시점에 항상 상이하게 존재하는 값(즉, 장치식별값)을 반영하여 생성될 수 있다. 일실시예로, 장치식별값은 특정한 세부코드생성함수가 적용되는 그룹에 특정한 가상코드생성장치(100)가 포함된 시점(예를 들어, 가상코드검증수단(20) 내에 특정한 세부코드생성함수가 구동된 최초시점으로부터 특정시간이 경과한 후 특정한 가상코드생성장치(100)에 상기 세부코드생성함수가 적용되기 시작한 시점)으로부터 현재까지 경과된 시간(또는 카운트수)일 수 있다. 하나의 그룹 내에 복수의 가상코드생성장치(100)가 포함되는 경우, 가상코드생성장치(100)를 해당 그룹에 속하도록 설정하는 카운트를 동일하지 않게 하면(즉, 가상코드생성장치(100)가 해당 그룹에 동시에 속할 수 없게 하면), 가상코드생성장치(100)가 그룹에 속하게 된 시점(또는 카운트)로부터 특정시점까지의 경과된 시간은 각 가상코드생성장치(100)마다 상이하게 된다. 따라서, 세부코드생성함수 중 적어도 어느 하나는 가상코드생성장치(100)가 그룹에 속하게 된 시점(또는 카운트)로부터 특정시점까지의 경과된 시간을 장치식별값으로 이용하여, 각 시점마다 각각의 가상코드생성장치(100)에서 생성되는 가상코드가 상이하도록 할 수 있다. 이를 통해, 가상코드검증수단(20)이 사용자를 구별하기 위한 데이터를 별도로 수신하지 않고 가상코드를 수신하는 것만으로 가상코드생성장치(100)의 구별이 가능하도록 할 수 있다.In addition, as another specific example of preventing duplicate generation of the virtual code, either the first code or the second code included in the virtual code is not generated between users belonging to the same group at the same time. At least, each virtual code generation device 100 may be generated by reflecting a value (that is, a device identification value) that is always different at the same time. In one embodiment, the device identification value is a time point when a specific virtual code generation device 100 is included in a group to which a specific detailed code generation function is applied (for example, a specific detailed code generation function in the virtual code verification means 20). It may be a time (or count) that has elapsed from the first time when the detailed code generation function starts to be applied to the specific virtual code generation device 100 after a specific time has elapsed. When a plurality of virtual code generating devices 100 are included in one group, if the counts for setting the virtual code generating devices 100 to belong to the corresponding group are not the same (that is, the virtual code generating devices 100) If it is impossible to belong to the group at the same time), the time elapsed from the time (or count) when the virtual code generation device 100 belongs to the group to a specific time point is different for each virtual code generation device 100. Therefore, at least one of the detailed code generation functions uses the elapsed time from the time (or count) at which the virtual code generation device 100 belongs to the group to a specific time as a device identification value, and each virtual The virtual code generated by the code generating device 100 may be different. Through this, the virtual code verification means 20 may enable the discrimination of the virtual code generation device 100 only by receiving the virtual code without separately receiving data for distinguishing the user.

예를 들어, 가상코드생성장치(100)가 출력되는 카드번호를 변경할 수 있는 카드(예를 들어, 스마트카드 또는 앱카드 등)인 경우, 특정한 카드사의 특정한 카드유형이 하나의 그룹으로 설정되고, 카드사서버 내의 특정한 가상코드검증수단(20)이 해당 그룹에 대해 구동된다. 제1사용자가 가상코드검증수단(20) 구동 시로부터 A시간만큼 경과된 시점에 제1가상코드생성장치(100)(즉, 제1사용자의 가상코드생성장치(100))에 카드발급을 요청하고 제2사용자가 가상코드검증수단(20) 구동 시로부터 B(B는 A보다 큰 값)시간만큼 경과된 시점에 제2가상코드생성장치(100)(즉, 제2가상코드생성장치(100))에 카드발급을 요청하면, 제1가상코드생성장치(100) 및 제2가상코드생성장치(100)는 제1사용자와 제2사용자로부터 가상코드 생성이 요청된 C(C는 B보다 큰 값)시간에 카드발급 시점으로부터 경과된 시간길이가 항상 상이하게 된다. 따라서, 세부코드생성함수는 각 가상코드생성장치(100)에 카드가 발급된 시점으로부터 경과된 시간길이를 변수로 적용함에 따라 동일시점에 동일한 가상카드번호가 생성되지 않도록 할 수 있다.For example, in the case of a card (for example, a smart card or an app card) capable of changing a card number to which the virtual code generating device 100 is output, a specific card type of a specific card company is set as one group, A specific virtual code verification means 20 in the card company server is driven for the group. The first user requests card issuance to the first virtual code generating device 100 (that is, the first user's virtual code generating device 100) at a time elapsed by A time from when the virtual code verification means 20 is driven. And the second virtual code generation device 100 (that is, the second virtual code generation device 100) at the time when the second user has elapsed B (B is a value greater than A) time from when the virtual code verification means 20 is driven. )), The first virtual code generation device 100 and the second virtual code generation device 100 request the virtual code generation from the first user and the second user C (C is greater than B) Value) The length of time elapsed from the time of card issuance at time is always different. Accordingly, the detailed code generation function may prevent the same virtual card number from being generated at the same time by applying the length of time elapsed from the time the card is issued to each virtual code generation device as a variable.

또한, 특정한 가상코드생성장치(100)가 특정한 그룹에 속하게 된 시점으로부터 경과된 시간길이는 시간이 흐름에 따라 계속 증가하게 되므로, 특정한 가상코드생성장치(100)에서 생성되는 세부코드(예를 들어, 제2코드)는 동일한 값이 생성되지 않고 계속 다른 값이 생성된다. In addition, since the length of time elapsed from the time when the specific virtual code generating device 100 belongs to a specific group continues to increase with time, the detailed code generated by the specific virtual code generating device 100 (for example, , The second code) does not generate the same value, but continues to generate different values.

또한, 가상코드의 중복생성을 방지하는 구체적인 또 다른 일실시예로, 전체주기에서 사용자에 무관하게 중복된 가상코드가 발생되지 않도록, 제1코드는 가상코드검증수단(20) 내에서 제1함수가 구동되는 초기시점으로부터 각 카운트마다 매칭된 코드 중에서 가상코드 생성요청이 된 시점(또는 카운트)에 대응되는 코드값으로 설정하고, 제2코드는 가상코드생성장치(100)마다 동일시점에 항상 상이하게 존재하는 값(즉, 장치식별값)을 반영하여 생성되는 코드값으로 설정하고, 가상코드를 상기 제1코드와 제2코드가 결합된 코드값으로 이용할 수 있다. 제1코드는 각 카운트마다 상이한 코드값이 되고 제2코드는 동일시점에 가상코드생성장치(100)마다 상이한 코드값을 가지게 되어서, 제1코드와 제2코드가 결합된 가상코드는 모든 가상코드생성장치(100)와 모든 시점에 상이한 코드값이 출력되게 된다.In addition, as another specific embodiment of preventing duplicate generation of the virtual code, the first code is the first function within the virtual code verification means 20 so that the duplicated virtual code is not generated regardless of the user in the entire cycle. Set the code value corresponding to the point (or count) at which the virtual code generation request was made from among the codes matched for each count from the initial time point at which is driven, and the second code is always different at the same time point for each virtual code generating device 100. It can be set as a code value generated by reflecting the existing value (ie, device identification value), and the virtual code can be used as a code value in which the first code and the second code are combined. The first code is a different code value for each count, and the second code has a different code value for each virtual code generation device 100 at the same time, so that the virtual code combined with the first code and the second code is all virtual code. Different code values are output at all times with the generator 100.

또한, 다른 일실시예로, 상기 가상코드생성함수(또는 세부코드생성함수)는, M개의 문자를 오름차순으로 나열하는 다수의 나열규칙 중 어느 하나가 적용된다. 즉, 가상코드생성장치(100)(즉, 가상코드생성수단(10))는 가상코드생성함수 내에 포함되는 세부코드생성함수에 M개 문자를 오름차순으로 나열하는 규칙을 다양하게 적용하여 할 수 있다. 예를 들어, 알파벳 대문자를 오름차순으로 나열하는 나열규칙은, 일반적인 순서인 A, B, C,…, Z 순서가 될 수 있고, A, C, B,…, Z 순서가 될 수도 있다. 가상코드생성함수에서 나열규칙이 달라짐에 따라 가상코드생성함수가 구동되는 초기시점부터 각 카운트에 차례대로 코드가 매칭되는 순서가 달라지게 된다. 가상코드검증수단(20)은 동일한 나열규칙에 따라 생성된 코드가 각 카운트에 매칭되어 있거나, 동일한 나열규칙 자체를 가상코드생성함수에 포함하여 저장할 수 있다. 따라서, 각 그룹별 가상코드생성함수가 상이한 세부코드결합함수를 포함하거나 상이한 문자 나열규칙을 포함하여, 각 그룹별로 상이한 가상코드생성함수를 가지도록 할 수 있다. In addition, in another embodiment, the virtual code generation function (or detailed code generation function) is applied to any one of a number of rules for listing M characters in ascending order. That is, the virtual code generation device 100 (that is, the virtual code generation means 10) can be applied by variously applying the rules for listing the M characters in ascending order to the detailed code generation function included in the virtual code generation function. . For example, the list rule for listing alphabetic capital letters in ascending order is: A, B, C, ... It can be in Z order, A, C, B,… , Z order. As the ordering rules in the virtual code generation function are changed, the order in which codes are matched in turn for each count is changed from the initial time when the virtual code generation function is started. The virtual code verification means 20 may store codes generated according to the same listing rule for each count, or include the same listing rule itself as a virtual code generation function. Therefore, it is possible to have different virtual code generation functions for each group, including different detailed code combining functions for each group, or different character list rules.

가상코드제공부(130)는 상기 가상코드를 가상코드검증장치(200)로 제공하기 위해 외부로 출력하는 역할을 수행한다. 가상코드제공부(130)는 가상코드를 외부로 제공할 수 있는 다양한 구성을 포함할 수 있다. 가상코드제공부(130)는 무선통신모듈; 근거리통신모듈; IC칩; 자장발생부; 디스플레이부 등의 전부 또는 일부를 포함한다.The virtual code providing unit 130 serves to output the virtual code to the virtual code verification device 200 to the outside. The virtual code providing unit 130 may include various configurations capable of providing the virtual code to the outside. The virtual code providing unit 130 includes a wireless communication module; Short-range communication module; IC chip; Magnetic field generating unit; It includes all or part of a display unit or the like.

무선 인터넷 모듈은 무선 인터넷 접속을 위한 모듈을 말하는 것으로, 이동 단말기(100)에 내장되거나 외장될 수 있다. 무선 인터넷 기술로는 WLAN(Wireless LAN)(Wi-Fi), Wibro(Wireless broadband), Wimax(World Interoperability for Microwave Access), HSDPA(High Speed Downlink Packet Access), LTE(long term evolution), LTE-A(Long Term Evolution-Advanced) 등이 이용될 수 있다.The wireless Internet module refers to a module for wireless Internet access, and may be built in or external to the mobile terminal 100. Wireless Internet technology includes Wireless LAN (WLAN) (Wi-Fi), Wibro (Wireless broadband), Wimax (World Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet Access), LTE (long term evolution), LTE-A (Long Term Evolution-Advanced) may be used.

근거리 통신 모듈은 근거리 통신을 위한 모듈을 말한다. 근거리 통신(short range communication) 기술로 블루투스(Bluetooth), BLE(Bluetooth Low Energy), 비콘(Beacon), RFID(Radio Frequency Identification), NFC(Near Field Communication), 적외선 통신(Infrared Data Association; IrDA), UWB(Ultra Wideband), ZigBee 등이 이용될 수 있다. The short-range communication module refers to a module for short-range communication. Bluetooth, Bluetooth, Low Energy (BLE), Beacon, Radio Frequency Identification (RFID), Near Field Communication (NFC), Infrared Data Association (IrDA), UWB (Ultra Wideband), ZigBee, or the like can be used.

가상코드제공부(130)는, 가상코드생성장치(100)가 POS장치에 가상코드(즉, 가상카드번호)를 전달하는 카드에 해당하는 경우, 자장발생부 또는 IC칩을 포함할 수 있다. 자장발생부는 카드데이터를 자기신호 형태로 출력하여 카드리더기에 전달하는 기능을 수행한다. 자장발생부는 전류 흐름을 통해 자기장을 형성하여 카드정보 자기신호를 출력하는 자기셀을 하나 이상 포함할 수 있다. 자장발생부는 카드의 PCB판의 특정한 긴 변에 인접하게 상기 긴 변을 따라 PCB판의 상면 또는 하면에 노출되도록 구비될 수 있다. The virtual code providing unit 130 may include a magnetic field generator or an IC chip when the virtual code generating device 100 corresponds to a card that delivers a virtual code (ie, a virtual card number) to a POS device. The magnetic field generating unit outputs card data in the form of a magnetic signal and transmits the card data to the card reader. The magnetic field generating unit may include at least one magnetic cell that forms a magnetic field through a current flow and outputs a card information magnetic signal. The magnetic field generating portion may be provided to be exposed on the upper or lower surface of the PCB plate along the long side adjacent to a particular long side of the PCB plate of the card.

IC칩은 PCB판 내에 실장되어 IC방식의 카드리더기의 단자와 접촉하여 데이터교환을 수행하도록 할 수 있다. 즉, IC칩은 가상코드생성부(120)에서 생성된 가상코드를 IC방식의 카드리더기로 전달한다.The IC chip can be mounted on a PCB board to contact the terminals of the IC card reader to perform data exchange. That is, the IC chip transfers the virtual code generated by the virtual code generator 120 to the IC-type card reader.

디스플레이부는 액정 디스플레이(liquid crystal display), 박막 트랜지스터 액정 디스플레이(thin film transistor-liquid crystal display), 유기 발광 다이오드(organic light-emitting diode), 플렉시블 디스플레이(flexible display), 전자종이(E-paper) 중에서 적어도 하나를 포함할 수도 있다. The display unit includes a liquid crystal display, a thin film transistor-liquid crystal display, an organic light-emitting diode, a flexible display, and e-paper. It may include at least one.

디스플레이부는 가상코드생성부(120)에서 생성한 가상코드를 시각적으로 외부에 출력한다. 이를 통해, 가상코드생성장치(100)의 사용자는 실시간으로 생성된 가상코드를 시각적으로 확인할 수 있고, 가상코드검증수단(20)에 시각적으로 확인한 가상코드를 직접 입력할 수 있다. The display unit visually outputs the virtual code generated by the virtual code generating unit 120 to the outside. Through this, the user of the virtual code generation device 100 can visually check the virtual code generated in real time, and directly input the virtual code visually confirmed in the virtual code verification means 20.

또한, 사용자는 디스플레이부에 표시된 가상코드를 문자메시지 등의 다양한 경로를 통해 가상코드를 전달할 수 있다. 실제코드를 전송하는 것이 아니라 가상코드검증수단(20)에서 실제코드를 탐색할 수 있는 가상코드(구체적으로, 계속적으로 변경생성되는 코드)를 전달하는 것이므로, 사용자가 문자메시지 등을 통해 코드 전송 시 실제코드 유출을 우려하지 않도록 할 수 있다.In addition, the user can transmit the virtual code displayed on the display unit through various paths such as a text message. Rather than transmitting the actual code, the virtual code verification means 20 transmits a virtual code (specifically, a code that is continuously changed and generated) to search for the actual code. Therefore, when a user sends a code through a text message or the like You can avoid worrying about the actual code leak.

도 3은 본 발명의 일실시예에 따른 가상코드검증장치(200)의 구성도이다.3 is a configuration diagram of a virtual code verification device 200 according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 또 다른 일실시예에 따른 가상코드검증장치(200)는, 가상코드수신부(210); 세부코드추출부(220); 및 실제코드탐색부(230);를 포함한다. 가상코드검증장치(200)는 전자장치일 수도 있고, 서버장치일 수도 있다. 예를 들어, 가상코드검증장치(200)는 실제코드를 대체하는 가상코드를 생성하여 전송하는 제어장치(즉, 가상코드생성장치(100))와 연결되는 IOT디바이스가 해당될 수 있다. IOT디바이스는 가상코드를 기반으로 실제코드의 저장위치를 탐색하고, 특정한 저장위치에서 실제코드가 추출되면 구동될 수 있다.3, the virtual code verification apparatus 200 according to another embodiment of the present invention, the virtual code receiving unit 210; Detailed code extraction unit 220; And an actual code search unit 230. The virtual code verification device 200 may be an electronic device or a server device. For example, the virtual code verification device 200 may correspond to an IOT device connected to a control device (that is, the virtual code generation device 100) that generates and transmits virtual code replacing the actual code. The IOT device searches for a storage location of the real code based on the virtual code, and can be operated when the real code is extracted from a specific storage location.

또한, 예를 들어, 가상코드검증장치(200)는 특정한 사용자가 보유한 특정 카드사의 특정한 유형의 카드에 대한 가상카드번호를 수신한 후 실제카드번호를 탐색하여 결제를 진행하는 카드사서버일 수 있다. 구체적으로, 카드 결제의 경우, 가상코드검증장치(200)는 POS장치 및 PG사 서버를 통해 가상코드생성장치(100)에서 생성한 가상코드를 수신한다.Further, for example, the virtual code verification device 200 may be a card company server that receives a virtual card number for a specific type of card of a specific card company owned by a specific user and searches for an actual card number to perform payment. Specifically, in the case of card payment, the virtual code verification device 200 receives the virtual code generated by the virtual code generation device 100 through the POS device and the PG company server.

가상코드수신부(210)는 가상코드생성장치(100)로부터 가상코드를 수신하는 역할을 수행한다. 일실시예로, 가상코드수신부(210)는 무선통신부(예를 들어, 무선통신모듈 또는 근거리통신모듈)를 포함하여, 가상코드생성장치(100)로부터 무선통신을 통해 가상코드를 수신할 수 있다. 또한, 다른 일실시예로, 가상코드수신부(210)는 다른 서버와의 통신을 통해 가상코드생성장치(100)에서 생성된 가상코드를 전달받을 수 있다. The virtual code receiving unit 210 serves to receive the virtual code from the virtual code generating device 100. In one embodiment, the virtual code receiving unit 210 may receive a virtual code through the wireless communication from the virtual code generation device 100, including a wireless communication unit (for example, a wireless communication module or a short-range communication module). . Further, according to another embodiment, the virtual code receiving unit 210 may receive the virtual code generated by the virtual code generating device 100 through communication with another server.

또한, 다른 일실시예로, 가상코드수신부(210)는 사용자입력부일 수 있다. 즉, 가상코드수신부(210)는 가상코드생성장치(100)에서 시각적으로 출력된 가상코드를 사용자로부터 직접 입력받을 수 있다. 예를 들어, 가상코드생성장치(100)가 가상카드번호를 생성하여 카드표면 상에 출력하는 장치(예를 들어, 스마트카드)인 경우, 사용자는 가상코드생성장치(100)에 시각적으로 표시된 가상코드를 확인하여 가상코드검증장치(200)의 사용자입력부에 직접 입력할 수 있다. In addition, in another embodiment, the virtual code receiving unit 210 may be a user input unit. That is, the virtual code receiving unit 210 may directly receive a virtual code visually output from the virtual code generating device 100 from the user. For example, if the virtual code generation device 100 is a device that generates a virtual card number and outputs it on a card surface (for example, a smart card), the user is visually displayed on the virtual code generation device 100. The code can be checked and directly input to the user input unit of the virtual code verification device 200.

구체적으로, 가상코드생성장치(100)는 카드번호 16자리 중에서 변경 가능한 자릿수(예를 들어, 카드사 및 카드유형을 판단하는 앞의 6자리 및 마지막 digit을 제외한 자리)에 디스플레이부를 구비하고, 가상코드가 생성되면 변경가능한 코드의 자리에 문자를 출력한다. 사용자는 변경되지 않는 코드와 변경되는 코드 전체를 가상코드로 하여 가상코드검증장치(200)의 사용자입력부(즉, 가상코드수신부(210))에 입력할 수 있다.Specifically, the virtual code generation device 100 includes a display unit in 16 digits of the card number that can be changed (for example, the digits excluding the last 6 digits and the last 6 digits to determine the card company and card type), and the virtual code When is generated, it prints a character in place of a mutable code. The user may input the unchanged code and the entire changed code as virtual codes to the user input unit (that is, the virtual code receiving unit 210) of the virtual code verification device 200.

세부코드추출부(220)는 상기 가상코드에 포함된 복수의 세부코드를 추출한다. 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이다. 가상코드검증장치(200)의 세부코드추출부(220)는 특정그룹의 가상코드생성장치(100)와 동일한 세부코드결합함수를 포함하여, 세부코드추출부(220)는 세부코드결합함수를 적용하여 가상코드에서 복수의 세부코드를 추출할 수 있다. 예를 들어, 가상코드생성장치(100)에서 두 개의 세부코드(즉, 제1코드 및 제2코드)가 결합된 가상코드를 생성하는 경우, 세부코드추출부(220)는 가상코드의 문자배열에서 세부코드결합함수를 적용하여 제1코드 및 제2코드를 분리해낼 수 있다.The detailed code extraction unit 220 extracts a plurality of detailed codes included in the virtual code. The virtual code is generated by combining a plurality of detailed codes according to specific rules. The detailed code extraction unit 220 of the virtual code verification device 200 includes the same detailed code combination function as the virtual code generation device 100 of a specific group, and the detailed code extraction unit 220 applies the detailed code combination function Thus, a plurality of detailed codes can be extracted from the virtual code. For example, when the virtual code generation device 100 generates a virtual code in which two detailed codes (ie, first and second codes) are combined, the detailed code extraction unit 220 arranges characters in the virtual code The first code and the second code can be separated by applying the detailed code combining function.

실제코드탐색부(230)는 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색한다. 실제코드탐색부(230)가 각각의 세부코드를 기반으로 실제코드 저장위치를 탐색하는 방식으로는 다양한 방식이 적용될 수 있다. 실제코드탐색부(230)가 복수의 세부코드를 기반으로 저장위치를 탐색하기 위해 세부코드 간에는 상관관계를 포함할 수 있다.The actual code search unit 230 searches the storage location of the actual code based on the plurality of detailed codes. Various methods may be applied as a method in which the actual code search unit 230 searches the actual code storage location based on each detailed code. The actual code search unit 230 may include a correlation between the detailed codes in order to search the storage location based on the plurality of detailed codes.

가상코드가 제1코드 및 제2코드로 구성되는 경우, 세부코드 간에 상관관계를 가지는 일실시예로, 실제코드탐색부(230)는 제1코드에 대응하는 탐색시작지점을 결정하고, 상기 탐색시작지점으로부터 제2코드에 상응하는 탐색경로에 따라 이동한 지점을 실제코드의 저장위치로 찾을 수 있다. 즉, 상기 세부코드는, 저장위치탐색의 시작지점을 설정하는 제1코드 및 특정한 탐색방식에 따라, 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드를 포함할 수 있다. When the virtual code is composed of the first code and the second code, in one embodiment having a correlation between detailed codes, the actual code search unit 230 determines a search start point corresponding to the first code, and searches From the starting point, the point moved along the search path corresponding to the second code can be found as the storage location of the actual code. That is, the detailed code may include a first code for setting a start point of a search for a storage location and a second code for setting a search path from the start point to the storage location according to a specific search method.

또한, 다른 일실시예로, 가상코드생성수단(10)(또는 가상코드생성장치(100))가 단위카운트마다 신규 가상코드를 제공함에 따라, 가상코드검증장치(200)는 저장위치 탐색을 위한 제1코드와 제2코드가 단위카운트의 경과시마다 변경된다. 가상코드검증장치(200)는 각 카운트마다 변경되는 제1코드 및 제2코드를 기반으로 탐색시작지점과 탐색경로를 설정하여 실제코드의 저장위치를 탐색할 수 있다.Further, in another embodiment, as the virtual code generation means 10 (or virtual code generation device 100) provides new virtual codes for each unit count, the virtual code verification device 200 is configured to search for a storage location. The first code and the second code change each time the unit count elapses. The virtual code verification device 200 may set a search start point and a search path based on the first code and the second code that are changed for each count to search the storage location of the actual code.

또한, 다른 일실시예로, 실제코드탐색부(230)는 상관관계를 가지는 복수의 세부코드를 이용하여 실제코드의 저장위치를 찾기 위해, 저장위치탐색알고리즘을 포함할 수 있다. 저장위치탐색알고리즘은 가상코드에 포함되는 각각의 세부코드 적용 시에 저장위치 탐색이 가능하도록 하는 알고리즘이다. 예를 들어, 가상코드로부터 저장위치의 탐색시작지점을 결정하는 제1코드와 탐색시작지점으로부터의 저장위치 방향을 제시하는 제2코드를 포함하는 경우, 저장위치탐색알고리즘은 제1코드에 대응되는 지점에서 제2코드에 대응되는 방향을 지시할 때, 해당 위치에 실제코드가 매칭되는 저장위치가 배치되도록 조절하는 알고리즘이다. 저장위치탐색알고리즘을 이용함에 따라, 가상코드검증장치(200)는 가상코드에 포함된 제1코드와 제2코드가 변경되어도 실제코드 저장위치 또는 저장위치에 매칭된 지점을 찾을 수 있다. 저장위치탐색알고리즘은 다양한 방식이 적용될 수 있으며, 구체적인 예시는 후술한다. 다만, 저장위치탐색알고리즘은 후술되는 예시에 한정되지 않는다.In addition, in another embodiment, the actual code search unit 230 may include a storage location search algorithm to find the storage location of the actual code by using a plurality of detailed correlation codes. The storage location search algorithm is an algorithm that enables a storage location search when each detailed code included in the virtual code is applied. For example, if a first code for determining a search start point of a storage location from a virtual code and a second code for suggesting a storage location direction from the search start point are included, the storage location search algorithm corresponds to the first code. When the direction corresponding to the second code is indicated at the point, it is an algorithm that adjusts the storage location to match the actual code at the corresponding location. By using the storage location search algorithm, the virtual code verification device 200 can find the actual code storage location or a point matching the storage location even if the first and second codes included in the virtual code are changed. Various methods can be applied to the storage location search algorithm, and specific examples will be described later. However, the storage location search algorithm is not limited to the example described below.

예를 들어, 후술되는 바와 같이, 도 6을 참조하면, 저장위치탐색알고리즘이 제1코드에 해당하는 MN개의 코드가 나열된 트랙을 따라 구름이동하는 k각형(k는 MN)이며, k각형의 꼭지점이 제1코드 트랙 상에 코드가 배치되는 지점에 대응되면서 이동하는 경우, k각형의 각 꼭지점이 실제코드 저장위치와 매칭되고, 제1코드 트랙(즉, 제1트랙)과 k각형이 대응되는 지점이 제1코드에 대응하는 저장위치 탐색시작지점이 될 수 있다. 이 때, 실제코드탐색부(230)는 세부코드추출부(220)에서 추출된 제1코드에 대응되는 지점에 k각형의 꼭지점이 접하도록 k각형을 구름이동를 적용할 수 있다. 이를 통해, 실제코드탐색부(230)는 k각형이 접한 제1트랙 상의 위치에서 제2코드에 상응하는 각도(예를 들어, k각형의 꼭지점을 향하도록 180도를 MN개로 분할한 특정한 각도)로 지시함에 따라, 가상코드에 대응하는 실제코드가 저장된 저장위치인 k각형의 꼭지점을 탐색할 수 있다.For example, as described below, referring to FIG. 6, the storage location search algorithm is a k-angle (k is M N ) in which a cloud moves along a track in which M N codes corresponding to the first code are listed, and k-angle When the vertices of the knot move while corresponding to the point where the code is placed on the first code track, each vertex of the k-angle is matched with the actual code storage location, and the first code track (ie, the first track) and the k-gon The corresponding point may be a starting point for searching for a storage location corresponding to the first code. At this time, the actual code search unit 230 may apply a cloud movement to the k-angle so that the vertex of the k-angle is in contact with the point corresponding to the first code extracted from the detailed code extraction unit 220. Through this, the actual code search unit 230 is the angle corresponding to the second code at the position on the first track in contact with the k-angle (for example, a specific angle of 180 degrees divided into M N pieces toward the vertex of the k-angle) ), It is possible to search for a vertex of a k-gon, which is a storage location where a real code corresponding to a virtual code is stored.

구체적으로, 도 6에서와 같이, 가상코드검증장치(200)는 제1코드에 대응하는 지점으로 k각형을 구름이동(즉, k각형의 각 꼭지점과 트랙 상의 각 지점이 차례대로 접하도록 하면서 이동)시킨다. 그 후, 가상코드검증장치(200)는 제2코드에 상응하는 각도 방향을 지시하여 저장위치에 상응하는 꼭지점을 탐색한다. 예를 들어, 가상코드생성수단B는 실제코드를 발급받은 후 2카운트가 경과하였으므로 가상코드생성수단B는 2카운트를 함수값으로 적용한 제2코드를 생성하여 가상코드검증수단으로 제공한다. 가상코드검증수단은 k각형과 트랙이 접하는 지점에서 각 꼭기점을 향하는 각도에 각 카운트마다 제2함수에 의해 생성되는 제2코드를 매칭하여 저장(즉, n카운트가 적용된 제2코드를 k각형의 n카운트만큼 구름이동함에 따라 구름이동된 n번째 꼭지점을 향하는 각도로 매칭하여 저장)하므로, 가상코드검증수단은 제2코드에 상응하는 각도를 제1코드 대응지점에 적용하여 실제코드 저장위치에 대응하는 k각형의 꼭지점을 탐색한다.Specifically, as shown in FIG. 6, the virtual code verification device 200 moves the k-angle to a cloud corresponding to the first code (ie, each vertex of the k-angle and each point on the track come in contact with each other in turn). ). Thereafter, the virtual code verification device 200 instructs an angular direction corresponding to the second code and searches for a vertex corresponding to the storage location. For example, since the virtual code generation means B has passed 2 counts after issuing the actual code, the virtual code generation means B generates the second code applying the 2 counts as a function value and provides it as the virtual code verification means. The virtual code verification means matches and stores the second code generated by the second function for each count at the angle from the point where the track meets the angle to the vertex at the point where the track touches (that is, the second code to which the n count is applied). As the cloud moves as much as n counts of, it is stored by matching the angle toward the n-th vertex where the cloud is moved). Therefore, the virtual code verification means applies the angle corresponding to the second code to the first code correspondence point to the actual code storage location. Search for the vertex of the corresponding k-gon.

또한, 다른 일실시예로, 도 4에서와 같이, 상기 가상코드검증장치(200)는, 가상코드검증부(240);를 더 포함한다. 가상코드검증부(240)는 가상코드검증장치(200)가 수신한 가상코드의 진위여부를 판단하는 역할을 수행한다. In another embodiment, as shown in FIG. 4, the virtual code verification device 200 further includes a virtual code verification unit 240. The virtual code verification unit 240 serves to determine whether or not the virtual code received by the virtual code verification device 200 is authentic.

도 5는 본 발명의 일실시예에 따른 가상코드제공방법의 순서도이다.5 is a flowchart of a method for providing a virtual code according to an embodiment of the present invention.

도 5를 참조하면, 본 발명의 일실시예에 따른 가상코드제공방법은, 가상코드검증수단(20)이 가상코드생성수단(10)으로부터 가상코드를 수신하는 단계(S200; 가상코드 수신단계); 상기 가상코드검증수단(20)이 상기 가상코드에 포함된 복수의 세부코드를 추출하는 단계(S400); 및 상기 가상코드검증수단(20)이 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색하는 단계(S1000; 실제코드 탐색단계);를 포함한다. 이하, 각 단계에 대한 상세한 설명을 기재한다. 다만, 가상코드생성장치(100) 및 가상코드검증장치(200)에 대한 설명 과정에서 상술된 내용에 대한 구체적인 개시는 생략한다.Referring to Figure 5, the method for providing a virtual code according to an embodiment of the present invention, the virtual code verification means 20 receiving a virtual code from the virtual code generating means 10 (S200; virtual code receiving step) ; The virtual code verification means 20 extracting a plurality of detailed codes included in the virtual code (S400); And the virtual code verification means 20 searching for a storage location of the actual code based on a plurality of detailed codes (S1000; actual code search step). Hereinafter, detailed description of each step will be described. However, in the process of describing the virtual code generation device 100 and the virtual code verification device 200, detailed disclosure of the above-described contents will be omitted.

가상코드검증수단(20)이 가상코드생성수단(10)으로부터 가상코드를 수신한다(S200; 가상코드 수신단계). 가상코드는 가상코드생성장치(100)(또는 가상코드생성수단(10))에서 생성되어 가상코드검증수단(20)으로 제공된다.The virtual code verification means 20 receives the virtual code from the virtual code generation means 10 (S200; virtual code reception step). The virtual code is generated in the virtual code generation device 100 (or virtual code generation means 10) and provided to the virtual code verification means 20.

가상코드생성수단(10)에서 생성되는 가상코드는 복수의 세부코드로 구성될 수 있다. 일실시예로, 가상코드는 제1코드와 제2코드의 결합으로 생성될 수 있다. 제1코드 및 제2코드는 가상코드검증수단(20)에서 실제코드의 위치를 탐색하는데 각각 이용된다. 예를 들어, 제1코드는 가상코드검증수단(20)에서 실제코드 저장위치탐색의 시작지점을 설정하는 코드이고, 제2코드는 특정한 탐색방식에 따라 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 코드일 수 있다.The virtual code generated by the virtual code generating means 10 may be composed of a plurality of detailed codes. In one embodiment, the virtual code may be generated by combining the first code and the second code. The first code and the second code are used to search for the location of the actual code in the virtual code verification means 20, respectively. For example, the first code is a code that sets the starting point of the actual code storage location search in the virtual code verification means 20, and the second code is a search path from the starting point to the storage location according to a specific search method. It can be a code to set.

상기 탐색방식은 저장위치탐색알고리즘에 의해 결정될 수 있다. 탐색방식 결정에 대한 상세한 설명은 후술되는 실제코드탐색단계(S1000)에서 상세히 기술한다.The search method may be determined by a storage location search algorithm. A detailed description of the search method determination will be described in detail in the actual code search step (S1000) described later.

또한, 다른 일실시예로, 상기 가상코드생성함수는, M개 문자로 N자리의 상기 제1코드 또는 상기 제2코드를 생성하는 경우, 상이한 MN개의 코드를 단위카운트마다 순차적으로 변경되는 제1코드 또는 제2코드로 제공하는 제1함수 또는 제2함수를 포함한다. 즉, 제1함수 또는 제2함수는 MN개의 코드를 카운트 증가에 따라 겹치지 않게 생성하는 함수로서, 특정한 시점에 대응하는 카운트에 MN개의 코드 중에 특정한 하나를 제1코드 또는 제2코드로 생성한다. 이를 통해, 가상코드생성수단(10)은 MN카운트(즉, MN개의 카운트에 대응하는 시간길이) 내에 동일한 제1코드 또는 제2코드를 중복 생성하지 않고 단위카운트마다 새로운 세부코드(즉, 제1코드 또는 제2코드)를 생성하여, 단위카운트마다 새로운 가상코드를 생성한다. Further, in another embodiment, the virtual code generation function, when generating the first code or the second code of the N digits in M characters, different M N codes are sequentially changed for each unit count. It includes the first function or the second function provided by one code or second code. That is, the first function or the second function is a function for generating M N codes not to overlap as the count increases, and generates a specific one of the M N codes as the first code or the second code in the count corresponding to a specific time point. do. Through this, the virtual code generating means 10 does not duplicate the same first code or second code in the M N count (ie, the length of time corresponding to the M N counts) and generates new detailed codes for each unit count (ie, First code or second code) to generate a new virtual code for each unit count.

구체적으로, 가상코드생성함수는, M개 문자로 N자리의 상기 제1코드 또는 상기 제2코드를 생성함에 따라 MN개의 코드를 제1코드 또는 제2코드로 이용하는 경우, 각각의 코드를 세부코드생성함수가 구동되는 초기시점으로부터 각 카운트마다 매칭한다. 예를 들어, 단위카운트를 1초로 설정하는 경우, 세부코드생성함수가 최초 구동된 시점에서부터 매 초에 상이한 MN개의 코드를 매칭한다. 그리고, 특정한 세부코드생성함수를 이용하는 주기 또는 가상코드생성장치(100)의 사용주기(예를 들어, 가상카드번호를 생성하는 스마트카드의 유효기간)를 MN 카운트에 해당하는 시간길이(예를 들어, 1카운트가 1초인 경우, MN 초)보다 짧은 시간길이로 설정하면 제1코드 또는 제2코드는 사용주기 동안에 동일한 코드가 중복 생성되지 않는다. 즉, 시간이 흐름에 따라 카운트가 증가할 때, 사용자가 특정시점에 가상코드생성수단(10)에 가상코드생성요청을 하는 경우, 가상코드생성장치(100)는 특정시점에 대응되는 카운트에 매칭된 코드값을 제1코드 또는 제2코드로 생성할 수 있다.Specifically, the virtual code generation function uses M N codes as the first code or the second code by generating the first code or the second code of N digits in M characters. Each count is matched from the initial point at which the code generation function is driven. For example, when the unit count is set to 1 second, different M N codes are matched every second from the time when the detailed code generation function is first driven. In addition, the period of time using the specific detailed code generation function or the period of use of the virtual code generation apparatus 100 (for example, the validity period of the smart card generating the virtual card number) corresponds to the length of time corresponding to the M N count (eg For example, if 1 count is 1 second, if the length is set to a time length shorter than M N seconds), the same code is not duplicated during the use cycle of the first code or the second code. That is, when the count increases with time, when the user makes a virtual code generation request to the virtual code generation means 10 at a specific time, the virtual code generation device 100 matches the count corresponding to the specific time The generated code value can be generated as the first code or the second code.

또한, 다른 일실시예로, 동일한 그룹에 속한 사용자 간에도 동일한 가상코드가 동일시점에 생성되지 않도록, 가상코드에 포함되는 제1코드 또는 제2코드 중 적어도 어느 하나는 각 가상코드생성수단(10)에서 동일시점에 항상 상이하게 존재하는 값(즉, 장치식별값)을 반영하여 생성될 수 있다. 즉, 특정한 시점에 하나의 그룹에 속하는 복수의 가상코드생성수단(10)에서 가상코드 발급이 요청되는 경우, 각 가상코드생성수단(10)이 상이한 가상코드를 생성하도록 각 시점에 각 가상코드생성수단(10)에 상이하게 부여되는 값을 반영하여 상이한 제1코드 또는 제2코드를 생성한다.Further, in another embodiment, at least one of the first code or the second code included in the virtual code is generated for each virtual code generation means 10 so that the same virtual code is not generated between users belonging to the same group at the same time. In can be generated by reflecting a value (ie, device identification value) that is always different at the same time. That is, when a virtual code issuance is requested from a plurality of virtual code generation means 10 belonging to a group at a specific time, each virtual code generation at each time point causes each virtual code generation means 10 to generate a different virtual code. Different first codes or second codes are generated by reflecting different values assigned to the means 10.

일 예로, 장치식별값은 특정한 세부코드생성함수가 적용되는 그룹에 특정한 가상코드생성수단(10)이 포함된 시작시점(예를 들어, 가상코드검증수단(20) 내에 특정한 세부코드생성함수가 구동된 최초시점으로부터 특정시간이 경과한 후 특정한 가상코드생성장치(100)에 상기 세부코드생성함수가 적용되기 시작한 시점)으로부터 현재까지 경과된 시간(또는 카운트수)일 수 있다. 하나의 그룹 내에 복수의 가상코드생성수단(10)이 포함되는 경우, 가상코드생성수단(10)을 해당 그룹에 속하도록 설정하는 카운트를 동일하지 않게 하면(즉, 가상코드생성수단(10)이 해당 그룹에 동일시점에 등록될 수 없게 하면), 가상코드생성수단(10)이 그룹에 속하게 된 시점(또는 카운트)로부터 특정시점까지의 경과된 시간은 각 가상코드생성장치(100)마다 상이하게 된다. 예를 들어, 복수의 가상코드생성수단(10)에서 동시에 그룹참여요청이 수신되는 경우(예를 들어, 동시에 특정한 카드사의 특정 카드유형의 발급요청이 수신되는 경우), 가상코드검증수단(20)은 복수의 가상코드생성수단(10)으로부터 동시에 수신된 그룹참여요청을 미리 정해진 조건에 따라 순서를 부여하여 다른 카운트에 요청이 들어온 것으로 처리할 수 있다.As an example, the device identification value is a starting point (for example, the virtual code verification means 20 operates a specific detailed code generation function) in which a specific virtual code generation means 10 is applied to a group to which a specific detailed code generation function is applied. It may be a time (or count) that has elapsed from the first time point when the specific code generation function starts to be applied to the specific virtual code generation device 100 after a specific time has elapsed. When a plurality of virtual code generating means 10 are included in one group, if the counts for setting the virtual code generating means 10 to belong to the group are not the same (that is, the virtual code generating means 10) If the group cannot be registered at the same time), the time elapsed from the point (or count) when the virtual code generation means 10 belongs to the group to a specific point in time is different for each virtual code generation device 100. do. For example, when a group participation request is simultaneously received from a plurality of virtual code generation means 10 (for example, when a request for issuing a specific card type of a specific card company is received at the same time), the virtual code verification means 20 The group participation request received from the plurality of virtual code generation means 10 at the same time may be assigned as an order according to a predetermined condition to process the request as a different count.

예를 들어, 가상코드가 제1코드와 제2코드의 결합으로부터 생성되는 경우, 가상코드생성함수는 실제코드를 신규생성한 시점으로부터 경과된 단위카운트를 기반으로 제2코드를 생성하도록 할 수 있다.For example, when the virtual code is generated from the combination of the first code and the second code, the virtual code generation function may cause the second code to be generated based on the unit count elapsed from the time when the actual code is newly generated. .

따라서, 세부코드생성함수 중 적어도 어느 하나는 가상코드생성장치(100)가 그룹에 속하게 된 시점(또는 카운트)으로부터 특정시점까지의 경과된 시간을 장치식별값으로 이용하여, 각 시점마다 각각의 가상코드생성장치(100)에서 생성되는 가상코드가 항상 상이하도록 할 수 있다. 이를 통해, 가상코드검증수단(20)이 사용자를 구별하기 위한 데이터를 별도로 수신하지 않고 가상코드를 수신하는 것만으로 가상코드생성수단(10)의 구별이 가능하도록 할 수 있다.Therefore, at least one of the detailed code generation functions uses the elapsed time from the time (or count) at which the virtual code generation device 100 belongs to the group to a specific time as the device identification value, and each virtual The virtual code generated by the code generating device 100 may be always different. Through this, the virtual code verification means 20 can be distinguished from the virtual code generation means 10 only by receiving the virtual code without separately receiving data for distinguishing the user.

또한, 특정한 가상코드생성장치(100)가 특정한 그룹에 속하게 된 시점으로부터 경과된 시간길이는 시간이 흐름에 따라 계속 증가하게 되므로, 특정한 가상코드생성장치(100)에서 생성되는 세부코드(예를 들어, 제2코드)는 동일한 값이 생성되지 않고 계속 다른 값이 생성된다. In addition, since the length of time elapsed from the time when the specific virtual code generating device 100 belongs to a specific group continues to increase with time, the detailed code generated by the specific virtual code generating device 100 (for example, , The second code) does not generate the same value, but continues to generate different values.

또한, 또 다른 일실시예로, 전체주기에서 사용자에 무관하게 중복된 가상코드가 발생되지 않도록, 제1코드는 제1함수가 구동되는 초기시점으로부터 각 카운트마다 매칭된 코드 중에서 가상코드 생성요청된 시점(또는 카운트)에 대응되는 코드값으로 설정하고, 제2코드는 가상코드생성장치(100)마다 동일시점에 항상 상이하게 존재하는 값(즉, 장치식별값)을 반영하여 생성되는 코드값으로 설정하고, 가상코드를 상기 제1코드와 제2코드가 결합된 코드값으로 이용할 수 있다. 제1코드는 각 카운트마다 상이한 코드값이 되고 제2코드는 동일시점에 가상코드생성장치(100)마다 상이한 코드값을 가지게 되어서, 제1코드와 제2코드가 결합된 가상코드는 가상코드생성장치(100)와 시점에 상관없이 상이한 코드값이 출력되게 된다.In addition, in another embodiment, the first code is requested to generate a virtual code among codes matched for each count from the initial time at which the first function is driven so that duplicate virtual codes are not generated regardless of the user in the entire cycle. Set to a code value corresponding to a time point (or count), and the second code is a code value generated by reflecting a value (that is, a device identification value) that is always different at the same time point for each virtual code generating device 100 Set and use the virtual code as a code value in which the first code and the second code are combined. The first code has a different code value for each count, and the second code has a different code value for each virtual code generating device 100 at the same time, so that the virtual code combining the first code and the second code generates a virtual code. Different code values are output regardless of the device 100 and the viewpoint.

또한, 다른 일실시예로, 상기 가상코드생성함수는, 복수의 세부코드를 배열하는 규칙에 해당하는 세부코드결합함수를 포함한다. 즉, 가상코드생성함수는 복수의 세부코드에 포함된 문자를 나열 또는 배치하는 특정한 규칙을 가지고 있을 수 있다. 이에 따라, 동일한 가상코드생성함수를 포함하는 가상코드생성수단(10)과 가상코드검증수단(20)의 경우, 가상코드생성수단(10)이 복수의 세부코드에 포함된 문자를 세부코드결합함수에 따라 배열하고, 가상코드검증수단(20)이 동일한 세부코드결합함수를 이용하여 가상코드에서 개별 세부코드를 분리할 수 있다. Further, in another embodiment, the virtual code generation function includes a detailed code combining function corresponding to a rule for arranging a plurality of detailed codes. That is, the virtual code generation function may have specific rules for arranging or arranging characters included in a plurality of detailed codes. Accordingly, in the case of the virtual code generation means 10 and the virtual code verification means 20 including the same virtual code generation function, the virtual code generation means 10 combines the characters included in the plurality of detailed codes into detailed code functions. Arranged according to, and the virtual code verification means 20 can separate individual detailed codes from the virtual codes using the same detailed code combining function.

또한, 다른 일실시예로, 상기 가상코드생성함수는, M개의 문자를 오름차순으로 나열하는 다수의 나열규칙 중 어느 하나가 적용될 수 있다. 즉, 가상코드생성함수는 M개의 문자를 오름차순으로 나열하는 다양한 나열규칙이 적용될 수 있고, 적용되는 나열규칙에 따라 상이한 가상코드생성함수로 분류될 수 있다.In addition, in another embodiment, the virtual code generation function may be applied to any one of a number of rules for listing M characters in ascending order. That is, the virtual code generation function may be applied to various sorting rules for listing M characters in ascending order, and may be classified into different virtual code generation functions according to the applied sorting rules.

가상코드검증수단(20)은 가상코드생성수단(10)이 생성한 가상코드를 다양한 방식으로 수신한다. 즉, 상술된 가상코드생성장치(100)의 다양한 가상코드제공방식이 적용될 수 있다.The virtual code verification means 20 receives the virtual codes generated by the virtual code generation means 10 in various ways. That is, various methods for providing virtual codes of the above-described virtual code generation device 100 may be applied.

가상코드검증수단(20)이 상기 가상코드에 포함된 복수의 세부코드를 추출한다(S400). 가상코드검증수단(20)은 가상코드생성수단(10)이 포함하는 가상코드생성함수를 포함함에 따라, 복수의 세부코드를 결합하였던 규칙(즉, 세부코드결합함수)을 동일하게 적용하여 복수의 세부코드를 추출한다. 즉, 세부코드결합함수는 복수의 세부코드를 배열하는 규칙에 해당하는 것으로, 가상코드생성함수 내에 포함된다.The virtual code verification means 20 extracts a plurality of detailed codes included in the virtual code (S400). As the virtual code verification means 20 includes a virtual code generation function included in the virtual code generation means 10, a plurality of detailed codes are combined by applying the same rules (that is, detailed code combining functions). Extract the detailed code. That is, the detailed code combination function corresponds to a rule for arranging a plurality of detailed codes, and is included in the virtual code generation function.

또한, 다른 일실시예로, 가상코드가 가상코드생성수단(10)이 포함된 그룹을 결정하는 고정코드를 포함하는 경우, 상기 세부코드추출단계(S400)는 상기 가상코드 내에서 상기 고정코드를 추출하고, 상기 고정코드를 기반으로 상기 가상코드생성수단의 그룹을 판단하여, 상기 그룹에 대한 상기 가상코드생성함수 또는 상기 저장위치탐색알고리즘을 결정한다. 즉, 각 그룹별로 가상코드생성함수 또는 저장위치탐색알고리즘을 상이하게 적용하는 경우, 가상코드검증수단(20)는 가상코드 내의 고정코드를 기반으로 그룹을 구별한다.Further, according to another embodiment, when the virtual code includes a fixed code for determining a group including the virtual code generating means 10, the detailed code extraction step (S400) extracts the fixed code within the virtual code. Extracting, and determining the group of the virtual code generation means based on the fixed code, and determines the virtual code generation function or the storage location search algorithm for the group. That is, when the virtual code generation function or the storage location search algorithm is applied differently for each group, the virtual code verification means 20 distinguishes the group based on the fixed code in the virtual code.

또한, 고정코드를 이용하여 가상코드생성함수를 결정하는 과정은, 복수의 세부코드를 추출하는 과정 이전에 수행될 수 있다. 고정코드에 의해 가상코드생성함수가 결정되어야 가상코드생성함수 내에 포함된 세부코드결합함수가 결정되어 복수의 세부코드를 추출할 수 있다.Also, the process of determining the virtual code generation function using the fixed code may be performed before the process of extracting a plurality of detailed codes. When the virtual code generation function is determined by the fixed code, the detailed code combination function included in the virtual code generation function is determined to extract a plurality of detailed codes.

이를 위해, 가상코드검증수단(20)이 별도의 함수 없이도 용이하게 분리해내도록, 고정코드는 가상코드 내에 고정된 위치(예를 들어, 가상코드의 제일 앞의 특정 개수의 자리)에 결합될 수 있다.To this end, the fixed code can be coupled to a fixed position in the virtual code (for example, a certain number of digits in the front of the virtual code) so that the virtual code verification means 20 can easily separate it without a separate function. have.

가상코드검증수단(20)이 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색한다(S1000; 실제코드 탐색단계). 복수의 세부코드는 상호간에 상관관계를 가지고 있고, 가상코드검증수단(20)은 세부코드 간의 상관관계를 기반으로 실제코드 저장위치를 탐색한다. The virtual code verification means 20 searches the storage location of the actual code based on the plurality of detailed codes (S1000; actual code search step). The plurality of detailed codes have a correlation with each other, and the virtual code verification means 20 searches the actual code storage location based on the correlation between the detailed codes.

또한, 일실시예로, 가상코드 내의 복수의 세부코드는 단위카운트마다 생성되는 코드가 변경(예를 들어, 가상코드가 2개의 세부코드로 이루어지는 경우, 제1코드 및 제2코드는 단위카운트마다 변경)될 수 있고, 가상코드검증수단(20)은 단위카운트마다 가상코드가 변경되어도 실제코드 저장위치를 탐색할 수 있도록 실제코드 저장위치에 매칭된 지점을 변경된 제1코드 및 제2코드에 부합하는 위치로 단위카운트마다 조절한다. In addition, in one embodiment, a plurality of detailed codes in the virtual code are generated for each unit count, and the code generated is changed (for example, if the virtual code is composed of two detailed codes, the first code and the second code are for each unit count) Change), and the virtual code verification means 20 matches the changed first code and second code to the point matched with the actual code storage location so that even if the virtual code is changed for each unit count, the actual code storage location can be searched. Adjust it for each unit count to the desired position.

가상코드를 구성하는 세부코드 간의 상관관계에 관한 일실시예로, 가상코드가 제1코드와 제2코드의 결합으로 이루어지는 경우, 가상코드검증수단(20)은 제1코드를 탐색시작지점(즉, 실제코드 저장위치의 탐색을 시작하는 지점)으로 설정하고, 제2코드를 상기 탐색시작지점으로부터 저장위치로 이동하는 경로로 적용하여 저장위치를 탐색할 수 있다. 즉, 단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 가상코드검증수단(20)은 제1코드에 대응하는 시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 탐색지점을 실제코드의 저장위치 또는 저장위치에 매칭된 지점(예를 들어, 별도 서버에 탐색지점에 매칭되어 있는 저장공간)으로 판단한다.As an embodiment of the correlation between the detailed codes constituting the virtual code, when the virtual code is composed of a combination of the first code and the second code, the virtual code verification means 20 searches for the first code starting point (ie , Starting point of the search for the actual code storage location), and applying the second code as a path to move to the storage location from the search starting location. That is, when the virtual code normally generated for each unit count is received, the virtual code verification means 20 moves the search point moved from the starting point corresponding to the first code according to the search path corresponding to the second code to the actual code. It is determined as a storage location or a point matched to the storage location (for example, a storage space matched with a search point on a separate server).

일실시예로, 제2코드가 제1코드에 상응하는 탐색시작지점으로부터의 저장위치까지의 경로에 대한 정보를 모두 포함하는 경우, 가상코드검증수단(20)은 제1코드에 상응하는 탐색시작지점으로부터 제2코드에 상응하는 탐색경로에 따라 실제코드 저장위치 또는 저장위치에 매칭된 지점을 찾을 수 있다. In one embodiment, when the second code includes all information on the path from the search start point corresponding to the first code to the storage location, the virtual code verification means 20 starts the search corresponding to the first code From the point, according to the search path corresponding to the second code, a point matching the actual code storage location or the storage location can be found.

다른 일실시예로, 가상코드검증수단(20)은 단위카운트마다 실제코드의 저장위치를 가상코드에 부합하게 조절하는 저장위치탐색알고리즘을 포함할 수 있다. 즉, 상기 가상코드검증수단(20)은, 단위카운트마다 실제코드 저장위치에 매칭된 지점으로의 탐색경로를 조절하는 저장위치탐색알고리즘을 포함한다. 상기 제1코드 및 상기 제2코드는 단위카운트마다 변경되는 경우, 가상코드검증수단(20)은 변경되는 제1코드 및 제2코드에 부합하게 저장위치탐색알고리즘을 조절할 수 있다. 상기 저장위치탐색알고리즘은 다양한 형태로 구현될 수 있다. In another embodiment, the virtual code verification means 20 may include a storage location search algorithm that adjusts the storage location of the actual code per unit count in accordance with the virtual code. That is, the virtual code verification means 20 includes a storage location search algorithm that adjusts a search path to a point that matches the actual code storage location for each unit count. When the first code and the second code are changed for each unit count, the virtual code verification means 20 may adjust the storage location search algorithm in accordance with the changed first code and the second code. The storage location search algorithm may be implemented in various forms.

일실시예로, 도 7에서와 같이, 저장위치탐색알고리즘이 k(k는 MN)개의 코드가 나열된 트랙 상을 k각형이 각 코드가 배치된 지점에 꼭지점이 대응되면서 구름이동하는 것일 수 있다. 이 때, 상기 실제코드탐색단계(S1000)는, 가상코드검증수단(20)이 상기 가상코드생성수단(10)으로부터 수신된 상기 가상코드 내 제1코드에 대응하는 트랙 상의 지점으로 k각형을 구름이동하는 단계(S1010); 상기 제1코드에 대응하는 위치를 시작지점으로 설정하고, 상기 제2코드에 적용된 탐색방식에 따라 제2코드를 기반으로 k각형의 배치상태에서의 저장위치 또는 상기 저장위치가 매칭된 지점을 탐색하는 단계(S1020; 저장위치탐색단계); 및 상기 저장위치에 포함된 실제코드를 추출하는 단계(S1030);를 포함한다.In one embodiment, as shown in FIG. 7, the storage location search algorithm may be a cloud movement as k vertices correspond to vertices at a point where k (k is M N ) codes are listed. . At this time, in the actual code search step (S1000), the virtual code verification means 20 clouds the k-angle to a point on the track corresponding to the first code in the virtual code received from the virtual code generation means 10. Moving step (S1010); Set a location corresponding to the first code as a starting point, and search for a storage location in a k-angle arrangement state or a location where the storage location is matched based on the second code according to the search method applied to the second code. Step (S1020; storage location search step); And extracting the actual code included in the storage location (S1030).

가상코드검증수단(20)은, 도 6에서와 같이, 가상코드생성수단(10)으로부터 수신된 상기 가상코드 내 제1코드에 대응하는 트랙 상의 지점으로 k각형을 구름이동한다(S1010). 저장위치탐색알고리즘은 제1코드에 해당하는 MN개의 코드가 나열된 트랙을 따라 구름이동하는 k각형(k는 MN)이며, k각형의 꼭지점이 제1코드 트랙 상에 코드가 배치되는 지점에 대응되면서 이동한다. 이 때, 가상코드검증수단(20)은 제1코드에 대응되는 지점에 k각형의 꼭지점이 접하도록 k각형을 구름이동(또는 구름이동)을 적용할 수 있다.The virtual code verification means 20, as shown in FIG. 6, moves the k-angle to a point on the track corresponding to the first code in the virtual code received from the virtual code generation means 10 (S1010). The storage location search algorithm is a k-angle (k is M N ) that moves along the track where M N codes corresponding to the first code are listed, and the vertex of the k-angle is located at the point where the code is placed on the first code track. Move in response. At this time, the virtual code verification means 20 may apply a cloud movement (or cloud movement) to the k-angle so that the vertex of the k-angle is in contact with the point corresponding to the first code.

가상코드검증수단(20)은, 도 6에서와 같이, 상기 제1코드에 대응하는 위치가 시작지점으로 설정하고, 상기 제2코드에 적용된 탐색방식에 따라 제2코드를 기반으로 k각형의 배치상태에서의 저장위치 또는 저장위치에 매칭된 지점(즉, k각형의 특정한 꼭지점)을 탐색한다(S1020; 저장위치탐색단계). 상기 저장위치는 상기 k각형의 각각의 꼭지점에 매칭된다. 제1코드 트랙(즉, 제1트랙)과 k각형이 대응되는 지점이 제1코드에 대응하는 저장위치 탐색시작지점이 된다. 가상코드검증수단(20)은 탐색시작지점에서 제2코드를 기반으로 저장위치의 매칭지점을 탐색한다.As shown in FIG. 6, the virtual code verification means 20 sets a position corresponding to the first code as a starting point, and arranges a k-angle based on a second code according to a search method applied to the second code. Search for a storage location in the state or a point matching the storage location (that is, a specific vertex of a k-gon) (S1020; storage location search step). The storage location is matched to each vertex of the k-gon. The point where the first code track (that is, the first track) and the k-angle correspond to the storage location search start point corresponding to the first code. The virtual code verification means 20 searches for a matching point of the storage location based on the second code at the search starting point.

제2코드를 기반으로 k각형에서 저장위치를 탐색하는 방식으로는 다양한 방식이 적용될 수 있다. 일 예로, 가상코드검증수단(20)은 k각형이 접한 제1트랙 상의 위치에서 제2코드에 상응하는 각도(예를 들어, k각형의 꼭지점을 향하도록 180도를 MN개로 분할한 특정한 각도)로 지시함에 따라, 가상코드에 대응하는 실제코드가 저장된 저장위치인 k각형의 꼭지점을 탐색할 수 있다.Various methods can be applied as a method of searching a storage location in a k-angle based on the second code. As an example, the virtual code verification means 20 is a specific angle divided by 180 degrees M N pieces so as to face the vertex of the k-angle at a position corresponding to the second code at a position on the first track in contact with the k-angle ), It is possible to search for a vertex of a k-gon, which is a storage location where a real code corresponding to a virtual code is stored.

또한, 다른 예로, k각형이 제1트랙 상의 제1코드에 대응하는 지점에 접한 상태에서, 가상코드검증수단(20)은 k각형의 중심과 제1트랙 상의 접점을 기준으로, 전체 중심각(즉, 360도)을 MN개로 분할하고, 각각의 각도를 MN개의 제2코드에 매칭한다. 이 때, k각형의 중심과 제1트랙 상의 접점을 이은 선으로부터 특정개수의 단위각도(즉, 360도/MN)를 이동한 선의 방향은 k각형의 특정한 꼭지점이 된다. 따라서, 특정한 각도에 대응하는 제2코드가 수신되면, 가상코드검증수단(20)은 해당 각도 방향에 위치한 꼭지점을 탐색할 수 있다.Further, as another example, in a state where the k-angle is in contact with the point corresponding to the first code on the first track, the virtual code verification means 20 is based on the center of the k-angle and the contact point on the first track, the entire center angle (ie , 360 degrees) into M N pieces, and match each angle to M N second codes. At this time, the direction of the line moving a specific number of unit angles (ie, 360 degrees / M N ) from the line connecting the center of the k-angle and the contact point on the first track becomes a specific vertex of the k-angle. Accordingly, when a second code corresponding to a specific angle is received, the virtual code verification means 20 may search for a vertex located in the corresponding angle direction.

또한, 다른 예로, 제2코드의 특정 자리를 각도산출 방향을 결정하는 것으로 사용할 수 있다. 즉, N개(N은 자연수)의 문자를 이용하여 제2코드를 생성하는 경우, 1개의 자리(Digit)로 각도 측정방향을 결정할 수 있다. 예를 들어, 가상코드검증수단(20)은 k각형의 중심과 제1트랙 상의 접점을 기준으로, 전체 중심각(즉, 360도)을 분할하여 각각의 각도에 제2코드를 매칭하는 경우, k각형의 중심과 제1트랙 상의 접점을 이은 선으로부터 좌측방향으로 측정되는 각도인지 우측방향으로 측정되는 각도인지를 1개의 자리(Digit)의 값으로 결정할 수 있다. Also, as another example, a specific digit of the second code may be used to determine the angle calculation direction. That is, when the second code is generated using N characters (N is a natural number), the angle measurement direction can be determined by one digit. For example, if the virtual code verification means 20 matches the second code to each angle by dividing the entire center angle (ie, 360 degrees) based on the center of the k-angle and the contact point on the first track, k From the line connecting the center of the square and the contact point on the first track, whether it is an angle measured in the left direction or an angle measured in the right direction can be determined as a value of one digit.

일 예로, 저장위치탐색알고리즘은, k각형 상의 각 꼭지점에 각도 측정방향에 따라 다른 2개의 제2코드가 하나의 꼭지점에 배정할 수 있다. 즉, 하나의 꼭지점에 내각으로 도달 시와 외각으로 도달 시에 다른 제2코드와 매칭되고, 다른 실제코드가 연결될 수 있다. 다른 일 예로, 저장위치탐색알고리즘은, N개(N은 자연수)의 문자를 이용하여 제2코드를 생성하는 경우에 N-1개로 전체각도(예를 들어, 중심각을 기준으로 분할하는 경우 360도)의 반에 대해 매칭하고 1개 자리를 이용하여 각 꼭지점에 도달하기 위한 각도 적용방향을 결정할 수 있다.For example, in the storage location search algorithm, two different second codes may be assigned to one vertex according to the angle measurement direction at each vertex on the k-angle. That is, when reaching the inner corner of the vertex and when reaching the outer corner, the other second code is matched, and different actual codes can be connected. As another example, the storage location search algorithm is N-1 when the second code is generated using N characters (N is a natural number), and the total angle (eg, 360 degrees when divided based on the central angle). ) Can be matched for half of the number and the angle applied direction to reach each vertex can be determined using one digit.

제2코드를 기반으로 k각형에서 저장위치를 탐색하는 방식은 이에 한정되지 아니하고, 제2코드에 상응하는 k각형 상의 지점과 제1트랙 상의 접점 사이를 특정한 비율로 나누는 지점을 저장위치로 탐색하는 방식 등의 다양한 방식이 적용될 수 있다.The method of searching the storage location in the k-angle based on the second code is not limited to this, and the point where the point on the k-angle corresponding to the second code and the contact point on the first track is divided by a specific ratio is searched as the storage location. Various methods such as a method can be applied.

그 후, 가상코드검증수단(20)은 상기 저장위치에 포함된 실제코드를 추출한다(S1030). 즉, 가상코드검증수단(20)은 k각형의 꼭지점에 대응되는 저장위치를 찾아서, 저장위치 내의 실제코드를 추출한다.Thereafter, the virtual code verification means 20 extracts the actual code included in the storage location (S1030). That is, the virtual code verification means 20 finds a storage location corresponding to the vertex of the k-angle, and extracts the actual code in the storage location.

또한, 도 8에서와 같이, 다른 일실시예로, 특정한 가상코드생성수단(10)으로부터 특정한 카운트에 신규로 실제코드 생성이 요청되면, 상기 특정한 카운트에 k각형의 특정한 꼭지점에 대응되는 저장위치에 실제코드를 저장하는 단계;를 더 포함한다(S100; 실제코드 저장단계). 상기 특정한 꼭지점은 상기 특정한 카운트에 트랙 상에 접한 것이다. 가상코드검증수단(20)이 가상코드생성함수 및 저장위치탐색알고리즘을 구동한 후 특정한 시점(또는 카운트)가 경과하였을 때, 가상코드검증수단(20)은 특정한 가상코드생성수단(10)으로부터 신규 실제코드 발급(즉, 특정한 그룹에 대한 포함요청)을 수신함에 따라 제1트랙 상에 접한 k각형의 꼭지점에 매칭된 저장위치에 신규생성한 실제코드를 저장한다. 구체적으로, 가상코드검증수단(20)에서 가상코드생성함수 및 저장위치탐색알고리즘이 구동됨에 따라 각 카운트마다 하나의 코드씩 k각형과 트랙이 접하는 위치가 이동하도록 k각형이 구름이동하게 되고, 특정한 카운트에 신규 실제코드 발급이 요청되면 특정한 카운트에 트랙에 접하고 있는 꼭지점이 실제코드가 저장되는 k각형 상의 지점으로 결정된다.In addition, as shown in FIG. 8, in another embodiment, when a new actual code is requested from a specific virtual code generating means 10 at a specific count, the specific count is stored in a storage location corresponding to a specific vertex of a k-angle. And storing the actual code; further includes (S100; storing the actual code). The particular vertex is a tangent to the track at the particular count. When a specific time (or count) elapses after the virtual code verification means 20 drives the virtual code generation function and the storage location search algorithm, the virtual code verification means 20 is new from the specific virtual code generation means 10. Upon receiving the actual code issuance (that is, the request for inclusion for a specific group), the newly generated actual code is stored in the storage location matched to the vertex of the k-angle touched on the first track. Specifically, as the virtual code generation function and the storage location search algorithm are driven in the virtual code verification means 20, the k-angle is moved in a cloud so that the k-angle and the track-contacting position are moved by one code for each count. When a new real code is issued to the count, the vertex contacting the track at a specific count is determined as a point on the k-angle where the real code is stored.

예를 들어, 도 6에서와 같이, 가상코드검증수단은 A시점에 가상코드생성수단A에 대해 실제코드를 발급함에 따라 A시점에 트랙에 접하였던 k각형의 꼭지점에 가상코드생성수단A의 실제코드를 저장한다. 그 후, 카운트가 경과함에 따라 k각형은 트랙을 따라 구름이동을 수행한다. k각형의 회전에 의해 가상코드생성수단 A의 실제코드가 저장된 저장위치가 회전하게 된다.For example, as shown in FIG. 6, the virtual code verification means actually executes the virtual code generation means A at the vertex of the k-angle that touched the track at time A as the actual code is issued for the virtual code generation means A at time A. Save the code. Thereafter, as the count elapses, the k-angle performs a cloud movement along the track. The storage position in which the actual code of the virtual code generating means A is stored is rotated by the rotation of the k-gon.

즉, 트랙과 접하는 k각형의 꼭지점에 실제코드가 저장된 후 n카운트가 경과된 만큼 k각형이 회전하여, 경과된 n카운트 개수만큼 실제코드가 저장된 지점이 회전된다. 따라서, 제2코드가 실제코드가 발급된 카운트(즉, 시점)로부터 경과된 단위카운트 개수를 반영하여 산출되면, 가상코드검증수단(20)은 제2코드를 통해 가상코드가 생성된 시점에 실제코드가 저장된 k각형 상의 지점을 산출할 수 있다.That is, after the actual code is stored at the vertex of the k-angle that touches the track, the k-angle is rotated as much as the n count has elapsed, and the point at which the actual code is stored is rotated by the number of n counts that have elapsed. Accordingly, when the second code is calculated by reflecting the number of unit counts elapsed from the count (that is, the point in time) at which the actual code was issued, the virtual code verification means 20 is actually executed at the time when the virtual code is generated through the second code. It is possible to calculate the point on the k-angle where the code is stored.

구체적으로, 제1코드가 가상코드검증수단(20) 내에서 특정한 가상코드생성함수 및 저장위치탐색알고리즘이 구동된 최초시점으로부터 경과된 카운트 개수에 대응하는 코드값이고 제2코드가 특정한 가상코드생성수단(10)에 대해 실제코드를 발급한 후 경과된 카운트 개수에 대응하는 코드값인 경우, 가상코드검증수단(20)은 제1코드를 통해 가상코드생성수단(10)에서 가상코드 생성을 요청한 시점(예를 들어, C시점)을 파악하고, 제2코드를 통해 해당 시점의 k각형 배치상태에서 실제코드가 저장된 k각형 상의 꼭지점을 파악한다. 즉, 제1코드는 k각형의 특정한 꼭지점을 탐색할 수 있는 k각형 배치상태가 되도록 하는 트랙상의 지점을 결정하는데 이용되고, 제2코드는 제1코드에 대응하는 트랙상 지점에 k각형이 배치된 후에 실제코드 저장위치에 매칭된 k각형 상의 꼭지점을 탐색하는데 이용된다. 이를 통해, 가상코드생성수단(10)에서 가상코드를 생성한 후 가상코드검증수단(20)으로 제공되는데 지연시간(delay time)이 있더라도, 가상코드검증수단(20)은 가상코드에 대응하는 실제코드를 정확히 탐색할 수 있다.Specifically, the first code is a code value corresponding to the number of counts elapsed since the first time the specific virtual code generation function and the storage location search algorithm were driven in the virtual code verification means 20, and the second code is the specific virtual code generation In the case of a code value corresponding to the number of counts elapsed after issuing the actual code to the means 10, the virtual code verification means 20 requests the virtual code generation means 10 to generate the virtual code through the first code. The time point (for example, point C) is determined, and the vertex on the k-angle where the actual code is stored in the k-angle arrangement state of the corresponding point is identified through the second code. That is, the first code is used to determine a point on the track to be in a k-angle arrangement state in which a particular vertex of the k-angle can be searched, and the second code is arranged with a k-angle at a point on the track corresponding to the first code. After it is used, it is used to search for the vertices of the k-angle that match the actual storage location. Through this, after generating the virtual code in the virtual code generating means 10 is provided to the virtual code verification means 20, even if there is a delay time (delay time), the virtual code verification means 20 is the actual corresponding to the virtual code You can navigate through the code exactly.

또한, 다른 일실시예로, 도 9에서와 같이, 상기 가상코드검증수단(20)이 상기 제1코드 또는 상기 제2코드를 상기 제1함수 또는 제2함수의 역함수를 적용하여 정상적으로 생성된 가상코드에 해당하는지 검증하는 단계(S500);를 더 포함한다. 예를 들어, 제1코드가 가상코드검증수단(20) 내에서 특정한 가상코드생성함수 및 저장위치탐색알고리즘이 구동된 최초시점으로부터 경과된 카운트 개수에 대응하는 코드값이고 제2코드가 특정한 가상코드생성수단(10)에 대해 실제코드를 발급한 후 경과된 카운트 개수에 대응하는 코드값인 경우, 가상코드검증수단(20)은 실제코드를 저장위치에 저장할 때 가상코드생성함수 구동 후 실제코드 발급 시까지 경과된 시간(Ts)를 함께 저장한다. 가상코드검증수단(20)은 가상코드 내 제1코드에 제1함수의 역함수를 적용하여 가상코드생성함수 구동 시로부터 가상코드 생성시점까지의 경과시간(T1)을 산출하고, 가상코드 내 제2코드에 제2함수의 역함수를 적용하여 실제코드 발급 시로부터 가상코드 생성시점까지의 경과시간(T2)를 산출한다. 그 후, 가상코드검증수단(20)은 T1과 T2의 차이가 Ts에 해당하는지 여부를 판단하여 가상코드를 검증한다.In another embodiment, as shown in FIG. 9, the virtual code verification means 20 applies the inverse function of the first function or the second function to the first code or the second code to generate the virtual function normally. Further comprising a step (S500) of verifying whether the code corresponds. For example, the first code is a code value corresponding to the number of counts elapsed from the initial time when the specific virtual code generation function and the storage location search algorithm are driven in the virtual code verification means 20, and the second code is a specific virtual code. In the case of a code value corresponding to the number of counts that have elapsed since the actual code was issued to the generating means 10, the virtual code verification means 20 issues the actual code after driving the virtual code generation function when storing the actual code in the storage location. The time elapsed until the hour is also stored. The virtual code verification means 20 applies the inverse function of the first function to the first code in the virtual code to calculate the elapsed time T1 from when the virtual code generation function is driven to the time at which the virtual code is generated, and the second in the virtual code. The inverse function of the second function is applied to the code to calculate the elapsed time (T2) from when the actual code is issued to when the virtual code is generated. Then, the virtual code verification means 20 determines whether the difference between T1 and T2 corresponds to Ts and verifies the virtual code.

또한, 다른 일실시예로, 도 10에서와 같이, 상기 가상코드생성수단(10)으로부터 수신된 제1수신코드와 상기 가상코드검증수단(20)에서 생성된 제1함수에 따라 생성된 제1생성코드를 비교하는 단계(S600); 상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위 내에 포함되면 상기 제1수신코드를 상기 시작지점으로 하는 제1코드로 설정하는 단계(S700); 및 상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위를 벗어나면 비정상코드로 판단하는 단계(S800);를 더 포함한다. 가상코드생성수단(10) 및 가상코드검증수단(20)은 시간이 흐름에 따라 동일한 단위카운트가 경과된다. 그러나 가상코드생성수단(10)과 가상코드검증수단(20)에 포함된 타이머(Timer) 사이에 오차가 존재하여 동일시점에 경과된 카운트 개수의 상이할 수 있다. 따라서, 타이머에 의한 오차는 해소하면서 정상적인 가상코드가 아닌 비정상코드를 판별하기 위한 과정이 필요하다. 이를 위해, 가상코드검증수단(20)은 내부에서 제1함수에 의해 특정한 카운트에서 생성한 제1코드인 제1생성코드와 가상코드생성수단(10)으로부터 수신된 가상코드 내의 제1코드인 제1수신코드를 비교하고(S600), 제1생성코드와 제1수신코드 사이에 차이나는 카운트 개수가 오차허용범위 내에 해당하면 정상코드로 판단한 후 제1수신코드를 기준으로 실제코드 탐색과정을 수행하고(S700), 제1생성코드와 제1수신코드 사이에 차이나는 카운트 개수가 오차허용범위를 넘어서면 비정상코드로 판단한다(S800).In another embodiment, as shown in FIG. 10, the first received code received from the virtual code generating means 10 and the first generated according to the first function generated by the virtual code verifying means 20 Comparing the generated code (S600); If the first received code is included in an error tolerance range from the first generated code, setting the first received code as a first code as the starting point (S700); And determining that the first received code is an abnormal code if it is out of an error tolerance range from the first generated code (S800). The virtual code generation means 10 and the virtual code verification means 20 pass the same unit count over time. However, an error exists between the virtual code generation means 10 and the timer included in the virtual code verification means 20, so the number of counts elapsed at the same time may be different. Therefore, a process for determining an abnormal code other than a normal virtual code is required while resolving the error caused by the timer. To this end, the virtual code verification means 20 is a first code generated from a specific count by a first function internally and a first code in the virtual code received from the virtual code generation means 10. 1 Compare the received code (S600), and if the number of counts differing between the first generated code and the first received code falls within the error tolerance range, it is determined as a normal code, and then the actual code search process is performed based on the first received code. Then, if the number of counts differing between the first generated code and the first received code exceeds the error tolerance range, it is determined as an abnormal code (S800).

또한, 다른 일실시예로, 상기 가상코드는 특정한 자릿수의 보안코드를 더 포함하는 경우, 상기 가상코드검증수단이 상기 가상코드생성수단으로부터 수신한 수신보안코드와 상기 가상코드검증수단 내에서 생성된 생성보안코드의 일치여부를 판단하여 가상코드를 검증하는 단계;를 더 포함한다.In addition, in another embodiment, when the virtual code further includes a specific digit security code, the virtual code verification means is generated in the received security code and the virtual code verification means received from the virtual code generation means. And determining whether the generated security code matches or not and verifying the virtual code.

이상에서 전술한 본 발명의 일 실시예에 따른 가상코드제공방법은, 하드웨어인 컴퓨터와 결합되어 실행되기 위해 프로그램(또는 어플리케이션)으로 구현되어 매체에 저장될 수 있다.In the above, the method for providing virtual codes according to an embodiment of the present invention described above may be implemented as a program (or application) to be executed in combination with a computer that is hardware, and stored in a medium.

상기 전술한 프로그램은, 상기 컴퓨터가 프로그램을 읽어 들여 프로그램으로 구현된 상기 방법들을 실행시키기 위하여, 상기 컴퓨터의 프로세서(CPU)가 상기 컴퓨터의 장치 인터페이스를 통해 읽힐 수 있는 C, C++, JAVA, 기계어 등의 컴퓨터 언어로 코드화된 코드(Code)를 포함할 수 있다. 이러한 코드는 상기 방법들을 실행하는 필요한 기능들을 정의한 함수 등과 관련된 기능적인 코드(Functional Code)를 포함할 수 있고, 상기 기능들을 상기 컴퓨터의 프로세서가 소정의 절차대로 실행시키는데 필요한 실행 절차 관련 제어 코드를 포함할 수 있다. 또한, 이러한 코드는 상기 기능들을 상기 컴퓨터의 프로세서가 실행시키는데 필요한 추가 정보나 미디어가 상기 컴퓨터의 내부 또는 외부 메모리의 어느 위치(주소 번지)에서 참조되어야 하는지에 대한 메모리 참조관련 코드를 더 포함할 수 있다. 또한, 상기 컴퓨터의 프로세서가 상기 기능들을 실행시키기 위하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 통신이 필요한 경우, 코드는 상기 컴퓨터의 통신 모듈을 이용하여 원격에 있는 어떠한 다른 컴퓨터나 서버 등과 어떻게 통신해야 하는지, 통신 시 어떠한 정보나 미디어를 송수신해야 하는지 등에 대한 통신 관련 코드를 더 포함할 수 있다. The above-described program is C, C ++, JAVA, machine language, etc., in which a processor (CPU) of the computer can be read through a device interface of the computer in order for the computer to read the program and execute the methods implemented as a program. It may include a code (Code) coded in the computer language of. Such code may include functional code related to a function defining functions required to execute the above methods, and control code related to an execution procedure necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do. In addition, the code may further include a memory reference-related code as to which location (address address) of the computer's internal or external memory should be referred to additional information or media necessary for the computer's processor to perform the functions. have. Also, when the processor of the computer needs to communicate with any other computer or server in the remote to execute the functions, the code can be used to communicate with any other computer or server in the remote using the communication module of the computer. It may further include a communication-related code for whether to communicate, what information or media to transmit and receive during communication, and the like.

상기 저장되는 매체는, 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상기 저장되는 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있지만, 이에 제한되지 않는다. 즉, 상기 프로그램은 상기 컴퓨터가 접속할 수 있는 다양한 서버 상의 다양한 기록매체 또는 사용자의 상기 컴퓨터상의 다양한 기록매체에 저장될 수 있다. 또한, 상기 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장될 수 있다.The storage medium refers to a medium that stores data semi-permanently and that can be read by a device, rather than a medium that stores data for a short moment, such as registers, caches, and memory. Specifically, examples of the medium to be stored include, but are not limited to, ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device. That is, the program may be stored in various recording media on various servers that the computer can access or various recording media on the user's computer. In addition, the medium may be distributed over a computer system connected through a network to store computer-readable codes in a distributed manner.

상기와 같은 본 발명에 따르면, 아래와 같은 다양한 효과들을 가진다.According to the present invention as described above, it has various effects as follows.

첫째, 단위카운트마다 가상코드가 신규로 생성되며, 중복되는 가상코드가 정해진 전 주기 내에 등장하지 않으므로, 가상코드 유출 시에도 실제코드가 유출되지 않는 효과를 제공한다.First, since virtual codes are newly generated for each unit count, and duplicate virtual codes do not appear within a predetermined period, the actual code is not leaked even when the virtual codes are leaked.

둘째, 가상코드생성장치와 실제코드를 이용하는 장치(예를 들어, 금융사서버, IOT디바이스 등)에만 가상코드생성 및 실제코드 탐색을 위한 알고리즘이 추가되면 되므로, 기존에 실제코드를 이용하는 프로세스를 그대로 유지할 수 있다. 예를 들어, 스마트카드 또는 앱카드에 중복생성되지 않는 가상카드번호를 생성하여 제공되는 경우, POS장치와 PG사서버는 그대로 유지되어 가상카드번호를 카드사서버로 전달하고, 카드사버서가 가상카드번호에 상응하는 실제카드번호를 탐색하여 결제를 진행할 수 있다. 이를 통해, 보안성을 높이기 위해 기존프로세스 내에서 변경되어야 하는 부분을 최소화할 수 있고, 사용자는 보안성 향상을 위한 별도 단계를 수행하지 않아도 된다.Second, since algorithms for generating virtual code and searching for real code need only be added to the virtual code generating device and the device using the actual code (for example, a financial company server, IOT device, etc.), the existing process using the actual code is maintained. You can. For example, if a smart card or an app card is provided by generating a virtual card number that is not duplicated, the POS device and the PG company server are maintained and the virtual card number is transferred to the card company server, and the card server server is assigned to the virtual card number. Payment can be performed by searching the corresponding actual card number. Through this, it is possible to minimize the portion to be changed in the existing process in order to increase security, and the user does not need to perform a separate step to improve security.

셋째, 가상코드생성함수를 구현하는 방식이 매우 다양하여, 그룹별, 적용분야별로 상이한 가상코드생성함수를 적용할 수 있다.Third, there are various ways to implement the virtual code generation function, so different virtual code generation functions can be applied for each group and each application field.

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

Claims (15)

가상코드검증수단이 가상코드생성수단으로부터 가상코드를 수신하되, 상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것인, 가상코드 수신단계;
상기 가상코드검증수단이 상기 가상코드에 포함된 복수의 세부코드를 추출하는 단계; 및
상기 가상코드검증수단이 복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색하는 실제코드탐색단계;를 포함하고,
상기 가상코드검증수단과 상기 가상코드생성수단은 동일한 가상코드생성함수를 포함하는 것이며,
상기 세부코드는,
저장위치탐색의 시작지점을 설정하는 제1코드; 및
특정한 탐색방식에 따라, 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하고,
상기 제1코드 및 상기 제2코드는 단위카운트마다 변경되며,
상기 가상코드검증수단은,
단위카운트마다 생성되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고,
단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며,
상기 단위카운트는,
특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것인, 가상코드제공방법.
A virtual code verification means receiving the virtual code from the virtual code generation means, wherein the virtual code is generated by combining a plurality of detailed codes according to specific rules;
The virtual code verification means extracting a plurality of detailed codes included in the virtual code; And
Includes; the virtual code verification means, the actual code search step of searching for a storage location of the actual code based on a plurality of detailed code;
The virtual code verification means and the virtual code generation means include the same virtual code generation function,
The above detailed code,
A first code for setting a start point of a search for a storage location; And
It includes; a second code for setting a search path from the starting point to the storage location according to a specific search method;
The first code and the second code are changed for each unit count,
The virtual code verification means,
It includes a storage location search algorithm for adjusting the storage location of the actual code to match the first code and the second code generated for each unit count,
When the virtual code normally generated for each unit count is received, a point moved according to a search path corresponding to the second code from the starting point corresponding to the first code is calculated as the storage location,
The unit count,
A method for providing a virtual code, which is set as a specific time interval and changes as the time interval elapses.
제1항에 있어서,
상기 가상코드생성함수는,
M(M은 자연수)개 문자로 N(N은 자연수)자리의 상기 제1코드 또는 상기 제2코드를 생성하는 경우,
상이한 MN개의 코드를 단위카운트마다 순차적으로 변경되는 제1코드 또는 제2코드로 제공하는 제1함수 또는 제2함수를 포함하는, 가상코드제공방법.
According to claim 1,
The virtual code generation function,
When generating the first code or the second code of N (N is a natural number) digit with M (M is a natural number) characters,
And a first function or a second function for providing different M N codes as a first code or a second code that is sequentially changed for each unit count.
제2항에 있어서,
상기 제2코드는,
상기 가상코드생성수단에 대한 상기 실제코드를 신규생성한 시점으로부터 경과된 단위카운트를 기반으로 생성되는 것인, 가상코드제공방법.
According to claim 2,
The second code,
A method for providing a virtual code, which is generated based on a unit count elapsed from the time when the actual code for the virtual code generating means is newly generated.
제1항에 있어서,
상기 실제코드탐색단계는,
상기 저장위치탐색알고리즘이 k(k는 MN)개의 코드가 나열된 트랙 상을 k각형이 각 코드가 배치된 지점에 꼭지점이 대응되면서 구름이동하는 것인 경우,
상기 가상코드생성수단으로부터 수신된 상기 가상코드 내 제1코드에 대응하는 트랙 상의 지점으로 k각형을 구름이동하는 단계;
상기 제1코드에 대응하는 위치를 탐색시작지점으로 설정하고, 상기 제2코드에 적용된 탐색방식에 따라 제2코드를 기반으로 k각형의 배치상태에서의 저장위치를 탐색하되, 상기 저장위치는 상기 k각형의 각각의 꼭지점에 매칭되는 것인, 저장위치탐색단계; 및
상기 저장위치에 포함된 실제코드를 추출하는 단계;를 포함하는, 가상코드제공방법.
According to claim 1,
The actual code search step,
When the storage location search algorithm is k (k is M N ) on the track where the code is listed, k-gon is a cloud movement with the vertices corresponding to the point where each code is arranged,
Moving the k-angle to a point on the track corresponding to the first code in the virtual code received from the virtual code generating means;
The location corresponding to the first code is set as the search start point, and the storage location in the k-angle arrangement state is searched for based on the second code according to the search method applied to the second code. a storage location search step of matching each vertex of the k-gon; And
And extracting the actual code included in the storage location.
제4항에 있어서,
특정한 가상코드생성수단으로부터 특정한 카운트에 신규로 실제코드 생성이 요청되면, 상기 특정한 카운트에 k각형의 특정한 꼭지점에 대응되는 저장위치에 실제코드를 저장하되, 상기 특정한 꼭지점은 상기 특정한 카운트에 트랙 상에 접한 것인, 실제코드 저장단계;를 더 포함하는, 가상코드제공방법.
According to claim 4,
When a new actual code is requested to be generated from a specific virtual code generating means, a real code is stored in a storage location corresponding to a specific vertex of a k-angle to the specific count, wherein the specific vertex is on the track at the specific count. A method of providing a virtual code, further comprising a step of storing an actual code that is touched.
제1항에 있어서,
상기 가상코드생성함수는,
복수의 세부코드를 배열하는 규칙에 해당하는 세부코드결합함수를 포함하는 것인, 가상코드제공방법.
According to claim 1,
The virtual code generation function,
A method for providing a virtual code, comprising a detailed code combining function corresponding to a rule for arranging a plurality of detailed codes.
제1항에 있어서,
상기 가상코드생성함수는 각각의 세부코드를 생성하는 복수의 세부코드생성함수를 포함하고,
상기 세부코드생성함수는,
M개의 문자를 오름차순으로 나열하는 특정한 나열규칙이 적용된 것이며,
상기 문자는 대문자알파벳, 소문자알파벳, 숫자 및 특수문자 중 적어도 하나를 포함하는 것인, 가상코드제공방법.
According to claim 1,
The virtual code generation function includes a plurality of detailed code generation functions for generating each detailed code,
The detailed code generation function,
A specific sorting rule that lists M letters in ascending order is applied.
The character is to include at least one of uppercase alphabet, lowercase alphabet, numbers and special characters, virtual code providing method.
제1항에 있어서,
상기 가상코드는 상기 가상코드생성수단이 포함된 그룹을 판단하는 고정코드를 더 포함하고,
상기 세부코드추출단계는,
상기 가상코드 내에서 상기 고정코드를 추출하고,
상기 고정코드를 기반으로 상기 가상코드생성수단의 그룹을 판단하여, 상기 그룹에 대한 상기 가상코드생성함수 또는 상기 저장위치탐색알고리즘을 결정하는 것을 특징으로 하는, 가상코드제공방법.
According to claim 1,
The virtual code further includes a fixed code for determining a group including the virtual code generating means,
The detailed code extraction step,
Extracting the fixed code from the virtual code,
And determining the group of the virtual code generation means based on the fixed code, and determining the virtual code generation function or the storage location search algorithm for the group.
제1항에 있어서,
상기 가상코드는 특정한 자릿수의 보안코드를 더 포함하고,
상기 가상코드검증수단이 상기 가상코드생성수단으로부터 수신한 수신보안코드와 상기 가상코드검증수단 내에서 생성된 생성보안코드의 일치여부를 판단하여 가상코드를 검증하는 단계;를 더 포함하는, 가상코드제공방법.
According to claim 1,
The virtual code further includes a specific digit security code,
And the virtual code verification means determining whether the received security code received from the virtual code generation means matches the generated security code generated in the virtual code verification means to verify the virtual code. How to provide.
제9항에 있어서,
상기 보안코드는 가상코드생성수단의 고유식별값 및 생성시간데이터를 함수값으로 하여 생성되는 것이고,
상기 가상코드검증수단은 가상코드생성수단에 대한 실제코드 생성 시에 상기 고유식별값을 수신하여 저장하는 것을 특징으로 하는, 가상코드제공방법.
The method of claim 9,
The security code is generated by using the unique identification value and creation time data of the virtual code generation means as function values,
The virtual code verification means receives and stores the unique identification value when generating the actual code for the virtual code generation means, the virtual code providing method.
제2항에 있어서,
상기 가상코드검증수단이 상기 제1코드 또는 상기 제2코드를 상기 제1함수 또는 상기 제2함수의 역함수를 적용하여 정상적으로 생성된 가상코드에 해당하는지 검증하는 단계;를 더 포함하는, 가상코드제공방법.
According to claim 2,
Further comprising the step of verifying that the virtual code verification means corresponds to the normally generated virtual code by applying the inverse function of the first function or the second function to the first code or the second code; Way.
제1항에 있어서,
상기 가상코드생성수단으로부터 수신된 제1수신코드와 상기 가상코드검증수단에서 생성된 제1함수에 따라 생성된 제1생성코드를 비교하는 단계;
상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위 내에 포함되면 상기 제1수신코드를 상기 시작지점으로 하는 제1코드로 설정하는 단계; 및
상기 제1수신코드가 상기 제1생성코드로부터 오차허용범위를 벗어나면 비정상코드로 판단하는 단계;를 더 포함하는, 가상코드제공방법.
According to claim 1,
Comparing the first received code received from the virtual code generation means with the first generated code generated according to the first function generated by the virtual code verification means;
If the first received code is included in an error tolerance range from the first generated code, setting the first received code as a first code as the starting point; And
And determining that the first received code is an abnormal code if it is out of an error tolerance range from the first generated code.
하드웨어인 컴퓨터와 결합되어, 제1항 내지 제12항 중 어느 한 항의 방법을 실행시키기 위하여 매체에 저장된, 가상코드제공프로그램A virtual code providing program stored in a medium to execute the method of any one of claims 1 to 12 in combination with a computer that is hardware. 하나 이상의 세부코드를 생성하는 세부코드생성부;
상기 하나 이상의 세부코드를 조합하여 가상코드로 생성하는 가상코드생성부; 및
상기 가상코드를 가상코드검증장치로 제공하기 위해 외부로 출력하는 가상코드제공부;를 포함하고,
상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이고,
상기 세부코드는,
상기 가상코드검증장치에서 저장위치의 탐색시작지점을 설정하는 제1코드; 및
특정한 탐색방식에 따라, 가상코드검증장치에서 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하는 것이고,
상기 제1코드 및 상기 제2코드는 단위카운트마다 변경되며,
상기 가상코드검증장치는,
단위카운트마다 생성되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고,
단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 탐색시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며,
상기 단위카운트는,
특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것인, 가상코드생성장치.
A detail code generation unit that generates one or more detail codes;
A virtual code generation unit for generating the virtual code by combining the one or more detailed codes; And
Includes; a virtual code providing unit for outputting the virtual code to the outside to provide the virtual code verification device;
The virtual code is generated by combining a plurality of detailed codes according to specific rules,
The above detailed code,
A first code for setting a search start point of a storage location in the virtual code verification device; And
And a second code for setting a search path from the starting point to the storage location in the virtual code verification device according to a specific search method.
The first code and the second code are changed for each unit count,
The virtual code verification device,
It includes a storage location search algorithm for adjusting the storage location of the actual code to match the first code and the second code generated for each unit count,
When a virtual code normally generated for each unit count is received, a point moved according to a search path corresponding to the second code from the search start point corresponding to the first code is calculated as the storage location,
The unit count,
A virtual code generation device that is set to a specific time interval and changes as the time interval elapses.
가상코드를 기반으로 실제코드를 탐색하는 가상코드검증장치에 있어서,
가상코드생성장치로부터 가상코드를 수신하는 수신부;
상기 가상코드에 포함된 복수의 세부코드를 추출하는 세부코드추출부; 및
복수의 세부코드를 기반으로 실제코드의 저장위치를 탐색하는 실제코드 탐색부;를 포함하고,
상기 가상코드검증장치와 상기 가상코드생성장치는 동일한 가상코드생성함수를 포함하는 것이며,
상기 가상코드는 복수의 세부코드를 특정한 규칙에 따라 결합하여 생성되는 것이고,
상기 세부코드는,
실제코드탐색부에서 저장위치탐색의 탐색시작지점을 설정하는 제1코드; 및
특정한 탐색방식에 따라, 실제코드탐색부에서 상기 시작지점으로부터 상기 저장위치로의 탐색경로를 설정하는 제2코드;를 포함하는 것이고,
상기 실제코드탐색부는,
상기 가상코드생성장치에서 단위카운트마다 변경되어 제공되는 상기 제1코드 및 상기 제2코드에 부합하도록 실제코드의 저장위치를 조절하는 저장위치탐색알고리즘을 포함하고,
단위카운트마다 정상적으로 생성된 가상코드가 수신되면, 상기 제1코드에 대응하는 상기 탐색시작지점으로부터 상기 제2코드에 상응하는 탐색경로에 따라 이동한 지점이 상기 저장위치로 산출되는 것을 특징으로 하며,
상기 단위카운트는, 특정한 시간간격으로 설정되어, 상기 시간간격이 경과됨에 따라 변경되는 것인, 가상코드검증장치.
In the virtual code verification device for searching the actual code based on the virtual code,
A receiving unit that receives the virtual code from the virtual code generating device;
A detailed code extraction unit for extracting a plurality of detailed codes included in the virtual code; And
It includes; a real code search unit for searching the storage location of the real code based on a plurality of detailed code,
The virtual code verification device and the virtual code generation growth value include the same virtual code generation function,
The virtual code is generated by combining a plurality of detailed codes according to specific rules,
The above detailed code,
A first code for setting a search start point of a storage location search in the actual code search unit; And
And a second code for setting a search path from the starting point to the storage location in the actual code search unit according to a specific search method.
The actual code search unit,
And a storage location search algorithm that adjusts a storage location of the actual code to match the first code and the second code, which are changed and provided for each count in the virtual code generation device,
When a virtual code normally generated for each unit count is received, a point moved according to a search path corresponding to the second code from the search start point corresponding to the first code is calculated as the storage location,
The unit count is set to a specific time interval, and is changed as the time interval elapses, the virtual code verification device.
KR1020200041500A 2020-04-06 2020-04-06 System, method and program for providing virtual code, vritual code generator and vritual code verification device KR102177461B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200041500A KR102177461B1 (en) 2020-04-06 2020-04-06 System, method and program for providing virtual code, vritual code generator and vritual code verification device
KR1020200146512A KR102329227B1 (en) 2020-04-06 2020-11-05 Method and program for searching actual code based on virtual code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200041500A KR102177461B1 (en) 2020-04-06 2020-04-06 System, method and program for providing virtual code, vritual code generator and vritual code verification device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190017818A Division KR102099973B1 (en) 2019-02-15 2019-02-15 System, method and program for providing virtual code, vritual code generator and vritual code verification device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020200146512A Division KR102329227B1 (en) 2020-04-06 2020-11-05 Method and program for searching actual code based on virtual code

Publications (2)

Publication Number Publication Date
KR20200038451A true KR20200038451A (en) 2020-04-13
KR102177461B1 KR102177461B1 (en) 2020-11-11

Family

ID=70224542

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200041500A KR102177461B1 (en) 2020-04-06 2020-04-06 System, method and program for providing virtual code, vritual code generator and vritual code verification device

Country Status (1)

Country Link
KR (1) KR102177461B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080087935A (en) * 2007-03-23 2008-10-02 신한카드 주식회사 System and method for registering affiliated card by using virtual card number and program recording medium
KR101316466B1 (en) 2012-11-20 2013-10-08 신한카드 주식회사 Mobile transaction system using dynamic track 2 data and method using the same
KR20160036471A (en) * 2014-08-27 2016-04-04 유한회사 실릭스 Payment method, computer readable recording medium and system using virtual number based on otp
KR20160119296A (en) * 2015-04-02 2016-10-13 현대오토에버 주식회사 Method and system for providing payment service using one time card number
KR20160122683A (en) * 2014-12-24 2016-10-24 에스케이플래닛 주식회사 Apparatus for authentication and payment based on web, method for authentication and payment based on web, system for authentication and payment based on web and computer readable medium having computer program recorded thereon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080087935A (en) * 2007-03-23 2008-10-02 신한카드 주식회사 System and method for registering affiliated card by using virtual card number and program recording medium
KR101316466B1 (en) 2012-11-20 2013-10-08 신한카드 주식회사 Mobile transaction system using dynamic track 2 data and method using the same
KR20160036471A (en) * 2014-08-27 2016-04-04 유한회사 실릭스 Payment method, computer readable recording medium and system using virtual number based on otp
KR20160122683A (en) * 2014-12-24 2016-10-24 에스케이플래닛 주식회사 Apparatus for authentication and payment based on web, method for authentication and payment based on web, system for authentication and payment based on web and computer readable medium having computer program recorded thereon
KR20160119296A (en) * 2015-04-02 2016-10-13 현대오토에버 주식회사 Method and system for providing payment service using one time card number

Also Published As

Publication number Publication date
KR102177461B1 (en) 2020-11-11

Similar Documents

Publication Publication Date Title
KR102143425B1 (en) Method and system for verifying virtual code based on sphere
KR102099974B1 (en) System, method and program for providing financial transaction by vritual card number, vritual card number generator and vritual card number verification device
KR102099973B1 (en) System, method and program for providing virtual code, vritual code generator and vritual code verification device
JP6612997B2 (en) Virtual code provision system, virtual code generation device, virtual code verification device, virtual code provision method, and virtual code provision program
EP4053773B1 (en) Virtual token-based settlement providing system, virtual token generation apparatus, virtual token verification server, virtual token-based settlement providing method, and virtual token-based settlement providing program
KR102177461B1 (en) System, method and program for providing virtual code, vritual code generator and vritual code verification device
KR102398026B1 (en) Method and program for searching actual code based on virtual code

Legal Events

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