KR102063628B1 - Method for paying based on blockchain and payment server using the same - Google Patents

Method for paying based on blockchain and payment server using the same Download PDF

Info

Publication number
KR102063628B1
KR102063628B1 KR1020180076089A KR20180076089A KR102063628B1 KR 102063628 B1 KR102063628 B1 KR 102063628B1 KR 1020180076089 A KR1020180076089 A KR 1020180076089A KR 20180076089 A KR20180076089 A KR 20180076089A KR 102063628 B1 KR102063628 B1 KR 102063628B1
Authority
KR
South Korea
Prior art keywords
payment
hash value
information
blockchain
value
Prior art date
Application number
KR1020180076089A
Other languages
Korean (ko)
Other versions
KR20190082047A (en
Inventor
어준선
홍재우
서문규
Original Assignee
주식회사 코인플러그
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 코인플러그 filed Critical 주식회사 코인플러그
Publication of KR20190082047A publication Critical patent/KR20190082047A/en
Application granted granted Critical
Publication of KR102063628B1 publication Critical patent/KR102063628B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

본 발명은 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보가 획득되면, 결제 요청 정보에 포함된 사용자 식별 정보에 대응하는 제1 대표 해시값을 제2 블록체인으로부터 획득하고, 제1 대표 해시값과 관련되어 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하며, 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인으로부터 푸시 토큰 아이디를 획득하며, 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말로 전송하고, 사용자 단말의 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 서명값을 검증하여 유효일 경우, 결제 수단 토큰 아이디에 대응하는 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 결제 요청 정보에 대응하는 승인 결과 정보를 제1 블록체인에 등록하고, 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값을 제2 블록체인에 등록하며, 승인 결과 정보를 결제 수단에 대응되는 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송하여 주는 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것이다.When the payment request information corresponding to the purchase and payment information of the user terminal is obtained from the service providing terminal, the present invention obtains a first representative hash value corresponding to the user identification information included in the payment request information from the second blockchain, Obtains a Merkle tree information and leaf node information registered in the first blockchain in association with the first representative hash value, obtains a push token ID from the first blockchain with reference to the Merkle tree information and leaf node information, and push tokens When the ID and signature request information are transmitted to the user terminal and the signature value electronically signed by the fund source app of the user terminal is obtained, the signature value is verified and, if valid, the payment for the payment means corresponding to the payment method token ID. If the verification is confirmed to be valid, the approval result information corresponding to the payment request information is registered in the first blockchain. If the triggering condition for registering the predetermined hash value in the second blockchain is satisfied, the second hash value generated by applying the hash function to the approval result information and at least one neighboring hash value matching the second hash value are selected. The blockchain-based payment method for registering the calculated second representative hash value in the second blockchain and transmitting the approval result information to the fund source server corresponding to the fund source identification ID corresponding to the payment method and the system using the same It is about.

Description

블록체인 기반의 결제 방법 및 이를 이용한 지급 결제 서버{METHOD FOR PAYING BASED ON BLOCKCHAIN AND PAYMENT SERVER USING THE SAME}Blockchain-based payment method and payment server using the same {METHOD FOR PAYING BASED ON BLOCKCHAIN AND PAYMENT SERVER USING THE SAME}

본 발명은 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것으로, 보다 상세하게는, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보가 획득되면, 결제 요청 정보에 포함된 사용자 식별 정보에 대응하는 제1 대표 해시값을 제2 블록체인으로부터 획득하고, 제1 대표 해시값과 관련되어 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하며, 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인으로부터 푸시 토큰 아이디를 획득하며, 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말로 전송하고, 사용자 단말의 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 서명값을 검증하여 유효일 경우, 결제 수단 토큰 아이디에 대응하는 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 결제 요청 정보에 대응하는 승인 결과 정보를 제1 블록체인에 등록하고, 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값을 제2 블록체인에 등록하며, 승인 결과 정보를 결제 수단에 대응되는 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송하여 주는 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것이다.The present invention relates to a blockchain-based payment method and a system using the same. More particularly, when the payment request information corresponding to the purchase and payment information of the user terminal is obtained from the service providing terminal, the user included in the payment request information. Obtains a first representative hash value corresponding to the identification information from the second blockchain, obtains Merkle tree information and leaf node information registered in the first blockchain in association with the first representative hash value, and extracts the Merkle tree information and leaf Obtaining the push token ID from the first blockchain with reference to the node information, transmitting the push token ID and the signature request information to the user terminal, and if the signature value electronically signed by the fund source app of the user terminal is obtained, the signature value If it is valid by verifying the validity, the validity is obtained by verifying the payment of the payment means corresponding to the payment instrument token ID. If it is confirmed that, if the triggering condition for registering the approval result information corresponding to the payment request information on the first blockchain and registering a predetermined hash value in the second blockchain is satisfied, by applying a hash function to the approval result information Register a second representative hash value obtained by calculating the generated second hash value and at least one neighboring hash value matching the second hash value in the second blockchain, and authorizes the result information of the fund source corresponding to the payment method. The present invention relates to a blockchain-based payment method and a system using the same, which are transmitted to a fund source server corresponding to the same.

결제(payment)란 실물 및 금융거래 등 각종 경제활동에 따라 발생하는 거래 당사자간의 채권/채무 관계를 화폐적 가치의 이전을 통하여 청산하는 행위를 말하는 것으로, 결제 서비스는 경제 주체 및 금융 기관 간에 자금과 화폐의 이동을 제공하는 서비스이다.Payment refers to the act of liquidating the bond / debt relationship between trading parties that arises from various economic activities such as real and financial transactions through transfer of monetary value. This service provides the movement of money.

일반적으로 널리 알려진 결제 서비스 사업자로서는 은행 및 카드사를 예로 들 수 있다.Generally known payment service providers include banks and credit card companies.

경제 주체들인 사용자들은 서비스를 제공한 서비스 제공자에게 결제를 하기 위하여 결제 서비스를 제공하는 은행이나 카드사 등의 결제 서비스 사업자에 의해 제공되는 결제 서비스를 이용하고 있다.Economic users are using payment services provided by payment service providers such as banks and card companies that provide payment services in order to make payments to service providers who provide services.

그러나, 은행이나 카드사 등과 같은 결제 서비스 사업자에 의해 제공되는 결제 서비스는 서비스 제공자와 결제 서비스 사업자 사이에서 각종 보조 서비스를 수행하는 온라인 인증사, 결제 대행사(PG사; payment gateway사), VAN사 등의 중개사가 존재한다.However, payment services provided by payment service providers such as banks and credit card companies include online certification companies, payment agencies (PG; payment gateway companies), and VAN companies that perform various auxiliary services between service providers and payment service providers. Brokers exist.

따라서, 서비스 제공자와 결제 서비스 사업자 사이의 결제에 대한 동작이 온라인 인증사, 결제 대행사, VAN사 등의 중개사에 의해 수행되므로 시스템이 복잡할 뿐만 아니라 각각의 중계사에 의한 수수료도 증가하게 되는 문제점이 있다.Therefore, since the operation of the payment between the service provider and the payment service provider is performed by an intermediary such as an online certification company, a payment agency, a VAN company, the system is not only complicated, but there is also a problem that the commission by each relay company increases. .

또한, 종래의 결제 서비스는 다양한 플랫폼에 의해 이루어지고 있다. 즉, 서비스 제공자는 pc나 모바일을 위한 웹 기반 서비스, iOS, AOS 등을 이용한 앱 기반 서비스, iOS, AOS, 윈도우 등을 이용한 POS 기반 서비스 등을 제공하고 있다. 따라서, 이러한 다양한 플랫폼을 수용하기 위하여 PHP, JAVA, Ruby, Python, Node.is, ASP, Object C, MFC 등의 개발언어와 서비스 환경을 제공하기 위한 결제 인터페이스 제공자가 서비스 제공자와 결제 대행사 사이에서 결제 인터페이스를 제공하여야 하는 문제점이 있다.In addition, the conventional payment service is made by various platforms. In other words, the service provider provides a web-based service for a pc or a mobile, an app-based service using an iOS, an AOS, and a POS-based service using an iOS, an AOS, and a Windows. Therefore, payment interface provider to provide development language and service environment such as PHP, JAVA, Ruby, Python, Node.is, ASP, Object C, MFC, etc. There is a problem to provide an interface.

그리고, 종래의 결제 서비스는 결제 수단에 따라 서로 다른 시스템을 사용하여야 하는 문제점이 있다.In addition, the conventional payment service has a problem that different systems must be used according to the payment method.

KRKR 10-2018-007545010-2018-0075450 AA

본 발명은 상술한 문제점들을 모두 해결하는 것을 그 목적으로 한다.The present invention aims to solve all the above-mentioned problems.

또한, 본 발명은 결제 과정에서 수수료를 최소화하는 것을 다른 목적으로 한다.In addition, the present invention has another object to minimize the commission in the payment process.

또한, 본 발명은 결제에서 VAN사나 PG사 등과 같은 중개사를 이용하지 않고 블록체인을 이용함으로써 시스템을 간소화할 수 있을 뿐만 아니라 유지 비용을 절감할 수 있도록 하는 것을 또 다른 목적으로 한다.In addition, the present invention is another object of the present invention not only to simplify the system but also to reduce the maintenance cost by using a block chain without using an intermediary such as VAN company or PG company in payment.

또한, 본 발명은 결제 수단에 관계없이 동일한 시스템에서 결제를 수행할 수 있도록 하는 것을 또 다른 목적으로 한다.Another object of the present invention is to enable a payment to be performed in the same system regardless of a payment method.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따르면, 블록체인 기반의 결제 방법에 있어서, (a) 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 제1 블록체인에 등록되며, 상기 지급 수단 정보에 해시함수를 적용하여 생성한 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값이 제2 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 가 획득되면, 지급 결제 서버가, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하도록 지원하며, 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값과 관련되어 상기 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원하고, 상기 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인으로부터 상기 푸시 토큰 아이디를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 푸시 토큰 아이디를 획득하도록 지원하며, 상기 제1 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보가 상기 사용자 단말로 전송되도록 지원하는 단계; 및 (b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 지급 결제 서버가, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 승인 결과 정보를 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 상기 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 상기 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to an embodiment of the present invention for achieving the above object, in the blockchain-based payment method, (a) payment means token ID corresponding to the user's payment means, user identification information for identifying the user, the The first blockchain includes payment means information including a push token ID corresponding to a fund source app installed in a user's user terminal, a public key of the user, and a fund source identification ID for identifying a fund source corresponding to the payment method. The first representative hash value or the first representative hash value calculated by calculating a first hash value generated by applying a hash function to the payment means information and at least one neighboring hash value matching the first hash value. Is a value corresponding to the purchase and payment information of the user terminal from the service providing terminal with the processed value registered in the second blockchain. Request information, wherein the payment request information includes at least one of the user identification information, the payment means token ID, and payment information, is obtained, the payment settlement server, the user identification information included in the payment request information. The first representative hash value or a value obtained by processing the first representative hash value corresponding to, is obtained from the second blockchain or is performed by another device linked to the payment settlement server. Merkle tree information registered in the first blockchain in association with a value obtained by processing a representative hash value from the second blockchain and processing the first representative hash value or the first representative hash value And obtaining leaf node information or allowing other devices linked to the payment server to capture the merkle tree information and leaf node information. And obtaining the push token ID from the first blockchain with reference to the Merkle tree information and the leaf node information, or supporting another device linked to the payment settlement server to obtain the push token ID. The push token ID and the signature request information are transmitted to the user terminal through the push token ID and the signature request information obtained from the first blockchain, or the push token ID and the signature request information are transmitted through the other device or the service providing terminal linked to the payment settlement server. Supporting transmission to a terminal; And (b) when a signature value electronically signed by the fund source app of the user terminal is obtained, the payment settlement server verifies the signature value or retrieves the signature value through another device linked to the payment settlement server. And verifying the payment of the payment means corresponding to the payment means token ID when the signature value is valid, and verifying that the payment result is valid, and obtaining the approval result information corresponding to the payment request information from the first block. When the triggering condition for registering the chain in the chain or other device linked to the payment server to register the approval result information in the first blockchain and registering a predetermined hash value in the second blockchain is satisfied. And a second hash value generated by applying a hash function to the approval result information and at least one matched with the second hash value. Register the second representative hash value or the processed second representative hash value in the second blockchain or cause the other device linked to the payment server to perform the second representative hash value or Assist in registering the processed value of the second representative hash value in the second blockchain, and transmitting the approval result information to the fund source server corresponding to the fund source identification ID corresponding to the payment means; Assisting the fund source server to pay a payment fee corresponding to the payment request information by supporting the approval result information to be transmitted to the fund source server through another device linked to a payment settlement server; There is provided a method comprising a.

또한, 본 발명의 일 실시예에 따르면, 블록체인 기반의 결제를 수행하는 지급 결제 서버에 있어서, 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 제1 블록체인에 등록되며, 상기 지급 수단 정보에 해시함수를 적용하여 생성한 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값이 제2 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 를 획득하는 통신부; 및 상기 통신부를 통해 상기 결제 요청 정보가 획득되면, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하도록 지원하며, 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값과 관련되어 상기 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원하고, 상기 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인으로부터 상기 푸시 토큰 아이디를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 푸시 토큰 아이디를 획득하도록 지원하며, 상기 제1 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보가 상기 사용자 단말로 전송되도록 지원하는 프로세스와, (b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 승인 결과 정보를 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 상기 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 상기 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 프로세스를 수행하는 프로세서; 를 포함하는 지급 결제 서버가 제공된다.In addition, according to an embodiment of the present invention, in the payment settlement server for performing a blockchain-based payment, payment means token ID corresponding to the user's payment means, user identification information for identifying the user, the user's Payment means information including a push token ID corresponding to a fund source app installed in a user terminal, a public key of the user, and a fund source identification ID for identifying a fund source corresponding to the payment method is registered in the first blockchain. The first representative hash value or the first representative hash value calculated by calculating a first hash value generated by applying a hash function to the payment means information and at least one neighboring hash value matching the first hash value is processed. With a value registered in the second blockchain, payment corresponding to the purchase and payment information of the user terminal from the service providing terminal Administration information, said payment request information including the user identification information, the payment method, token ID, and at least one of billing information-communication unit for obtaining; And when the payment request information is obtained through the communication unit, processing the first representative hash value or the first representative hash value corresponding to the user identification information included in the payment request information to the second block chain. To obtain from the second blockchain a value obtained by processing from the first representative hash value or the first representative hash value to another device acquired from or linked to the payment server, and the first representative hash value or Acquiring Merkle tree information and leaf node information registered in the first blockchain in association with a processed value of the first representative hash value or causing another device linked to the payment server to perform the Merkle tree information and leaf node information. And obtain the push toe from the first blockchain with reference to the Merkle tree information and leaf node information. Acquire a large ID or allow other devices linked to the payment settlement server to obtain the push token ID, and transmit the push token ID and signature request information obtained from the first blockchain to the user terminal or A process of supporting the push token ID and the signature request information to be transmitted to the user terminal through another device interworking with a payment server or the service providing terminal, and (b) the electronic device by the fund source app of the user terminal. When the signed signature value is obtained, the controller verifies the signature value or verifies the signature value through another device linked to the payment server, and if the signature value is valid, the signature corresponding to the payment means token ID. Once we verify the payment by the payment method and confirm that it is valid, Register the approval result information corresponding to the payment request information on the first blockchain or allow other devices linked to the payment settlement server to register the approval result information on the first blockchain, and the second block When a triggering condition for registering a predetermined hash value in the chain is satisfied, a second hash value generated by applying a hash function to the approval result information and at least one neighboring hash value matching the second hash value are calculated. Registering a second representative hash value or a value obtained by processing the second representative hash value in the second blockchain or allowing another device linked to the payment settlement server to receive the second representative hash value or the second representative hash value. It supports to register the processed value in the second blockchain, and the approval result information corresponding to the fund source identification ID corresponding to the payment means The fund source server to transmit the approval result information to the fund source server through another device linked to the payment settlement server, thereby allowing the fund source server to receive a payment cost corresponding to the payment request information. A processor that performs a process of supporting payment; Payment payment server comprising a.

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

본 발명에 의하면, 다음과 같은 효과가 있다.According to the present invention, the following effects are obtained.

본 발명은 결제 과정에서 수수료를 최소화할 수 있다.The present invention can minimize the commission in the payment process.

또한, 본 발명은 결제에 관한 트랜잭션을 블록체인에 등록하고 관리함으로써 결제 시스템의 보안성을 향상시킬 수 있다.In addition, the present invention can improve the security of the payment system by registering and managing transactions related to payment in the blockchain.

또한, 본 발명은 결제 과정에서 VAN사나 PG사 등의 중개사를 이용하지 않고 블록체인을 이용함으로써 시스템을 간소화할 수 있을 뿐만 아니라 유지 비용을 절감할 수 있다.In addition, the present invention can not only simplify the system but also reduce maintenance costs by using a blockchain without using an intermediary such as VAN or PG in the payment process.

또한, 본 발명은 결제 수단에 대응하는 각각의 결제 서비스 서버들을 동일한 블록체인에 형성함으로써 동일한 시스템에서 결제를 수행할 수 있게 된다.In addition, the present invention is able to perform payment in the same system by forming each payment service server corresponding to the payment means on the same blockchain.

도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 결제 시스템을 개략적으로 도시한 것이고,
도 2는 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법에서 사용자의 지급 수단을 블록체인에 등록하는 방법을 개략적으로 도시한 것이고,
도 3과 도 4는 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법에서 사용자의 지급 수단을 블록체인에 등록하는 다른 방법을 개략적으로 도시한 것이고,
도 5는 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법을 개략적으로 도시한 것이고,
도 6은 본 발명의 일 실시예에 따른 블록체인 기반의 결제 시스템에서 결제가 이루어지는 다른 상태를 개략적으로 도시한 것이다.
1 schematically shows a blockchain-based payment system according to an embodiment of the present invention.
2 schematically illustrates a method of registering a payment means of a user in a blockchain in a blockchain-based payment method according to an embodiment of the present invention.
3 and 4 schematically illustrate another method of registering a payment means of a user in a blockchain in a blockchain-based payment method according to an embodiment of the present invention,
5 schematically shows a blockchain-based payment method according to an embodiment of the present invention.
6 schematically illustrates another state in which a payment is made in a blockchain-based payment system according to an embodiment of the present invention.

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

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 바람직한 실시예들에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.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 implement the present invention.

도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 결제 시스템을 개략적으로 도시한 것으로, 결제 시스템은 사용자 단말(100), 서비스 제공 단말(200), 지급 결제 서버, 및 펀드 소스 서버를 포함할 수 있다.1 schematically illustrates a blockchain-based payment system according to an embodiment of the present invention. The payment system includes a user terminal 100, a service providing terminal 200, a payment settlement server, and a fund source server. can do.

먼저, 사용자 단말(100)은 결제에 관한 사용자 입력에 대응하는 트랜잭션을 생성하고 결제에 관한 정보를 사용자에게 표시하여 주는 디바이스로, PC(Personal Computer), 모바일 컴퓨터, PDA/EDA, 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있다. 그리고, 사용자 단말(100)은 이에 한정되지 않으며, 유무선 통신 기능을 가진 휴대용 게임기, 디지털 카메라, 개인 내비게이션 등의 모든 디바이스를 포함할 수 있다. 또한, 사용자 단말(100)은 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다. 이에 더하여, 사용자 단말(100)은 결제를 위한 펀드 소스 서버에 대응하는 펀드 소스 앱(110)을 포함할 수 있다.First, the user terminal 100 is a device for generating a transaction corresponding to a user input about payment and displaying information about payment to a user. A personal computer (PC), a mobile computer, a PDA / EDA, a mobile phone, a smart phone Phone, tablet, and the like. The user terminal 100 is not limited thereto, and may include all devices such as a portable game machine, a digital camera, and a personal navigation device having a wired / wireless communication function. In addition, the user terminal 100 may include a communication unit that supports the transmission and reception of information and a processor that processes the information. In addition, the user terminal 100 may include a fund source app 110 corresponding to a fund source server for payment.

다음으로, 서비스 제공 단말(200)은 사용자가 사용할 수 있는 다양한 서비스를 제공하여 주는 것으로, 정보의 송수신을 지원하는 통신부와 정보를 처리하는 프로세서를 포함할 수 있다. 또한, 서비스 제공 단말(200)은 사용자 단말(100)에 의한 구매 및 지불 정보에 대응되는 결제 요청 정보를 생성하여 사용자의 펀드 소스에 대응되는 결제 수단에 따른 결제를 수행하는 단말로, 오프라인 쇼핑몰의 결제 단말 또는 온라인 쇼핑몰의 결제 서버를 포함할 수 있으며, 오프라인 쇼핑몰의 결제 단말 또는 온라인 쇼핑몰의 결제 서버와 연동하여 사용자에게 제공된 서비스 또는 물품에 대한 결제를 수행하는 서버를 포함할 수 있다. 이에 더하여, 서비스 제공 단말(200)은 온라인 또는 오프라인에서 서비스 제공 또는 제품의 구매에 대응하는 비용을 사용자 소유의 펀드 소스에 대응하는 결제 수단을 이용하여 결제할 수 있도록 하는 모든 단말을 포함할 수 있다Next, the service providing terminal 200 provides various services that can be used by a user, and may include a communication unit that supports transmission and reception of information and a processor that processes the information. In addition, the service providing terminal 200 is a terminal that generates payment request information corresponding to the purchase and payment information by the user terminal 100 and performs payment according to a payment method corresponding to the user's fund source. It may include a payment server of a payment terminal or an online shopping mall, and may include a server that performs payment for a service or an item provided to a user in conjunction with a payment terminal of an offline shopping mall or a payment server of an online shopping mall. In addition, the service providing terminal 200 may include any terminal that enables payment of a cost corresponding to a service provision or purchase of a product online or offline using a payment method corresponding to a user's own fund source.

다음으로, 지급 결제 서버는 블록체인 기반의 결제를 수행하는 것으로, 통신부와 프로세서를 포함할 수 있다. 그리고, 지급 결제 서버는 블록체인(300)을 구성하는 다수의 노드 서버(f1, f2, f3, f4, f5, f6)들 중 어느 하나일 수 있으며, 지급 결제 서버는 결제와 관련된 각각의 기능을 수행할 수 있다. 이때, 도 1에서 노드 서버(f1, f2, f3, f4, f5, f6)는 6개로 표시하였으나, 노드 서버의 개수는 이에 한정되지 않는다. 동일한 참조 부호를 이용하여 나타낸 것은 설명의 편의를 위한 것일 뿐, 이들 개별 장치들이 동일하다는 의미로 의도된 것은 아니다. 그리고, 본 발명의 다른 실시예에서의 방법은 서버를 상이하게 구성하여 해당 방법을 수행하거나 동일한 지급 결제 서버를 통해 해당 방법을 수행할 수도 있다. 또한, 지급 결제 서버는 사용자의 펀드 소스를 관리하며 결제 서비스를 제공하는 펀드 소스 서버와 연동되는 서버이거나 펀드 소스 서버의 일부 기능을 수행하는 서버일 수 있으며, 펀드 소스 서버와 동일한 장치이거나 별도의 장치일 수 있다. 이에 더하여, 지급 결제 서버는 결제와 관련하여 다른 장치와의 트랜잭션을 관리하는 트랜잭션 서버일 수 있다.Next, the payment server performs a blockchain-based payment, and may include a communication unit and a processor. The payment server may be any one of a plurality of node servers f1, f2, f3, f4, f5, and f6 constituting the blockchain 300, and the payment server may perform each function related to payment. Can be done. In this case, although six node servers f1, f2, f3, f4, f5, and f6 are shown in FIG. 1, the number of node servers is not limited thereto. The same reference numerals are used for the convenience of description and are not intended to mean that these individual devices are the same. In addition, the method in another embodiment of the present invention may be configured differently to perform the method or to perform the method through the same payment server. In addition, the payment server may be a server that manages the user's fund source and linked with the fund source server that provides the payment service, or a server that performs some functions of the fund source server, the same device as the fund source server or a separate device. Can be. In addition, the payment server may be a transaction server that manages transactions with other devices in connection with payment.

구체적으로, 지급 결제 서버는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, a payment server typically includes a computing device (eg, a device that may include components of a computer processor, memory, storage, input and output devices, other conventional computing devices; electronic communication devices such as routers, switches, etc.). Electronic information storage systems such as network attached storage (NAS) and storage area network (SAN) and computer software (ie, instructions that allow computing devices to function in a particular way) to achieve desired system performance. May be achieved.

이와 같은 컴퓨팅 장치의 통신부는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit of such a computing device may transmit and receive a request and a response to another computing device with which it is associated. For example, the request and response may be made by the same TCP session, but is not limited thereto. It may be sent and received as a gram.

또한, 컴퓨팅 장치의 프로세서는 MPU(Micro Processing Unit) 또는 CPU(Central Processing Unit), 캐시 메모리(Cache Memory), 데이터 버스(Data Bus) 등의 하드웨어 구성을 포함할 수 있다. 또한, 운영체제, 특정 목적을 수행하는 애플리케이션의 소프트웨어 구성을 더 포함할 수도 있다.In addition, the processor 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, a data bus, or the like. In addition, the operating system may further include a software configuration of an application performing a specific purpose.

다음으로, 펀드 소스 서버는 통신부와 프로세서를 포함할 수 있으며, 사용자의 결제 수단에 대한 승인 및 서비스 제공자의 정산에 대한 서비스를 제공하여 줄 수 있다. 이때, 정산에 대한 서비스는 결제에 따른 매입, 청구, 및 정산을 포함할 수 있다. 그리고, 펀드 소스 서버는 사용자가 결제에 사용하고자 하는 펀드 소스를 관리하는 서버일 수 있으나, 이에 한정되는 것은 아니며, 펀드 소스에 대응되는 결제 수단에 대한 승인 서비스를 제공하는 모든 서버를 포함할 수 있다. 또한, 펀드 소스 서버는 지급 결제 서버와의 통신을 통해 결제 수단 사용에 필요한 각종 정보의 확인 동작을 수행할 수 있다. 이때, 펀드 소스는 사용자의 은행 계좌, 신용카드, 상품권, 멤버십카드, 쿠폰, 포인트, 암호화화폐 등을 포함할 수 있으나, 이에 한정되지 않으며, 결제가 가능한 모든 가치 보유 장치 또는 정보를 포함할 수 있으며, 결제 수단은 펀드 소스에 대응하여 펀드 소스를 인식할 수 있도록 하는 장치 또는 정보일 수 있다. 그리고, 펀드 소스 서버는 카드사 서버, 은행 서버, 포인트 관리사, 개인 암호화 화폐 금고 지갑, 암호화화폐 거래소 서버 등을 포함할 수 있다.Next, the fund source server may include a communication unit and a processor, and may provide a service for approval of a payment method of a user and settlement of a service provider. In this case, the service for settlement may include purchase, billing, and settlement according to the settlement. The fund source server may be a server that manages a fund source that a user intends to use for payment, but is not limited thereto. The fund source server may include all servers that provide an approval service for a payment method corresponding to the fund source. . In addition, the fund source server may perform a check operation of various information necessary for using the payment means through communication with the payment settlement server. In this case, the fund source may include a user's bank account, credit card, gift certificate, membership card, coupons, points, cryptocurrency, etc., but is not limited thereto, and may include any value holding device or information that can be settled. The payment means may be a device or information for recognizing the fund source corresponding to the fund source. The fund source server may include a card company server, a bank server, a point manager, a personal cryptocurrency safe wallet, a cryptocurrency exchange server, and the like.

구체적으로, 펀드 소스 서버는 전형적으로 컴퓨팅 장치(예컨대, 컴퓨터 프로세서, 메모리, 스토리지, 입력 장치 및 출력 장치, 기타 기존의 컴퓨팅 장치의 구성요소들을 포함할 수 있는 장치; 라우터, 스위치 등과 같은 전자 통신 장치; 네트워크 부착 스토리지(NAS) 및 스토리지 영역 네트워크(SAN)와 같은 전자 정보 스토리지 시스템)와 컴퓨터 소프트웨어(즉, 컴퓨팅 장치로 하여금 특정의 방식으로 기능하게 하는 인스트럭션들)의 조합을 이용하여 원하는 시스템 성능을 달성하는 것일 수 있다.Specifically, a fund source server is typically a computing device (eg, a device that may include components of a computer processor, memory, storage, input and output devices, other conventional computing devices; electronic communication devices such as routers, switches, etc.). Electronic information storage systems such as network attached storage (NAS) and storage area network (SAN) and computer software (ie, instructions that allow computing devices to function in a particular way) to achieve desired system performance. May be achieved.

이와 같이 구성된 시스템을 통해 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법을 설명하면 다음과 같다.Referring to the blockchain-based payment method according to an embodiment of the present invention through the system configured as described above are as follows.

먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법에서 사용자의 지급 수단을 등록하는 방법을 설명한다.First, a method of registering a payment means of a user in a blockchain-based payment method according to an embodiment of the present invention will be described with reference to FIG. 2.

사용자가 결제에 사용하고자 하는 결제 수단에 의한 지급 수단을 등록하기 위하여 사용자 단말(100)에 설치된 펀드 소스 앱을 실행하고(S1), 지급 수단 등록을 위한 사용자 식별 정보와 결제 수단 정보를 펀드 소스 서버(320)로 전송하거나 사용자 단말(100)에 연동되는 타 장치로 하여금 사용자 식별 정보와 결제 수단 정보를 펀드 소스 서버(320)로 전송하도록 지원한다(S2). 이때, 사용자 식별 정보와 결제 수단 정보는 사용자에 의한 펀드 소스 앱의 실행에 대응하여 사용자의 조작 없이 펀드 소스 앱에 의해 전송될 수도 있다. 그리고, 사용자 식별 정보는 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 성명, 생년월일, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함할 수 있다. 또한, 결제 수단 정보는 펀드 소스를 이용한 비용 지급을 위한 결제 수단에 대한 정보일 수 있다. 일 예로, 결제 수단은 카드, 상품권, 포인트, 멤버십 카드, 디지털 전자 지갑 등을 포함할 수 있으며, 결제 수단 정보는 이들을 식별할 수 있도록 하는 식별 정보, 즉, 발급 주체인 펀드 소스 정보, 유효 기간, 사용자 정보 등을 포함할 수 있다.In order to register the payment means by the payment means that the user intends to use for payment, the fund source app installed in the user terminal 100 is executed (S1), and the user identification information and payment means information for registering the payment means fund source server Other devices which are transmitted to the 320 or linked to the user terminal 100 are supported to transmit the user identification information and the payment means information to the fund source server 320 (S2). In this case, the user identification information and the payment means information may be transmitted by the fund source app without the user's manipulation in response to the execution of the fund source app by the user. And, the user identification information is unique information given for each user for identification of the user, name, date of birth, user ID, social security number, user terminal ID, IP address of the user terminal, MAC address of the user terminal, telephone number, and these It may include at least one of each hash value. In addition, the payment means information may be information on the payment means for payment using the fund source. For example, the payment method may include a card, gift certificate, points, membership card, digital electronic wallet, etc., the payment method information is identification information to identify them, that is, fund source information, issuer, validity period, User information and the like.

그리고, 사용자는 사용자 단말(100)을 통해, 즉, 사용자 단말(100)의 펀드 소스 앱을 통해 사용자 정보, 결제 수단, 사용자의 퍼블릭 키, 및 사용자 식별 정보 중 적어도 하나를 포함하는 지급 수단 등록 요청 정보를 블록체인(300)을 구성하는 다수의 노드 서버(f1, f2, f3, f4, f5, f6)들 중 펀드 소스 앱에 대응되는 지급 결제 서버(310)로 전송하거나 사용자 단말(100)에 연동되는 타 장치로 하여금 지급 수단 등록 요청 정보를 지급 결제 서버(310)로 전송하도록 지원할 수 있다(S3). 이때, 사용자 정보는 사용자 성명, 생년월일, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함할 수 있으며, 사용자 식별 정보는 사용자 정보 중 특정 사용자 정보로서 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보일 수 있다.In addition, the user requests payment means registration including at least one of user information, a payment method, a user's public key, and user identification information through the user terminal 100, that is, through a fund source app of the user terminal 100. The information is transmitted to the payment settlement server 310 corresponding to the fund source app among the plurality of node servers f1, f2, f3, f4, f5, and f6 constituting the blockchain 300 or to the user terminal 100. It is possible to support the other device linked to the payment means registration request information to the payment server (S3) (S3). In this case, the user information may include at least one of a user name, date of birth, user ID, social security number, user terminal ID, IP address of the user terminal, MAC address of the user terminal, telephone number, and their respective hash values, The user identification information may be unique information given for each user for identification of the user as specific user information among the user information.

그러면, 결제 지급 서버(310)는 사용자 단말(100)로부터의 지급 수단 등록 요청 정보에 대응하여, 결제 수단 및 사용자 정보에 대한 검증 요청을 펀드 소스 서버(320)로 전송하거나 결제 지급 서버(310)에 연동되는 타 장치로 하여금 결제 수단 및 사용자 정보 검증 요청 신호를 펀드 소스 서버(320)로 전송하도록 지원한다(S4).Then, the payment payment server 310 transmits a verification request for payment means and user information to the fund source server 320 in response to payment means registration request information from the user terminal 100 or payment payment server 310. Supporting other devices linked to the payment means and the user information verification request signal to the fund source server 320 (S4).

그리고, 펀드 소스 서버(320)는 결제 지급 서버(310)로부터의 결제 수단 및 사용자 정보 검증 요청에 대응하여 결제 지급 서버(310)로부터 획득된 결제 수단 및 사용자 정보를 검증하거나 펀드 소스 서버(320)에 연동되는 타 장치로 하여금 결제 수단 및 사용자 정보를 검증하도록 지원한다(S5). 이때, 결제 수단에 대한 검증은 사용자 단말(100)로부터 전송된 결제 수단 정보와 결제 지급 서버(310)로부터 전송된 결제 수단 정보가 일치하는지 확인하며, 결제 수단 정보에 등록된 정보가 등록된 결제 수단 원장 정보와 일치하는지를 확인함으로써 수행될 수 있으나, 이에 한정되지 않으며 결제 수단을 검증하는 일반적인 방법이 사용될 수 있다. 또한, 사용자 정보 검증은 지급 결제 서버(310)로부터 전송되는 사용자 정보가 사용자 단말(100)로부터 획득된 사용자 식별 정보에 대응하여 등록되어 있는 사용자 정보와 일치하는지를 확인함으로써 수행될 수 있으나, 이에 한정되지 않으며, 사용자 정보를 검증하는 일반적인 방법이 사용될 수 있다.In addition, the fund source server 320 verifies the payment means and user information obtained from the payment payment server 310 in response to the payment means and user information verification request from the payment payment server 310 or the fund source server 320. It supports the other device linked to verify the payment means and user information (S5). In this case, the verification of the payment means checks whether the payment means information transmitted from the user terminal 100 and the payment means information transmitted from the payment payment server 310 match, and the payment means in which the information registered in the payment means information is registered. This may be performed by checking whether the information matches the ledger information, but is not limited thereto. A general method of verifying a payment method may be used. In addition, the verification of the user information may be performed by checking whether the user information transmitted from the payment settlement server 310 matches the user information registered corresponding to the user identification information obtained from the user terminal 100, but is not limited thereto. However, a general method of verifying user information can be used.

이후, 펀드 소스 서버(320)가 결제 수단 및 사용자 정보에 대한 검증 완료 정보를 전송하면(S6), 지급 결제 서버(310)는 지급 수단 정보를 블록체인(300)에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 지급 수단 정보를 블록체인(300)에 등록하도록 지원한다(S7).Thereafter, when the fund source server 320 transmits the verification completion information about the payment means and the user information (S6), the payment settlement server 310 registers the payment means information in the blockchain 300 or the payment settlement server 310. Other devices that are linked to the) to register the payment means information in the blockchain (300) (S7).

이때, 지급 수단 정보는 결제 수단에 대응되는 결제 수단 토큰 아이디, 사용자 식별 정보, 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 사용자의 퍼블릭 키, 및 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디 중 적어도 하나 이상을 포함할 수 있다. 또한, 지급 수단 정보는 결제할 수 있는 비용의 한도 정보 등을 포함할 수 있다. 또한, 지급 수단 정보는 지급 결제 서버(310)에서 생성하여 블록체인(300)에 등록하거나 등록되도록 하거나, 펀드 소스 서버(320)에서 지급 수단 정보를 생성한 후 지급 결제 서버(310)로 지급 수단 정보에 대한 등록을 요청함으로써 지급 결제 서버(310)로 지급 수단 정보를 블록체인(300)에 등록하거나 등록하도록 할 수 있다.At this time, the payment means information to identify the payment means token ID corresponding to the payment method, user identification information, the push token ID corresponding to the fund source app installed in the user terminal, the user's public key, and the fund source corresponding to the payment method It may include at least one or more of the fund source identification ID for. In addition, the payment means information may include information on the limit of the cost that can be paid. In addition, the payment means information is generated in the payment settlement server 310 to be registered or registered in the blockchain 300, or after generating the payment means information in the fund source server 320 to the payment settlement server 310 By requesting registration of the information, the payment means server 310 may register or register the payment means information in the blockchain 300.

한편, 상기에서는 지급 수단 정보를 블록체인(300)에 등록하였으나, 블록체인(300)이 다수로 이루어질 수 있으며, 일 예로, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성될 경우, 지급 결제 서버(310)가 지급 수단 정보를 제1 블록체인과 제2 블록체인에 등록하는 과정을 상세히 설명하면 다음과 같다.Meanwhile, although the payment means information is registered in the blockchain 300, the blockchain 300 may be formed in plural. For example, the blockchain 300 may include a first blockchain and a second blockchain. In this case, the payment settlement server 310 will be described in detail the process of registering the payment means information in the first block chain and the second block chain as follows.

지급 결제 서버(310)는 지급 수단 정보, 즉, 트랜잭션 데이터를 제1 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 제1 블록체인에 등록하도록 한다.The payment settlement server 310 registers payment means information, that is, transaction data, on the first blockchain or allows other devices linked to the payment settlement server 310 to register with the first blockchain.

그리고, 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 지급 결제 서버(310)는 트랜잭션 데이터에 해시함수를 적용하여 생성한 제1 해시값과 제1 해시값에 매칭되는 적어도 하나의 이웃 해시값을 연산함으로써 머클 루트인 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 생성한다.When the triggering condition for registering the predetermined hash value in the second blockchain is satisfied, the payment server 310 matches the first hash value and the first hash value generated by applying the hash function to the transaction data. By calculating at least one neighboring hash value, a value obtained by processing the first representative hash value or the first representative hash value which is the Merkle root is generated.

또한, 지급 결제 서버(310)는 생성된 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 제2 블록체인에 등록하도록 할 수 있다.In addition, the payment settlement server 310 registers the generated first representative hash value or the value of the first representative hash value in the second blockchain or other device or first blockchain linked to the payment settlement server 310. Allow the first representative hash value or the processed value of the first representative hash value to be registered in the second blockchain.

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

즉, 지급 결제 서버(310)는 제2 해시값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제1 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 연산하여 생성되는 머클 루트인 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다.That is, the payment settlement server 310 may support to generate or generate a merkle tree in which the second hash value is assigned to a specific leaf node, and if the triggering condition is satisfied, at least one matching the first hash value. Register the first representative hash value or the processed first representative hash value, which is a Merkle root generated by calculating a hash value assigned to another leaf node of the second blockchain, or is linked to a payment settlement server 310. The device or the first blockchain may be supported to register with the second blockchain.

좀 더 구체적으로 설명하면, (x1) 지급 결제 서버(310)는, (i) 제1 해시값과 (ii) 제1 해시값이 할당된 노드의 형제 노드에 할당된 해시값을 연산하거나 지급 결제 서버(310)에 연동된 타 장치로 하여금 연산하도록 지원하고, 연산값에 대한 해시값을 노드의 부모 노드에 할당하거나 지급 결제 서버(310)에 연동된 타 장치로 하여금 부모 노드에 할당하도록 지원할 수 있다. (x2) 만일, 부모 노드가 머클 트리의 루트 노드이면, 부모 노드에 할당된 해시값이 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값이 된다. (x3) 반면, 부모 노드가 머클 트리의 루트 노드가 아니면, 지급 결제 서버(310)는, 부모 노드에 할당된 해시값을 제1 해시값으로 하여 (x1) 내지 (x3)를 반복하여 수행한다.More specifically, (x1) the payment settlement server 310 calculates or pays the hash value assigned to the sibling node of the node to which (i) the first hash value and (ii) the first hash value is assigned. Support other devices linked to the server 310 to operate, and assign a hash value for the calculated value to the parent node of the node, or support other devices linked to the payment settlement server 310 to assign to the parent node. have. (x2) If the parent node is the root node of the Merkle tree, the hash value assigned to the parent node is a value obtained by processing the first representative hash value or the first representative hash value. (x3) On the other hand, if the parent node is not the root node of the Merkle tree, the payment settlement server 310 repeats (x1) to (x3) by using the hash value assigned to the parent node as the first hash value. .

그리고, 지급 결제 서버(310)는 최종적으로 머클 트리의 루트 노드에 할당된 해시값을 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값으로서 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원한다. 이때, 제1 대표 해시값을 가공한 값은, 예를 들어, 제1 대표 해시값에 hex 연산이 수행된 결과값일 수 있다.In addition, the payment settlement server 310 registers the hash value finally assigned to the root node of the Merkle tree as a value obtained by processing the first representative hash value or the first representative hash value in the second blockchain, or the payment settlement server 310. ) To allow other devices or the first blockchain linked to the second blockchain to register with the second blockchain. In this case, the processed value of the first representative hash value may be, for example, a result value of performing a hex operation on the first representative hash value.

한편, 지급 결제 서버(310)가 제1 해시값과 적어도 하나의 이웃 해시값을 소정의 제1-1 데이터 구조로 저장하고, 이후 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 제1-1 데이터 구조와 제1-2 데이터 구조는 체인 형태로 연결될 수 있다.Meanwhile, the payment server 310 stores the first hash value and the at least one neighboring hash value in a predetermined 1-1 data structure, and thereafter, the 1-2 data structure has the same form as the 1-1 data structure. In the case of storing and managing the data, the 1-1 data structure and the 1-2 data structure may be connected in a chain form.

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

또한, 제1-2 데이터 구조를 생성할 때는 제1-1 데이터 구조에 대한 검증이 이루어짐으로써 데이터 integrity가 좀 더 보장될 수 있다. 제1-2 데이터 구조의 검증에 대해서는 후술하기로 한다.In addition, when the 1-2 data structure is generated, data integrity may be more guaranteed by verifying the 1-1 data structure. The verification of the 1-2 data structure will be described later.

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

도 3 및 도 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 것이다.3 and 4 show examples of merkle trees created according to one embodiment of the invention.

도 3에서는 리프 노드의 개수가 4개인 머클 트리가 도시된다. 도시된 머클 트리는 첫 번째 머클 트리이기 때문에(tree_id=0), 첫 번째 리프 노드인 h0 노드에는 소정의 메시지 데이터의 해시값 (sha256(coinplug_unique_message))이 할당되었음을 알 수 있다. 기록 데이터에 대한 등록 요청이 있는 경우, 지급 결제 서버(310)는 현재 구성 중인 머클 트리의 가장 마지막 리프 노드의 다음 리프 노드를 생성하여 제2 해시값 또는 제2 해시값을 가공한 값을 할당하거나 할당하도록 지원한다. 예를 들어, 도 3의 머클 트리에서 두 번째 리프 노드인 h1 노드까지 값 할당이 완료된 상태에서 새로운 리프 노드를 생성하여야 하는 경우, 다음 리프 노드인 h2 노드를 생성하여 제1 해시값 또는 제1 해시값을 가공한 값(sha256(input2))을 할당할 수 있다. 또한, 지급 결제 서버(310)는 (i) h2 노드에 할당된 제1 해시값과 (ii) h2 노드의 형제 노드인 h3 노드에 할당된 해시값을 연산하거나 연산하도록 지원할 수 있다. 연산값에 대한 해시값은 h2 노드와 h3 노드의 부모 노드(h23 노드)에 할당된다. 부모 노드(h23 노드)가 머클 트리의 루트 노드가 아니므로 지급 결제 서버(310)는 h23 노드에 할당된 해시값을 제1 해시값으로 하여 상기 과정을 반복하여 수행할 수 있다. 즉, h23 노드에 할당된 해시값을 제1 해시값으로 하고, h23 노드에 할당된 해시값과 h01 노드에 할당된 해시값을 연산하여 h23 노드와 h01 노드의 부모 노드(h0123 노드)에 할당할 수 있다. 이때, h0123 노드가 머클 트리의 루트 노드이므로 지급 결제 서버(310)는, h0123 노드에 할당된 해시값을 가공한 값(hex(h{node_index}))을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다3 shows a Merkle tree with four leaf nodes. Since the illustrated Merkle tree is the first Merkle tree (tree_id = 0), it can be seen that a hash value (sha256 (coinplug_unique_message)) of predetermined message data is allocated to the h0 node which is the first leaf node. If there is a registration request for the historical data, the payment server 310 generates the next leaf node of the last leaf node of the Merkle tree currently being configured and assigns a second hash value or a processed value of the second hash value; Support to assign For example, when a new leaf node needs to be created in the state where the value allocation is completed from the merkle tree of FIG. 3 to the second leaf node h1, the next leaf node h2 is created to generate a first hash value or a first hash. You can assign the processed value (sha256 (input2)). In addition, the payment server 310 may support to calculate or calculate (i) the first hash value assigned to the h2 node and (ii) the hash value assigned to the h3 node that is a sibling node of the h2 node. The hash value for the operation value is assigned to the parent node (h23 node) of node h2 and node h3. Since the parent node (h23 node) is not the root node of the Merkle tree, the payment settlement server 310 may repeat the above process using the hash value assigned to the h23 node as the first hash value. That is, the hash value assigned to the h23 node is used as the first hash value, and the hash value assigned to the h23 node and the hash value assigned to the h01 node are calculated to be assigned to the parent node (h0123 node) of the h23 node and the h01 node. Can be. At this time, since the h0123 node is the root node of the Merkle tree, the payment settlement server 310 registers a value (hex (h {node_index})) of the hash value assigned to the h0123 node in the second blockchain or the payment settlement server. It is possible to support other devices linked to the 310 or the first blockchain to register with the second blockchain.

한편, 전술한 트리거링 조건이란, (i) 소정의 개수만큼 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 제1 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.Meanwhile, the aforementioned triggering conditions include (i) a condition in which a transaction 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 blockchain, and (iv) a service characteristic. It may include at least one of the conditions for.

한편, 예를 들어, 트랜잭션 데이터가 머클 트리의 리프 노드 수만큼 획득되면 지급 결제 서버(310)는 머클 트리를 생성하고, 머클 트리의 루트값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치로 하여금 등록하도록 지원할 수 있다.On the other hand, for example, if the transaction data is obtained by the number of leaf nodes of the Merkle tree, the payment settlement server 310 generates the Merkle tree, registers the root value of the Merkle tree in the second blockchain or the payment settlement server 310 It can support other devices linked to the registration.

또한, 지급 결제 서버(310)는 소정 시간 단위로 전술한 머클 트리의 루트값을 생성할 수 있다(상기 (ii) 조건). 이 경우 지급 결제 서버(310)는 소정의 시간이 경과되면 그때까지의 입력값을 이용하여 머클 트리를 생성하고 머클 트리의 루트값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다.In addition, the payment server 310 may generate the root value of the aforementioned Merkle tree on a predetermined time basis (condition (ii) above). In this case, when a predetermined time elapses, the payment settlement server 310 generates a Merkle tree using the input values until then, registers the root value of the Merkle tree in the second blockchain, or is linked to the payment settlement server 310. It is possible to support other devices or the first blockchain to register with the second blockchain.

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

그리고, 서비스 특성이란, 트랜잭션 데이터를 발행한 발행자가 제공한 비용 정보, 트랜잭션 데이터 등록이 이루어지는 시간대 정보, 트랜잭션 데이터 등록 서비스가 이루어지는 지역 정보, 트랜잭션 데이터 등록 요청을 한 회사 타입 정보 중 적어도 일부가 될 수 있다. 다만, 여기서 기재한 것에 한정할 것은 아니고, 통상적으로 인정되는 차등적 서비스가 제공될 수 있는 다양한 조건 정보를 포함한다.The service characteristic may be at least a portion of cost information provided by the issuer who issued the transaction data, time zone information where the transaction data registration is performed, region information where the transaction data registration service is performed, and company type information that requested the transaction data registration. have. However, the present invention is not limited to the above description and includes various condition information in which a generally accepted differential service can be provided.

한편, 새로운 머클 트리 생성이 시작되고, 트랜잭션 데이터가 없는 상태에서 트리거링 조건이 만족되면, 지급 결제 서버(310)는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두 번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트값 또는 이를 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, when the new Merkle tree generation is started, and the triggering condition is satisfied in the absence of transaction data, the payment settlement server 310 determines a Merkle tree in which predetermined message data is allocated to the first leaf node and the second leaf node. It supports to create or create, register the root value of the Merkle tree or the processed value to the second blockchain, or allow other devices or first blockchains linked to the payment settlement server 310 to register to the second blockchain. Can support In this case, a two leaf node Merkle tree may be created.

또한, 전술한 것처럼 지급 결제 서버(310)가 제1 해시값과 적어도 하나의 이웃 해시값을 소정의 제1-1 데이터 구조로 저장하고, 이후 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 제1-1 데이터 구조와 제1-2 데이터 구조는 체인 형태로 연결될 수 있다. 특히, 제1-1 데이터 구조 및 제1-2 데이터 구조가 머클 트리인 경우, 제1-1 데이터 구조의 루트값 또는 루트값의 해시값이 제1-2 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.In addition, as described above, the payment settlement server 310 stores the first hash value and the at least one neighboring hash value in a predetermined first-first data structure, and thereafter, the first-first data having the same form as the first-first data structure. When storing and managing the two data structures, the 1-1 data structure and the 1-2 data structure may be connected in a chain form. In particular, when the 1-1 data structure and the 1-2 data structure are Merkle trees, a root value of the 1-1 data structure or a hash value of the root value may be assigned to the first leaf node of the 1-2 data structure. Can be.

도 4는 본 발명의 일 실시예에 따라 제1-2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 illustrates a Merkle tree generated as a 1-2 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 merkle tree (tree_id = 0) of FIG. 3 is assigned to the first leaf node (h4 node) of the new merkle tree (sha256 (input4)). . The present invention has an advantage of improving data integrity by easily tracking even when data is tampered with by connecting a plurality of data structures generated when a transaction occurs.

이와 같이 사용자에 의해 펀드 소스에 대응하는 결제 수단을 이용한 지급 수단 정보가 블록체인(300)에 등록된 상태에서 본 발명의 일 일시예에 따른 블록체인 기반의 결제 방법을 도 5를 참조하여 설명하면 다음과 같다.As described above with reference to FIG. 5, a blockchain-based payment method according to an exemplary embodiment of the present invention in a state in which payment means information using a payment method corresponding to a fund source by a user is registered in the blockchain 300. As follows.

도 2에서와 같은 방법에 의해 사용자의 지불 정보인 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 사용자를 식별하기 위한 사용자 식별 정보, 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 사용자의 퍼블릭 키, 및 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디 중 적어도 하나 이상이 블록체인에 등록된 상태에서, 사용자가 서비스 제공 단말(200)에서의 서비스 이용 또는 제품 구매 등에 따른 비용을 등록된 결제 수단을 이용하여 결제하기 위하여, 사용자 단말(100)을 통해 구매 및 지불 정보를 입력한다(S11). 이때, 구매 및 지불 정보는 사용자 식별 정보 및 결제 수단 토큰 아이디를 포함할 수 있다.2, the payment means token ID corresponding to the user's payment means, the user's payment information, the user identification information for identifying the user, the push token ID corresponding to the fund source app installed in the user terminal, and the user's payment information. The cost of a user using a service or purchasing a product in the service providing terminal 200 while at least one of a public key and a fund source identification ID for identifying a fund source corresponding to a payment method is registered in the blockchain. In order to make a payment using a registered payment means, the purchase and payment information is input through the user terminal 100 (S11). In this case, the purchase and payment information may include user identification information and payment means token ID.

그리고, 서비스 제공 단말(200)은 사용자 식별 정보, 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함하는 결제 요청 정보를 지급 결제 서버(310)로 전송하거나 서비스 제공 단말(200)에 연동되는 타 장치로 하여금 결제 요청 정보를 지급 결제 서버(310)로 전송하도록 지원한다(S12). 이때, 결제 정보는 사용자에게 제공된 서비스 또는 제품에 대한 정보와 사용자가 지급하여야 할 비용에 대한 정보일 수 있다.The service providing terminal 200 transmits payment request information including at least one or more of user identification information, payment means token ID, and payment information to the payment settlement server 310 or is linked to the service providing terminal 200. The other device supports the payment request information to be sent to the payment server 310 (S12). In this case, the payment information may be information about a service or a product provided to the user and information about costs to be paid by the user.

그러면, 지급 결제 서버(310)는 서비스 제공 단말(200)로부터의 결제 요청 정보에 포함된 사용자 식별 정보를 참조하여 블록체인(300)에 등록된 푸시 토큰 아이디를 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 블록체인(300)으로부터 푸시 토큰 아이디를 획득하도록 지원한다(S13)(S14). 즉, 지금 결제 서버(310)는 사용자 식별 정보를 참조하여 블록체인(300)에 등록된 지급 수단 정보를 확인하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 확인하도록 지원함으로써 지급 수단 정보에 포함된 푸시 토큰 아이디를 획득할 수 있다. 이때, 지급 결제 서버(310)는 블록체인(300)의 노드 서버(f1, f2, f3, f4, f5, f6)들 중 어느 하나이므로, 자신이 기록하고 있는 블록체인 분산 원장으로부터 획득할 수도 있다. 즉, 각각의 노드 서버(f1, f2, f3, f4, f5, f6)들은 각각 동일한 블록체인 분산 원장을 기록하고 있으며, 원하는 특정 정보는 임의의 하나의 노드 서버로부터 획득될 수 있다.Then, the payment server 310 obtains the push token ID registered in the blockchain 300 or refers to the payment payment server 310 by referring to the user identification information included in the payment request information from the service providing terminal 200. Support other devices to work together to obtain a push token ID from the blockchain (S13) (S14). That is, the payment server 310 now checks the payment means information registered in the blockchain 300 with reference to the user identification information or supports other devices linked to the payment payment server 310 to check the payment means information. The included push token ID may be obtained. At this time, the payment server 310 is any one of the node server (f1, f2, f3, f4, f5, f6) of the blockchain 300, it may be obtained from the blockchain distributed ledger that they record . That is, each node server f1, f2, f3, f4, f5, f6 records the same blockchain distributed ledger, respectively, and the desired specific information can be obtained from any one node server.

한편, 상기에서는 지급 수단 정보를 블록체인(300)으로부터 확인하였으나, 블록체인(300)이 다수로 이루어질 수 있으며, 일 예로, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성될 경우, 지급 결제 서버(310)는 결제 요청 정보에 포함된 사용자 식별 정보를 참조하여 제2 블록체인으로부터 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 제2 블록체인으로부터 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 획득하도록 지원하며, 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값과 관련되어 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원한다. 그리고, 지급 결제 서버(310)는 획득된 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인으로부터 푸시 토큰 아이디를 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 푸시 토큰 아이디를 획득하도록 지원할 수 있다.Meanwhile, in the above, the payment means information is confirmed from the blockchain 300, but the blockchain 300 may be formed in plural. For example, the blockchain 300 may include a first blockchain and a second blockchain. In this case, the payment server 310 obtains a value obtained by processing the first representative hash value or the first representative hash value from the second blockchain with reference to the user identification information included in the payment request information or the payment settlement server 310. Supports other devices linked to to obtain a value obtained by processing a first representative hash value or a first representative hash value from a second blockchain, and is related to a value representing a first representative hash value or a first representative hash value. To obtain Merkle tree information and leaf node information registered in the first blockchain or to allow other devices linked to the payment settlement server 310 to acquire Merkle tree information and leaf node information. In addition, the payment server 310 obtains the push token ID from the first blockchain with reference to the obtained merkle tree information and the leaf node information, or allows another device linked to the payment settlement server 310 to obtain the push token ID. Can be supported.

그리고, 지급 결제 서버(310)는 획득된 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말(100)로 전송하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말(100)로 전송하도록 지원할 수 있다(S15). 이때, 서명 요청 정보에는 결제 정보 또는 검증 수단값이 포함될 수 있다.In addition, the payment server 310 transmits the acquired push token ID and the signature request information to the user terminal 100 or enables another device linked to the payment settlement server 310 to transmit the push token ID and the signature request information to the user terminal. In operation S15, the processor 100 may support the transmission to 100. In this case, the signature request information may include payment information or a verification means value.

그러면, 사용자 단말(100)은 푸시 토큰 아이디에 대응하는 펀드 소스 앱을 실행하고(S16), 사용자에게 검증 수단값에 대한 전자 서명을 요청하거나, 결제 정보에 대한 확인과 전자 서명에 대한 요청 정보를 표시하여 주며, 사용자가 전자 서명 요청을 확인하거나 결제 정보가 자신이 주문한 내용과 일치하는 것을 확인한 후, 비밀번호, PIN 코드, 지문, 및 생체 정보 중 적어도 하나를 포함하는 자신이 설정한 확인 정보를 입력하면, 사용자 단말(100)은 사용자에 의해 입력되는 확인 정보가 사용자에 의해 기설정된 확인 정보와 일치하는 지를 확인한다.Then, the user terminal 100 executes the fund source app corresponding to the push token ID (S16), requests the user to digitally sign the verification means value, or checks the payment information and requests information for the electronic signature. After the user confirms the electronic signature request or confirms that the payment information matches the contents of his order, the user inputs the verification information set by the user including at least one of a password, PIN code, fingerprint, and biometric information. Then, the user terminal 100 confirms whether the confirmation information input by the user matches the confirmation information preset by the user.

그리고, 사용자에 의해 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우, 사용자 단말(100)은 결제 정보 또는 검증 수단값에 대한 사용자 서명값을 생성하여 지급 결제 서버(310)로 전송하거나 사용자 단말(100)에 연동되는 타 장치로 하여금 서명값을 지급 결제 서버(310)로 전송하도록 지원한다(S17). 일 예로, 사용자 단말(100), 즉 펀드 소스 앱은 사용자에 의해 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우 저장된 사용자의 프라이빗키에 대한 접근이 허용되며, 그에 따라 사용자의 프라이빗키로 결제 정보 또는 검증 수단값을 서명한 사용자 서명값을 생성하며, 생성된 사용자 서명값을 지급 결제 서버(310)로 전송하여 준다.In addition, when the confirmation information input by the user coincides with the preset confirmation information, the user terminal 100 generates a user signature value for the payment information or the verification means value and transmits it to the payment settlement server 310 or the user terminal. Supporting other devices linked to the 100 transmits the signature value to the payment settlement server 310 (S17). For example, the user terminal 100, that is, the fund source app is allowed to access the stored user's private key when the confirmation information input by the user matches the preset confirmation information, and accordingly payment information with the user's private key. Alternatively, a user signature value generated by signing a verification means value is generated, and the generated user signature value is transmitted to the payment settlement server 310.

그러면, 지급 결제 서버(310)는 사용자 단말(100)로부터의 서명값을 획득하며, 획득된 사용자의 서명값이 유효한지를 검증한다(S18).Then, the payment server 310 obtains the signature value from the user terminal 100, and verifies whether the obtained signature value of the user is valid (S18).

일 예로, 지급 결제 서버(310)는 사용자 식별 정보에 대응하여 블록체인(300)에 등록된 사용자의 퍼블릭 키를 획득하며, 획득된 퍼블릭 키를 이용하여 사용자의 서명값이 유효한지를 확인한다. 즉, 지급 결제 서버(310)는 퍼블릭 키를 이용하여 서명값으로부터 결제 정보 또는 검증 수단값을 추출하며, 서명값으로부터 추출된 결제 정보 또는 검증 수단값이 서명 요청 정보에 포함된 결제 정보 또는 검증 수단값과 일치하는지를 확인하여 서명값의 유효 여부를 판단할 수 있다.For example, the payment server 310 obtains the public key of the user registered in the blockchain 300 in response to the user identification information, and checks whether the signature value of the user is valid using the obtained public key. That is, the payment settlement server 310 extracts the payment information or the verification means value from the signature value using the public key, and the payment information or the verification means in which the payment information or verification means value extracted from the signature value is included in the signature request information. The validity of the signature value can be determined by checking whether the value matches.

한편, 블록체인(300)은 다수로 구성될 수 있으며, 일 예로, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성될 경우, 지급 결제 서버(310)는 사용자 식별 정보를 참조하여 제2 블록체인으로부터 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 제2 블록체인으로부터 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 획득하도록 지원하며, 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값과 관련되어 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원한다. 그리고, 지급 결제 서버(310)는 획득된 머클 트리 정보 및 리프 노드 정보를 참조하여 제1 블록체인으로부터 지급 수단 정보에 포함된 퍼블릭 키를 획득하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 퍼블릭 키를 획득하도록 지원할 수 있다.On the other hand, the blockchain 300 may be composed of a plurality, for example, when the blockchain 300 is composed of the first blockchain and the second blockchain, payment server 310 refers to the user identification information Obtaining a value obtained by processing the first representative hash value or the first representative hash value from the second blockchain, or causing another device linked to the payment settlement server 310 to perform the first representative hash value or the first representative hash value from the second blockchain. It supports to obtain the processed value of the representative hash value, and obtains or pays the Merkle tree information and leaf node information registered in the first blockchain in relation to the processed value of the first representative hash value or the first representative hash value. Support other devices linked to the server 310 to acquire Merkle tree information and leaf node information. In addition, the payment server 310 obtains the public key included in the payment means information from the first blockchain with reference to the obtained merkle tree information and leaf node information, or causes another device linked to the payment server 310 to perform the payment. It can assist in obtaining a public key.

그리고, 지급 결제 서버(310)는 사용자의 서명값이 유효한 것으로 판단되면, 지불에 대한 검증을 수행하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 지불에 대한 검증을 수행하도록 지원한다(S19). 즉, 지급 결제 서버(310)는 사용자에 의해 결제 요청된 펀드 소스가 지불을 할 수 있는지 검증한다. 일 예로, 지급 결제 서버(310)는 지급 수단 정보에 등록된 펀드 소스를 이용한 결제할 수 있는 비용의 한도 정보 등을 확인하는 등을 방법을 통해 지불에 대한 검증을 수행하거나 펀드 소스 서버(320)로 하여금 검증을 수행하도록 할 수 있다.In addition, when it is determined that the signature value of the user is valid, the payment server 310 performs verification of payment or supports other devices linked to the payment server 310 to verify payment (S19). ). That is, the payment settlement server 310 verifies that the fund source requested by the user can make a payment. For example, the payment server 310 performs a verification of the payment through the method, such as checking the limit information of the cost that can be paid using the fund source registered in the payment means information, or the fund source server 320 You can let them perform the verification.

