KR101877345B1 - Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same - Google Patents

Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same Download PDF

Info

Publication number
KR101877345B1
KR101877345B1 KR1020170049930A KR20170049930A KR101877345B1 KR 101877345 B1 KR101877345 B1 KR 101877345B1 KR 1020170049930 A KR1020170049930 A KR 1020170049930A KR 20170049930 A KR20170049930 A KR 20170049930A KR 101877345 B1 KR101877345 B1 KR 101877345B1
Authority
KR
South Korea
Prior art keywords
hash value
block chain
card
information
financial server
Prior art date
Application number
KR1020170049930A
Other languages
Korean (ko)
Inventor
서문규
홍재우
어준선
Original Assignee
주식회사 코인플러그
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 코인플러그 filed Critical 주식회사 코인플러그
Priority to KR1020170049930A priority Critical patent/KR101877345B1/en
Priority to PCT/KR2018/004522 priority patent/WO2018194379A1/en
Application granted granted Critical
Publication of KR101877345B1 publication Critical patent/KR101877345B1/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/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4018Transaction verification using the card verification value [CVV] associated with the card
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/356Aspects of software for card payments
    • 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
    • G06Q20/3821Electronic credentials
    • G06Q20/38215Use of certificates or encrypted proofs of transaction rights
    • 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
    • G06Q20/3827Use of message hashing
    • 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
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • 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 method for approving usage of a card by using a token ID, which can minimize the risk of exposing card information, comprising: a step (a) of acquiring a push token ID or a data message, and requesting a user terminal for an authentication for order data or supporting another device to request the same; a step (b) of managing third and fourth block chain transaction IDs; and a step (c) of managing fifth and sixth block chain transaction IDs, and transmitting approval result information to at least one of a service providing terminal and the user terminal, or supporting another device to transmit the same.

Description

블록체인 및 이와 연동되는 머클 트리 구조 기반의 토큰 아이디를 이용하여 카드 사용을 승인하는 방법 및 이를 이용한 서버 {METHOD FOR APPROVING THE USE OF CREDIT CARD BY USING TOKEN ID BASED ON BLOCKCHAIN AND MERKLE TREE STRUCTURE RELATED THERETO, AND SERVER USING THE SAME}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a method of using a token ID based on a block chain and a token ID based on a merge tree structure linked to the block chain, and a server using the same. SERVER USING THE SAME}

본 발명은 블록체인 및 이와 연동되는 머클 트리 기반의 토큰 아이디를 이용하여 카드 사용을 승인하는 방법 및 이를 이용한 서버에 관한 것으로, 보다 상세하게는, 서비스 제공 단말로부터 획득되는 결제 요청 정보에 포함된 사용자 식별 정보에 대응하는 제1 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 푸쉬 토큰 아이디를 획득하거나, 제2 블록체인 트랜잭션 아이디를 이용하여 제2 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 제1 대표 해쉬값과 관련되어 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 제1 블록체인 데이터베이스에 등록된 푸쉬 토큰 아이디를 획득하고, 푸쉬 토큰 아이디에 대응되는 사용자 단말로 주문 데이터에 대한 인증을 요청하며, 사용자 단말로부터 획득되는 주문 데이터를 사용자의 프라이빗 키로 서명한 사용자 서명값의 유효 여부를 확인하여 유효이면, 주문 데이터를 제1 블록체인 데이터베이스에 등록하고 이에 대응되는 제3 블록체인 트랜잭션 아이디를 관리하며, 트리거링 조건이 만족되면 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값과 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제2 대표 해쉬값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제4 블록체인 트랜잭션 아이디를 관리하며, 금융 서버로 승인 요청 정보를 전송하여 금융 서버로 하여금, 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 전송하도록 하며, 금융 서버로부터 승인 결과 정보가 획득되면, 승인 결과 정보를 제1 블록체인 데이터베이스에 등록하고 이에 대응되는 제5 블록체인 트랜잭션 아이디를 관리하며, 트리거링 조건이 만족되면 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값과 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제3 대표 해쉬값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제6 블록체인 트랜잭션 아이디를 관리하고, 승인 결과 정보를 서비스 제공 단말 및 사용자 단말 중 적어도 하나로 전송하는 블록체인 머클 트리 구조 기반의 토큰 아이디를 이용하여 카드 사용을 승인하는 방법 및 서버에 관한 것이다.The present invention relates to a method for approving card usage using a block chain and a merge tree-based token ID linked to the block chain, and a server using the method. More particularly, Acquiring a push token ID registered in the first block chain database using the first block chain transaction ID corresponding to the identification information, acquiring a data message from the second block chain database using the second block chain transaction ID, Acquires the push token ID registered in the first block chain database with the merge tree information and leaf node information stored in the first block chain database in association with the first representative hash value included in the data message, Authentication of the order data to the user terminal. If the validity of the user signature value signed by the user's private key is validated, the order data is registered in the first block chain database and the corresponding third block chain transaction ID is managed A second representative hash value obtained by calculating a second specific hash value generated by applying a hash function to the order data and a second hash value matched with the second specific hash value, And transmits the approval request information to the financial server to verify the order data and to transmit the approval result information corresponding to the verification result, When the approval result information is obtained from the financial server, And a fifth block chain transaction ID corresponding to the fifth block chain transaction ID, and managing a fifth block chain transaction ID corresponding to the fifth block chain transaction ID. When the triggering condition is satisfied, a third specific hash value generated by applying a hash function to the acknowledgment result information, A third block hash value computed in the second block chain database, a sixth block chain transaction ID corresponding to the sixth block chain transaction ID, and transmits the approval result information to at least one of the service providing terminal and the user terminal. A method and server for authorizing a card using a token ID based on a merge tree structure.

인터넷 온라인 쇼핑몰 및 오프라인 상점에서의 신용카드 사용자가 증가하면서 신용카드는 현금과 함께 중요한 결제 수단으로 자리잡고 있다.As the number of credit card users increases at online online shopping malls and offline stores, credit cards are becoming an important payment tool together with cash.

종래에 신용카드를 이용한 일반적인 결제의 흐름은 다음과 같다.Conventionally, a general payment flow using a credit card is as follows.

우선, 사용자가 특정 상품 또는 서비스를 구매하기 의하여 쇼핑몰과 같은 서비스 제공자에게 구매 요청을 하고, 온라인 인증사에 카드 번호를 입력한다.First, a user makes a purchase request to a service provider such as a shopping mall by purchasing a specific commodity or service, and inputs a card number to an online certifier.

그러면, 온라인 인증사는 카드사에 카드 번호의 인증을 요청하고, 카드사로부터 카드 번호의 인증 결과를 전달받는다. 인증 결과가 성공적이면, 온라인 인증사는 서비스 제공자에게 인증번호를 전달하고, 쇼핑몰은 암호화된 카드 번호와 인증번호를 결제 대행사(PG사; payment gateway사)에 전달하며, 결제 대행사는 이를 VAN사에 전달하고, VAN사는 이를 다시 카드사에 전달하는 연쇄적인 전달이 이루어진다. 그리고 카드사로부터 나온 승인결과가 다시 VAN사에 전달되고, VAN사로부터 결제 대행사에, 결제 대행사로부터 서비스 제공자에게 전달되어, 최종적인 승인 결과를 사용자가 전달받게 된다.Then, the online authenticator requests the card company to authenticate the card number, and receives the authentication result of the card number from the card company. If the authentication result is successful, the online authentication company delivers the authentication number to the service provider, the shopping mall transmits the encrypted card number and the authentication number to the payment agency (PG company), and the payment agency transmits the authentication number to the VAN company And the VAN company sends back to the credit card company in a chain. The approval result from the card company is transmitted again to the VAN company, from the VAN company to the payment agency, from the payment agency to the service provider, and the final approval result is received by the user.

종래의 이와 같은 일반적인 결제 방식은 온라인 결제를 하기 위하여 별도의 사용자 인증과 카드 인증을 행한 후에 등록한 일반결제 비밀번호를 본인의 신용카드의 카드 번호와 함께 입력하여 결제하는 방식이었는바, 온라인 결제의 특성상 본인 확인이 취약한 형태인 신용카드의 카드 번호 입력을 통한 결제 방식이라고 할 수 있다. 또한, 결제대행사 및 VAN사에서 사용자의 카드 번호를 저장 및 이용하고 있으므로 카드 정보 누출에 대한 위험에 크게 노출되어 있는 단점이 있다.In the conventional general payment method, a separate user authentication and a card authentication are performed in order to perform an online settlement, and then the registered general payment password is inputted together with the card number of the credit card of the user. In this case, It is a payment method by inputting a card number of a credit card which is in a weak form of confirmation. In addition, since the payment agency and the VAN company store and use the user's card number, there is a drawback that the card issuer is greatly exposed to the risk of leakage of the card information.

이에 따라 종래의 일반 결제 방식을 유지하기 위하여는 정보 보호 인증, 적격 PG사, PCI-DSS 인증 자격 취득을 위한 과도한 비용과 노력이 필요하며, FDS(이상 상태 인지 시스템) 등의 이상 거래 추적 시스템 및 인력 운영이 필요한 반면에, 이에 대한 전문적인 인력이 부족한 것이 현실이다.Accordingly, in order to maintain the conventional payment system, excessive cost and effort are required to obtain the information security certification, the qualified PG company and the PCI-DSS certification qualification, and the abnormal transaction tracking system such as the FDS (abnormal state recognition system) While it is necessary to have a manpower operation, it is a reality that it lacks a professional manpower.

이러한 일반 결제 방식보다 한 단계 발전한 방식인 간편 결제의 결제 흐름은 다음과 같다.The settlement flow of simple settlement, which is a step further than this general settlement method, is as follows.

우선, 사용자가 서비스 제공자에게 구매 요청을 하면, 서비스 제공자는 결제대행사에 결제를 요청한다. 그러면, 결제대행사는 결제대행사에 의하여 사용자의 모바일 단말에 설치할 수 있도록 제공된 간편 결제 앱에 인증 요청 신호를 보내고, 사용자는 그 인증 요청 신호에 대한 응답으로서 소정의 비밀번호 입력과 같은 인증 확인 액션을 취한다. 그러면, 간편 결제 앱으로부터 신용카드의 카드 번호가 결제대행사로 전송되고, 결제대행사는 자체적으로 이를 인증 확인하고, 암호화된 카드 번호를 VAN사에 전달하며, VAN사는 다시 이를 카드사에 전달하는 전달이 이루어진다. 그리고 카드사로부터 나온 승인결과가 다시 VAN사에 전달되고, VAN사로부터 결제 대행사에, 결제 대행사로부터 서비스 제공자에게 전달되어, 최종적인 승인 결과를 사용자가 전달받게 된다.First, when the user makes a purchase request to the service provider, the service provider requests payment to the payment agency. Then, the payment agency sends an authentication request signal to the simple payment app provided to the user's mobile terminal by the payment agency, and the user takes an authentication confirmation action such as inputting a predetermined password as a response to the authentication request signal . Then, the card number of the credit card is transmitted from the simple payment application to the settlement agency, the settlement agency itself confirms the authentication, delivers the encrypted card number to the VAN company, and the VAN company again delivers the card number to the card company . The approval result from the card company is transmitted again to the VAN company, from the VAN company to the payment agency, from the payment agency to the service provider, and the final approval result is received by the user.

이와 같은 간편 결제는 온라인 결제에 있어서 일반 결제 방식의 복잡하고 불편한 결제를 앱 비밀번호의 입력만으로 간단히 행할 수 있도록 하는 서비스이다.Such a simple payment is a service that makes complicated and inconvenient payment of an ordinary payment method in an online settlement simply by inputting an app password.

그런데, 이와 같은 간편 결제도, 적격 PG사의 자격을 취득한 결제대행사의 앱을 통하여 사용자의 카드 번호를 저장 및 이용하는 방식인 바, 결제대행사 및 VAN사에서 사용자의 신용 카드 정보를 저장 및 이용하므로 여전히 카드 정보 노출의 위험이 있다.However, such a simple payment is also a method of storing and using the card number of the user through the application of the payment agency that has obtained the qualification of the qualified PG company. Since the payment agency and the VAN store and use the user's credit card information, There is a risk of information disclosure.

앞서 언급한 일반 결제 방식의 단점과 마찬가지로 간편 결제 방식에 있어서도 정보 보호 인증, 적격 PG사, PCI-DSS 인증 자격 취득을 위한 과도한 비용과 노력이 필요하며, FDS(이상 상태 인지 시스템) 등의 이상 거래 추적 시스템 및 인력 운영이 필요한 반면에, 이에 대한 전문적인 인력이 부족한 것이 현실이다.As with the disadvantages of the above-mentioned general payment method, the simple payment method requires excessive expense and efforts for obtaining information security certification, qualified PG company and PCI-DSS certification qualification, Tracking system and manpower are needed, but there is a lack of professional manpower.

게다가 간편 결제 방식의 절대적 사업자가 없는 상황에서는 사용자는 자신이 많이 이용하는 신용카드의 카드 번호를 다양한 간편 결제 앱에 등록하여 이용하여야 한다. 특히, 다양한 간편 결제 앱이 존재하는 상태에서, 서비스 제공자에 따라 사용자가 주로 사용하는 간편 결제 앱을 보유하고 있지 않은 경우에는 반복하여 신용카드 정보를 등록하여야 하는 단점이 있다.Furthermore, in a situation where there is no absolute operator of the simple payment method, the user must register the card number of the credit card he often uses in various easy payment applications. Particularly, in the case where a variety of simple payment apps exist, there is a disadvantage that credit card information must be repeatedly registered when the service provider does not have a simple payment app mainly used by a user.

본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve all the problems described above.

또한, 본 발명은 카드 사용에 대한 승인 과정에서 카드의 정보가 노출되는 위험을 최소화하는 것을 다른 목적으로 한다.It is another object of the present invention to minimize the risk of exposing card information in the approval process for using the card.

또한, 본 발명은 카드 정보가 카드 사용의 승인에 참여하는 엔티티(entity)들 사이에서 송수신되지 않게 함으로써 카드 정보가 노출되지 않게 되어 개인 정보가 보호되면서도, 본인 인증의 신뢰성이 높은 카드 사용 승인을 가능하게 하는 것을 또 다른 목적으로 한다.Further, the present invention prevents the card information from being transmitted and received between entities participating in the approval of card use, thereby protecting the personal information from being exposed, It is another purpose to make it happen.

또한, 본 발명은 카드 사용의 승인에 관한 트랜잭션을 가상 화폐의 블록체인 데이터베이스에 등록하고 관리함으로써 승인 정보의 위변작이 불가능하도록 하는 것을 또 다른 목적으로 한다.It is another object of the present invention to make it possible to prevent a change in approval information by registering and managing a transaction relating to approval of card use in a block chain database of virtual money.

또한, 본 발명은 카드 사용의 승인에서 VAN사나 PG사를 이용하지 않고 블록체인 데이터베이스를 이용함으로써 시스템을 간소화할 수 있을 뿐만 아니라 유지 비용을 절감할 수 있도록 하는 것을 또 다른 목적으로 한다.Another object of the present invention is to simplify the system and reduce the maintenance cost by using the block chain database without using the VAN company or the PG company in the approval of the card use.

상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.In order to accomplish the above object, a representative structure of the present invention is as follows.

본 발명의 일 실시예에 따르면, 토큰 아이디를 이용하여 카드 사용을 승인하는 방법에 있어서, (a) 사용자의 카드 정보에 대응되는 카드 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 앱에 대응되는 푸쉬 토큰 아이디, 및 상기 사용자의 퍼블릭 키를 제1 블록체인 데이터베이스에 등록하고 이에 대응하는 제1 블록체인 트랜잭션 아이디를 관리하며, 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 관리하고 있는 상태에서, 서비스 제공 단말로부터 상기 사용자의 카드 사용에 대응하는 상기 사용자 식별 정보와 주문 데이터를 포함하는 결제 요청 정보가 획득되면, 중개 서버가, (1) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 이용하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하거나, (2) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제2 블록체인 트랜잭션 아이디를 이용하여 상기 제2 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값과 관련되어 상기 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 제1 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하고, 상기 획득된 상기 푸쉬 토큰 아이디에 대응되는 상기 사용자 단말로 상기 주문 데이터에 대한 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하는 단계; (b) 상기 주문 데이터에 대한 인증 요청에 대응하여 상기 사용자 단말로부터 상기 주문 데이터를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값이 획득되면, 상기 중개 서버가, 상기 제1 블록체인 데이터베이스에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 상기 사용자 서명값이 유효이면, (1) 상기 주문 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제3 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값과 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제4 블록체인 트랜잭션 아이디를 관리하는 단계; 및 (c) 상기 중개 서버가, (i) 금융 서버로 상기 사용자 식별 정보에 대응하는 상기 카드 토큰 아이디와 상기 주문 데이터를 포함하는 승인 요청 정보를 전송하거나 타 장치로 하여금 전송하도록 지원함으로써, 상기 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 상기 중개 서버로 전송하도록 하며, (ii) 상기 금융 서버로부터 상기 승인 결과 정보가 획득되면, (1) 상기 승인 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제5 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값과 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제6 블록체인 트랜잭션 아이디를 관리하고, 상기 승인 결과 정보를 상기 서비스 제공 단말 및 상기 사용자 단말 중 적어도 하나로 전송하거나 타 장치로 하여금 전송하도록 지원하는 단계;를 포함하는 카드 사용 승인 방법이 제공된다.According to an embodiment of the present invention, there is provided a method of authorizing use of a card using a token ID, the method comprising the steps of: (a) providing a card token ID corresponding to the card information of the user, user identification information for identifying the user, A push token ID corresponding to an application installed in a user terminal, and a public key of the user in a first block chain database, and manages a first block chain transaction ID corresponding to the push token ID, the card token ID, A first representative hash value obtained by computing the first specific hash value generated by applying the hash function to the public key and the at least one neighbor hash value matched with the first specific hash value, A value obtained by processing the representative hash value is registered in the second block chain database, and the value of the second block chain transaction When the payment request information including the user identification information and the order data corresponding to the use of the card of the user is obtained from the service providing terminal, the mediating server transmits (1) Acquiring the push token ID registered in the first block chain database using the first block chain transaction ID corresponding to the user identification information; (2) Acquiring a data message from the second block chain database using a first block hash value and a second block chain transaction ID; The merge tree information and the leaf node information stored in the block chain database Acquiring the push token ID registered in the first block chain database by referring to the retrieved merch tree information and the leaf node information, searching the first block chain database, and acquiring the push token ID registered in the first block chain database, Requesting authentication of the order data to the terminal or requesting another device to request it; (b) if a user signature value obtained by signing the order data with the user's private key is received from the user terminal in response to the authentication request for the order data, (1) registering the order data in the first block chain database or registering another device with the first block chain database, if the user signature value is valid, checking whether the user signature value is valid using the public key of the user, (2) managing a third block chain transaction ID corresponding to the third block chain transaction ID, and (2) if a triggering condition for registering a predetermined hash value in the second block chain database is satisfied, And a second hash value calculating unit that calculates a hash value and at least one neighbor hash value matching the second specific hash value, Further comprising: table hash value or register the first value by processing a second hash value representative of said second block chain database, or support to enable registration to other devices and managing the fourth block chain transaction ID corresponding thereto; And (c) the intermediary server sends (i) authorization request information including the card token ID corresponding to the user identification information and the order data to the financial server, The server verifies the order data included in the approval request information with reference to the order data registered in the first block chain database corresponding to the card token ID included in the approval request information, (2) when the approval result information is obtained from the financial server, (1) the approval result information is registered in the first block chain database or the other device is registered And manages the fifth block chain transaction ID corresponding to the fifth block chain transaction ID, (2) If the triggering condition for registering a predetermined hash value in the two-block chain database is satisfied, a third specific hash value generated by applying a hash function to the acknowledgment result information and at least one neighbor hash that matches the third specific hash value Value or a value obtained by processing the third representative hash value is registered in the second block chain database or the other device is registered, and the sixth block chain transaction ID corresponding to the third block hash value is managed And transferring the approval result information to at least one of the service providing terminal and the user terminal or allowing the other device to transmit the approval result information.