이후, 지급 결제 서버(310)는 지불에 대한 검증이 이루어지면, 서비스 제공 단말(200)로부터의 결제 요청을 승인하거나, 펀드 소스 서버(320) 또는 지급 결제 서버(310)에 연동되는 타 장치로 하여금 결제 요청을 승인하도록 지원하며, 승인 결과를 블록체인(300)에 등록하며(S20), 펀드 소스 서버(320), 서비스 제공 단말(200), 및 사용자 단말(100) 중 적어도 하나로 승인 결과를 전송하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 전송하도록 지원한다(S21)(S22)(S23). 이때, 승인 결과를 펀드 소스 서버(320), 서비스 제공 단말(200), 및 사용자 단말(100) 중 적어도 하나로 전송하는 것은 승인 결과를 블록체인(300)을 통해 수행할 수 있다. 즉, 지급 결제 서버(310)가 승인 결과를 블록체인(300)에 등록하여 브로드캐스팅함으로써 승인 결과가 펀드 소스 서버(320), 서비스 제공 단말(200), 및 사용자 단말(100) 중 적어도 하나로 전송될 수 있다.Thereafter, the payment server 310 approves the payment request from the service providing terminal 200 when the verification of the payment is made or moves to the fund source server 320 or another device linked to the payment server 310. Assist the user to approve the payment request, register the approval result in the blockchain 300 (S20), and transmit the approval result to at least one of the fund source server 320, the service providing terminal 200, and the user terminal 100. It transmits or supports other devices linked to the payment settlement server 310 to transmit (S21) (S22) (S23). In this case, transmitting the approval result to at least one of the fund source server 320, the service providing terminal 200, and the user terminal 100 may perform the approval result through the blockchain 300. That is, the payment settlement server 310 registers and broadcasts the approval result to the blockchain 300 to transmit the approval result to at least one of the fund source server 320, the service providing terminal 200, and the user terminal 100. Can be.