또한, 본 발명의 일 실시예에 따르면, 토큰 아이디를 이용하여 카드 사용을 승인하는 중개 서버에 있어서, 사용자의 카드 정보에 대응되는 카드 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 앱에 대응되는 푸쉬 토큰 아이디, 및 상기 사용자의 퍼블릭 키를 제1 블록체인 데이터베이스에 등록하고 이에 대응하는 제1 블록체인 트랜잭션 아이디를 관리하며, 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 관리하고 있는 상태에서, 서비스 제공 단말로부터 상기 사용자의 카드 사용에 대응하는 상기 사용자 식별 정보와 주문 데이터를 포함하는 결제 요청 정보를 획득하는 통신부; 및 (1) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 이용하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하거나, (2) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제2 블록체인 트랜잭션 아이디를 이용하여 상기 제2 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값과 관련되어 상기 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 제1 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하고, 상기 획득된 상기 푸쉬 토큰 아이디에 대응되는 상기 사용자 단말로 상기 주문 데이터에 대한 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하는 제1 프로세스, 상기 주문 데이터에 대한 인증 요청에 대응하여 상기 사용자 단말로부터 상기 주문 데이터를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값이 획득되면, 상기 제1 블록체인 데이터베이스에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 상기 사용자 서명값이 유효이면, (1) 상기 주문 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제3 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값과 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제4 블록체인 트랜잭션 아이디를 관리하는 제2 프로세스, 및 (i) 금융 서버로 상기 사용자 식별 정보에 대응하는 상기 카드 토큰 아이디와 상기 주문 데이터를 포함하는 승인 요청 정보를 전송하거나 타 장치로 하여금 전송하도록 지원함으로써, 상기 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 상기 중개 서버로 전송하도록 하며, (ii) 상기 금융 서버로부터 상기 승인 결과 정보가 획득되면, (1) 상기 승인 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제5 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값과 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제6 블록체인 트랜잭션 아이디를 관리하고, 상기 승인 결과 정보를 상기 서비스 제공 단말 및 상기 사용자 단말 중 적어도 하나로 전송하거나 타 장치로 하여금 전송하도록 지원하는 제3 프로세스를 수행하는 프로세서;를 포함하는 카드 사용 승인 중개 서버가 제공된다.According to an embodiment of the present invention, there is provided an intermediary server for authorizing use of a card using a token ID, the intermediary server comprising: a card token ID corresponding to the card information of the user; user identification information for identifying the user; A push token ID corresponding to an application installed in a user terminal, and a public key of the user in a first block chain database, and manages a first block chain transaction ID corresponding to the push token ID, the card token ID, A first representative hash value obtained by computing the first specific hash value generated by applying the hash function to the public key and the at least one neighbor hash value matched with the first specific hash value, A value obtained by processing the representative hash value is registered in the second block chain database, and the second block chain trans A communication unit for acquiring payment request information including the user identification information and the order data corresponding to the use of the card of the user from the service providing terminal while the transaction ID is managed; And (1) obtaining the push token ID registered in the first block chain database using the first block chain transaction ID corresponding to the user identification information of the payment request information, (2) Obtains a data message from the second block chain database using the second block chain transaction ID corresponding to the user identification information of the second block chain database and the first representative hash value or the first representative hash value Searching the first block chain database for the merge tree information and the leaf node information stored in the first block chain database in association with the processed value, and referring to the retrieved merge tree information and the leaf node information, Obtains the push token ID registered in the block chain database, A first process of requesting authentication of the order data to the user terminal corresponding to the acquired push token ID or requesting another device to request the authentication of the order data from the user terminal, Verifies the validity of the user signature value using the public key of the user registered in the first block chain database when the user signature value obtained by signing the data with the private key of the user is obtained, (1) registering the order data in the first block chain database or registering it with another device, and managing a third block chain transaction ID corresponding to the third block chain transaction ID, (2) If the triggering condition for registering the hash value of < RTI ID = 0.0 > A second representative hash value obtained by calculating a second specific hash value generated by applying a hash function to the order data and at least one neighboring hash value matching the second specific hash value or a second representative hash value obtained by processing the second representative hash value A second process for registering a value in the second block chain database or for registering with another device and managing a corresponding fourth block chain transaction ID, and (i) And transmits the approval request information including the card token ID and the order data or transmits the approval request information to the other device so as to allow the financial server to transmit the approval request information including the card token ID and the order data to the first block chain database Which is included in the approval request information, And (ii) when the approval result information is obtained from the financial server, (1) the approval result information is transmitted to the first block chain (2) if the triggering condition for registering a predetermined hash value in the second block chain database is satisfied, the step of registering the hash value in the second block chain database A third representative hash value obtained by computing a third specific hash value generated by applying a hash function to the result information and at least one neighboring hash value matching the third specific hash value or a value obtained by processing the third representative hash value To register in the second block chain database or to allow other devices to register, and to perform a sixth block chain transaction And a processor that manages the media and performs the third process of transmitting the approval result information to at least one of the service providing terminal and the user terminal or transmitting the information to at least one of the service providing terminal and the user terminal, .

이 외에도, 본 발명의 방법을 실행하기 위한 컴퓨터 프로그램을 기록하기 위한 컴퓨터 판독 가능한 기록 매체가 더 제공된다.In addition, a computer readable recording medium for recording a computer program for executing the method of the present invention is further provided.

본 발명에 의하면, 다음과 같은 효과가 있다.The present invention has the following effects.

본 발명은 카드 정보에 대응되는 카드 토큰 아이디를 블록체인 데이터베이스에 등록하고 이를 통해 카드 사용에 대한 승인을 수행함으로써 카드 사용에 대한 승인 과정에서 카드의 정보가 노출되는 위험을 최소화할 수 있게 된다.The present invention minimizes the risk of exposing card information in the approval process for the card use by registering the card token ID corresponding to the card information in the block chain database and performing approval for the use of the card.

또한, 본 발명은 카드 정보가 카드 사용의 승인에 참여하는 엔티티(entity)들 사이에서 송수신되지 않게 함으로써 카드 정보가 노출되지 않게 되어 개인 정보가 보호되면서도, 본인 인증의 신뢰성이 높은 카드 사용 승인을 가능하게 할 수 있다.Further, the present invention prevents the card information from being transmitted and received between entities participating in the approval of card use, thereby protecting the personal information from being exposed, .

또한, 본 발명은 카드 사용의 승인에 관한 트랜잭션을 가상 화폐의 블록체인 데이터베이스에 등록하고 관리함으로써 승인 정보의 위변작이 불가능하므로 카드 사용 승인 시스템의 신뢰성 및 보안성을 향상시킬 수 있다.In addition, the present invention can improve the reliability and security of the card use approval system because it is impossible to change the approval information by registering and managing the transaction related to approval of card use in the block chain database of virtual money.

또한, 본 발명은 카드 사용의 승인에서 VAN사나 PG사를 이용하지 않고 블록체인 데이터베이스를 이용함으로써 시스템을 간소화할 수 있을 뿐만 아니라 유지 비용을 절감할 수 있다.In addition, the present invention can simplify the system and reduce the maintenance cost by using the block chain database without using the VAN company or the PG company in the approval of the card use.

또한, 본 발명은 종래의 결제대행사, VAN사를 경유하는 복잡한 프로세스가 필요하지 않게 되므로 쇼핑몰과 같은 서비스 제공자는 간편 결제, 일반 결제, 안심 결제 등과 같은 복잡한 시스템을 도입할 필요가 없어지는 효과가 있다.In addition, since the present invention does not require a complicated process via a conventional settlement agency or a VAN company, a service provider such as a shopping mall has an effect of eliminating the need to introduce a complicated system such as a simple settlement, a general settlement, and a secure settlement .

도 1은 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용의 승인을 수행하는 시스템을 개략적으로 도시한 것이고,
도 2는 본 발명의 일 실시예에 따른 카드를 등록하는 과정을 개략적으로 도시한 것이고,
도 3과 도 4는 본 발명의 일 실시예에 따른 카드 사용과 관련한 트랜잭션을 제2 블록체인 데이터베이스에 트리거링하는 과정을 개략적으로 도시한 것이고,
도 5는 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용을 승인하는 방법을 개략적으로 도시한 것이고,
도 6은 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용을 승인하는 방법에서 매입하는 과정을 개략적으로 도시한 것이다.
FIG. 1 schematically illustrates a system for performing approval of card use using a token ID according to an embodiment of the present invention,
2 schematically illustrates a process of registering a card according to an embodiment of the present invention,
3 and 4 schematically illustrate a process of triggering a transaction related to card usage to a second block chain database according to an embodiment of the present invention,
FIG. 5 schematically illustrates a method of using a token ID according to an embodiment of the present invention,
FIG. 6 is a schematic view illustrating a process of accepting a card using a token ID according to an embodiment of the present invention. Referring to FIG.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시예에 관련하여 본 발명의 정신 및 범위를 벗어나지 않으면서 다른 실시예로 구현될 수 있다. 또한, 각각의 개시된 실시예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 정신 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는, 적절하게 설명된다면, 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with an embodiment. It is also to be understood that the position or arrangement of the individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled, if properly explained. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, so that those skilled in the art can easily carry out the present invention.

도 1은 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용의 승인을 수행하는 시스템을 개략적으로 도시한 것으로, 시스템은 사용자 단말(10), 서비스 제공 단말(20), 중개 서버(100), 및 금융 서버(200)를 포함할 수 있다.FIG. 1 schematically illustrates a system for performing approval of card use using a token ID according to an embodiment of the present invention. The system includes a user terminal 10, a service providing terminal 20, a mediation server 100 ), And a financial server (200).

먼저, 사용자 단말(10)은 카드 사용에 대응하는 정보를 수신하며, 수신된 정보에 대한 사용자 확인을 수행하여 주는 모바일 디바이스로, 모바일 컴퓨터, PDA/EDA, 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있다. 그리고, 사용자 단말(10)은 이에 한정되지 않으며, 유무선 통신 기능을 가진 휴대용 게임기, 디지털 카메라 개인 내비게이션 등의 모든 모바일 디바이스를 포함할 수 있다. 또한, 사용자 단말(10)은 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다.The user terminal 10 includes a mobile computer, a PDA / EDA, a mobile phone, a smart phone, a tablet, and the like as a mobile device that receives information corresponding to card use and performs user confirmation on the received information can do. The user terminal 10 is not limited to this, and may include all mobile devices such as a portable game machine having a wired / wireless communication function, a digital camera personal navigation, and the like. In addition, the user terminal 10 may include a communication unit for supporting transmission and reception of information and a processor for processing information.

또한, 사용자 단말(10)은 중개 서버에서 제공하는 사용자 인터페이스인 앱(APP; application)을 포함할 수 있다.In addition, the user terminal 10 may include an application (APP), which is a user interface provided by the intermediary server.

그리고, 서비스 제공 단말(20)은 사용자의 카드 사용에 따른 결제를 수행하는 단말로, 오프라인 쇼핑몰의 카드 결제 단말 또는 온라인 쇼핑몰의 결제 서버를 포함할 수 있다. 또한, 서비스 제공 단말(20)은 온라인 또는 오프라인에서 서비스 제공 또는 제품의 구매에 대응하는 비용을 카드를 이용하여 결제할 수 있도록 하는 모든 단말을 포함할 수 있다In addition, the service providing terminal 20 may include a payment terminal of the offline shopping mall or a payment server of the online shopping mall. In addition, the service providing terminal 20 may include all terminals capable of paying a fee corresponding to a service provision or a purchase of a product on-line or off-line using a card

다음으로, 중개 서버(100)는 통신부(110)와 프로세서(120)를 포함할 수 있다. 그리고, 중개 서버(100)는 카드 사용 승인과 관련된 각각의 각각의 기능을 수행하는 다수의 서버로 구성될 수 있다. 또한, 중개 서버(200)는 제1 블록체인 데이터베이스의 각각의 노드에 대응되는 서버이거나, 제1 블록체인 데이터베이스의 각각의 노드를 관리하는 서버일 수 있다. 그리고, 중개 서버(100)는 트리거링 조건을 만족하면 제2 블록체인 데이터베이스(400)에 카드 사용과 관련한 정보의 대표 해쉬값을 등록하는 서버일 수 있다. 이때, 제1 블록체인 데이터베이스는 프라이빗 블록체인 데이터베이스일 수 있으며, 제2 블록체인 데이터베이스(400)는 제1 블록체인 데이터베이스와 연동되는 또 다른 프라이빗 블록체인 데이터베이스이거나 퍼블릭 블록체인 데이터베이스일 수 있다. 이에 더하여, 중개 서버(100)는 카드 사용 승인과 관련하여 다른 장치와의 트랜잭션을 관리하는 트랜잭션 서버일 수 있다.Next, the mediation server 100 may include the communication unit 110 and the processor 120. [ The mediation server 100 may be composed of a plurality of servers each performing respective functions related to approval of card use. Further, the mediation server 200 may be a server corresponding to each node of the first block-chain database, or a server that manages each node of the first block-chain database. If the triggering condition is satisfied, the mediation server 100 may register a representative hash value of information related to card usage in the second block chain database 400. [ In this case, the first block chain database may be a private block chain database, and the second block chain database 400 may be another private block chain database or a public block chain database interlocked with the first block chain database. In addition, the mediation server 100 may be a transaction server that manages transactions with other devices with respect to authorization to use the card.

구체적으로, 중개 서버(100)는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, the mediation server 100 typically includes a computing device (e.g., a computer processor, memory, storage, input and output devices, and other devices capable of including components of a conventional computing device; (E. G., An electronic information storage system such as a network attached storage (NAS) and a storage area network (SAN)) and computer software (i. E. Instructions that cause a computing device to function in a particular manner) Performance. ≪ / RTI >

이와 같은 컴퓨팅 장치의 통신부(110)는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는 바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit 110 of such a computing device can send and receive requests and responses to and from other interworking computing devices. As an example, such requests and responses can be made by the same TCP session, For example, as a UDP datagram.

또한, 컴퓨팅 장치의 프로세서(120)는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐쉬 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.The processor 120 of the computing device may include a hardware configuration such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, and a data bus. It may further include a software configuration of an operating system and an application that performs a specific purpose.

다음으로, 금융 서버(200)는 통신부와 프로세서를 포함할 수 있으며, 사용자의 카드 사용에 대한 승인 및 서비스 제공자의 매입에 대한 서비스를 제공하여 줄 수 있다. 그리고, 금융 서버(200)는 카드사 서버일 수 있으나, 이에 한정되는 것은 아니며, 카드 사용에 대한 승인 서비스를 제공하는 모든 서버를 포함할 수 있으며, 금융 서버(200)는 카드 서비스를 제공하는 각각의 주체에 대응하는 다수의 서버로 구성될 수 있다. 또한, 금융 서버(200)는 제1 금융 서버(210)와 제2 금융 서버(220)을 포함할 수 있으며, 제1 금융 서버(210)는 중개 서버(200), 제1, 블록체인 데이터베이스, 및 제2 블록체인 데이터베이스(400)와의 통신을 통해 카드 사용 승인에 필요한 각종 정보의 확인 동작을 수행할 수 있으며, 제2 금융 서버(220)는 제1 금융 서버(210)와의 통신을 통해 제1 금융 서버(210)에서 확인된 카드 사용에 대하여 승인 동작을 수행할 수 있다. 이때, 제2 금융 서버(220)는 오픈 API(application interface)를 이용하여 제1 금융 서버(210)와의 통신을 수행할 수 있다.Next, the financial server 200 may include a communication unit and a processor. The financial server 200 may provide authorization for the use of the card by the user and services for the purchase of the service provider. In addition, the financial server 200 may be a card issuer server, but the present invention is not limited thereto. The financial server 200 may include all servers providing an approval service for card use. And a plurality of servers corresponding to the subject. The financial server 200 may include a first financial server 210 and a second financial server 220. The first financial server 210 may include a mediation server 200, The first financial server 210 and the second financial chain server 400. The second financial server 220 can communicate with the first financial server 210 and the second block chain database 400, And can perform the approval operation for the use of the card confirmed by the financial server 210. [ At this time, the second financial server 220 can perform communication with the first financial server 210 using an open API (application interface).

구체적으로, 금융 서버(200)는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, the financial server 200 typically includes a computing device (e.g., a computer processor, memory, storage, input and output devices, and other devices capable of including components of a conventional computing device; (E. G., An electronic information storage system such as a network attached storage (NAS) and a storage area network (SAN)) and computer software (i. E. Instructions that cause a computing device to function in a particular manner) Performance. ≪ / RTI >

이와 같이 구성된 시스템을 통해 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용을 승인하는 방법을 설명하면 다음과 같다.A method for accepting a card using a token ID according to an embodiment of the present invention will now be described with reference to FIG.

먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 카드를 등록하는 방법을 설명한다.First, a method of registering a card according to an embodiment of the present invention will be described with reference to FIG.

사용자가 사용하고자 하는 카드를 등록하기 위하여 사용자 단말(10)을 통해 중개 서버(100)에 접속한 상태, 일 예로, 사용자가 카드 등록을 위하여 사용자 단말(10)에 설치된 앱을 실행하고, 카드 등록을 위한 개인 정보, 사용자 식별 정보, 및 카드 정보를 입력하게 된다(S101). 이때, 개인 정보는 사용자의 성명, 생년월일 등을 포함할 수 있으며, 사용자 식별 정보는 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 및 전화번호 중 적어도 어느 하나 이상을 포함할 수 있다. 그리고, 카드 정보는 카드 번호, 카드의 키 번호를 포함할 수 있으나, 이에 한정되지 않으며, 카드를 발급한 주체 즉, 카드사의 정보, 유효 기간, 카드 사용자 정보 등을 포함할 수 있다.In a state where the user is connected to the mediation server 100 through the user terminal 10 to register a card to be used by the user, for example, the user executes an application installed in the user terminal 10 for card registration, The user identification information, and the card information (S101). At this time, the personal information may include the user's name, date of birth, etc., and the user identification information is unique information given by the user for identification of the user and includes user ID, resident registration number, user terminal ID, A MAC address of the terminal, and a telephone number. The card information may include the card number and the key number of the card, but is not limited thereto. The card information may include information on the issuer of the card, that is, information on the card company, expiration date, card user information, and the like.

그리고, 사용자가 개인 정보, 사용자 식별 정보, 및 카드 정보를 입력하고 카드 등록을 요청하면, 사용자 단말(10)은 사용자의 개인 정보, 사용자 식별 정보, 카드 정보, 및 푸쉬 토큰 아이디를 포함하는 카드 등록 요청 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S102). 이때, 푸쉬 토큰 아이디는 사용자 단말(10)에 설치된 앱에 대응하는 토큰 아이디이다. 그리고, 사용자 단말(10)은 사용자의 개인 정보, 사용자 식별 정보를 사용자가 입력하도록 하는 것과는 달리, 사용자 단말(10)의 저장부로부터 추출하여 전송하여 줄 수도 있다.When the user inputs the personal information, the user identification information, and the card information and requests card registration, the user terminal 10 transmits the card registration information including the user's personal information, the user identification information, the card information, and the push token ID And transmits the request information to the mediation server 100 or another device (S102). At this time, the push token ID is a token ID corresponding to the app installed in the user terminal 10. [ Unlike the case where the user terminal 10 inputs the user's personal information and the user identification information, the user terminal 10 may extract and transmit the personal information and the user identification information from the storage unit of the user terminal 10.

그러면, 중개 서버(100)는 사용자 단말(10)로부터 사용자의 개인 정보, 사용자 식별 정보, 카드 정보, 및 푸쉬 토큰 아이디를 포함하는 카드 등록 요청 정보를 획득하고, 금융 서버(200)로 획득된 카드 정보에 대한 검증을 요청하거나 타 장치로 하여금 요청하도록 지원한다(S103).Then, the mediation server 100 acquires the card registration request information including the user's personal information, the user identification information, the card information, and the push token ID from the user terminal 10, To request verification of information or to request another device (S103).

중개 서버(100)로부터의 카드 정보 검증 요청에 대응하여 금융 서버(200)는 검증 요청된 카드 정보를 확인하고, 검증 요청된 카드 정보가 등록된 카드 정보와 일치하여 유효한 것으로 확인되면, 금융 서버(200)는 카드 정보에 대응하는 카드 인덱스 키를 생성하고, 카드 인덱스 키를 포함하는 카드 정보 검증 결과를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S106).In response to the card information verification request from the mediation server 100, the financial server 200 confirms the card information requested to be verified. If it is determined that the card information requested to be verified matches the registered card information and is valid, 200 generates a card index key corresponding to the card information, and transmits the card information verification result including the card index key to the mediation server 100 or to transfer the card information to another device (S106).

이때, 금융 서버(200)가 제1 금융 서버(210)와 제2 금융 서버(220)를 포함할 경우에는, 제1 금융 서버(210)가 중개 서버(100)로부터 수신되는 카드 정보 검증 요청에 대응하여 제2 금융 서버(220)로 카드 정보에 대한 검증을 요청하거나 타 장치로 하여금 요청하도록 지원하며(S104), 제2 금융 서버(220)가 카드 정보 검증에 대응하여 검증 요청된 카드 정보를 확인하고, 검증 요청된 카드 정보가 등록된 카드 정보와 일치하여 유효한 것으로 확인되면, 제2 금융 서버(220)는 카드 정보에 대응하는 카드 인덱스 키를 생성하고, 카드 인덱스 키를 포함하는 카드 정보 검증 결과를 제1 금융 서버(210)로 전송하거나 타 장치로 하여금 전송하도록 지원하게 되며(S105), 제1 금융 서버(210)는 제2 금융 서버(220)로부터 수신한 카드 인덱스 키를 포함하는 카드 정보 검증 결과를 중개 서버(100)로 전송하여 주거나 타 장치로 하여금 전송하도록 지원한다(S106).In this case, when the financial server 200 includes the first financial server 210 and the second financial server 220, the first financial server 210 transmits a card information verification request received from the intermediary server 100 The second financial server 220 requests the second financial server 220 to verify the card information or request another device to request it (S104), and the second financial server 220 transmits the card information requested to be verified The second financial server 220 generates a card index key corresponding to the card information, and performs card information verification including the card index key The first financial server 210 transmits the result to the first financial server 210 or supports another device to transmit the result to the first financial server 210. The first financial server 210 receives the card index key received from the second financial server 220, The result of the information verification Jugeona and transmits it to 100 to cause the support to the other transmission device (S106).

그러면, 중개 서버(100)는 금융 서버(200)로부터 수신되는 카드 정보 검증 결과를 참조하여 카드 인덱스 키에 대응하는 카드 토큰 아이디를 생성한다(S107).Then, the mediation server 100 generates a card token ID corresponding to the card index key by referring to the card information verification result received from the financial server 200 (S107).

그리고, 중개 서버(100)는 사용자 단말(10)로부터 획득된 카드 등록 요청 정보를 참조하여 사용자를 확인한다. 이때, 사용자 확인은 공개 키 기반(PKI: Public Key Infrastructure) 인증서를 이용하거나 사용자의 개인 정보 등을 이용할 수 있으나, 이에 한정되는 것은 아니다. 일 예로, 공개 키 기반 인증서인 공인인증서, OPSign 인증서 등을 통해 특정 발행자를 확인하거나, 주민 번호, 여권, 법인 등록 번호, 사업자 등록 번호, 로그인 정보 등과 같이 개인, 은행 또는 단체의 신분을 증명할 수 있는 개인 정보 등을 통해 사용자를 확인할 수 있다.The mediation server 100 refers to the card registration request information obtained from the user terminal 10 to confirm the user. At this time, the user confirmation may use a public key infrastructure (PKI) certificate or use personal information of the user, but the present invention is not limited thereto. For example, it is possible to identify a specific issuer through a public key-based certificate, an authorized certificate, an OPSign certificate, or the like, or to verify the identity of an individual, a bank or an organization such as a resident registration number, passport, corporation registration number, The user can be confirmed through personal information.

그리고, 사용자가 확인되면, 중개 서버(200)는 카드 등록 요청 정보에 포함된 푸쉬 토큰 아이디에 대응되는 앱, 즉, 해당 앱에 설치된 사용자 단말(100)로 사용자 인증을 요청하거나 타 장치로 하여금 요청하도록 지원한다(S108).When the user is confirmed, the mediation server 200 requests the user corresponding to the push token ID included in the card registration request information, i.e., the user terminal 100 installed in the corresponding application, (S108).

그러면, 사용자 단말(100)은 사용자 인증 요청에 대응하여 인증키인 퍼블릭 키와 프라이빗 키를 생성하게 되며(S109), 사용자에 의해 프라이빗 키에 대한 사용자 접근을 제어하기 위한 확인 정보가 설정되도록 한다. 이때, 확인 정보는 프라이빗 키에 접근하기 위한 패스 정보로, 비밀번호, PIN 코드, 사용자의 지문 정보, 및 사용자의 생체 정보 중 적어도 하나를 포함할 수 있다. 이와는 달리 프라이빗 키에 대한 접근 제어를 위한 확인 정보의 설정을 생략할 수도 있다. 또한, 확인 정보의 설정을 사용자의 인증키를 생성하기 이전에 수행할 수도 있다.Then, the user terminal 100 generates a public key and a private key, which are authentication keys, in response to the user authentication request (S109), and sets confirmation information for controlling the user access to the private key by the user. At this time, the confirmation information is path information for accessing the private key, and may include at least one of a password, a PIN code, fingerprint information of a user, and biometric information of a user. Alternatively, the setting of confirmation information for access control on the private key may be omitted. Further, the confirmation information may be set before generating the user's authentication key.

이후, 사용자 단말(100)은 인증키 중 사용자의 퍼블릭 키를 추출하며, 적어도 추출된 사용자의 퍼블릭 키를 포함하는 인증 정보를 중개 서버(100)로 전송하여 주거나 타 장치로 하여금 전송하도록 지원한다(S110).Then, the user terminal 100 extracts the public key of the user among the authentication keys, and at least transmits authentication information including the extracted public key of the user to the mediation server 100 or supports the transmission of the authentication information to the intermediary server 100 S110).

상기에서 중개 서버(100)는 사용자 확인과 사용자 인증을 카드 토큰 아이디의 생성 이후 수행하였으나, 이와는 달리 사용자 단말(10)로부터 카드 등록 요청 정보가 획득되면 사용자 확인과 사용자 인증을 수행한 다음 금융 서버(200)로 카드 정보에 대한 검증 요청을 수행할 수도 있다.The mediation server 100 performs the user authentication and the user authentication after the generation of the card token ID. Alternatively, if the card registration request information is acquired from the user terminal 10, the mediation server 100 performs the user authentication and the user authentication, 200). ≪ / RTI >

그러면, 중개 서버(100)는 카드 토큰 아이디, 사용자 식별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키를 복사 또는 위/변조가 불가능하도록 하는 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원한다(S111).Then, the mediation server 100 registers or registers with the first block-chain database which makes the card token ID, the user identification information, the push token ID, and the public key impossible to copy or up / modulate S111).

일 예로, 중개 서버(100)는 카드 토큰 아이디, 사용자 식별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키를 포함하는 카드 등록 정보를 제1 블록체인 데이터베이스에 등록하고, 제1 블록체인 데이터베이스에 등록된 카드 토큰 아이디, 사용자 식별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키를 포함하는 카드 등록 정보의 제1 블록체인 데이터베이스 상의 위치 정보를 나타내는 제1 블록체인 트랜잭션 아이디를 획득하여 관리할 수 있다.For example, the mediation server 100 registers card registration information including a card token ID, user identification information, a push token ID, and a public key in a first block chain database, and registers a card token registered in the first block chain database A first block-chain transaction ID indicating the location information on the first block-chain database of the card registration information including the ID, the user identification information, the push token ID, and the public key.

그리고, 제2 블록체인 데이터베이스(400)에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 중개 서버(100)는 카드 토큰 아이디, 사용자 실별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값 및 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값을 생성한다(S112).When the triggering condition for registering a predetermined hash value in the second block chain database 400 is satisfied, the mediation server 100 sends a hash function to the card token ID, the user room information, the push token ID, and the public key And generates a value obtained by processing the first representative hash value or the first representative hash value that is the merge root by calculating at least one neighboring hash value matching the first specific hash value and the first specific hash value generated by applying ).

또한, 중개 서버(100)는 생성된 머클 루트인 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S113), 제2 블록체인 데이터베이스(400)에 등록된 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값인 머클 루트의 제2 블록체인 데이터베이스(400) 상의 위치 정보를 나타내는 제2 블록체인 트랜잭션 아이디를 획득하거나 타 장치로 하여금 획득하도록 지원할 수 있다(S114).In addition, the mediation server 100 registers the generated first representative hash value or the first representative hash value in the second block chain database 400 or supports the other device to register it (S113 ), A second block chain transaction ID indicating the location information on the second block chain database 400 of the Merkrou which is a value obtained by processing the first representative hash value or the first representative hash value registered in the second block chain database 400 Or acquire another device (S114).

한편, 중개 서버(100)는 제1 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the mediation server 100 may store and manage the first specific hash value and the at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 중개 서버(200)는 제1 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제1 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다.That is, the mediation server 200 may support the first specific hash value to generate or generate a merkle tree assigned to a particular leaf node, and if the triggering condition is met, at least the first particular hash value It is possible to register or register a value obtained by processing the first representative hash value or the first representative hash value, which is a merge root generated by computing a hash value assigned to one leaf node, in the second block chain database 400 .

좀더 구체적으로 설명하면, (x1) 중개 서버(100)는, (i) 제1 특정 해쉬값과 (ii) 제1 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 제1 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 중개 서버(100)는, 부모 노드에 할당된 해쉬값을 제1 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the mediating server 100 computes or computes a hash value assigned to the sibling node of the node to which (i) the first specific hash value and (ii) the first specific hash value are assigned And support to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the first representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the mediation server 100 repeats (x1) to (x3) with the hash value assigned to the parent node as the first specified hash value .

그리고, 중개 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 제1 대표 해쉬값으로서 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원한다. 이때, 제1 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 제1 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.The mediation server 200 finally registers the hash value assigned to the root node of the merge tree as the first representative hash value in the second block chain database 400 or supports the other device to register the hash value. At this time, a value obtained by processing the first representative hash value may be registered. For example, a result obtained by performing the hex operation on the first representative hash value may be registered.

한편, 중개 서버(100)가 제1 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제5 데이터 구조로 저장하고, 이후 제5 데이터 구조와 동일한 형태의 제6 데이터 구조를 저장하여 관리하는 경우, 제5 데이터 구조와 제6 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, when the mediation server 100 stores the first specific hash value and the at least one neighbor hash value in a predetermined fifth data structure, and then stores and manages a sixth data structure of the same type as the fifth data structure , The fifth data structure and the sixth data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제5 데이터 구조 및 제6 데이터 구조가 머클 트리인 경우, 제5 데이터 구조의 루트값 또는 루트값의 해쉬값이 제6 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the fifth data structure and the sixth data structure are merc trees as in the above example, a root value of the fifth data structure or a hash value of the root value may be assigned to the first leaf node of the sixth data structure .

또한, 제6 데이터 구조를 생성할 때는 제5 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다. 제6 데이터 구조의 검증에 대해서는 후술하기로 한다.Further, when the sixth data structure is generated, verification of the fifth data structure is performed, so that data integrity can be further guaranteed. Verification of the sixth data structure will be described later.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 중개 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the mediation server 100 can be assigned when generating a merge tree.

도 3 및 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 것이다.Figures 3 and 4 illustrate an example of a merge tree generated in accordance with an embodiment of the present invention.

도 3에서는 리프 노드의 개수가 4개인 머클 트리가 도시된다. 도시된 머클 트리는 첫번째 머클 트리이기 때문에(tree_id=0), 첫번째 리프 노드인 h0 노드에는 소정의 메시지 데이터의 해쉬값 (sha256(coinplug_unique_message))이 할당되었음을 알 수 있다. 기록 데이터에 대한 등록 요청(즉, 카드 사용과 관련한 트랜잭션 등록 요청)이 있는 경우, 중개 서버(100)는 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 제1 특정 해쉬값 또는 제1 특정 해쉬값을 가공한 값을 할당하거나 할당하도록 지원한다. 예를 들어, 도 3의 머클 트리에서 두번째 리프 노드인 h1 노드까지 값 할당이 완료된 상태에서 새로운 리프 노드를 생성하여야 하는 경우, 다음 리프 노드인 h2 노드를 생성하여 제1 특정 해쉬값 또는 특정 해쉬값을 가공한 값(sha256(input2))을 할당할 수 있다. 또한, 중개 서버(100)는 (i) h2 노드에 할당된 제1 특정 해쉬값과 (ii) h2 노드의 형제 노드인 h3 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원할 수 있다. 연산값에 대한 해쉬값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로 중개 서버(100)는 h23 노드에 할당된 해쉬값을 제1 특정 해쉬값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해쉬값을 제1 특정 해쉬값으로 하고, h23 노드에 할당된 해쉬값과 h01 노드에 할당된 해쉬값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123 노드)에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로 중개 서버(100)는, h0123 노드에 할당된 해쉬값을 가공한 값(hex(h{node_index}))을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원할 수 있다FIG. 3 shows a merge tree having four leaf nodes. Since the illustrated merge tree is the first merge tree (tree_id = 0), it can be seen that a hash value (sha256 (coinplug_unique_message)) of a predetermined message data is assigned to the first leaf node h0. If there is a registration request for the record data (i.e., a transaction registration request related to card use), the mediation server 100 generates the next leaf node of the last leaf node of the currently configured merge tree, And assigns or assigns a processed value of the first specific hash value. For example, if a new leaf node is to be created in a state in which the value assignment from the merge tree to the h1 node as the second leaf node is completed, a h2 node, which is the next leaf node, is generated to generate a first specific hash value or a specific hash value (Sha256 (input2)) can be assigned to the value. In addition, the mediation server 100 may support computing or computing (i) a first specific hash value assigned to the h2 node and (ii) a hash value assigned to the h3 node, which is a sibling node of the h2 node. The hash value for the operation value is assigned to the h2 node and the parent node (h23 node) of the h3 node. Since the parent node (h23 node) is not the root node of the merge tree, the mediation server 100 can repeat the above process with the hash value assigned to the h23 node as the first specified hash value. That is, the hash value assigned to the h23 node is set as the first specific hash value, the hash value assigned to the h23 node and the hash value assigned to the h01 node are computed and assigned to the h23 node and the parent node (h0123 node) of the h01 node can do. Since the h0123 node is the root node of the merge tree, the mediation server 100 registers the value (hex (h {node_index}) obtained by processing the hash value assigned to the node h0123 in the second block chain database 400 Can help other devices register

한편, 전술한 트리거링 조건이란, (i) 소정의 개수만큼 카드 사용과 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 제1 블록체인 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.On the other hand, the above-mentioned triggering conditions include (i) a condition in which a transaction related to card use is generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in the first block chain database, (iv) conditions for service characteristics.

한편, 예를 들어, 카드 사용과 관련한 트랜잭션이 머클 트리의 리프 노드 수만큼 획득되면 머클 트리를 생성하고, 머클 트리의 루트값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원할 수 있다.On the other hand, for example, if a transaction related to card use is acquired for the number of leaf nodes of the merge tree, a merge tree is generated, a root value of the merge tree is registered in the second block chain database 400, .

또한, 중개 서버(100)는 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) 조건). 이 경우 중개 서버(100)는 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원할 수 있다.Further, the mediation server 100 may generate the root value of the above-described merge tree at predetermined time intervals (condition (ii) above). In this case, when a predetermined time elapses, the mediation server 100 generates a merge tree using the input values up to that time, registers the root value of the merge tree in the second block chain database 400, or registers another device .

그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해쉬값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 트리거링 조건이 만족되었음에도 제1 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 중개 서버(100)는, 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 중개 서버(100)는 제1 특정 해쉬값을 복제하여 형제 노드에 할당하거나 할당하도록 지원할 수 있다.In this case, although a predetermined time has elapsed, a value may not be assigned to a sibling node of a node to which a particular hash value of the merge tree is assigned. If the hash value is not allocated to the sibling node of the node to which the first specific hash value is allocated even though the triggering condition is satisfied, the mediation server 100 supports to assign or assign a predetermined hash value to the sibling node, The route value of the merge tree can be calculated in one way. For example, the mediation server 100 may support copying and assigning or assigning a first specific hash value to a sibling node.

그리고, 서비스 특성이란, 카드 사용과 관련한 트랜잭션을 발행한 발행자가 제공한 비용 정보, 카드 사용 관련 트랜잭션 등록이 이루어지는 시간대 정보, 카드 사용 관련 트랜잭션 등록 서비스가 이루어지는 지역 정보, 카드 사용 관련 트랜잭션 등록 요청을 한 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기서 기재한 것에 한정할 것은 아니고, 통상적으로 인정되는 차등적 서비스가 제공될 수 있는 다양한 조건 정보를 포함한다.The service characteristic is information indicating the cost information provided by the issuer that issued the transaction related to the use of the card, the time zone information in which the transaction related to the card use is performed, the area information in which the card usage related transaction registration service is performed, And may be at least a part of the company type information. However, the present invention is not limited to the one described here, but includes various condition information in which a generally accepted differential service can be provided.

한편, 새로운 머클 트리 생성이 시작되고, 카드 사용 관련 트랜잭션이 없는 상태에서 트리거링 조건이 만족되면, 중개 서버(100)는, 소정의 메시지 데이터가 첫번째 리프 노드와 두번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트값 또는 이를 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, when a new merge tree creation is started and the triggering condition is satisfied when there is no transaction related to a card use, the mediation server 100 generates a merge tree in which predetermined message data is allocated to the first leaf node and the second leaf node And support the registration or registration of the root value of the merge tree or the processed value in the second block chain database 400. In this case, a merge tree with two leaf nodes may be created.