한편, 상기에서는 승인 결과를 블록체인(300)에 등록하였으나, 블록체인(300)이 다수로 구성될 수 있으며, 일 예로, 블록체인(300)이 제1 블록체인과 제2 블록체인으로 구성될 경우, 지급 결제 서버(310)는 승인 결과, 즉 트랜잭션 데이터를 제1 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 트랜잭션 데이터를 제1 블록체인에 등록하도록 지원한다. 그리고, 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 지급 결제 서버(310)는 트랜잭션 데이터에 해시함수를 적용하여 생성한 제2 해시값과 제2 해시값에 매칭되는 적어도 하나의 이웃 해시값을 연산함으로써 머클 루트인 제2 대표 해시값 또는 제2 대표 해시값을 가공한 값을 생성한다. 이후, 지급 결제 서버(310)는 생성된 제2 대표 해시값 또는 제2 대표 해시값을 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 제2 대표 해시값 또는 제2 대표 해시값을 가공한 값을 제2 블록체인에 등록하도록 할 수 있다. 이러한 제1 블록체인과 제2 블록체인을 이용한 트랜잭션 데이터 등록 방법에 대해서는 상기 도 2의 설명으로부터 용이하게 이해 가능하도록 상세한 설명은 생략하기로 한다.Meanwhile, in the above, the approval result is registered in the blockchain 300, but the blockchain 300 may be configured in plural. For example, the blockchain 300 may include the first blockchain and the second blockchain. In this case, the payment settlement server 310 registers the approval result, that is, transaction data in the first blockchain or supports other devices linked to the payment settlement server 310 to register transaction data in the first blockchain. When the triggering condition for registering the predetermined hash value in the second blockchain is satisfied, the payment server 310 matches the second hash value and the second hash value generated by applying the hash function to the transaction data. By calculating at least one neighboring hash value, a value obtained by processing the second representative hash value or the second representative hash value that is the Merkle root is generated. Subsequently, the payment settlement server 310 registers the generated second representative hash value or the value of the second representative hash value in the second blockchain or is linked to the payment settlement server 310 or another device or first blockchain. The second representative hash value or a value obtained by processing the second representative hash value may be registered in the second blockchain. Detailed description of the transaction data registration method using the first blockchain and the second blockchain will be omitted from the description of FIG. 2.

또한, 상기에서는 사용자의 결제 수단에 대응하는 펀드 소스에 의한 결제를 제공하는 서비스 제공 단말에서의 결제에 대해서 설명하였으나, 이와는 달리 사용자가 서비스 제공 단말에서의 결제에 이용되는 펀드 소스를 소유하고 있지 않은 경우에도 상기와 같은 방법에 의해 결제가 수행될 수 있다.In addition, in the above description of the payment in the service providing terminal that provides a payment by the fund source corresponding to the user's payment means, but the user does not own the fund source used for payment in the service providing terminal In this case, payment may be performed by the above method.

일 예로, 도 6을 참조하면, 다수의 지급 결제 서버에 의해 구성되는 블록체인(300)에서의 특정 지급 결제 서버, 즉, 노드 서버(f4)는 사용자의 결제 수단에 대응되는 펀드 소스를 이용하여 결제를 수행하는 지급 결제 서버이며, 노드 서버(f2)는 사용자 결제 수단에 따른 펀드 소스와는 다른 펀드 소스를 이용하여 결제를 수행하는 지급 결제 서버이며, 서비스 제공 단말(200)은 노드 서버(f2)에 대응하는 펀드 소스로만 결제가 이루어진다고 가정한다.For example, referring to FIG. 6, a specific payment server in the blockchain 300 constituted by a plurality of payment servers, that is, the node server f4 may use a fund source corresponding to a user's payment method. Payment payment server that performs the payment, the node server (f2) is a payment payment server that performs payment using a fund source different from the fund source according to the user payment means, the service providing terminal 200 is a node server (f2) Assume that payment is made only to the fund source corresponding to