또한, 전술한 것처럼 중개 서버(100)가 제1 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제5 데이터 구조로 저장하고, 이후 제5 데이터 구조와 동일한 형태의 제6 데이터 구조를 저장하여 관리하는 경우, 제5 데이터 구조와 제6 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 제5 데이터 구조 및 제6 데이터 구조가 머클 트리인 경우, 제5 데이터 구조의 루트값 또는 루트값의 해쉬값이 제6 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In addition, as described above, the mediation server 100 stores the first specific hash value and the at least one neighbor hash value in a predetermined fifth data structure, and then stores the sixth data structure in the same form as the fifth data structure If managed, the fifth data structure and the sixth data structure may be connected in a chain form. In particular, if the fifth data structure and the sixth data structure are merc trees, the root value of the fifth data structure or the hash value of the root value may be assigned to the first leaf node of the sixth data structure.

도 4는 본 발명의 일 실시예에 따라 제6 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 is a diagram illustrating a merge tree generated as a sixth data structure according to an embodiment of the present invention.

도 4를 참조하면, 도 3의 머클 트리(tree_id=0)의 루트값(hex(h0123))이 새로운 머클 트리의 첫번째 리프 노드(h4 노드)에 할당되었음을 알 수 있다(sha256(input4)). 본 발명은 이와 같이 트랜잭션 발생시 생성되는 복수의 데이터 구조를 연결함으로써 중간에 데이터가 변조가 발생되는 경우라도 쉽게 트래킹이 가능하여 데이터 integrity를 향상시키는 장점을 가진다.Referring to FIG. 4, it can be seen that the root value (hex (h0123)) of the merge tree (tree_id = 0) of FIG. 3 is assigned to the first leaf node (h4 node) of the new merge tree (sha256 (input4)). The present invention has an advantage of improving data integrity by enabling easy tracking even when data is modulated in the middle by connecting a plurality of data structures generated at the time of occurrence of a transaction.

그리고, 중개 서버(100)는 카드 토큰 아이디와 카드 인덱스 키를 금융 서버(200)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S115).Then, the mediation server 100 transmits the card token ID and the card index key to the financial server 200 or to transfer the card index key to another device (S115).

그러면, 금융 서버(200)는 중개 서버(100)로부터 수신되는 카드 토큰 아이디를 저장하고(S116), 카드 정보인 카드 인덱스 키와 카드 토큰 아이디를 매핑한다(S117). 즉, 금융 서버(200)는 중개 서버(100)로부터 수신되는 카드 인덱스 키를 참조하여 카드 정보 검증 결과로 전송한 카드 인덱스 키를 확인하고 확인된 카드 인덱스 키와 카드 토큰 아이디를 매핑한다. 이때, 금융 서버(200)가 제1 금융 서버(210)와 제2 금융 서버(220)를 포함할 경우, 상기의 동작은 제1 금융 서버(210)에서 수행할 수 있다.Then, the financial server 200 stores the card token ID received from the mediation server 100 (S116), and maps the card index key, which is card information, to the card token ID (S117). That is, the financial server 200 refers to the card index key received from the intermediary server 100, identifies the card index key transmitted as the card information verification result, and maps the card index key and the card index key, which are verified. In this case, when the financial server 200 includes the first financial server 210 and the second financial server 220, the above operation can be performed by the first financial server 210.

또한, 중개 서버(100)는 카드 토큰 아이디, 사용자 식별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키를 포함하는 카드 등록 정보를 제1 블록체인 데이터베이스에 등록한 결과를 사용자 단말(10)로 전송하거나 타 장치로 하여금 전송하도록 지원하여, 사용자가 사용자 단말(10)을 통해 카드 등록 결과를 확인할 수 있도록 할 수 있다.Also, the mediation server 100 transmits the result of registering the card registration information including the card token ID, the user identification information, the push token ID, and the public key to the first block chain database to the user terminal 10, So that the user can confirm the card registration result through the user terminal 10. [

이와 같은 방법에 의해 카드를 등록한 상태에서, 본 발명의 일 실시예에 따른 토큰 아이디를 이용하여 카드 사용을 승인하는 방법을 도 5를 참조하여 설명하면 다음과 같다.A method of accepting a card using a token ID according to an embodiment of the present invention with the card registered in this way will be described with reference to FIG.

도 2의 방법에 의해 사용자의 카드 정보에 대응되는 카드 토큰 아이디, 사용자를 식별하기 위한 사용자 식별 정보, 사용자의 사용자 단말(10)에 설치된 앱에 대응되는 푸쉬 토큰 아이디, 및 사용자의 퍼블릭 키를 제1 블록체인 데이터베이스에 등록하고 이에 대응하는 제1 블록체인 트랜잭션 아이디를 관리하며, 카드 토큰 아이디, 사용자 식별 정보, 푸쉬 토큰 아이디, 및 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 관리하고 있는 상태에서, 사용자가 온라인 또는 오프라인에서 서비스 이용 또는 제품 구매 등의 주문 데이터에 따른 비용을 카드를 이용하여 결제하기 위하여 서비스 제공 단말(20)로 사용자의 카드 사용에 대응하는 사용자 식별 정보를 입력하거나 제공하여 주문 데이터에 대한 주문을 진행하면(S201), 서비스 제공 단말(20)은 사용자에 의해 주문된 서비스 또는 제품들에 대한 정보인 주문 데이터를 저장하고(S202), 사용자 식별 정보와 주문 데이터를 포함하는 결제 요청 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S203).2, a card token ID corresponding to the user's card information, user identification information for identifying the user, a push token ID corresponding to the application installed in the user terminal 10 of the user, and a user's public key 1 block chain database and manages a first block chain transaction ID corresponding to the first block chain transaction ID, a first specific hash value generated by applying a hash function to a card token ID, a user identification information, a push token ID, and a public key, A first representative hash value obtained by computing at least one neighboring hash value matching the first specified hash value or a value obtained by processing the first representative hash value is registered in the second block chain database 400, In the event that a user is managing a block-chain transaction ID, an online order or an offline order In order to settle the cost based on the data, the service providing terminal 20 inputs or provides the user identification information corresponding to the use of the card by the service providing terminal 20 (S201) 20 stores order data, which is information on a service or products ordered by a user (S202), transmits payment request information including user identification information and order data to the mediation server 100, (S203).

그러면, 중개 서버(100)는 서비스 제공 단말(20)로부터 획득되는 결제 요청 정보의 사용자 식별 정보에 대응하는, 즉, 카드 등록 동작에서 획득하여 관리하는 제1 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 사용자의 푸쉬 토큰 아이디를 확인하거나, 사용자 식별 정보에 대응하는 제2 블록체인 트랜잭션 아이디를 이용하여 제2 블록체인 데이터베이스(400)로부터 데이터 메시지를 획득하며, 데이터 메시지에 포함된 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값과 관련되어 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 제1 블록체인 데이터베이스에서 검색하며, 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인 데이터베이스에 등록된 푸쉬 토큰 아이디를 확인하고, 확인된 푸쉬 토큰 아이디를 획득한다(S204).Then, the intermediary server 100 can use the first block chain transaction ID corresponding to the user identification information of the payment request information acquired from the service providing terminal 20, that is, acquired and managed in the card registration operation, Acquires a data message from the second block chain database 400 by using the second block chain transaction ID corresponding to the user identification information or by checking the push token ID of the user registered in the chain database, 1 representative hash value or a value obtained by processing the first representative hash value, searches the first block chain database for the merch tree information and leaf node information stored in the first block chain database, Verifies the push token ID registered in the first block chain database by referring to the information, And obtains the confirmed push token ID (S204).

그리고, 중개 서버(100)는 푸쉬 토큰 아이디에 대응되는 앱, 즉, 푸쉬 토큰 아이디에 대응되는 앱이 설치된 사용자 단말(10)로 주문 데이터를 포함하는 주문 데이터에 대한 인증을 요청하거나 타 장치로 하여금 요청하도록 지원한다(S205).The mediation server 100 requests the user terminal 10 having the application corresponding to the push token ID, that is, the application corresponding to the push token ID, to authenticate the order data including the order data, (S205).

그러면, 사용자 단말(10)은 사용자에게 주문 데이터에 대한 확인과 주문 데이터에 대한 인증을 요청한다(S206). 그리고, 사용자가 주문 데이터를 통해 자신이 주문한 내용과 일치하는 것을 확인한 후, 비밀번호, PIN 코드, 지문, 및 생체 정보 중 적어도 하나를 포함하는 자신이 설정한 확인 정보를 입력하면, 사용자 단말(10)은 사용자에 의해 입력되는 확인 정보가 사용자에 의해 기설정된 확인 정보와 일치하는 지를 확인한다(S207).Then, the user terminal 10 requests the user to confirm the order data and to authenticate the order data (S206). After confirming that the user agrees with the contents ordered by the user through the order data, if the user inputs the confirmation information set by the user including at least one of the password, the PIN code, the fingerprint, and the biometric information, Confirms whether the confirmation information input by the user matches the confirmation information previously set by the user (S207).

그리고, 사용자에 의해 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우, 사용자 단말(10)은 주문 데이터에 대한 사용자 서명값을 생성하여 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S208). 일 예로, 사용자 단말(10)은 사용자에 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우 저장된 사용자의 프라이빗 키에 대한 접근이 허용되며, 그에 따라 사용자의 프라이빗 키로 주문데이터를 서명한 사용자 서명값을 생성하며, 생성된 사용자 서명값을 중개 서버(100)로 전송하여 준다.When the confirmation information input by the user matches the preset confirmation information, the user terminal 10 generates a user signature value for the order data and transmits the user's signature value to the mediation server 100, (S208). For example, if the confirmation information input to the user matches the preset confirmation information, the user terminal 10 is permitted to access the stored private key of the user, And transmits the generated user signature value to the mediation server 100.

그러면, 중개 서버(100)는 사용자 단말(10)로부터 획득된 주문 데이터를 서명한 사용자 서명값의 유효 여부를 확인한다(S209).Then, the mediation server 100 confirms whether the user signature value that signed the order data obtained from the user terminal 10 is valid (S209).

일 예로, 중개 서버(100)는 카드 등록에 대응하여 관리하고 있는 제1 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 사용자의 퍼블릭 키를 확인하고, 확인된 위치의 퍼블릭 키를 제1 블록체인 데이터베이스로부터 획득한다. 또한, 중개 서버(100)는 제2 블록체인 트랜잭션 아이디를 이용하여 제2 블록체인 데이터베이스(400)로부터 획득되는 데이터 메시지에 포함된 제1 대표 해쉬값 또는 제1 대표 해쉬값을 가공한 값을 확인하며, 확인된 제1 대표 해쉬값 또는 제1 대표 해쉬값을 이용하여 검색되는 제1 블록체인 데이터베이스에 저장된 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인 데이터베이스에 등록된 푸쉬 토큰 아이디를 획득할 수도 있다. 이후, 중개 서버(100)는 획득된 퍼블릭 키를 이용하여 사용자 서명값이 유효한지를 확인한다. 이때, 중개 서버(100)는 퍼블릭 키를 이용하여 사용자 서명값으로부터 주문 데이터를 추출하며, 사용자 서명값으로부터 추출된 주문 데이터와 결제 요청 정보에 포함된 주문 데이터가 일치하는지를 확인하여 상기 사용자 서명값의 유효 여부를 판단한다.For example, the intermediary server 100 checks the public key of the user registered in the first block chain database using the first block chain transaction ID managed in response to the card registration, 1 block chain database. Also, the mediation server 100 confirms the processed value of the first representative hash value or the first representative hash value included in the data message obtained from the second block chain database 400 using the second block chain transaction ID Acquires a push token ID registered in the first block chain database by referring to the merch tree information and leaf node information stored in the first block chain database, which is retrieved using the first representative hash value or the first representative hash value, You may. Then, the mediation server 100 confirms whether the user signature value is valid using the obtained public key. At this time, the mediating server 100 extracts the order data from the user signature value using the public key, confirms whether the order data extracted from the user signature value matches the order data included in the payment request information, And judges whether it is valid or not.

그리고, 중개 서버(100)는 사용자 서명값이 유효한 것으로 판단되면, 결제 요청 정보로부터 획득한 주문 데이터를 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원한다(S210). 이때, 중개 서버(100)는 제1 블록체인 데이터베이스에 등록된 주문 데이터의 위치 정보를 나타내는 주문 데이터에 대응하는 제3 블록체인 트랜잭션 아이디를 획득하여 관리한다.If it is determined that the user signature value is valid, the mediation server 100 registers the order data acquired from the payment request information in the first block chain database or supports other devices to register the transaction data in step S210. At this time, the intermediary server 100 acquires and manages the third block chain transaction ID corresponding to the order data indicating the order information of the order data registered in the first block chain database.

또한, 중개 서버(100)는 제2 블록체인 데이터베이스(400)에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값 및 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 제2 대표 해쉬값 또는 제2 대표 해쉬값을 가공한 값을 생성한다(S211).If the triggering condition for registering a predetermined hash value in the second block chain database 400 is satisfied, the mediating server 100 may compare the second specific hash value generated by applying the hash function to the order data, And generates a value obtained by processing the second representative hash value or the second representative hash value, which is the merge root, by computing at least one neighboring hash value matching the hash value (S211).

그리고, 중개 서버(100)는 생성된 머클 루트인 제2 대표 해쉬값 또는 제2 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S212), 제2 블록체인 데이터베이스(400)에 등록된 제2 대표 해쉬값 또는 제2 대표 해쉬값을 가공한 값인 머클 루트의 제2 블록체인 데이터베이스(400) 상의 위치 정보를 나타내는 제4 블록체인 트랜잭션 아이디를 획득하거나 타 장치로 하여금 획득하도록 지원할 수 있다(S213).Then, the mediation server 100 registers a value obtained by processing the generated second representative hash value or the second representative hash value in the second block chain database 400 or supports other devices to register (S212 , A fourth block chain transaction ID indicating the location information on the second block chain database 400 of the Merkrou which is a value obtained by processing the second representative hash value or the second representative hash value registered in the second block chain database 400 Or acquire another device (S213).

한편, 중개 서버(100)는 제2 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the mediation server 100 may store and manage the second specific hash value and the at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 중개 서버(200)는 제2 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제2 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 제2 대표 해쉬값 또는 제2 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다.That is, the mediation server 200 may support to generate or generate a second specific hash value for a particular leaf node, and if the triggering condition is satisfied, at least the second specific hash value It is possible to register or register a value obtained by processing the second representative hash value or the second representative hash value, which is a merge root generated by computing the hash value assigned to one leaf node, to the second block chain database 400 .

좀더 구체적으로 설명하면, (x1) 중개 서버(100)는, (i) 제2 특정 해쉬값과 (ii) 제2 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 제2 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 중개 서버(100)는, 부모 노드에 할당된 해쉬값을 제2 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the mediation server 100 computes or computes a hash value assigned to the sibling node of the node to which (i) the second specific hash value and (ii) the second specific hash value are assigned And support to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the second representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the mediation server 100 repeats (x1) to (x3) with the hash value assigned to the parent node as the second specified hash value .

그리고, 중개 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 제2 대표 해쉬값으로서 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원한다. 이때, 제2 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 제2 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.The mediation server 200 finally registers the hash value assigned to the root node of the merge tree as the second representative hash value in the second block chain database 400 or supports other devices to register. At this time, a value obtained by processing the second representative hash value may be registered. For example, a result obtained by performing a hex operation on the second representative hash value may be registered.

한편, 중개 서버(100)가 제2 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 제1 데이터 구조와 제2 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, when the intermediary server 100 stores the second specific hash value and the at least one neighbor hash value in a predetermined first data structure and then stores and manages the second data structure of the same type as the first data structure , The first data structure and the second data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제1 데이터 구조 및 제2 데이터 구조가 머클 트리인 경우, 제1 데이터 구조의 루트값 또는 루트값의 해쉬값이 제2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the first data structure and the second data structure are merc trees as in the above example, the root value of the first data structure or the hash value of the root value may be assigned to the first leaf node of the second data structure .

또한, 제2 데이터 구조를 생성할 때는 제1 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다.In addition, when the second data structure is created, verification of the first data structure is performed, so that data integrity can be further guaranteed.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 중개 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the mediation server 100 can be assigned when generating a merge tree.

이후, 중개 서버(100)는 사용자 식별 정보에 대응하는 카드 토큰 아이디와 주문 데이터를 포함하는 승인 요청 정보를 금융 서버(200)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S214). 이때, 승인 요청 정보는 제1 블록체인 데이터베이스에 등록된 주문 데이터의 위치 정보를 나타내는 주문 데이터에 대응하는 제3 블록체인 트랜잭션 아이디를 포함할 수 있다.After that, the mediation server 100 transmits the approval request information including the card token ID corresponding to the user identification information and the order data to the financial server 200 or supports the other device to transfer the approval request information (S214). At this time, the approval request information may include a third block chain transaction ID corresponding to the order data indicating the position information of the order data registered in the first block chain database.

그러면, 금융 서버(200)는 주문 데이터에 대한 검증을 수행한다(S216).Then, the financial server 200 verifies the order data (S216).

일 예로, 금융 서버(200)는 승인 요청 정보에 포함된 카드 토큰 아이디에 대응하여 제1 블록체인 데이터베이스에 등록된 주문 데이터를 참조하여 승인 요청 정보에 포함된 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다.For example, the financial server 200 verifies the order data included in the approval request information by referring to the order data registered in the first block chain database in correspondence with the card token ID contained in the approval request information, and responds to the verification result And transmits the approval result information to the intermediary server 100 or transmits the result to the other device.

이때, 금융 서버(200)가 제1 금융 서버(210)와 제2 금융 서버(220)를 포함할 경우, 제1 금융 서버(210)가 중개 서버(100)로부터 획득되는 승인 요청 정보에 포함된 카드 토큰 아이디에 대응하여 제1 블록체인 데이터베이스에 등록된 주문 데이터를 참조하여 승인 요청 정보에 포함된 주문 데이터를 검증한다. 즉, 제1 금융 서버(210)는 주문 데이터에 대응하는 제3 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 주문 데이터를 확인하고, 제1 블록체인 데이터베이스에 등록된 주문 데이터와 승인 요청 정보에 포함된 주문 데이터가 일치하는 지를 확인하여 주문 데이터가 유효한 것인지 판단한다. 그리고, 확인 결과 유효한 것으로 판단되면, 제1 금융 서버(210)는 주문 데이터를 저장하고(S219), 제2 금융 서버(220)로 주문 데이터에 대한 승인을 요청한다(S217). 이때, 제1 금융 서버(210)는 카드 토큰 아이디와 매칭된 카드 인덱스 키를 이용하여 제2 금융 서버(220)로 주문 데이터에 대한 승인을 요청하거나 타 장치로 하여금 요청하도록 지원한다. 그러면, 제2 금융 서버(220)는 승인 요청된 카드 인덱스 키를 이용하여 카드 정보를 확인하며, 확인된 카드 정보에 대응하는 주문 데이터에 대한 결제를 승인하고, 승인된 결과를 제1 금융 서버(210)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S218).In this case, when the financial server 200 includes the first financial server 210 and the second financial server 220, when the first financial server 210 receives the approval request information included in the approval request information acquired from the intermediary server 100 The order data included in the approval request information is verified by referring to the order data registered in the first block chain database in correspondence with the card token ID. That is, the first financial server 210 confirms the order data registered in the first block chain database using the third block chain transaction ID corresponding to the order data, and transmits the order data registered in the first block chain database and the approval It is determined whether or not the order data included in the request information coincides with each other to determine whether the order data is valid. If it is determined that the verification result is valid, the first financial server 210 stores the order data (S219), and requests the second financial server 220 to approve the order data (S217). At this time, the first financial server 210 requests the second financial server 220 to approve order data or request another device using the card index key matched with the card token ID. Then, the second financial server 220 confirms the card information using the card index key requested for approval, approves the payment for the order data corresponding to the confirmed card information, and transmits the approved result to the first financial server 210 or supports other devices to transmit (S218).