이 경우, 종래에는 사용자가 서비스 제공 단말(200)을 통해 결제를 수행하지 못하는 것과는 달리, 본 발명의 일 실시예에서는 상기 도 5에서와 같은 방법에 의해 서비스 제공 단말(200)이 사용자 결제 수단에 대응하는 특정 지급 결제 서버인 노드 서버(f4)로 결제 요청 정보를 전송한다. 이때, 결제 정보에는 비용 정보로서 사용자의 결제 수단에 대응하는 특정 펀드 소스가 아니라 서비스 제공 단말(200)에서 이용 가능한 다른 펀드 소스에 따른 비용 정보일 수 있다. 이때, 특정 지급 결제 서버인 노드 서버(f4)는 지급 수단 정보에 포함된 펀드 소스 식별 아이디를 참조하여 서비스 제공 단말(200)로부터 결제 요청된 다른 펀드 소스가 사용자가 등록한 사용 가능한 펀드 소스가 아닌 것을 확인할 수 있다.In this case, conventionally, unlike a user who cannot make a payment through the service providing terminal 200, in an embodiment of the present invention, the service providing terminal 200 is connected to the user payment means by the method as illustrated in FIG. 5. The payment request information is transmitted to the node server f4 corresponding to the specific payment server. In this case, the payment information may be cost information according to other fund sources available to the service providing terminal 200, not specific fund sources corresponding to the user's payment means as cost information. At this time, the node server f4, which is a specific payment server, refers to the fund source identification ID included in the payment means information, indicating that the other fund source requested from the service providing terminal 200 is not an available fund source registered by the user. You can check it.