그리고, 제1 금융 서버(210)는 제2 금융 서버(220)로부터 획득되는 승인 결과를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S219).The first financial server 210 transmits the approval result obtained from the second financial server 220 to the intermediary server 100 or supports another device to transmit the approval result (S219).

그러면, 중개 서버(100)는 금융 서버(200)로부터 승인 결과 정보가 획득되면, 주문 데이터에 대한 승인 결과 정보를 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S220), 승인 결과에 대응하는 제5 블록체인 트랜잭션 아이디를 획득하여 관리한다.Then, when the approval result information is obtained from the financial server 200, the intermediary server 100 registers the approval result information on the order data in the first block chain database or supports the other device to register it (S220) And acquires and manages a fifth block chain transaction ID corresponding to the result.

그리고, 중개 서버(100)는 제2 블록체인 데이터베이스(400)에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값 및 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 제3 대표 해쉬값 또는 제3 대표 해쉬값을 가공한 값을 생성한다(S221).When the triggering condition for registering a predetermined hash value in the second block chain database 400 is satisfied, the mediation server 100 generates a third specific hash value generated by applying a hash function to the approval result information, A value obtained by processing the third representative hash value or the third representative hash value, which is the merge root, is generated by calculating at least one neighboring hash value matching the specific hash value (S221).

또한, 중개 서버(100)는 생성된 머클 루트인 제3 대표 해쉬값 또는 제3 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S222), 제2 블록체인 데이터베이스(400)에 등록된 제3 대표 해쉬값 또는 제3 대표 해쉬값을 가공한 값인 머클 루트의 제2 블록체인 데이터베이스(400) 상의 위치 정보를 나타내는 제6 블록체인 트랜잭션 아이디를 획득하거나 타 장치로 하여금 획득하도록 지원할 수 있다(S223).In addition, the mediation server 100 registers a value obtained by processing the generated third representative hash value or the third representative hash value in the second block chain database 400 or supports other devices to register (S222 ), A sixth block chain transaction ID indicating the location information on the second block chain database 400 of the Merkrou which is a value obtained by processing the third representative hash value or the third representative hash value registered in the second block chain database 400 Or acquire another device (S223).

한편, 중개 서버(100)는 제5 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the mediation server 100 may store and manage the fifth specific hash value and the at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 중개 서버(200)는 제3 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제3 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 제3 대표 해쉬값 또는 제3 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다.That is, the mediation server 200 can support the third specific hash value to generate or generate a merkle tree assigned to a particular leaf node, and if the triggering condition is satisfied, at least the third specific hash value A third representative hash value that is generated by computing a hash value assigned to one leaf node, and a value obtained by processing the third representative hash value may be registered or registered in the second block chain database 400 .

좀더 구체적으로 설명하면, (x1) 중개 서버(100)는, (i) 제3 특정 해쉬값과 (ii) 제3 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 제3 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 중개 서버(100)는, 부모 노드에 할당된 해쉬값을 제3 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the mediation server 100 computes or computes a hash value assigned to the sibling node of the node to which (i) the third specific hash value and (ii) the third specific hash value are assigned And support to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the third representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the mediation server 100 repeats (x1) to (x3) with the hash value assigned to the parent node as the third specified hash value .

그리고, 중개 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 제3 대표 해쉬값으로서 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원한다. 이때, 제3 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 제3 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.The mediation server 200 finally registers the hash value assigned to the root node of the merge tree as the third representative hash value in the second block chain database 400 or supports other devices to register. At this time, a value obtained by processing the third representative hash value may be registered. For example, a result obtained by performing a hex operation on the third representative hash value may be registered.

한편, 중개 서버(100)가 제3 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제3 데이터 구조로 저장하고, 이후 제3 데이터 구조와 동일한 형태의 제4 데이터 구조를 저장하여 관리하는 경우, 제3 데이터 구조와 제4 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, when the intermediary server 100 stores the third specific hash value and at least one neighbor hash value in a predetermined third data structure and then stores and manages a fourth data structure of the same type as the third data structure , The third data structure and the fourth data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제3 데이터 구조 및 제4 데이터 구조가 머클 트리인 경우, 제3 데이터 구조의 루트값 또는 루트값의 해쉬값이 제4 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the third data structure and the fourth data structure are merc trees as in the above example, the root value of the third data structure or the hash value of the root value may be assigned to the first leaf node of the fourth data structure .

또한, 제4 데이터 구조를 생성할 때는 제3 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다.In addition, when the fourth data structure is generated, verification of the third data structure is performed, so that data integrity can be further guaranteed.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 중개 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the mediation server 100 can be assigned when generating a merge tree.

그리고, 중개 서버(100)는 승인 결과 정보를 서비스 제공 단말(20) 및 사용자 단말(10) 중 적어도 하나로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S224, S225). 이때, 승인 결과 정보는 승인 결과 정보에 대응하는 제5 블록체인 트랜잭션 아이디를 포함할 수 있다.Then, the mediation server 100 transmits the approval result information to at least one of the service providing terminal 20 and the user terminal 10 or supports the other device to transmit (S224, S225). At this time, the approval result information may include a fifth block chain transaction ID corresponding to the approval result information.

또한, 중개 서버(100)로부터 승인 결과 정보가 수신되면, 서비스 제공 단말(20)은 승인 결과 정보를 저장할 수 있다(S226).Also, when the approval result information is received from the intermediary server 100, the service providing terminal 20 can store the approval result information (S226).

상기와 같은 방법에 의해 카드 사용에 대한 승인이 이루어진 상태에서 서비스 제공자가 승인된 주문 데이터에 대한 매입을 요청하는 방법을 도 6을 참조하여 설명하면 다음과 같다.Referring to FIG. 6, a method for requesting purchase of approved order data by the service provider in a state in which approval of card use is performed by the above method will be described.

도 5의 방법에 의해 사용자에 의한 카드 사용을 승인하고, 그 결과 정보를 제1 블록체인 데이터베이스와 제2 블록체인 데이터베이스(400)에 등록한 상태에서, 서비스 제공자가 승인되어 저장된 주문 데이터에 대한 매입을 진행하면(S301), 서비스 제공 단말(20)은 매입 요청 정보를 저장한다(S302). 일 예로, 서비스 제공 단말(20)은 사용자의 주문에 대응하여 승인되어 제1 블록체인 데이터베이스에 등록된 주문 데이터들 중에서 서비스 제공자에 의해 선택된 적어도 하나 이상의 주문 데이터를 포함하는 매입 데이터를 저장한다.5, accepts the use of the card by the user, registers the resultant information in the first block chain database and the second block chain database 400, When proceeding (S301), the service providing terminal 20 stores the purchase request information (S302). For example, the service providing terminal 20 stores the embedded data including at least one order data selected by the service provider from among the order data approved in response to the user's order and registered in the first block chain database.

그리고, 서비스 제공 단말(20)은 매입 데이터를 포함하는 매입 요청 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S303).In step S303, the service providing terminal 20 transmits transfer request information including embedded data to the intermediary server 100 or to transfer the transfer request information to another device.

그러면, 중개 서버(100)는 서비스 제공 단말(20)로부터 획득되는 매입 요청 정보가 유효한 것인지를 확인한다(S304).Then, the mediation server 100 confirms whether the purchase request information acquired from the service providing terminal 20 is valid (S304).

일 예로, 중개 서버(100)는 매입 요청 정보에 포함된 매입 데이터를 확인하며, 매입 데이터에 포함된 주문 데이터들이 유효한지를 확인한다. 즉, 중개 서버(100)는 매입 데이터에 포함된 주문 데이터들을 확인하며, 주문 데이터, 즉, 승인된 주문 데이터에 대응하는 제5 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 주문 데이터를 확인하며, 제1 블록체인 데이터베이스에 등록된 주문 데이터와 매입 요청 정보에 포함된 주문 데이터가 일치하는 지를 확인하여 일치할 경우 매입 데이터가 유효한 것으로 판단한다.For example, the mediation server 100 confirms the embedded data included in the embedded request information, and confirms that the order data included in the embedded data is valid. That is, the mediating server 100 confirms the order data included in the embedded data, and transmits the order data, that is, the order data registered in the first block chain database, using the fifth block chain transaction ID corresponding to the approved order data And checks whether or not the order data registered in the first block chain database matches the order data included in the purchase request information. If they match, it is determined that the purchase data is valid.

그리고, 중개 서버(100)는 확인된 매입 데이터에 대하여 서비스 제공 단말(20)로 매입 데이터 인증을 요청하거나 타 장치로 하여금 요청하도록 지원한다(S305).Then, the mediation server 100 requests the service providing terminal 20 to confirm the embedded data or request another device to request the embedded data (S305).

그러면, 서비스 제공 단말(20)은 서비스 제공자에게 중개 서버(100)에서 확인된 매입 데이터에 대한 확인을 요청하며, 서비스 제공자로부터 확인 신호가 입력되면 중개 서버(100)로 인증에 대한 확인 결과를 전송하거나 타 장치로 하여금 전송하도록 지원한다(S306).Then, the service providing terminal 20 requests the service provider to confirm the embedded data confirmed by the intermediary server 100. When the confirmation signal is input from the service provider, the service providing terminal 20 transmits an authentication result to the mediation server 100 Or to transmit another device (S306).

그리고, 서비스 제공 단말(20)로부터 인증 확인 결과가 획득되면, 중개 서버(100)는 인증 확인된 매입 데이터를 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S307), 제1 블록체인 데이터베이스(300)에서 매입 데이터가 등록된 위치 정보인 매입 데이터에 대응하는 제7 블록체인 트랜잭션 아이디를 획득하고 관리한다.When the result of the authentication check is obtained from the service providing terminal 20, the mediation server 100 registers the authenticated verified data in the first block chain database or supports other devices to register (S307) And acquires and manages the seventh block chain transaction ID corresponding to the embedded data which is the position information on which the embedded data is registered in the block chain database 300.

또한, 중개 서버(100)는 제2 블록체인 데이터베이스(400)에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 매입 데이터에 해쉬 함수를 적용하여 생성한 제4 특정 해쉬값 및 제4 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 제4 대표 해쉬값 또는 제4 대표 해쉬값을 가공한 값을 생성한다(S308).When the triggering condition for registering a predetermined hash value in the second block chain database 400 is satisfied, the mediating server 100 may compare the fourth specific hash value generated by applying the hash function to the embedded data, A value obtained by processing the fourth representative hash value or the fourth representative hash value, which is the merge root, is generated by calculating at least one neighboring hash value matching the hash value (S308).

그리고, 중개 서버(100)는 생성된 머클 루트인 제4 대표 해쉬값 또는 제4 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S309), 제2 블록체인 데이터베이스(400)에 등록된 제4 대표 해쉬값 또는 제4 대표 해쉬값을 가공한 값인 머클 루트의 제2 블록체인 데이터베이스(400) 상의 위치 정보를 나타내는 제8 블록체인 트랜잭션 아이디를 획득하거나 타 장치로 하여금 획득하도록 지원할 수 있다(S310).Then, the mediation server 100 registers a value obtained by processing the generated fourth representative hash value or the fourth representative hash value in the second block chain database 400 or supports registration by another device (S309 ), An eighth block chain transaction ID indicating the location information on the second block chain database 400 of the MECHUBOT, which is a value obtained by processing the fourth representative hash value or the fourth representative hash value registered in the second block chain database 400 Or acquire another device (S310).

한편, 중개 서버(100)는 제4 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the mediation server 100 may store and manage the fourth specific hash value and the at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 중개 서버(200)는 제4 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제4 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 제4 대표 해쉬값 또는 제4 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다.That is, the mediation server 200 may support the fourth specific hash value to generate or generate a merkle tree assigned to a particular leaf node, and if the triggering condition is met, at least the fourth specific hash value A fourth representative hash value that is generated by computing a hash value assigned to one leaf node and a fourth representative hash value that is a merge root generated by processing the fourth representative hash value may be registered or registered in the second block chain database 400 .

좀더 구체적으로 설명하면, (x1) 중개 서버(100)는, (i) 제4 특정 해쉬값과 (ii) 제4 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 제4 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 중개 서버(100)는, 부모 노드에 할당된 해쉬값을 제4 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the mediation server 100 computes or computes a hash value assigned to the sibling node of the node to which (i) the fourth specific hash value and (ii) the fourth specific hash value are assigned And support to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the fourth representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the mediation server 100 repeats (x1) to (x3) with the hash value assigned to the parent node as the fourth specific hash value .

그리고, 중개 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 제4 대표 해쉬값으로서 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원한다. 이때, 제4 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 제4 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.Then, the mediation server 200 registers the hash value finally assigned to the root node of the merge tree as a fourth representative hash value in the second block chain database 400 or to register another device. At this time, a value obtained by processing the fourth representative hash value may be registered. For example, a result obtained by performing a hex operation on the fourth representative hash value may be registered.

한편, 중개 서버(100)가 제4 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제7 데이터 구조로 저장하고, 이후 제7 데이터 구조와 동일한 형태의 제8 데이터 구조를 저장하여 관리하는 경우, 제7 데이터 구조와 제8 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, when the intermediary server 100 stores the fourth specific hash value and at least one neighbor hash value in a predetermined seventh data structure, and then stores and manages the eighth data structure of the same type as the seventh data structure , The seventh data structure and the eighth data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제7 데이터 구조 및 제8 데이터 구조가 머클 트리인 경우, 제7 데이터 구조의 루트값 또는 루트값의 해쉬값이 제8 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the seventh data structure and the eighth data structure are merc trees as in the above example, a root value or a hash value of the root value of the seventh data structure may be assigned to the first leaf node of the eighth data structure .

또한, 제8 데이터 구조를 생성할 때는 제7 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다.Further, when the eighth data structure is generated, verification of the seventh data structure is performed, so that data integrity can be further guaranteed.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 중개 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the mediation server 100 can be assigned when generating a merge tree.

이후, 중개 서버(100)는 매입 데이터를 포함하는 매입 요청 정보를 금융 서버(200)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S311). 이때, 매입 요청 정보는 제1 블록체인 데이터베이스에 등록된 매입 데이터의 위치 정보를 나타내는 매입 데이터에 대응하는 제7 블록체인 트랜잭션 아이디를 포함할 수 있다.Thereafter, the intermediary server 100 transmits the purchase request information including the embedded data to the financial server 200 or supports the other device to transfer (S311). At this time, the embedded request information may include a seventh block chain transaction ID corresponding to the embedded data indicating location information of the embedded data registered in the first block chain database.

그러면, 금융 서버(200)는 매입 요청 정보에 포함된 매입 데이터가 유효한지를 확인한다(S312).Then, the financial server 200 confirms whether the embedded data included in the embedded request information is valid (S312).

일 예로, 금융 서버(200)는 매입 요청 정보에 포함된 매입 데이터에 대응하여 제1 블록체인 데이터베이스에 등록된 매입 데이터를 참조하여 매입 요청 정보에 포함된 매입 데이터를 검증하고, 검증 결과에 대응하는 매입 결과 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S316).For example, the financial server 200 verifies the embedded data included in the embedded request information by referring to the embedded data registered in the first block chain database in correspondence with the embedded data included in the embedded request information, And transmits the purchase result information to the mediation server 100 or to send another device to the intermediation server 100 (S316).

이때, 금융 서버(200)가 제1 금융 서버(210)와 제2 금융 서버(220)를 포함할 경우, 제1 금융 서버(210)가 중개 서버(100)로부터 획득되는 매입 요청 정보에 포함된 매입 데이터에 대응하여 제1 블록체인 데이터베이스에 등록된 매입 데이터를 참조하여 매입 요청 정보에 포함된 주문 데이터를 검증한다. 즉, 제1 금융 서버(210)는 매입 데이터에 대응하는 제7 블록체인 트랜잭션 아이디를 이용하여 제1 블록체인 데이터베이스에 등록된 매입 데이터를 확인하고, 제1 블록체인 데이터베이스에 등록된 매입 데이터와 매입 요청 정보에 포함된 매입 데이터가 일치하는 지를 확인하여 매입 데이터가 유효한 것인지 판단한다. 그리고, 확인 결과 유효한 것으로 판단되면, 제1 금융 서버(210)는 제2 금융 서버(220)로 매입 데이터에 대한 매입을 요청한다(S313). 이때, 제1 금융 서버(210)는 카드 토큰 아이디와 매칭된 카드 인덱스 키를 이용하여 제2 금융 서버(220)로 매입 데이터에 대한 매입을 요청하거나 타 장치로 하여금 요청하도록 지원한다. 그러면, 제2 금융 서버(220)는 매입 요청된 카드 인덱스 키를 이용하여 카드 정보를 확인하며, 확인된 카드 정보에 대응하는 매입 데이터에 대한 결제를 승인하고, 승인된 매입 결과 정보를 제1 금융 서버(210)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S314).In this case, when the financial server 200 includes the first financial server 210 and the second financial server 220, the first financial server 210 transmits the purchase request information included in the purchase request information acquired from the intermediary server 100 The order data included in the purchase request information is verified by referring to the embedded data registered in the first block chain database in response to the embedded data. That is, the first financial server 210 checks the embedded data registered in the first block chain database using the seventh block-chain transaction ID corresponding to the embedded data, and stores the embedded data registered in the first block- It is determined whether or not the embedded data included in the request information are identical to each other to determine whether the embedded data is valid. If it is determined that the verification result is valid, the first financial server 210 requests the second financial server 220 to purchase the embedded data (S313). At this time, the first financial server 210 requests the second financial server 220 to purchase the embedded data or request another device using the card index key matched with the card token ID. Then, the second financial server 220 confirms the card information using the card index key requested to be embedded, approves the settlement of the purchase data corresponding to the confirmed card information, and transmits the approved purchase result information to the first financial To the server 210 or to send another device (S314).

그리고, 제1 금융 서버(210)는 제2 금융 서버(220)로부터 획득되는 매입 결과 정보를 중개 서버(100)로 전송하거나 타 장치로 하여금 전송하도록 지원한다(S316). 이때, 제1 금융 서버(210)는 제2 금융 서버(220)로부터 획득되는 매입 결과 정보를 저장할 수 있다(S315).The first financial server 210 transmits the purchase result information obtained from the second financial server 220 to the intermediary server 100 or supports another device to transfer the purchase result information to the intermediary server 100 (S316). At this time, the first financial server 210 may store the purchase result information obtained from the second financial server 220 (S315).

그러면, 중개 서버(100)는 금융 서버(200)로부터 획득되는 매입 데이터에 대한 매입 결과 정보를 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S317), 매입 결과에 대응하는 제9 블록체인 트랜잭션 아이디를 획득하여 관리한다.Then, the mediation server 100 registers the purchase result information for the embedded data acquired from the financial server 200 in the first block chain database or supports other devices to register (S317) 9 block chain transaction ID is obtained and managed.

그리고, 중개 서버(100)는 제2 블록체인 데이터베이스(400)에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면, 매입 결과 정보에 해쉬 함수를 적용하여 생성한 제5 특정 해쉬값 및 제5 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산함으로써 머클 루트인 제5 대표 해쉬값 또는 제5 대표 해쉬값을 가공한 값을 생성한다(S318).When the triggering condition for registering a predetermined hash value in the second block chain database 400 is satisfied, the mediation server 100 stores the fifth specific hash value generated by applying the hash function to the embedded result information, A value obtained by processing the fifth representative hash value or the fifth representative hash value, which is the merge root, is generated by computing at least one neighboring hash value matching the specific hash value at step S318.

또한, 중개 서버(100)는 생성된 머클 루트인 제5 대표 해쉬값 또는 제5 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원하고(S319), 제2 블록체인 데이터베이스(400)에 등록된 제5 대표 해쉬값 또는 제5 대표 해쉬값을 가공한 값인 머클 루트의 제2 블록체인 데이터베이스(400) 상의 위치 정보를 나타내는 제10 블록체인 트랜잭션 아이디를 획득하거나 타 장치로 하여금 획득하도록 지원할 수 있다(S320).In addition, the mediation server 100 registers the generated value of the fifth representative hash value or the fifth representative hash value in the second block chain database 400 or supports other devices to register (S319 ), A tenth block chain transaction ID indicating the location information on the second block chain database 400 of the Merkrou which is a value obtained by processing the fifth representative hash value or the fifth representative hash value registered in the second block chain database 400 Or acquire another device (S320).

한편, 중개 서버(100)는 제5 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 데이터 구조로 저장하여 관리할 수 있다. 여기서, 데이터 구조는 다양할 수 있는데, 일 예로 머클 트리(merkle tree) 구조가 될 수도 있다.Meanwhile, the mediation server 100 may store and manage the fifth specific hash value and the at least one neighbor hash value in a predetermined data structure. Here, the data structure may be various, for example, a merkle tree structure.

즉, 중개 서버(200)는 제5 특정 해쉬값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제5 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 머클 루트인 제5 대표 해쉬값 또는 제5 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스(400)에 등록하거나 등록하도록 지원할 수 있다.That is, the mediation server 200 can support the fifth specific hash value to generate or generate a merkle tree assigned to a particular leaf node, and if the triggering condition is satisfied, The fifth block hash value generated by computing the hash value assigned to one leaf node may be registered or registered in the second block chain database 400 .

좀더 구체적으로 설명하면, (x1) 중개 서버(100)는, (i) 제5 특정 해쉬값과 (ii) 제5 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해쉬값을 노드의 부모 노드에 할당하거나 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해쉬값이 제5 대표 해쉬값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 중개 서버(100)는, 부모 노드에 할당된 해쉬값을 제5 특정 해쉬값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the mediation server 100 computes or computes a hash value assigned to the sibling node of the node to which (i) the fifth specific hash value and (ii) the fifth specific hash value are assigned And support to assign or assign a hash value for the operation value to the parent node of the node. (x2) If the parent node is the root node of the merge tree, the hash value assigned to the parent node is the fifth representative hash value. (x3). On the other hand, if the parent node is not the root node of the merge tree, the mediation server 100 repeats (x1) through (x3) with the fifth hash value assigned to the parent node as the fifth specified hash value .

그리고, 중개 서버(200)는 최종적으로 머클 트리의 루트 노드에 할당된 해쉬값을 제5 대표 해쉬값으로서 제2 블록체인 데이터베이스(400)에 등록하거나 타 장치로 하여금 등록하도록 지원한다. 이때, 제5 대표 해쉬값을 가공한 값이 등록될 수도 있다. 예를 들어, 제5 대표 해쉬값에 hex 연산이 수행된 결과값이 등록될 수도 있다.The mediation server 200 finally registers the hash value assigned to the root node of the merge tree as the fifth representative hash value in the second block chain database 400 or supports other devices to register. At this time, a value obtained by processing the fifth representative hash value may be registered. For example, a result obtained by performing hex operation on the fifth representative hash value may be registered.

한편, 중개 서버(100)가 제5 특정 해쉬값과 적어도 하나의 이웃 해쉬값을 소정의 제9 데이터 구조로 저장하고, 이후 제9 데이터 구조와 동일한 형태의 제10 데이터 구조를 저장하여 관리하는 경우, 제9 데이터 구조와 제10 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, when the mediation server 100 stores the fifth specific hash value and the at least one neighbor hash value in a predetermined ninth data structure and then stores and manages a tenth data structure of the same type as the ninth data structure , The ninth data structure and the tenth data structure may be connected in a chain form.

특히, 상술한 예에서와 같이 제9 데이터 구조 및 제10 데이터 구조가 머클 트리인 경우, 제9 데이터 구조의 루트값 또는 루트값의 해쉬값이 제10 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In particular, if the ninth data structure and the tenth data structure are merc trees as in the above example, the root value of the ninth data structure or the hash value of the root value may be assigned to the first leaf node of the tenth data structure .

또한, 제10 데이터 구조를 생성할 때는 제9 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀더 보장될 수 있다.In addition, when the tenth data structure is generated, verification of the ninth data structure is performed, so that data integrity can be further guaranteed.

또한, 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 머클 트리의 경우, 첫번째 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자, 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당될 수 있다. 예를 들어, 머클 트리 생성시 중개 서버(100)에 의해 최초로 부여된 입력 메시지의 해쉬값이 할당될 수 있다.In addition, in the case of the first one of the at least one merch tree connected in a chain form, the first leaf node of the first merch tree may be assigned a hash value or a processed value of predetermined message data composed of text, numbers, or symbols have. For example, a hash value of an input message initially assigned by the mediation server 100 can be assigned when generating a merge tree.

그리고, 중개 서버(100)는 매입 결과 정보를 서비스 제공 단말(20)로 전송하거나 타 장치로 하여금 전송하도록 지원한다. 이때, 매입 결과 정보는 매입 결과에 대응하는 제9 블록체인 트랜잭션 아이디를 포함할 수 있다.Then, the mediation server 100 transmits the purchase result information to the service providing terminal 20 or supports the other device to transmit the result. At this time, the embedded result information may include a ninth block-chain transaction ID corresponding to the embedded result.

이에 더하여, 중개 서버(100)로부터 매입 결과 정보가 수신되면, 서비스 제공 단말(20)은 승인 결과 정보를 저장할 수 있다.In addition, when the buying result information is received from the mediation server 100, the service providing terminal 20 can store the approval result information.

또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the embodiments of the present invention described above can be implemented in the form of program instructions that can be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program commands, data files, data structures, and the like, alone or in combination. The program instructions recorded on the computer-readable recording medium may be those specially designed and constructed for the present invention or may be those known and used by those skilled in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tape, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those generated by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware device may be configured to operate as one or more software modules for performing the processing according to the present invention, and vice versa.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, Those skilled in the art will appreciate that various modifications, additions and substitutions are possible, without departing from the scope and spirit of the invention as disclosed in the accompanying claims.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등하게 또는 등가적으로 변형된 모든 것들은 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be construed as being limited to the above-described embodiments, and all of the equivalents or equivalents of the claims, as well as the following claims, I will say.

10: 사용자 단말,
20: 서비스 제공 단말,
100: 중개 서버,
200: 금융 서버,
210: 통신부,
220: 프로세서,
210: 제1 금융 서버,
220: 제2 금융 서버,
400: 제2 블록체인 데이터베이스
10: user terminal,
20: service providing terminal,
100: mediation server,
200: financial server,
210:
220: processor,
210: first financial server,
220: second financial server,
400: second block chain database

Claims (35)