그러면, 특정 지급 결제 서버인 노드 서버(f4)는 도 5에서와 동일한 방법에 의해 서명값 및 지불에 대한 검증 이후, 노드 서버(f4)에 대응되는 특정 펀드 소스 서버로 특정 펀드 소스에 의한 결제를 다른 펀드 소스에 의한 결제로 결제 전환을 요청하고, 특정 펀드 소스 서버는 결제 전환 요청된 다른 펀드 소스에 대응하는 다른 펀드 소스에 결제를 요청한다. 그러면, 다른 펀드 소스 소스에 대응되는 다른 지급 결제 서버인 노드 서버(f2)를 통해 서비스 제공 단말(200)로부터의 결제 요청을 승인하도록 할 수 있다.Then, after verifying the signature value and payment, the node server f4, which is a specific payment settlement server, makes payment by a specific fund source to a specific fund source server corresponding to the node server f4 by the same method as in FIG. A payment conversion is requested by payment by another fund source, and a specific fund source server requests payment from another fund source corresponding to another fund source that is requested to be converted. Then, the payment request from the service providing terminal 200 may be approved through the node server f2, which is another payment settlement server corresponding to another fund source source.

이때, 사용자의 결제 수단에 대응하는 지급 결제 서버인 노드 서버(f4)는 트랜잭션 서버(s4)를 통해 데이터베이스(DB4)에 결제에 사용 가능한 비용 한도를 설정할 수 있다.At this time, the node server f4, which is a payment server corresponding to the user's payment method, may set a cost limit that can be used for payment in the database DB4 through the transaction server s4.

또한, 상기에서는 지급 결제 서버인 노드 서버(f1)와 노드 서버(f2) 사이의 직접적인 스왑을 설명하였지만, 이와는 달리 지급 결제 서비스인 노드 서버(f1)와 노드 서버(f4) 사이의 스왑이 설정되어 있지 않을 경우에는 블록체인(300)을 구성하는 다른 노드 서버(f1, f3, f5, f6)들 중 노드 서버(f2) 및 노드 서버(f4) 각각과 스왑이 설정된 특정 노드를 통해 사용자의 결제가 이루어지도록 할 수도 있다.In addition, while the above-described direct swap between the node server f1 and the node server f2, which is the payment server, the swap between the node server f1 and the node server f4, which is the payment service, is set. If not, the user's payment is made through a specific node that is swapped with each of the node server f2 and the node server f4 among the other node servers f1, f3, f5, and f6 constituting the blockchain 300. It can also be done.

또한, 이상 설명된 본 발명에 따른 실시예들은 다양한 컴퓨터 구성요소를 통하여 수행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM, DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 ROM, RAM, 플래시 메모리 등과 같은 프로그램 명령어를 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 상기 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.In addition, the embodiments according to the present invention described above may be implemented in the form of program instructions that may be executed by various computer components, and may be recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. Program instructions recorded on the computer-readable recording medium may be those specially designed and configured for the present invention, or may be known and available to 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, DVDs, and 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 not only machine code generated by a compiler, but also 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 to perform the process according to the invention, and vice versa.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항들과 한정된 실시예 및 도면에 의해 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위해서 제공된 것일 뿐, 본 발명이 상기 실시예들에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형을 꾀할 수 있다.Although the present invention has been described by specific embodiments such as specific components and the like, but the embodiments and the drawings are provided to assist in a more general understanding of the present invention, the present invention is not limited to the above embodiments. For those skilled in the art, various modifications and variations can be made from these descriptions.

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

100: 사용자 단말,
200: 서비스 제공 단말,
300: 블록체인,
310: 지급 결제 서버,
320: 펀드 소스 서버
100: user terminal,
200: service providing terminal,
300: blockchain,
310: payment server,
320: fund source server

Claims (22)