토큰 아이디를 이용하여 카드 사용을 승인하는 방법에 있어서,
(a) 사용자의 카드 정보에 대응되는 카드 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 앱에 대응되는 푸쉬 토큰 아이디, 및 상기 사용자의 퍼블릭 키를 제1 블록체인 데이터베이스에 등록하고 이에 대응하는 제1 블록체인 트랜잭션 아이디를 관리하며, 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 관리하고 있는 상태에서, 서비스 제공 단말로부터 상기 사용자의 카드 사용에 대응하는 상기 사용자 식별 정보와 주문 데이터를 포함하는 결제 요청 정보가 획득되면, 중개 서버가, (1) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 이용하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하거나, (2) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제2 블록체인 트랜잭션 아이디를 이용하여 상기 제2 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값과 관련되어 상기 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 제1 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하고, 상기 획득된 상기 푸쉬 토큰 아이디에 대응되는 상기 사용자 단말로 상기 주문 데이터에 대한 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하는 단계;
(b) 상기 주문 데이터에 대한 인증 요청에 대응하여 상기 사용자 단말로부터 상기 주문 데이터를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값이 획득되면, 상기 중개 서버가, 상기 제1 블록체인 데이터베이스에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 상기 사용자 서명값이 유효이면, (1) 상기 주문 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제3 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값과 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제4 블록체인 트랜잭션 아이디를 관리하는 단계; 및
(c) 상기 중개 서버가, (i) 금융 서버로 상기 사용자 식별 정보에 대응하는 상기 카드 토큰 아이디와 상기 주문 데이터를 포함하는 승인 요청 정보를 전송하거나 타 장치로 하여금 전송하도록 지원함으로써, 상기 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 상기 중개 서버로 전송하도록 하며, (ii) 상기 금융 서버로부터 상기 승인 결과 정보가 획득되면, (1) 상기 승인 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제5 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값과 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제6 블록체인 트랜잭션 아이디를 관리하고, 상기 승인 결과 정보를 상기 서비스 제공 단말 및 상기 사용자 단말 중 적어도 하나로 전송하거나 타 장치로 하여금 전송하도록 지원하는 단계;
를 포함하는 것을 특징으로 하는 카드 사용 승인 방법.
A method for authorizing use of a card using a token ID,
(a) a card token ID corresponding to the card information of the user, user identification information for identifying the user, a push token ID corresponding to an app installed in the user terminal of the user, and a public key of the user, A first specific hash value generated by applying a hash function to the card token ID, the user identification information, the push token ID, and the public key, A first representative hash value obtained by calculating at least one neighboring hash value matching the first specified hash value or a value obtained by processing the first representative hash value is registered in a second block chain database, In a state in which the transaction ID is managed, If the payment request information including the user identification information and the order data is obtained, the mediating server transmits (1) the first block of transaction IDs corresponding to the user identification information of the payment request information, (2) acquiring a data message from the second block chain database using the second block chain transaction ID corresponding to the user identification information of the payment request information , And the merge tree information and leaf node information stored in the first block chain database in association with a value obtained by processing the first representative hash value or the first representative hash value included in the data message, And searches the merge tree information and the leaf node information retrieved from the database. Acquiring the push token ID registered in the first block chain database, requesting authentication of the order data to the user terminal corresponding to the acquired push token ID, or requesting another device to request step;
(b) if a user signature value obtained by signing the order data with the user's private key is received from the user terminal in response to the authentication request for the order data, (1) registering the order data in the first block chain database or registering another device with the first block chain database, if the user signature value is valid, checking whether the user signature value is valid using the public key of the user, (2) managing a third block chain transaction ID corresponding to the third block chain transaction ID, and (2) if a triggering condition for registering a predetermined hash value in the second block chain database is satisfied, And a second hash value calculating unit that calculates a hash value and at least one neighbor hash value matching the second specific hash value, Further comprising: table hash value or register the first value by processing a second hash value representative of said second block chain database, or support to enable registration to other devices and managing the fourth block chain transaction ID corresponding thereto; And
(c) the intermediary server transmits (i) approval request information including the card token ID corresponding to the user identification information and the order data to the financial server, Verifies the order data included in the approval request information with reference to the order data registered in the first block chain database corresponding to the card token ID included in the approval request information, (Ii) when the approval result information is obtained from the financial server, (1) the approval result information is registered in the first block chain database or the other device is registered And manages a fifth block chain transaction ID corresponding to the second block chain transaction ID, (2) If the triggering condition for registering a predetermined hash value in the lock chain database is satisfied, a third specific hash value generated by applying a hash function to the approval result information and at least one neighbor hash value matching the third specific hash value And registers the third representative hash value or the value obtained by processing the third representative hash value in the second block chain database or register with another device, manages the sixth block chain transaction ID corresponding to the third block hash value, Transmitting the approval result information to at least one of the service providing terminal and the user terminal or supporting another device to transmit the approval result information;
The method comprising the steps of:
제1항에 있어서,
상기 트리거링 조건은,
(i) 소정의 개수만큼 상기 카드의 사용과 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 블록체인 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
The triggering condition includes:
(i) a condition in which a transaction related to the use of the card is generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in the first block chain database, And a condition for the use of the card.
제1항에 있어서,
상기 (b) 단계에서,
상기 중개 서버는, 상기 제2 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
In the step (b)
Wherein the mediation server supports the second specific hash value to generate or generate a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the second representative hash value or the second representative hash value generated by computing a hash value assigned to at least one other leaf node matching the second specific hash value To register in the second block chain database or to register another device.
제1항에 있어서,
상기 (c) 단계에서,
상기 중개 서버는, 상기 제3 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
In the step (c)
The mediation server supports the third specific hash value to generate or generate a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the third representative hash value or the third representative hash value generated by computing a hash value assigned to at least one other leaf node matching the third specific hash value To register in the second block chain database or to register another device.
제3항 또는 제4항에 있어서,
상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫번째 트리인 경우, 상기 머클 트리의 첫번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해쉬값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 3 or 4,
If the merge tree is a first tree among at least one merge tree connected in a chain form, the first leaf node of the merge tree is assigned a hash value or a processed value of predetermined message data composed of text, numbers or symbols How to approve card usage.
제3항에 있어서,
상기 트리거링 조건이 만족되면,
(x1) 상기 중개 서버는, (i) 상기 제2 특정 해쉬값과 (ii) 상기 제2 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, (i) 상기 제2 특정 해쉬값과 (ii) 상기 제2 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산한 값에 해쉬 함수를 적용하여 생성한 해쉬값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해쉬값을 상기 제2 대표 해쉬값으로서 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해쉬값을 상기 제2 특정 해쉬값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 카드 사용 승인 방법.
The method of claim 3,
If the triggering condition is satisfied,
(x1) the mediation server is configured to (i) calculate or calculate a hash value assigned to the sibling node of the node to which the second specific hash value and (ii) the second specific hash value are assigned, The hash value generated by applying the hash function to the value obtained by calculating the hash value assigned to the sibling node of the node to which the second specific hash value is assigned, and (ii) assigning the hash value generated to the parent node of the node Or assign,
(x2) if the parent node is the root node of the merge tree, register the hash value assigned to the parent node as the second representative hash value in the second block chain database or register with another device,
(x3) If the parent node is not the root node of the merge tree, the step (x1) to (x2) are repeated by using the hash value assigned to the parent node as the second specific hash value How to approve a card.
제6항에 있어서,
상기 (x1)에서,
상기 트리거링 조건이 만족되었음에도 상기 제2 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 상기 중개 서버는, 상기 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 6,
In (x1) above,
If the hash value is not allocated to the sibling node of the node to which the second specific hash value is allocated even though the triggering condition is satisfied, the mediating server assists the sibling node to assign or assign a predetermined hash value, (x1) to (x3).
제4항에 있어서,
상기 트리거링 조건이 만족되면,
(x1) 상기 중개 서버는, (i) 상기 제3 특정 해쉬값과 (ii) 상기 제3 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산하거나 연산하도록 지원하고, (i) 상기 제3 특정 해쉬값과 (ii) 상기 제3 특정 해쉬값이 할당된 노드의 형제 노드에 할당된 해쉬값을 연산한 값에 해쉬 함수를 적용하여 생성한 해쉬값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해쉬값을 상기 제3 대표 해쉬값으로서 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해쉬값을 상기 제3 특정 해쉬값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 카드 사용 승인 방법.
5. The method of claim 4,
If the triggering condition is satisfied,
(x1) the mediation server is configured to (i) calculate or calculate a hash value assigned to the sibling node of the node to which the third specific hash value and (ii) the third specific hash value are assigned, A hash value generated by applying a hash function to a value obtained by calculating the hash value assigned to the sibling node of the node to which the third specific hash value is assigned, and (ii) assigning a hash value generated to the parent node of the node Or assign,
(x2) if the parent node is the root node of the merge tree, register the hash value assigned to the parent node as the third representative hash value in the second block chain database or register with another device,
(x3) if the parent node is not the root node of the merge tree, the (x1) to (x2) are repeatedly performed using the hash value assigned to the parent node as the third specific hash value How to approve a card.
제8항에 있어서,
상기 (x1)에서,
상기 트리거링 조건이 만족되었음에도 상기 제3 특정 해쉬값이 할당된 노드의 형제 노드에 해쉬값이 할당되어 있지 않은 경우, 상기 중개 서버는, 상기 형제 노드에 소정의 해쉬값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 카드 사용 승인 방법.
9. The method of claim 8,
In (x1) above,
If the hash value is not allocated to the sibling node of the node to which the third specific hash value is allocated even though the triggering condition is satisfied, the mediating server assists the sibling node to allocate or assign a predetermined hash value to the sibling node, (x1) to (x3).
제1항에 있어서,
상기 (b) 단계에서,
상기 중개 서버가 상기 제2 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
In the step (b)
If the intermediary server stores the second specific hash value and the at least one neighbor hash value in a predetermined first data structure and then stores and manages a second data structure of the same type as the first data structure, Wherein the first data structure and the second data structure are connected in a chain form.
제10항에 있어서,
상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해쉬값이 상기 제2 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 카드 사용 승인 방법.
11. The method of claim 10,
Wherein a root value of the first data structure or a hash value of the root value is assigned to a first leaf node of the second data structure if the first data structure and the second data structure are merc trees. How to approve use.
제1항에 있어서,
상기 (c) 단계에서,
상기 중개 서버가 상기 제3 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제3 데이터 구조로 저장하고, 이후 상기 제3 데이터 구조와 동일한 형태의 제4 데이터 구조를 저장하여 관리하는 경우, 상기 제3 데이터 구조와 상기 제4 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
In the step (c)
If the intermediary server stores the third specific hash value and the at least one neighbor hash value in a predetermined third data structure and then stores and manages a fourth data structure of the same type as the third data structure, Wherein the third data structure and the fourth data structure are connected in a chain form.
제12항에 있어서,
상기 제3 데이터 구조 및 상기 제4 데이터 구조가 머클 트리인 경우, 상기 제3 데이터 구조의 루트값 또는 상기 루트값의 해쉬값이 상기 제4 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 카드 사용 승인 방법.
13. The method of claim 12,
A root value of the third data structure or a hash value of the root value is assigned to a first leaf node of the fourth data structure when the third data structure and the fourth data structure are merc trees. How to approve use.
제1항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
상기 (c) 단계에서,
(i) 상기 중개 서버가, 상기 승인 요청 정보를 전송하여, 상기 제1 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하도록 지원하고, 검증 결과 상기 주문 데이터가 유효한 것으로 판단되면 상기 제2 금융 서버로 상기 주문 데이터에 대한 승인을 요청하도록 지원하고, (ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 승인 결과가 전송되면, 상기 중개 서버가, 상기 제1 금융 서버로부터 상기 승인 결과 정보를 전송받거나 타 장치로부터 전송받는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
Wherein the financial server includes a first financial server and a second financial server,
In the step (c)
(i) the brokerage server transmits the approval request information to the first financial server to transmit the order data registered in the first block chain database in correspondence with the card token ID included in the approval request information (Ii) if it is determined that the order data is valid, requesting approval of the order data to the second financial server; (ii) Wherein when the approval result is transmitted from the second financial server to the first financial server, the mediation server receives the approval result information from the first financial server or receives the approval result information from the other financial server.
제1항에 있어서,
상기 (a) 단계 이전에,
(a01) 상기 사용자 단말로부터 사용자의 개인 정보, 상기 사용자 식별 정보, 상기 카드 정보, 및 상기 푸쉬 토큰 아이디를 포함하는 카드 등록 요청 정보가 획득되면, 상기 중개 서버가, 상기 금융 서버로 상기 카드 정보에 대한 검증을 요청하는 단계;
(a02) 상기 금융 서버로부터 상기 카드 정보에 대응하는 카드 인덱스 키를 포함하는 검증 결과가 획득되면, 상기 중개 서버가, 상기 카드 인덱스 키에 대응하는 카드 토큰 아이디를 생성하고, 상기 푸쉬 토큰 아이디에 대응하는 상기 사용자 단말로 사용자 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하는 단계; 및
(a03) 상기 사용자 단말로부터 상기 사용자 인증에 대응하는 상기 사용자의 퍼블릭 키가 획득되면, 상기 중개 서버가, (i) (1) 상기 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 획득하고, (ii) 상기 카드 토큰 아이디와 상기 카드 인덱스 키를 상기 금융 서버로 전송하거나 타 장치로 하여금 전송하도록 지원하여 상기 금융 서버로 하여금 상기 카드 정보와 상기 카드 토큰 아이디를 맵핑하도록 하는 단계;
를 더 포함하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
Before the step (a)
(a01) When the card registration request information including the user's personal information, the user identification information, the card information, and the push token ID is obtained from the user terminal, the mediating server transmits the card information to the financial server Requesting verification of the data;
(a02) When a verification result including the card index key corresponding to the card information is obtained from the financial server, the mediating server generates a card token ID corresponding to the card index key, and corresponds to the push token ID Requesting user authentication to the user terminal or requesting another device to request the user authentication; And
(a3) if the public key of the user corresponding to the user authentication corresponding to the user authentication is obtained from the user terminal, (i) (1) the token ID, the user identification information, the push token ID, Registering the key in the first block chain database or registering it with another device and obtaining the corresponding first block chain transaction ID; (2) registering a predetermined hash value in the second block chain database; A first specific hash value generated by applying a hash function to the card token ID, the user identification information, the push token ID, and the public key if the triggering condition is satisfied, and at least one A value obtained by processing the first representative hash value or the first representative hash value obtained by calculating the neighborhood hash value of the second block chain (Ii) transferring the card token ID and the card index key to the financial server, or transferring the card to another financial institution, Allowing the financial server to map the card information and the card token ID;
Further comprising the step of:
제15항에 있어서,
상기 (a03) 단계에서,
상기 중개 서버는, 상기 제1 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
16. The method of claim 15,
In the step (a03)
The mediation server supporting the first specific hash value to generate or generate a merkle tree assigned to a leaf node,
Wherein when the triggering condition is satisfied, a value obtained by processing the first representative hash value or the first representative hash value generated by computing a hash value assigned to at least one other leaf node matching the first specified hash value To register in the second block chain database or to register another device.
제15항에 있어서,
상기 (a03) 단계에서,
상기 중개 서버가 상기 제1 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제5 데이터 구조로 저장하고, 이후 상기 제5 데이터 구조와 동일한 형태의 제6 데이터 구조를 저장하여 관리하는 경우, 상기 제5 데이터 구조와 상기 제6 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 카드 사용 승인 방법.
16. The method of claim 15,
In the step (a03)
When the intermediary server stores the first specific hash value and the at least one neighbor hash value in a predetermined fifth data structure and then stores and manages a sixth data structure of the same type as the fifth data structure, Wherein the fifth data structure and the sixth data structure are connected in a chain form.
제15항에 있어서,
상기 (a03) 단계에서,
상기 중개 서버가, 상기 사용자 인증을 요청하여, 상기 사용자 단말로 하여금 상기 사용자 인증 요청에 대응하여 프라이빗 키와 상기 퍼블릭 키를 생성하도록 지원하고, 상기 사용자에게 확인 정보의 설정을 요청하도록 지원하며, 상기 사용자로부터 획득되는 상기 확인 정보를 저장하도록 지원하고, 상기 사용자 단말로부터 상기 퍼블릭 키를 전송받거나 타 장치로부터 전송받는 것을 특징으로 하는 카드 사용 승인 방법.
16. The method of claim 15,
In the step (a03)
Wherein the mediation server requests the user authentication to generate the private key and the public key in response to the user authentication request and supports the user to request confirmation of the confirmation information, Wherein the method further comprises storing the confirmation information obtained from the user and receiving the public key from the user terminal or receiving the public key from another device.
제15항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
상기 (a02) 단계에서,
(i) 상기 중개 서버가, 상기 카드 정보에 대한 검증을 요청하여, 상기 제1 금융 서버로 하여금 제2 금융 서버로 상기 카드 정보에 대한 검증을 요청하도록 지원하며, (ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 상기 카드 정보에 대응하는 카드 인덱스 키를 포함하는 검증 결과가 전송되면, 상기 중개 서버가, 상기 제1 금융 서버로부터 상기 검증 결과를 전송받거나 타 장치로부터 전송받으며,
상기 (a03) 단계에서,
상기 중개 서버가, 상기 카드 토큰 아이디와 상기 카드 인덱스 키를 전송하여, 상기 제1 금융 서버로 하여금 상기 카드 정보와 상기 카드 토큰 아이디를 맵핑하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
16. The method of claim 15,
Wherein the financial server includes a first financial server and a second financial server,
In the step (a02)
(i) the intermediary server requests the first financial server to request verification of the card information to a second financial server by requesting verification of the card information, and (ii) When the verification result including the card index key corresponding to the card information is transmitted from the first financial server to the first financial server, the mediation server receives the verification result from the first financial server or receives the verification result from the first financial server,
In the step (a03)
Wherein the mediation server transmits the card token ID and the card index key to allow the first financial server to map the card information and the card token ID.
제1항에 있어서,
(d) 상기 서비스 제공 단말로부터 매입 데이터 - 상기 매입 데이터는 상기 (c) 단계에서 승인되어 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터들 중에서 상기 서비스 제공 단말에서 매입을 위하여 요청하는 적어도 하나 이상의 주문 데이터를 포함하는 것임 - 를 포함하는 매입 요청 정보가 획득되면, 상기 중개 서버가, (i) 상기 매입 데이터가 유효한지를 확인하여 그 결과를 상기 서비스 제공 단말로 전송하거나 타 장치로 하여금 전송하도록 지원하며, 상기 서비스 제공 단말로부터 상기 결과에 대한 확인 정보가 획득되면, (1) 상기 매입 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제7 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 매입 데이터에 해쉬 함수를 적용하여 생성한 제4 특정 해쉬값과 상기 제4 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제4 대표 해쉬값 또는 상기 제4 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제8 블록체인 트랜잭션 아이디를 획득하고, (ii) 상기 매입 데이터를 포함하는 매입 요청 정보를 상기 금융 서버로 전송함으로써 상기 금융 서버로 하여금 상기 매입 데이터가 유효한지를 확인하도록 하고 매입 결과 정보를 상기 중개 서버로 전송하도록 지원하며, (iii) 상기 금융 서버로부터 상기 매입 결과 정보가 획득되면, (1) 상기 매입 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제9 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 매입 결과 정보에 해쉬 함수를 적용하여 생성한 제5 특정 해쉬값과 상기 제5 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제5 대표 해쉬값 또는 상기 제5 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제10 블록체인 트랜잭션 아이디를 획득하고, 상기 매입 결과 정보를 상기 서비스 제공 단말로 전송하거나 타 장치로 하여금 전송하도록 지원하는 단계;
를 더 포함하는 것을 특징으로 하는 카드 사용 승인 방법.
The method according to claim 1,
(d) embedded data from the service providing terminal, wherein the embedded data includes at least one or more than one of the order data approved in the step (c) and requested from the service providing terminal for purchase from the order data registered in the first block chain database (I) whether or not the embedded data is valid, and transmits the result to the service providing terminal or to transmit the result to another device (1) registering the embedded data in the first block chain database or registering it with another device and registering the corresponding block data in the seventh block chain transaction ID (2) acquiring a predetermined block number in the second block chain database A fourth representative hash value calculated by applying a hash function to the embedded data if the triggering condition for registering the shash value is satisfied, and at least one neighboring hash value matching the fourth specific hash value, Or registering a value obtained by processing the fourth representative hash value in the second block chain database or registering with another device, and acquiring an eighth block chain transaction ID corresponding thereto; (ii) To the financial server so that the financial server confirms that the embedded data is valid and sends the embedded result information to the intermediary server, (iii) the buying result information is transmitted from the financial server to the financial server, (1) registering the purchase result information in the first block chain database, or (2) a fifth specific hash value generated by applying a hash function to the embedded result information and a fifth specific hash value generated by matching the fifth specific hash value with the fifth specific hash value A fifth representative hash value obtained by computing at least one neighboring hash value or a value obtained by processing the fifth representative hash value is registered in the second block chain database or supported by another device, Acquiring a transaction ID, transferring the purchase result information to the service providing terminal or supporting another device to transmit the purchase result information;
Further comprising the step of:
제20항에 있어서,
상기 중개 서버는,
(i) 상기 제4 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제4 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제4 대표 해쉬값 또는 상기 제4 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하며,
(ii) 상기 제5 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제5 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제5 대표 해쉬값 또는 상기 제5 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
21. The method of claim 20,
The mediation server comprises:
(i) the fourth specific hash value supports creating or generating a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the fourth representative hash value or the fourth representative hash value generated by computing a hash value assigned to at least one other leaf node matching the fourth specific hash value To register in the second block chain database or to register another device,
(ii) the fifth specific hash value supports creating or generating a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the fifth representative hash value or the fifth representative hash value generated by computing a hash value assigned to at least one other leaf node matching the fifth specified hash value To register in the second block chain database or to register another device.
제20항에 있어서,
(i) 상기 중개 서버가 상기 제4 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제7 데이터 구조로 저장하고, 이후 상기 제7 데이터 구조와 동일한 형태의 제8 데이터 구조를 저장하여 관리하는 경우, 상기 제7 데이터 구조와 상기 제8 데이터 구조는 체인 형태로 연결되며,
(ii) 상기 중개 서버가 상기 제5 특정 해쉬값과 상기 적어도 하나의 이웃 해쉬값을 소정의 제9 데이터 구조로 저장하고, 이후 상기 제9 데이터 구조와 동일한 형태의 제10 데이터 구조를 저장하여 관리하는 경우, 상기 제9 데이터 구조와 상기 제10 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 카드 사용 승인 방법.
21. The method of claim 20,
(i) the intermediary server stores the fourth specific hash value and the at least one neighbor hash value in a predetermined seventh data structure, and then stores an eighth data structure of the same type as the seventh data structure, The seventh data structure and the eighth data structure are connected in a chain form,
(ii) the intermediary server stores the fifth specific hash value and the at least one neighbor hash value in a predetermined ninth data structure, and then stores a tenth data structure of the same type as the ninth data structure, Wherein the ninth data structure and the tenth data structure are connected in a chain form.
제20항에 있어서,
상기 중개 서버가, 상기 매입 요청 정보를 전송하여, 상기 금융 서버로 하여금 상기 매입 요청 정보에 포함된 상기 매입 데이터가 상기 제1 블록체인 데이터베이스에 등록된 것인지를 확인하도록 지원하고, 등록된 것으로 확인되면 상기 매입 데이터가 유효한 것으로 판단하도록 지원하는 것을 특징으로 하는 카드 사용 승인 방법.
21. The method of claim 20,
The intermediation server transmits the purchase request information to the financial server to help the customer to check whether the purchase data included in the purchase request information is registered in the first block chain database, And to support that the embedded data is judged to be valid.
제20항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
(i) 상기 중개 서버가, 상기 매입 요청 정보를 전송하여, 상기 제1 금융 서버로 하여금 상기 매입 요청 정보에 포함된 상기 매입 데이터가 상기 제1 블록체인 데이터베이스에 등록되어 있는지를 확인하도록 지원하여 상기 매입 데이터가 유효한지를 확인하도록 지원하며, 상기 매입 데이터가 유효이면 상기 제2 금융 서버로 상기 매입 데이터에 대한 매입을 요청하도록 지원하며,
(ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 상기 매입 결과 정보가 전송되면, 상기 중개 서버가, 상기 제1 금융 서버로부터 상기 매입 결과 정보를 전송받거나 타 장치로부터 전송받는 것을 특징으로 하는 카드 사용 승인 방법.
21. The method of claim 20,
Wherein the financial server includes a first financial server and a second financial server,
(i) the mediating server transmits the purchase request information to the first financial server so as to confirm whether the embedded data included in the purchase request information is registered in the first block chain database, And to request the second financial server to purchase the embedded data if the embedded data is valid,
(ii) when the buying result information is transmitted from the second financial server to the first financial server, the broker server receives the buying result information from the first financial server or receives the buying result information from the other financial server How to approve a card.
토큰 아이디를 이용하여 카드 사용을 승인하는 중개 서버에 있어서,
사용자의 카드 정보에 대응되는 카드 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 앱에 대응되는 푸쉬 토큰 아이디, 및 상기 사용자의 퍼블릭 키를 제1 블록체인 데이터베이스에 등록하고 이에 대응하는 제1 블록체인 트랜잭션 아이디를 관리하며, 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 제2 블록체인 데이터베이스에 등록하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 관리하고 있는 상태에서, 서비스 제공 단말로부터 상기 사용자의 카드 사용에 대응하는 상기 사용자 식별 정보와 주문 데이터를 포함하는 결제 요청 정보를 획득하는 통신부; 및
(1) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 이용하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하거나, (2) 상기 결제 요청 정보의 상기 사용자 식별 정보에 대응하는 상기 제2 블록체인 트랜잭션 아이디를 이용하여 상기 제2 블록체인 데이터베이스로부터 데이터 메시지를 획득하며, 상기 데이터 메시지에 포함된 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값과 관련되어 상기 제1 블록체인 데이터베이스에 저장되어 있는 머클 트리 정보 및 리프 노드 정보를 상기 제1 블록체인 데이터베이스에서 검색하며, 상기 검색된 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인 데이터베이스에 등록된 상기 푸쉬 토큰 아이디를 획득하고, 상기 획득된 상기 푸쉬 토큰 아이디에 대응되는 상기 사용자 단말로 상기 주문 데이터에 대한 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하는 제1 프로세스, 상기 주문 데이터에 대한 인증 요청에 대응하여 상기 사용자 단말로부터 상기 주문 데이터를 상기 사용자의 프라이빗 키로 서명한 사용자 서명값이 획득되면, 상기 제1 블록체인 데이터베이스에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 사용자 서명값의 유효 여부를 확인하고, 상기 사용자 서명값이 유효이면, (1) 상기 주문 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제3 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 주문 데이터에 해쉬 함수를 적용하여 생성한 제2 특정 해쉬값과 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제4 블록체인 트랜잭션 아이디를 관리하는 제2 프로세스, 및 (i) 금융 서버로 상기 사용자 식별 정보에 대응하는 상기 카드 토큰 아이디와 상기 주문 데이터를 포함하는 승인 요청 정보를 전송하거나 타 장치로 하여금 전송하도록 지원함으로써, 상기 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하고, 검증 결과에 대응하는 승인 결과 정보를 상기 중개 서버로 전송하도록 하며, (ii) 상기 금융 서버로부터 상기 승인 결과 정보가 획득되면, (1) 상기 승인 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제5 블록체인 트랜잭션 아이디를 관리하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 승인 결과 정보에 해쉬 함수를 적용하여 생성한 제3 특정 해쉬값과 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제6 블록체인 트랜잭션 아이디를 관리하고, 상기 승인 결과 정보를 상기 서비스 제공 단말 및 상기 사용자 단말 중 적어도 하나로 전송하거나 타 장치로 하여금 전송하도록 지원하는 제3 프로세스를 수행하는 프로세서;
를 포함하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
1. A mediation server for authorizing use of a card using a token ID,
A card token ID corresponding to the card information of the user, user identification information for identifying the user, a push token ID corresponding to the application installed in the user terminal of the user, and the public key of the user are registered in the first block chain database And managing a first block chain transaction ID corresponding to the first block chain ID and the first specific hash value generated by applying a hash function to the card token ID, the user identification information, the push token ID, and the public key, A first representative hash value obtained by computing at least one neighboring hash value matching a specific hash value or a value obtained by processing the first representative hash value is registered in a second block chain database and a second block chain transaction ID In a state in which the user is managing the card, Communication unit for acquiring the payment request information including the user identification information and the order data; And
(1) obtaining the push token ID registered in the first block chain database using the first block chain transaction ID corresponding to the user identification information of the payment request information; (2) Acquiring a data message from the second block chain database using the second block chain transaction ID corresponding to the user identification information and transmitting the first representative hash value or the first representative hash value included in the data message Searching the first block chain database for the merge tree information and the leaf node information stored in the first block chain database in association with the machined value and referring to the retrieved merge tree information and the leaf node information, Obtains the push token ID registered in the chain database, A first process for requesting authentication of the order data to the user terminal corresponding to the obtained push token ID or for requesting another device to request authentication of the order data from the user terminal in response to the authentication request for the order data, Verifies the validity of the user signature value using the public key of the user registered in the first block chain database if the user signature value signed by the user's private key is obtained and if the user signature value is valid (1) registering the order data in the first block chain database or registering it with another device, and managing a third block chain transaction ID corresponding to the third block chain transaction ID, (2) If the triggering condition for registering the hash value is satisfied, A second representative hash value obtained by computing a second specific hash value generated by applying a hash function to the order data and at least one neighboring hash value matching the second specific hash value or a value obtained by processing the second representative hash value (I) a second process of registering in the second block chain database or supporting another device to register and managing a corresponding fourth block chain transaction ID, and (i) To the first block chain database in response to the card token ID included in the approval request information, by transmitting the approval request information including the token ID and the order data, The order data stored in the approval request information with reference to the registered order data, (Ii) when the approval result information is obtained from the financial server, (1) the approval result information is transmitted to the first block chain database (2) if the triggering condition for registering a predetermined hash value in the second block chain database is satisfied, the approval result information A third representative hash value obtained by computing a third specific hash value generated by applying a hash function to at least one neighboring hash value and at least one neighboring hash value matching the third specific hash value or a value obtained by processing the third representative hash value, To register in the second block-chain database or to allow other devices to register, and to correspond to the sixth block- And a third process for managing the management information and for transmitting the approval result information to at least one of the service providing terminal and the user terminal or for allowing another device to transmit the approval result information;
Wherein the card usage approval mediation server comprises:
제25항에 있어서,
상기 트리거링 조건은,
(i) 소정의 개수만큼 상기 카드의 사용과 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 블록체인 데이터베이스에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
The triggering condition includes:
(i) a condition in which a transaction related to the use of the card is generated by a predetermined number, (ii) a condition in which a predetermined time elapses, (iii) a condition in which a block is generated in the first block chain database, And a condition for the card usage approval mediation server.
제25항에 있어서,
상기 프로세서는,
상기 제2 프로세스에서,
상기 제2 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제2 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제2 대표 해쉬값 또는 상기 제2 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
The processor comprising:
In the second process,
Wherein the second particular hash value supports creating or generating a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the second representative hash value or the second representative hash value generated by computing a hash value assigned to at least one other leaf node matching the second specific hash value To register in the second block chain database or to register another device.
제25항에 있어서,
상기 프로세서는,
상기 제3 프로세스에서,
상기 제3 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제3 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제3 대표 해쉬값 또는 상기 제3 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
The processor comprising:
In the third process,
Wherein the third specific hash value supports to generate or generate a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the third representative hash value or the third representative hash value generated by computing a hash value assigned to at least one other leaf node matching the third specific hash value To register in the second block chain database or to register another device.
제25항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
상기 프로세서는,
상기 제3 프로세스에서,
상기 승인 요청 정보를 전송하여, 상기 제1 금융 서버로 하여금 상기 승인 요청 정보에 포함된 상기 카드 토큰 아이디에 대응하여 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터를 참조하여 상기 승인 요청 정보에 포함된 상기 주문 데이터를 검증하도록 지원하고, 검증 결과 상기 주문 데이터가 유효한 것으로 판단되면 상기 제2 금융 서버로 상기 주문 데이터에 대한 승인을 요청하도록 지원하고, (ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 승인 결과가 전송되면, 상기 중개 서버가, 상기 제1 금융 서버로부터 상기 승인 결과 정보를 전송받거나 타 장치로부터 전송받는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
Wherein the financial server includes a first financial server and a second financial server,
The processor comprising:
In the third process,
And transmits the approval request information to the first financial server to refer to the order data registered in the first block chain database corresponding to the card token ID included in the approval request information, And to request approval of the order data to the second financial server if the verification result indicates that the order data is valid; (ii) Wherein when the approval result is transmitted to the financial server, the mediation server receives the approval result information from the first financial server or receives the approval result information from another device.
제25항에 있어서,
상기 프로세서는,
상기 제1 프로세스 이전에,
상기 통신부가 상기 사용자 단말로부터 사용자의 개인 정보, 상기 사용자 식별 정보, 상기 카드 정보, 및 상기 푸쉬 토큰 아이디를 포함하는 카드 등록 요청 정보를 획득하면, 상기 금융 서버로 상기 카드 정보에 대한 검증을 요청하며,
상기 금융 서버로부터 상기 카드 정보에 대응하는 카드 인덱스 키를 포함하는 검증 결과가 획득되면, 상기 카드 인덱스 키에 대응하는 카드 토큰 아이디를 생성하고, 상기 푸쉬 토큰 아이디에 대응하는 상기 사용자 단말로 사용자 인증을 요청하거나 타 장치로 하여금 요청하도록 지원하며,
상기 사용자 단말로부터 상기 사용자 인증에 대응하는 상기 사용자의 퍼블릭 키가 획득되면, (i) (1) 상기 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응하는 상기 제1 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 카드 토큰 아이디, 상기 사용자 식별 정보, 상기 푸쉬 토큰 아이디, 및 상기 퍼블릭 키에 해쉬 함수를 적용하여 생성한 제1 특정 해쉬값과 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제2 블록체인 트랜잭션 아이디를 획득하고, (ii) 상기 카드 토큰 아이디와 상기 카드 인덱스 키를 상기 금융 서버로 전송하거나 타 장치로 하여금 전송하도록 지원하여 상기 금융 서버로 하여금 상기 카드 정보와 상기 카드 토큰 아이디를 맵핑하도록 하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
The processor comprising:
Prior to the first process,
When the communication unit obtains the card registration request information including the user's personal information, the user identification information, the card information, and the push token ID from the user terminal, the communication unit requests the financial server to verify the card information ,
When a verification result including the card index key corresponding to the card information is obtained from the financial server, generates a card token ID corresponding to the card index key, and authenticates the user terminal corresponding to the push token ID Request or request another device,
(I) if the public key of the user corresponding to the user authentication is obtained from the user terminal, (i) the first token ID, the user identification information, the push token ID, (2) if the triggering condition for registering a predetermined hash value in the second block chain database is satisfied, the second block chain database A first specific hash value generated by applying a hash function to the token ID, the user identification information, the push token ID, and the public key, and at least one neighbor hash value matched with the first specific hash value, 1 representative hash value or the value obtained by processing the first representative hash value is registered in the second block chain database (Ii) transferring the card token ID and the card index key to the financial server, or supporting another device to transfer the card token to the financial server, And to cause the financial server to map the card information and the card token ID.
제30항에 있어서,
상기 프로세서는,
상기 제1 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제1 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제1 대표 해쉬값 또는 상기 제1 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
31. The method of claim 30,
The processor comprising:
Wherein the first particular hash value supports creating or generating a merkle tree assigned to a leaf node,
Wherein when the triggering condition is satisfied, a value obtained by processing the first representative hash value or the first representative hash value generated by computing a hash value assigned to at least one other leaf node matching the first specified hash value To register in the second block chain database or to register another device.
제30항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
상기 프로세서는,
상기 카드 정보에 대한 검증을 요청하여, 상기 제1 금융 서버로 하여금 제2 금융 서버로 상기 카드 정보에 대한 검증을 요청하도록 지원하며, (ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 상기 카드 정보에 대응하는 카드 인덱스 키를 포함하는 검증 결과가 전송되면, 상기 중개 서버가, 상기 제1 금융 서버로부터 상기 검증 결과를 전송받거나 타 장치로부터 전송받으며,
상기 카드 토큰 아이디와 상기 카드 인덱스 키를 전송하여, 상기 제1 금융 서버로 하여금 상기 카드 정보와 상기 카드 토큰 아이디를 맵핑하도록 지원하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
31. The method of claim 30,
Wherein the financial server includes a first financial server and a second financial server,
The processor comprising:
Requesting verification of the card information to request the first financial server to request verification of the card information to a second financial server, and (ii) requesting verification of the card information from the second financial server to the first financial server When the verification result including the card index key corresponding to the card information is transmitted, the mediation server receives the verification result from the first financial server or receives the verification result from the first financial server,
Wherein the first card issuance server transmits the card token ID and the card index key to the first financial server to map the card information and the card token ID.
제25항에 있어서,
상기 프로세서는,
상기 서비스 제공 단말로부터 매입 데이터 - 상기 매입 데이터는 상기 제3 프로세스에서 승인되어 상기 제1 블록체인 데이터베이스에 등록된 상기 주문 데이터들 중에서 상기 서비스 제공 단말에서 매입을 위하여 요청하는 적어도 하나 이상의 주문 데이터를 포함하는 것임 - 를 포함하는 매입 요청 정보가 획득되면, 상기 중개 서버가, (i) 상기 매입 데이터가 유효한지를 확인하여 그 결과를 상기 서비스 제공 단말로 전송하거나 타 장치로 하여금 전송하도록 지원하며, 상기 서비스 제공 단말로부터 상기 결과에 대한 확인 정보가 획득되면, (1) 상기 매입 데이터를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제7 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 제2 블록체인 데이터베이스에 소정의 해쉬값을 등록하기 위한 트리거링 조건이 만족되면 상기 매입 데이터에 해쉬 함수를 적용하여 생성한 제4 특정 해쉬값과 상기 제4 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제4 대표 해쉬값 또는 상기 제4 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제8 블록체인 트랜잭션 아이디를 획득하고, (ii) 상기 매입 데이터를 포함하는 매입 요청 정보를 상기 금융 서버로 전송함으로써 상기 금융 서버로 하여금 상기 매입 데이터가 유효한지를 확인하도록 하고 매입 결과 정보를 상기 중개 서버로 전송하도록 지원하며, (iii) 상기 금융 서버로부터 상기 매입 결과 정보가 획득되면, (1) 상기 매입 결과 정보를 상기 제1 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제9 블록체인 트랜잭션 아이디를 획득하며, (2) 상기 매입 결과 정보에 해쉬 함수를 적용하여 생성한 제5 특정 해쉬값과 상기 제5 특정 해쉬값과 매칭되는 적어도 하나의 이웃 해쉬값을 연산한 제5 대표 해쉬값 또는 상기 제5 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하고 이에 대응되는 제10 블록체인 트랜잭션 아이디를 획득하고, 상기 매입 결과 정보를 상기 서비스 제공 단말로 전송하거나 타 장치로 하여금 전송하도록 지원하는 제4 프로세스를 더 수행하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
26. The method of claim 25,
The processor comprising:
The embedded data from the service providing terminal includes at least one order data which is approved in the third process and requests for purchase from the service providing terminal among the order data registered in the first block chain database (I) confirms whether the embedded data is valid, and transmits the result to the service providing terminal or to transmit the result to the other device; and (1) registering the embedded data in the first block chain database or registering it with another device and acquiring a seventh block-chain transaction ID corresponding thereto, (2) the second block chain database A fourth representative hash value calculated by applying a hash function to the embedded data and at least one neighboring hash value matched with the fourth specific hash value, when the triggering condition for registering the hash value is satisfied, Value or a value obtained by processing the fourth representative hash value in the second block chain database or by registering with another device and obtaining an eighth block-chain transaction ID corresponding thereto, (ii) To the financial server, thereby enabling the financial server to confirm whether the embedded data is valid and to transmit the embedded result information to the intermediary server; (iii) (1) the purchase result information is registered in the first block chain database (2) a fifth specific hash value generated by applying a hash function to the embedded result information and a fifth specific hash value generated by matching the fifth specific hash value with the fifth specific hash value A fifth representative hash value obtained by computing at least one neighboring hash value or a value obtained by processing the fifth representative hash value is registered in the second block chain database or supported by another device, Acquiring a transaction ID, transmitting the purchase result information to the service providing terminal, or supporting another device to transmit the purchase result information to the service providing terminal.
제33항에 있어서,
상기 프로세서는,
(i) 상기 제4 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제4 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제4 대표 해쉬값 또는 상기 제4 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하며,
(ii) 상기 제5 특정 해쉬값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고,
상기 트리거링 조건이 만족되면, 상기 제5 특정 해쉬값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해쉬값을 연산하여 생성되는 상기 제5 대표 해쉬값 또는 상기 제5 대표 해쉬값을 가공한 값을 상기 제2 블록체인 데이터베이스에 등록하거나 타 장치로 하여금 등록하도록 지원하는 것을 특징으로 하는 카드 사용 승인 중개 서버.
34. The method of claim 33,
The processor comprising:
(i) the fourth specific hash value supports creating or generating a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the fourth representative hash value or the fourth representative hash value generated by computing a hash value assigned to at least one other leaf node matching the fourth specific hash value To register in the second block chain database or to register another device,
(ii) the fifth specific hash value supports creating or generating a merkle tree assigned to a leaf node,
If the triggering condition is satisfied, a value obtained by processing the fifth representative hash value or the fifth representative hash value generated by computing a hash value assigned to at least one other leaf node matching the fifth specified hash value To register in the second block chain database or to register another device.
제33항에 있어서,
상기 금융 서버는 제1 금융 서버와 제2 금융 서버를 포함하며,
상기 프로세서는,
(i) 상기 매입 요청 정보를 전송하여, 상기 제1 금융 서버로 하여금 상기 매입 요청 정보에 포함된 상기 매입 데이터가 상기 제1 블록체인 데이터베이스에 등록되어 있는지를 확인하도록 지원하여 상기 매입 데이터가 유효한지를 확인하도록 지원하며, 상기 매입 데이터가 유효이면 상기 제2 금융 서버로 상기 매입 데이터에 대한 매입을 요청하도록 지원하며,
(ii) 상기 제2 금융 서버로부터 상기 제1 금융 서버로 상기 매입 결과 정보가 전송되면, 상기 제1 금융 서버로부터 상기 매입 결과 정보를 전송받거나 타 장치로부터 전송받는 것을 특징으로 하는 카드 사용 승인 중개 서버.
34. The method of claim 33,
Wherein the financial server includes a first financial server and a second financial server,
The processor comprising:
(i) transmitting the purchase request information to the first financial server to confirm whether the embedded data included in the embedded request information is registered in the first block chain database to determine whether the embedded data is valid And to request the second financial server to purchase the embedded data if the embedded data is valid,
(ii) when the buying result information is transmitted from the second financial server to the first financial server, receiving the buying result information from the first financial server or receiving the buying result information from the other financial server .
KR1020170049930A 2017-04-18 2017-04-18 Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same KR101877345B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170049930A KR101877345B1 (en) 2017-04-18 2017-04-18 Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same
PCT/KR2018/004522 WO2018194379A1 (en) 2017-04-18 2018-04-18 Method for approving use of card by using token id on basis of blockchain and merkle tree structure associated therewith, and server using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170049930A KR101877345B1 (en) 2017-04-18 2017-04-18 Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same

Publications (1)

Publication Number Publication Date
KR101877345B1 true KR101877345B1 (en) 2018-07-12

Family

ID=62919707

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170049930A KR101877345B1 (en) 2017-04-18 2017-04-18 Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same

Country Status (2)

Country Link
KR (1) KR101877345B1 (en)
WO (1) WO2018194379A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087204A (en) * 2018-07-27 2018-12-25 杭州复杂美科技有限公司 Across chain transaction method of calibration, equipment and storage medium
KR20200064523A (en) * 2018-11-29 2020-06-08 롯데정보통신 주식회사 Payment mediating system based on blockcahin and mediating method of thereof
CN111552738A (en) * 2020-04-20 2020-08-18 山东共智云科技发展有限公司 Block chain ecosystem based on Internet of things and block chain chaining method
CN111858580A (en) * 2019-04-24 2020-10-30 国际信任机器股份有限公司 Verification system and method for link data
KR20210015006A (en) * 2019-07-31 2021-02-10 김태욱 System for processing financial information using blockchain platform
US20210049596A1 (en) * 2018-08-01 2021-02-18 Tencent Technology (Shenzhen) Company Limited Resource transfer data management method and apparatus, and storage medium
CN115456631A (en) * 2022-09-30 2022-12-09 佛山众陶联供应链服务有限公司 Block chain-based multi-level supply chain credit cross-level verification method and system
CN116860707A (en) * 2023-06-13 2023-10-10 北京科技大学 Material genetic engineering big data safe sharing method and system based on block chain

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109711839A (en) * 2018-12-13 2019-05-03 平安科技(深圳)有限公司 Block chain storage method, device, equipment and storage medium based on data compression
CN111429134A (en) * 2018-12-21 2020-07-17 北京京东尚科信息技术有限公司 Data transaction method and device based on block chain
CN110177109B (en) * 2019-06-04 2020-05-12 北京理工大学 Double-proxy cross-domain authentication system based on identification password and alliance chain
CN110347678B (en) * 2019-06-19 2023-10-17 创新先进技术有限公司 Financial data storage method, system, device and equipment
CN110348853B (en) * 2019-07-15 2022-03-08 聂明 Block chain off-line transaction method and system based on identification authentication
CN111159651B (en) * 2019-11-22 2024-02-09 上海华瑞银行股份有限公司 Block chain online evidence-storing method and system
CN111324611B (en) * 2020-02-28 2023-12-29 北京瑞卓喜投科技发展有限公司 Certificate retrieval method and device for asset type certificate

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100617657B1 (en) * 2005-12-24 2006-08-28 주식회사 케이티 Method and system for payment gateway service using id federation
KR20080027660A (en) * 2006-09-25 2008-03-28 주식회사 비티웍스 Apparatus and method for management of electronic filing document
KR101393720B1 (en) * 2011-08-30 2014-05-13 주식회사 티비허브 Smart payment system and method of non-facing transaction using terminal identification
KR101590076B1 (en) * 2015-11-18 2016-02-01 주식회사 웨이브스트링 Method for managing personal information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100617657B1 (en) * 2005-12-24 2006-08-28 주식회사 케이티 Method and system for payment gateway service using id federation
KR20080027660A (en) * 2006-09-25 2008-03-28 주식회사 비티웍스 Apparatus and method for management of electronic filing document
KR101393720B1 (en) * 2011-08-30 2014-05-13 주식회사 티비허브 Smart payment system and method of non-facing transaction using terminal identification
KR101590076B1 (en) * 2015-11-18 2016-02-01 주식회사 웨이브스트링 Method for managing personal information

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087204A (en) * 2018-07-27 2018-12-25 杭州复杂美科技有限公司 Across chain transaction method of calibration, equipment and storage medium
CN109087204B (en) * 2018-07-27 2023-04-14 杭州复杂美科技有限公司 Cross-chain transaction verification method, device and storage medium
US20210049596A1 (en) * 2018-08-01 2021-02-18 Tencent Technology (Shenzhen) Company Limited Resource transfer data management method and apparatus, and storage medium
KR102188718B1 (en) * 2018-11-29 2020-12-08 롯데정보통신 주식회사 Payment mediating system based on blockcahin and mediating method of thereof
KR20200064523A (en) * 2018-11-29 2020-06-08 롯데정보통신 주식회사 Payment mediating system based on blockcahin and mediating method of thereof
CN111858580A (en) * 2019-04-24 2020-10-30 国际信任机器股份有限公司 Verification system and method for link data
KR20210015006A (en) * 2019-07-31 2021-02-10 김태욱 System for processing financial information using blockchain platform
KR102277506B1 (en) * 2019-07-31 2021-07-13 김태욱 System for processing financial information using blockchain platform
CN111552738A (en) * 2020-04-20 2020-08-18 山东共智云科技发展有限公司 Block chain ecosystem based on Internet of things and block chain chaining method
CN111552738B (en) * 2020-04-20 2023-11-03 山东共智云科技发展有限公司 Block chain ecological system and block chain uplink method based on Internet of things
CN115456631A (en) * 2022-09-30 2022-12-09 佛山众陶联供应链服务有限公司 Block chain-based multi-level supply chain credit cross-level verification method and system
CN115456631B (en) * 2022-09-30 2023-07-21 佛山众陶联供应链服务有限公司 Multi-level supply chain credit cross-level verification method and system based on blockchain
CN116860707A (en) * 2023-06-13 2023-10-10 北京科技大学 Material genetic engineering big data safe sharing method and system based on block chain
CN116860707B (en) * 2023-06-13 2024-02-13 北京科技大学 Material genetic engineering big data safe sharing method and system based on block chain

Also Published As

Publication number Publication date
WO2018194379A1 (en) 2018-10-25

Similar Documents

Publication Publication Date Title
KR101877345B1 (en) Method for approving the use of credit card by using token id based on blockchain and merkle tree structure related thereto, and server using the same
KR101837168B1 (en) Method for approving the use of credit card by using token id based on blockchain and server using the same
US11210661B2 (en) Method for providing payment gateway service using UTXO-based protocol and server using same
CN108476227B (en) System and method for device push provisioning
CN110383757B (en) System and method for secure processing of electronic identities
KR101877335B1 (en) Method for authenticating a user without a face-to-face contact by using mobile id based on blockchain and merkle tree structure related thereto, and terminal and server using the same
KR101829729B1 (en) Method for certifying a user by using mobile id through blockchain and merkle tree structure related thereto, and terminal and server using the same
US9978094B2 (en) Tokenization revocation list
US20190147431A1 (en) Credit Protocol
CN110692214A (en) Method and system for ownership verification using blockchains
CN112437938A (en) System and method for block chain address and owner verification
JP6615297B2 (en) System and method used to authenticate a user in the context of a network transaction
RU2741321C2 (en) Cryptographic authentication and tokenized transactions
KR102050271B1 (en) Method for payment based on blockchain and payment server using the same
KR101858653B1 (en) Method for certifying a user by using mobile id through blockchain database and merkle tree structure related thereto, and terminal and server using the same
EP4210274A1 (en) Efficient token provisioning system and method
KR102333811B1 (en) System and method for processing card payment based on block-chain
KR20190084923A (en) Method for paying based on blockchain and payment server using the same
KR20220028870A (en) Method for mobile identification card authentication service using decentralized identifier based on blockchain networks and user device executing mobile identification card authentication service
EP4191942A1 (en) Token processing system and method
KR20220063107A (en) Method for servicing mobile payment using qr code and payment server using them
CN112970234A (en) Account assertions
KR20160000600A (en) Method for authenticating electronic financial transaction using payment informaion seperation
KR20210007687A (en) Integrated authentication and data providing method and apparatus for personal data utilization service
KR20120082855A (en) Method for automatic identifying customer for financial transaction

Legal Events

Date Code Title Description
GRNT Written decision to grant