블록체인 기반의 결제 방법에 있어서,
(a) 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 제1 블록체인에 등록되며, 상기 지급 수단 정보에 해시함수를 적용하여 생성한 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값이 제2 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 가 획득되면, 지급 결제 서버가, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하도록 지원하며, 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값과 관련되어 상기 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원하고, 상기 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인으로부터 상기 푸시 토큰 아이디를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 푸시 토큰 아이디를 획득하도록 지원하며, 상기 제1 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보가 상기 사용자 단말로 전송되도록 지원하는 단계; 및
(b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 지급 결제 서버가, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 승인 결과 정보를 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 상기 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 단계;
를 포함하되,,
상기 (a) 단계 이전에,
(a01) 상기 사용자 단말로부터의 지급 수단 등록 요청 정보 - 상기 지급 수단 등록 요청 정보는 사용자 정보, 상기 결제 수단, 상기 사용자의 퍼블릭 키, 및 상기 사용자 식별 정보 중 적어도 하나를 포함함 - 가 획득되면, 상기 지급 결제 서버가, 상기 결제 수단에 대응되는 상기 펀드 소스 서버로 상기 결제 수단과 상기 사용자 정보를 포함하는 사용자 검증 요청 정보를 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 전송되도록 함으로써 상기 펀드 소스 서버로 하여금 상기 사용자 단말로부터 획득된 상기 사용자 식별 정보와 상기 결제 수단에 대한 정보를 참조하여 상기 결제 수단 및 상기 사용자를 검증하는 단계; 및
(a02) 상기 펀드 소스 서버로부터 상기 결제 수단 및 상기 사용자에 대한 검증 결과가 획득되면, 상기 지급 결제 서버가, 상기 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 상기 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 상기 지급 수단 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 지급 수단 정보에 해시함수를 적용한 생성한 상기 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하는 단계;
를 더 포함하는 것을 특징으로 하는 방법.
In the blockchain-based payment method,
(a) a payment method token ID corresponding to a payment method of a user, user identification information for identifying the user, a push token ID corresponding to a fund source app installed in the user terminal of the user, the public key of the user, and the Payment means information including a fund source identification ID for identifying a fund source corresponding to a payment means is registered in the first blockchain, and the first hash value and the first hash value generated by applying a hash function to the payment means information. The purchase of the user terminal from the service providing terminal and the first representative hash value calculating the at least one neighboring hash value matching the hash value or the processing value of the first representative hash value are registered in the second blockchain. Payment request information corresponding to payment information-The payment request information is the user identification information, the payment means token ID, and payment Includes at least one of the information-when the payment settlement server obtains a value obtained by processing the first representative hash value or the first representative hash value corresponding to the user identification information included in the payment request information. Support other devices acquired from the second blockchain or linked to the payment settlement server to obtain from the second blockchain a value obtained by processing the first representative hash value or the first representative hash value, 1 A device that acquires Merkle tree information and leaf node information registered in the first blockchain in association with a representative hash value or a value obtained by processing the first representative hash value, or causes another device linked with the payment server to perform the Merkle tree Information and leaf node information, and from the first blockchain with reference to the merkle tree information and leaf node information; Acquire the push token ID or allow other devices linked to the payment settlement server to acquire the push token ID, and transmit the push token ID and signature request information obtained from the first blockchain to the user terminal. Or supporting the push token ID and the signature request information to the user terminal through another device interworking with the payment server or the service providing terminal; And
(b) when a signature value electronically signed by the fund source app of the user terminal is obtained, the payment settlement server verifies the signature value or verifies the signature value through another device linked to the payment settlement server. And if the signature value is valid, verifying the payment of the payment means corresponding to the payment means token ID, and confirming that the signature value is valid, the first blockchain receives the approval result information corresponding to the payment request information. If a triggering condition for registering to the first blockchain to register the approval result information to another device that is registered in or linked to the payment server, and registers a predetermined hash value in the second blockchain, A second hash value generated by applying a hash function to the approval result information and at least one matched with the second hash value The second representative hash value or the value obtained by processing the second representative hash value, which calculates a neighbor hash value, is registered in the second blockchain or the other device linked to the payment settlement server causes the second representative hash value or the Assist in registering a value obtained by processing a second representative hash value in the second blockchain, and transmitting the approval result information to a fund source server corresponding to the fund source identification ID corresponding to the payment means; Supporting the fund source server to pay a payment fee corresponding to the payment request information by supporting the approval result information to be transmitted to the fund source server through another device linked to a server;
Including,
Before step (a) above,
(a01) When the payment means registration request information from the user terminal, wherein the payment means registration request information includes at least one of user information, the payment means, the public key of the user, and the user identification information, The fund by transmitting the user verification request information including the payment means and the user information to the fund source server corresponding to the payment means or through another device linked to the payment payment server; Verifying, by the source server, the payment means and the user with reference to the user identification information obtained from the user terminal and information about the payment means; And
(a02) When the verification result of the payment means and the user is obtained from the fund source server, the payment settlement server, the payment means token ID corresponding to the payment means, the user identification information, the user terminal of the user Register the payment means information including the push token ID corresponding to the installed fund source app, the public key of the user, and a fund source identification ID for identifying a fund source corresponding to the payment method, in the first blockchain. Or another device linked to the payment settlement server to register with the first blockchain, and if a triggering condition for registering a predetermined hash value in the second blockchain is satisfied, a hash function is provided to the payment means information. At least one neighbor matching the generated first hash value and the first hash value Registering the first representative hash value or the processed value of the first representative hash value in the second blockchain or calculating the hash value and causing another device to be linked to the payment server, the first representative hash value or the Assisting to register a value obtained by processing a first representative hash value in the second blockchain;
Method further comprising a.
제1항에 있어서,
상기 (a) 단계에서,
상기 지급 결제 서버가, 상기 서명 요청 정보에, 상기 결제 정보 또는 검증 수단값을 포함하여 상기 사용자 단말로 하여금 상기 사용자의 프라이빗키를 이용하여 상기 결제 정보 또는 상기 검증 수단값을 서명하도록 요청하며,
상기 (b) 단계에서,
상기 지급 결제 서버가, 상기 제1 블록체인에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 서명값으로부터 상기 결제 정보 또는 상기 검증 수단값을 추출하며, 상기 서명값으로부터 추출된 상기 결제 정보 또는 상기 검증 수단값이 상기 서명 요청 정보에 포함된 상기 결제 정보 또는 상기 검증 수단값과 일치하는지를 확인하여 상기 서명값의 유효 여부를 판단하는 것을 특징으로 하는 방법.
The method of claim 1,
In the step (a),
The payment settlement server requesting the user terminal to sign the payment information or the verification means value by using the private key of the user, including the payment information or the verification means value in the signature request information,
In step (b),
The payment settlement server extracts the payment information or the verification means value from the signature value using the public key of the user registered in the first blockchain, and the payment information or the verification extracted from the signature value. And determining whether the signature value is valid by confirming whether the means value coincides with the payment information or the verification means value included in the signature request information.
제1항에 있어서,
상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건은,
(i) 소정의 개수만큼 상기 결제와 관련한 트랜잭션이 생성되는 조건, (ii) 소정 시간이 경과하는 조건, (iii) 상기 제1 블록체인에서 블록이 생성되는 조건, (iv) 서비스 특성에 대한 조건 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
The method of claim 1,
The triggering condition for registering a predetermined hash value in the second blockchain is:
(i) a condition in which transactions related to the payment are 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 blockchain, and (iv) a condition in terms of service characteristics A method comprising at least one of.
제1항에 있어서,
상기 지급 결제 서버는, 상기 제2 해시값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 제2 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 연산하여 생성되는 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하는 것을 특징으로 하는 방법.
The method of claim 1,
The payment server supports the generation or generation of a merkle tree in which the second hash value is assigned to a leaf node, and if a triggering condition for registering a predetermined hash value in the second blockchain is satisfied. And registering the second representative hash value or the processed second representative hash value generated by calculating a hash value assigned to at least one other leaf node that matches the second hash value in the second blockchain. Or assisting another device linked to the payment server to register the second representative hash value or a value obtained by processing the second representative hash value in the second blockchain.
제4항에 있어서,
상기 머클 트리가 체인 형태로 연결된 적어도 하나의 머클 트리 중 첫 번째 트리인 경우, 상기 머클 트리의 첫 번째 리프 노드에는 텍스트, 숫자 또는 기호로 이루어진 소정의 메시지 데이터의 해시값 또는 이를 가공한 값이 할당되는 것을 특징으로 하는 방법.
The method of claim 4, wherein
If the Merkle tree is the first tree of at least one Merkle tree connected in a chain form, the first leaf node of the Merkle tree is assigned a hash value of predetermined message data consisting of text, numbers or symbols or a processed value thereof. Characterized in that the method.
제4항에 있어서,
상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면,
(x1) 상기 지급 결제 서버는, (i) 상기 제2 해시값과 (ii) 상기 제2 해시값이 할당된 노드의 형제 노드에 할당된 해시값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해시값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해시값을 상기 제2 대표 해시값으로서 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해시값을 상기 제2 해시값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 방법.
The method of claim 4, wherein
If a triggering condition for registering a predetermined hash value in the second blockchain is satisfied,
(x1) the payment settlement server supports (i) calculating or calculating a hash value assigned to a sibling node of a node to which the second hash value and (ii) the second hash value is assigned, and Supports or assigns a hash value to the node's parent node,
(x2) if the parent node is the root node of the Merkle tree, another device that registers the hash value assigned to the parent node in the second blockchain as the second representative hash value or interoperates with the payment server; To help you register,
(x3) if the parent node is not the root node of the Merkle tree, repeating (x1) to (x2) by using the hash value assigned to the parent node as the second hash value .
제6항에 있어서,
상기 (x1)에서
상기 소정의 조건이 만족되었음에도 상기 제2 해시값이 할당된 노드의 형제 노드에 해시값이 할당되어 있지 않은 경우, 상기 지급 결제 서버는, 상기 형제 노드에 소정의 해시값을 할당하거나 할당하도록 지원하여 상기 (x1) 내지 (x3)를 수행하는 것을 특징으로 하는 방법.
The method of claim 6,
In (x1) above
If the hash value is not assigned to the sibling node of the node to which the second hash value is assigned even though the predetermined condition is satisfied, the payment settlement server supports to assign or allocate a predetermined hash value to the sibling node. (X1) to (x3).
제1항에 있어서,
상기 지급 결제 서버가 상기 제2 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 방법.
The method of claim 1,
When the payment server stores the second 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 having the same form as the first data structure. And wherein the first data structure and the second data structure are connected in a chain form.
제8항에 있어서,
상기 제1 데이터 구조 및 상기 제2 데이터 구조가 머클 트리인 경우, 상기 제1 데이터 구조의 루트값 또는 상기 루트값의 해시값이 상기 제2 데이터 구조의 첫번째 리프 노드에 할당되는 것을 특징으로 하는 방법.
The method of claim 8,
If the first data structure and the second data structure are Merkle trees, a root value of the first data structure or a hash value of the root value is assigned to the first leaf node of the second data structure. .
제1항에 있어서,
상기 사용자 식별 정보는,
상기 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
The method of claim 1,
The user identification information,
Unique information given for each user for identification of the user, including at least one of a user ID, a social security number, a user terminal ID, an IP address of the user terminal, a MAC address of the user terminal, a phone number, and their respective hash values. Characterized in that the method.
제1항에 있어서,
상기 (a) 단계에서의 상기 결제 정보가 상기 결제 수단 토큰 아이디에 대응되는 상기 결제 수단에 대응되는 상기 펀드 소스가 아닌 타 펀드 소스에 의한 결제 요청일 경우,
상기 (b) 단계에서,
상기 지급 결제 서버가, 상기 승인 결과 정보를 상기 펀드 소스 서버로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용에 대한 전환 결제 요청을 상기 타 펀드 소스에 대응되는 타 펀드 소스 서버로 제공하여 상기 타 펀드 소스 서버가 상기 타 펀드 소스로 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 하는 것을 특징으로 하는 방법.
The method of claim 1,
When the payment information in the step (a) is a payment request by another fund source other than the fund source corresponding to the payment method corresponding to the payment method token ID,
In step (b),
The payment settlement server transmits the approval result information to the fund source server or supports the payment result information to be transmitted to the fund source server through another device linked to the payment settlement server, thereby allowing the fund source server to transmit the approval result information to the fund source server. The other fund source server pays the payment fee corresponding to the payment request information to the other fund source by providing a conversion payment request for the payment fee corresponding to the payment request information to another fund source server corresponding to the other fund source. Characterized in that the method.
제11항에 있어서,
상기 타 펀드 소스 서버에는, 상기 펀드 소스 서버에 의한 전환 결제 요청에 의해 상기 펀드 소스 서버가 사용 가능한 상기 타 펀드 소스에 대한 한도가 설정되어 있는 것을 특징으로 하는 방법.
The method of claim 11,
And the other fund source server has a limit on the other fund sources available to the fund source server by a switch payment request by the fund source server.
삭제delete 블록체인 기반의 결제를 수행하는 지급 결제 서버에 있어서,
사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 제1 블록체인에 등록되며, 상기 지급 수단 정보에 해시함수를 적용하여 생성한 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값이 제2 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 를 획득하는 통신부; 및
상기 통신부를 통해 상기 결제 요청 정보가 획득되면, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인으로부터 획득하도록 지원하며, 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값과 관련되어 상기 제1 블록체인에 등록된 머클 트리 정보 및 리프 노드 정보를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 머클 트리 정보 및 리프 노드 정보를 획득하도록 지원하고, 상기 머클 트리 정보 및 리프 노드 정보를 참조하여 상기 제1 블록체인으로부터 상기 푸시 토큰 아이디를 획득하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 푸시 토큰 아이디를 획득하도록 지원하며, 상기 제1 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보가 상기 사용자 단말로 전송되도록 지원하는 프로세스와, (b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 승인 결과 정보를 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 승인 결과 정보에 해시함수를 적용하여 생성한 제2 해시값과 상기 제2 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 프로세스를 수행하는 프로세서;
를 포함하되,
상기 프로세서는,
상기 사용자 단말로부터의 지급 수단 등록 요청 정보 - 상기 지급 수단 등록 요청 정보는 사용자 정보, 상기 결제 수단, 상기 사용자의 퍼블릭 키, 및 상기 사용자 식별 정보 중 적어도 하나를 포함함 - 가 획득되면, 상기 결제 수단에 대응되는 상기 펀드 소스 서버로 상기 결제 수단과 상기 사용자 정보를 포함하는 사용자 검증 요청 정보를 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 전송되도록 함으로써 상기 펀드 소스 서버로 하여금 상기 사용자 단말로부터 획득된 상기 사용자 식별 정보와 상기 결제 수단에 대한 정보를 참조하여 상기 결제 수단 및 상기 사용자를 검증하는 프로세스와, 상기 펀드 소스 서버로부터 상기 결제 수단 및 상기 사용자에 대한 검증 결과가 획득되면, 상기 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 상기 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 상기 지급 수단 정보를 상기 제1 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 블록체인에 등록하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 지급 수단 정보에 해시함수를 적용한 생성한 상기 제1 해시값과 상기 제1 해시값과 매칭되는 적어도 하나의 이웃 해시값을 연산한 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제1 대표 해시값 또는 상기 제1 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하는 프로세스를 더 수행하는 것을 특징으로 하는 지급 결제 서버.
In the payment settlement server that performs blockchain-based payment,
A payment method token ID corresponding to a user's payment method, user identification information for identifying the user, a push token ID corresponding to a fund source app installed in the user's user terminal, the public key of the user, and the payment method Payment means information including a fund source identification ID for identifying a corresponding fund source is registered in the first blockchain, the first hash value and the first hash value generated by applying a hash function to the payment means information and The first representative hash value for calculating at least one matching neighbor hash value or the value for processing the first representative hash value is registered in the second blockchain, from the service providing terminal to the purchase and payment information of the user terminal. Corresponding payment request information-the payment request information includes the user identification information, the payment means token ID, and payment information; A communication unit for obtaining at least one of the beams; And
When the payment request information is obtained through the communication unit, a value obtained by processing the first representative hash value or the first representative hash value corresponding to the user identification information included in the payment request information from the second blockchain. Assisting another device to acquire or to process the first representative hash value or the first representative hash value from the second blockchain, wherein the other device that is acquired or linked to the payment server is configured to obtain the first representative hash value or the first representative hash value; Acquiring Merkle tree information and leaf node information registered in the first blockchain in association with a processed value of the first representative hash value or causing another device linked to the payment settlement server to obtain the Merkle tree information and leaf node information. And the push token from the first blockchain with reference to the Merkle tree information and leaf node information. Acquire an ID or allow other devices linked to the payment settlement server to acquire the push token ID, and transmit the push token ID and signature request information obtained from the first blockchain to the user terminal or the payment. A process of supporting the push token ID and the signature request information to be transmitted to the user terminal through another device linked to a payment server or the service providing terminal, and (b) an electronic signature by the fund source app of the user terminal. When the signed value is obtained, the controller verifies the signature value or verifies the signature value through another device linked to the payment server, and if the signature value is valid, the payment corresponding to the payment means token ID. If the verification of the payment of the instrument is found to be valid, Register the approval result information corresponding to the payment request information in the first blockchain or allow other devices linked to the payment settlement server to register the approval result information in the first blockchain, and the second blockchain. And a second hash value generated by applying a hash function to the approval result information and at least one neighboring hash value matching the second hash value when the triggering condition for registering the predetermined hash value is satisfied. 2 Register the representative hash value or the value of the second representative hash value in the second blockchain, or let another device linked to the payment settlement server process the second representative hash value or the second representative hash value. A value is registered to the second blockchain, and the approval result information corresponds to the fund source identification ID corresponding to the payment means. Allow the fund source server to pay the payment cost corresponding to the payment request information by transmitting the approval result information to the fund source server through another device linked to the payment source server or through another device linked to the payment settlement server. A processor to perform a supporting process;
Including,
The processor,
Payment means registration request information from the user terminal, wherein the payment means registration request information includes at least one of user information, the payment means, the public key of the user, and the user identification information; The fund source server obtains from the user terminal by transmitting the user verification request information including the payment means and the user information to the fund source server corresponding to the transmission information through another device linked to the payment settlement server. A process of verifying the payment means and the user with reference to the user identification information and the information on the payment means, and when the verification results for the payment means and the user are obtained from the fund source server, Corresponding payment instrument token ID, said The payment includes user identification information, a push token ID corresponding to the fund source app installed in the user terminal of the user, a public key of the user, and a fund source identification ID for identifying a fund source corresponding to the payment method. The triggering condition for registering the means information in the first blockchain or allowing other devices linked to the payment settlement server to register in the first blockchain and registering a predetermined hash value in the second blockchain If satisfied, the first representative hash value or the first representative hash value calculated by calculating the generated first hash value applying the hash function to the payment means information and at least one neighboring hash value matching the first hash value. Registers the processed value in the second blockchain or causes the other device linked to the payment settlement server to perform the first operation. And a process of supporting a registration of the representative hash value or the processed value of the first representative hash value in the second blockchain.
제14항에 있어서,
상기 프로세서는,
상기 서명 요청 정보에, 상기 결제 정보 또는 검증 수단값을 포함하여 상기 사용자 단말로 하여금 상기 사용자의 프라이빗키를 이용하여 상기 결제 정보 또는 상기 검증 수단값을 서명하도록 요청하며,
상기 제1 블록체인에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 서명값으로부터 상기 결제 정보 또는 상기 검증 수단값을 추출하며, 상기 서명값으로부터 추출된 상기 결제 정보 또는 상기 검증 수단값이 상기 서명 요청 정보에 포함된 상기 결제 정보 또는 상기 검증 수단값과 일치하는지를 확인하여 상기 서명값의 유효 여부를 판단하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 14,
The processor,
Requesting the user terminal to sign the payment information or the verification means value by using the private key of the user, including the payment information or the verification means value in the signature request information,
The payment information or the verification means value is extracted from the signature value using the public key of the user registered in the first blockchain, and the payment information or the verification means value extracted from the signature value is the signature request. And determining whether the signature value is valid by checking whether the payment information included in the information matches the payment information or the verification means value.
제14항에 있어서,
상기 프로세서는,
상기 제2 해시값이 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원하고, 상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면, 상기 제2 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 연산하여 생성되는 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 제2 대표 해시값 또는 상기 제2 대표 해시값을 가공한 값을 상기 제2 블록체인에 등록하도록 지원하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 14,
The processor,
The second hash value supports generating or generating a merkle tree assigned to a leaf node, and if a triggering condition for registering a predetermined hash value in the second blockchain is satisfied, the second hash value. Register the second representative hash value or the processed value of the second representative hash value generated by calculating a hash value assigned to at least one other leaf node matching to the second blockchain or to the payment settlement server. And allowing another device to be linked to register the second representative hash value or a value obtained by processing the second representative hash value in the second blockchain.
제16항에 있어서,
상기 제2 블록체인에 소정의 해시값을 등록하기 위한 트리거링 조건이 만족되면,
(x1) 상기 프로세서는, (i) 상기 제2 해시값과 (ii) 상기 제2 해시값이 할당된 노드의 형제 노드에 할당된 해시값을 연산하거나 연산하도록 지원하고, 연산값에 대한 해시값을 상기 노드의 부모 노드에 할당하거나 할당하도록 지원하며,
(x2) 상기 부모 노드가 상기 머클 트리의 루트 노드이면, 상기 부모 노드에 할당된 해시값을 상기 제2 대표 해시값으로서 상기 제2 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 등록하도록 지원하고,
(x3) 상기 부모 노드가 상기 머클 트리의 루트 노드가 아니면, 상기 부모 노드에 할당된 해시값을 상기 제2 해시값으로 하여 상기 (x1) 내지 (x2)을 반복하여 수행하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 16,
If a triggering condition for registering a predetermined hash value in the second blockchain is satisfied,
(x1) the processor supports (i) calculating or calculating a hash value assigned to a sibling node of a node to which the second hash value and (ii) the second hash value is assigned, and a hash value for the computed value. To or to assign to the parent node of the node,
(x2) if the parent node is the root node of the Merkle tree, another device that registers the hash value assigned to the parent node in the second blockchain as the second representative hash value or interoperates with the payment server; To help you register,
(x3) If the parent node is not the root node of the Merkle tree, the payment is characterized by repeatedly performing (x1) to (x2) by using the hash value assigned to the parent node as the second hash value. Payment server.
제14항에 있어서,
상기 프로세서가 상기 제2 해시값과 상기 적어도 하나의 이웃 해시값을 소정의 제1 데이터 구조로 저장하고, 이후 상기 제1 데이터 구조와 동일한 형태의 제2 데이터 구조를 저장하여 관리하는 경우, 상기 제1 데이터 구조와 상기 제2 데이터 구조는 체인 형태로 연결되는 것을 특징으로 하는 지급 결제 서버.
The method of claim 14,
When the processor stores the second hash value and the at least one neighboring hash value in a predetermined first data structure, and then stores and manages a second data structure having the same form as the first data structure, Payment server, characterized in that the first data structure and the second data structure is connected in a chain form.
제14항에 있어서,
상기 사용자 식별 정보는,
상기 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 14,
The user identification information,
Unique information given for each user for identification of the user, including at least one of a user ID, a social security number, a user terminal ID, an IP address of the user terminal, a MAC address of the user terminal, a phone number, and their respective hash values. Payment payment server, characterized in that.
제14항에 있어서,
상기 결제 정보가 상기 결제 수단 토큰 아이디에 대응되는 상기 결제 수단에 대응되는 상기 펀드 소스가 아닌 타 펀드 소스에 의한 결제 요청일 경우,
상기 프로세서는,
상기 승인 결과 정보를 상기 펀드 소스 서버로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용에 대한 전환 결제 요청을 상기 타 펀드 소스에 대응되는 타 펀드 소스 서버로 제공하여 상기 타 펀드 소스 서버가 상기 타 펀드 소스로 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 14,
When the payment information is a payment request by another fund source other than the fund source corresponding to the payment method corresponding to the payment method token ID,
The processor,
By transmitting the approval result information to the fund source server or by supporting the approval result information to the fund source server through another device linked to the payment settlement server to allow the fund source server to respond to the payment request information. Providing a conversion payment request for a payment cost to another fund source server corresponding to the other fund source so that the other fund source server pays the payment cost corresponding to the payment request information to the other fund source. Payment payment server.
제20항에 있어서,
상기 타 펀드 소스 서버에는, 상기 펀드 소스 서버에 의한 전환 결제 요청에 의해 상기 펀드 소스 서버가 사용 가능한 상기 타 펀드 소스에 대한 한도가 설정되어 있는 것을 특징으로 하는 지급 결제 서버.
The method of claim 20,
The other fund source server, the payment settlement server, characterized in that the limit set for the other fund source available to the fund source server by the conversion payment request by the fund source server.
삭제delete
KR1020180076089A 2017-12-29 2018-06-29 Method for paying based on blockchain and payment server using the same KR102063628B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20170183553 2017-12-29
KR1020170183553 2017-12-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020190069658A Division KR20190082172A (en) 2017-12-29 2019-06-12 Method for paying based on blockchain and payment server using the same

Publications (2)

Publication Number Publication Date
KR20190082047A KR20190082047A (en) 2019-07-09
KR102063628B1 true KR102063628B1 (en) 2020-01-09

Family

ID=67261381

Family Applications (4)

Application Number Title Priority Date Filing Date
KR1020180076089A KR102063628B1 (en) 2017-12-29 2018-06-29 Method for paying based on blockchain and payment server using the same
KR1020180076088A KR102075956B1 (en) 2017-12-29 2018-06-29 Method for paying based on blockchain and payment server using the same
KR1020190069658A KR20190082172A (en) 2017-12-29 2019-06-12 Method for paying based on blockchain and payment server using the same
KR1020190081591A KR20190084923A (en) 2017-12-29 2019-07-05 Method for paying based on blockchain and payment server using the same

Family Applications After (3)

Application Number Title Priority Date Filing Date
KR1020180076088A KR102075956B1 (en) 2017-12-29 2018-06-29 Method for paying based on blockchain and payment server using the same
KR1020190069658A KR20190082172A (en) 2017-12-29 2019-06-12 Method for paying based on blockchain and payment server using the same
KR1020190081591A KR20190084923A (en) 2017-12-29 2019-07-05 Method for paying based on blockchain and payment server using the same

Country Status (1)

Country Link
KR (4) KR102063628B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102175891B1 (en) * 2019-07-15 2020-11-06 장성균 Management method and system for use of thing replacing disposable item using block chain, and block chain pos system applying for use of thing replacing disposable item
US20230072087A1 (en) * 2020-06-12 2023-03-09 Visa International Service Association Multifunctional user device
KR102288161B1 (en) 2020-07-29 2021-08-10 이현석 Blockchain system for distributed processing transaction asynchronously

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101680260B1 (en) * 2015-12-14 2016-11-29 주식회사 코인플러그 Certificate issuance system and method based on block chain
KR101701131B1 (en) * 2016-04-28 2017-02-13 주식회사 라피 Data recording and validation methods and systems using the connecting of blockchain between different type

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100865674B1 (en) * 2007-03-26 2008-10-29 주식회사 비즈모델라인 Payment Method For Credit Cards Via Representative Franchise's Number
KR101780636B1 (en) * 2016-05-16 2017-09-21 주식회사 코인플러그 Method for issuing certificate information and blockchain-based server using the same
KR20160128952A (en) * 2016-10-25 2016-11-08 주식회사 비즈모델라인 Method for Registering Payment Means for Mobile Payment
KR20170091069A (en) * 2017-07-26 2017-08-08 주식회사 비즈모델라인 System for Card Payment using Program Identity
KR20180075450A (en) 2018-06-15 2018-07-04 정기영 Peer to peer transmission based data marketplace with cryptocurrency payment, building method of the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101680260B1 (en) * 2015-12-14 2016-11-29 주식회사 코인플러그 Certificate issuance system and method based on block chain
KR101701131B1 (en) * 2016-04-28 2017-02-13 주식회사 라피 Data recording and validation methods and systems using the connecting of blockchain between different type

Also Published As

Publication number Publication date
KR20190082047A (en) 2019-07-09
KR20190082046A (en) 2019-07-09
KR20190084923A (en) 2019-07-17
KR20190082172A (en) 2019-07-09
KR102075956B1 (en) 2020-05-18

Similar Documents

Publication Publication Date Title
US11244295B2 (en) Method for paying cost of IoT device based on blockchain and Merkle tree structure related thereto, and server, service providing terminal, and digital wallet using the same
US11164166B2 (en) Securely modifying exchange items in an exchange item marketplace network
AU2015214271B2 (en) Token verification using limited use certificates
KR102050271B1 (en) Method for payment based on blockchain and payment server using the same
US11164228B2 (en) Method and medium for determining exchange item compliance in an exchange item marketplace network
US20170372417A1 (en) Digital asset account management
JP2020517033A (en) A method of settling costs for blockchain-based Internet of things, a server using the same, a service providing terminal, and a user electronic wallet AND USER ELECTRONIC WALLET USING SAME}
JP6412648B2 (en) Providing an online cardholder authentication service on behalf of the issuer
KR102063628B1 (en) Method for paying based on blockchain and payment server using the same
JP2018088076A (en) Settlement system, information processing unit, settlement method, and program
US20210334794A1 (en) Resolving a parameter error associated with a primary blockchain
KR20200096055A (en) Server and method for credit transaction using blockchain network
KR20200061263A (en) Method and server for paying cards based on blockchain network
KR20210051460A (en) System and Method for the safe transactions of the virtual money based on block chain
US20240104560A1 (en) Digitization of payment cards for web 3.0 and metaverse transactions
KR102363804B1 (en) Node for verifying and publishing Crypto currency and System paying using Crypto currency
KR20210144508A (en) Digital gold token-based payment guarantee transaction management server and operating method thereof
CN110992220A (en) Information processing method, device and medium

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
A107 Divisional application of patent
GRNT Written decision to grant